Basic poetry generation
First Claim
Patent Images
1. A computer-implemented method for generating poetry, comprising:
- analyzing in a computer system at least one pre-existing poem to generate an author analysis model from the pre-existing poem, with analyzing further comprising;
producing linked n-gram data structures, the n-gram data structures comprising 1-grams, bigrams, trigrams, and quadrigrams in both a forward and a backward direction;
generating a new poem from the author analysis model; and
outputting the new poem to an output device, rendering the new poem to a user.
0 Assignments
0 Petitions
Accused Products
Abstract
A method of analyzing an author'"'"'s work, including reading a text file, generating an analysis model from the text file and storing the analysis model. The text file may be a poem, the poem containing ASCII text. The analysis model is a linked data structure. The linked data structure includes n-gram data structures, the n-gram structures including combinations of 1-gram data structures, bigram data structures, trigram data structures and quadrigram data structures.
22 Citations
57 Claims
-
1. A computer-implemented method for generating poetry, comprising:
-
analyzing in a computer system at least one pre-existing poem to generate an author analysis model from the pre-existing poem, with analyzing further comprising; producing linked n-gram data structures, the n-gram data structures comprising 1-grams, bigrams, trigrams, and quadrigrams in both a forward and a backward direction; generating a new poem from the author analysis model; and outputting the new poem to an output device, rendering the new poem to a user. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An automatic composition system comprising:
-
a computer readable medium for storage of computer programs; a central processing unit that executes instructions from programs stored on the computer readable medium; a random access memory to provide memory execution space to execute programs stored on the computer readable medium; a display unit; and a computer program product residing on the computer readable medium for automatically composing text on the display unit by accessing word ngram frequency counts in a determination of a next word to compose, with selected word ngram frequency counts having a negative weight to avoid sequences of words that appear in text that is analyzed to produce the ngrams. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. An automatic composition system comprising:
-
a computer readable medium for storage of computer programs; a central processing unit that executes instructions from programs stored on the computer readable medium; a random access memory to provide memory execution space to execute programs stored on the computer readable medium; an output device; and a computer program product residing on the computer readable medium for automatically composing text on the output device with an author analysis model based on pre-existing compositions, including instructions to; examine weights on the author analysis model to avoid counts that would tend to repeat same words from the pre-existing compositions given a start word in an analyzed one of the pre-existing compositions to avoid plagiarism. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40)
-
-
41. A method for composition generation comprises:
-
automatically composing text on an output device with an author analysis model based on pre-existing compositions; and examining weights on the author analysis model to avoid counts defined in the author analysis model that would tend to repeat same word sequences from the pre-existing compositions given a start word in an analyzed one of the pre-existing compositions in order to avoid plagiarism. - View Dependent Claims (42, 43, 44, 45, 46, 47, 48)
-
-
49. A computer readable medium storing a computer program product for producing poetry, the computer program product comprises instructions to cause a computer to:
automatically composing text on a display unit by accessing word ngram frequency counts in a determination of a next word to compose with the word ngram frequency counts comprising quadrigrams that have a negative weight to avoid sequences of four words that appeared in text that is analyzed to produce the ngrams. - View Dependent Claims (50, 51, 52, 53, 54, 55, 56, 57)
Specification