Rule Book 3 - Selection
The isbn machine includes the first, middle and last sentence of books the machinist has read (he still has some work to do).
A sentence in the sense of the isbn-machine is a word sequence with at least one word / character at the end of which stands a punctuation mark, on which the next sentence normally begins with capitalization or anything that appears to the machinist as closest to this idea.
The first sentence of a book is defined as the first original sentence of a book. Dedications, headlines, prefixed quotes, in plays the list of participants are ignored by the machinist
The machinist determines the middle sentence using the page numbers of the book. For this he uses the following formula:
([Page number last page] – [Page number first page] + 1) / 2 + [Page number first page]
If the result is an integer, the middle of the book is the space between the page determined and the previous page. If the previous page ends with a sentence’s end, this ending sentence is the middle sentence.
If the result is not an integer, then the middle of the book is the middle of the page of the integer before the decimal point. The middle of the page is determined by the machinist by counting the lines with text (dedications, headlines, prefixed quotes, in plays the actors' listings are ignored by the machinist) and divides them by two. If the result is an integer, the middle of the page is between the line number of the result and the next line, and the machinist chooses the sentence that covers the line break or that ends before the line break. If the result is not an integer, the machinist chooses the sentence that covers the middle of the line number of the result.
The last sentence is the last sentence of the text of a book. Afterwords, notes of the author to the text, attachments are ignored by the machinist. The last sentence is the last sentence of the story or in plays, the last sentence of what one would see in the performance.