System and method for formatting text according to linguistic, visual and psychological variables
AssigneeLanguage Technologies, Inc.
InventorsThomas G. Bever, John Robbart, II
Life of this patent
Estimating the term…
Abstract
A text formatting system parses text (15) and reformats it (30) to establish optimal spacing for readability and reader comprehension. It also reduces the incidence of rivers and therefore enhances the aesthetic quality of the formatted text. The formatting applied to the text by the present invention is based on structure rules that determine key parameters of page layout including for example column width, font, font size, color, leading and kerning.
Claims39
A computer-implemented method for formatting text, comprising the steps of:
- a) providing text input;
- b) providing a library of key words and punctuation definitions that identify the beginning or end of a phrase;
- c) examining a plurality of words of said text input;
- d) determining, using said key words and punctuation definitions, whether said plurality of words includes a phrase;
- e) repeating steps c–d for a next plurality of words until all the text input has been analyzed;
- and
- f) formatting said text input by adjusting the space size of every between word space according to said determined phrases.
A computer-implemented method for formatting text, comprising the steps of:
- a) providing text input having a plurality of lines;
- b) providing a library of key words and punctuation definitions that identify the beginning or end of a phrase;
- c) examining a plurality of words of said text input;
- d) determining, using said key words and punctuation definitions, whether said plurality of words includes a phrase;
- e) repeating steps c–d for a next plurality of words until all the text input has been analyzed and phrases determined for a plurality of said lines;
- and
- f) formatting said text input by adjusting the space size between words within each line according to the phrases determined over the plurality of lines.
A computer-implemented method for formatting text, comprising the steps of:
- a) providing text input;
- b) providing a library of key words and punctuation definitions that identify the beginning or end of a phrase;
- c) using said key words and punctuation definitions to determine characteristics that predict boundary punctuation;
- d) examining a plurality of words of said text input;
- e) using said determined characteristics to predict phrase boundaries within said plurality of words;
- f) repeating steps d–e for a next plurality of words until all the text input has been analyzed;
- and
- g) formatting said text input according to the predicted phrase boundaries.
A computer-implemented method for formatting text, comprising the steps of:
- a) providing text input;
- b) providing a library of key words and punctuation definitions;
- c) examining a plurality of words of said text input;
- d) identifying each word of said plurality as one of the key words in the library or a non-key word;
- e) extracting a pattern from said plurality of the key and non-key words;
- f) using said pattern to determine whether said first plurality of words includes a phrase boundary;
- g) repeating steps c–f for a next plurality of words until all the text input has been analyzed;
- and
- h) formatting said text input according to said determined phrase boundaries.
A system for formatting text for enhanced readability, comprising:
- a parser for parsing text input and recognizing words and punctuation;
- a library for storing key words and punctuation definitions;
- a readability engine for determining phrases in said text input using said key words and punctuation definitions and assigning values to every between word space in said text input, said assigned value being the likelihood that the word is the beginning or end of a phrase;
- and
- a formatter for formatting said text input by adjusting the space size of every between word space on each line according to said assigned values.
A system for formatting text for enhanced readability, comprising:
- a library for storing key words and punctuation definitions;
- a parser for parsing text input into sections containing within-sentence boundaries, said sections being represented as input patterns of key and non-key words;
- a neural net readability engine trained on sections of training text less punctuation that cross sentence boundaries and represented as test patterns of key and non-key words to predict boundary punctuation at the end of sentences, said neural net processing the input patterns to assign a value to a predicted phrase boundary within sentences;
- and
- a formatter for formatting said text input according to the assigned values of the phrases.
A computer-implemented method for formatting text, wherein a similar spacing pattern between words from line-to-line creates rivers, comprising the steps of:
- a) providing text input;
- b) providing a library of function words and punctuation definitions;
- c) examining a plurality of words of said text input;
- d) determining, using said function words and punctuation definitions, whether said plurality of words includes a phrase;
- e) repeating steps c–d for a next plurality of words until all the text input has been analyzed;
- f) formatting said text input according to said determined phrases;
- g) detecting rivers in the formatted text input;
- and
- h) manipulating the formatted text until the white space is varied sufficiently from line-to-line to eliminate the rivers.
A computer-implemented method for formatting text, comprising the steps of:
- a) providing text input;
- b) providing a library of key words and punctuation definitions;
- e) examining a plurality of words of the said text input;
- d) assigning, using said key words and punctuation definitions, values to the spaces between words in said plurality, said assigned value being the likelihood that the word is the beginning or end of a phrase;
- e) repeating steps c–d for a next plurality of words until all the text input has been analyzed and values assigned to all of the spaces between the words;
- and
- f) formatting said text input by adjusting the space size of every between word space according to the assigned values.
A computer-implemented method for formatting text, comprising the steps of:
- a) providing text input;
- b) installing an input vocabulary of key words and punctuation definitions that are stored in a library;
- c) examining a plurality of words of said text input using the punctuation definitions indicating a phrase;
- d) examining said plurality of words to look for stored key words indicating a phrase;
- e) based on the examinations, assigning values to the spaces between the words in said plurality, said assigned value being the likelihood that the word is the beginning or end of a phrase;
- f) repeating steps c–e for a next plurality of words until all the text input has been analyzed and values assigned to all spaces between the words in the text input;
- g) formatting said text input by varying the spacing between words according to the assigned values.
A computer-implemented method for formatting text, comprising the steps of:
- a) providing text input;
- b) providing a library of key words and punctuation definitions;
- c) training a neural network using the library to recognize phrases in text and assign values to spaces between words in the phrases, said assigned value being the likelihood that the word is the beginning or end of a phrase;
- d) examining a plurality of words of said text input;
- e) using the neural network to assign values to the spaces between words in said plurality;
- f) repeating steps d–e for a next plurality of words until all the text input has been analyzed and values assigned to all of the spaces between the words;
- and
- g) formatting said text input by adjusting the space size of every between word space according to the assigned values.
Dependencies are inferred from the claim text.