Patent US6922809B2 successfully refreshed from Google Patents.
← Back to Patent Explorer
US6922809B2 Expired / Lapsed US ⏱️ 0.0 years remaining

Method and apparatus providing capitalization recovery for text

Assignee: International Business Machines Corp
•
Filing: 2001-06-27
•
Granted: 2005-07-26
•
Expires: 2021-06-27
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method for capitalizing text in a document includes processing a reference corpus to construct a plurality of dictionaries of capitalized terms, where the plurality of dictionaries include a singleton dictionary and a phrase dictionary. Each record in the singleton dictionary contains a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary includes a multi-word phrase in lowercase. The method adds proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and by looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, testing the corresponding phrase length range. If the phrase length range indicates that the word does not start a multi-word phrase, the method capitalizes the word, while if the phrase length range indicates that the word does start a multi-word phrase, the method tests the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizes the words of the multi-word phrase. If the candidate phrase is not found in the phrase dictionary, the method changes the number of words in the candidate phrase (e.g., decrements by one) to form a revised candidate phrase, and determines whether the revised candidate phrase is found in the phrase dictionary.

Inventors

  • 👤 Anni Rosa Coden
  • 👤 Eric William Brown

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-29 16:32
CPC Classifications
G; G06; G06F; G06F40/00; G06F40/20; G06F40/232

Claims Analysis

Total Claims: 24
Claim 1
Independent Claim 241 words
A method for capitalizing text in a document comprising: processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; and adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and by looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, where if the candidate phrase is not found in the phrase dictionary, changing the number of words in the candidate phrase to form a revised candidate phrase and determining whether the revised candidate phrase is found in the phrase dictionary.
Claim 2
Independent Claim 241 words
A method for capitalizing text in a document comprising: processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; and adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and by looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, where if the candidate phrase is not found in the phrase dictionary, changing the number of words in the candidate phrase to form a revised candidate phrase and determining whether the revised candidate phrase is found in the phrase dictionary.
Claim 3
Dependent Claim 51 words
A method as in claim 1 , wherein each record in said singleton dictionary further comprises an optional final form for the word if the word has unusual capitalization, and where each record in said phrase dictionary comprises an optional final form for the phrase if the phrase has unusual capitalization.
Claim 4
Independent Claim 285 words
A method for capitalizing text in a document comprising: processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; and adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and by looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, wherein when constructing the singleton dictionary all single word entities are added to the singleton dictionary with a phrase length range of 1:1, indicating that the word does not begin any phrase and should be capitalized by itself, and when constructing the phrase dictionary a multi-word phrase is added to the phrase dictionary, and the first word of the multi-word phrase is added to the singleton dictionary with a phrase length range of n:n, where n is the number of words in the phrase.
Claim 5
Independent Claim 285 words
A method for capitalizing text in a document comprising: processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; and adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and by looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, wherein when constructing the singleton dictionary all single word entities are added to the singleton dictionary with a phrase length range of 1:1, indicating that the word does not begin any phrase and should be capitalized by itself, and when constructing the phrase dictionary a multi-word phrase is added to the phrase dictionary, and the first word of the multi-word phrase is added to the singleton dictionary with a phrase length range of n:n, where n is the number of words in the phrase.
Claim 6
Dependent Claim 52 words
A method as in claim 3 , wherein if the first word of the multi-word phrase already exists in the singleton dictionary, the phrase length range entry for the word is updated in the singleton dictionary so that the length of the current multi-word phrase is included in the phrase length range.
Claim 7
Independent Claim 288 words
A method for capitalizing text in a document comprising: processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; and adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and by looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, wherein capitalizing words found in mandatory capitalization positions capitalizes words that begin sentences, words found in an abbreviations dictionary, and words found in a titles dictionary, and wherein said abbreviations dictionary is constructed such that all words that end with a period at least X % of the time, and that precede a lower case word at least Y % of those times, are added to the abbreviations dictionary, and all words from the singleton dictionary that end with a period are added to the abbreviations dictionary.
Claim 8
Independent Claim 288 words
A method for capitalizing text in a document comprising: processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; and adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and by looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, wherein capitalizing words found in mandatory capitalization positions capitalizes words that begin sentences, words found in an abbreviations dictionary, and words found in a titles dictionary, and wherein said abbreviations dictionary is constructed such that all words that end with a period at least X % of the time, and that precede a lower case word at least Y % of those times, are added to the abbreviations dictionary, and all words from the singleton dictionary that end with a period are added to the abbreviations dictionary.
Claim 9
Dependent Claim 15 words
A method as in claim 5 , wherein X is 75 and Y is 50.
Claim 10
Independent Claim 269 words
A method for capitalizing text in a document comprising: processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; and adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and by looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase wherein processing the reference corpus comprises: counting a number of times each word in the reference corpus occurs lowercased (l), capitalized (c), all uppercase (u) and in a mandatory capitalization position (m); and computing a capitalization probability p for each word in the reference corpus in accordance with: p ( C i )=( c i −m i +u i )/(/ i +c i −m i +u i ).
Claim 11
Independent Claim 269 words
A method for capitalizing text in a document comprising: processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; and adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and by looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase wherein processing the reference corpus comprises: counting a number of times each word in the reference corpus occurs lowercased (l), capitalized (c), all uppercase (u) and in a mandatory capitalization position (m); and computing a capitalization probability p for each word in the reference corpus in accordance with: p ( C i )=( c i −m i +u i )/(/ i +c i −m i +u i ).
Claim 12
Dependent Claim 60 words
A method as in claim 7 , and further comprising filtering named entities extracted from the reference corpus such that named entities that occur in fewer than Z documents are discarded, and all single-word named entities having a computed capitalization probability less than W are discarded; and storing surviving named entities into at least one of said plurality of dictionaries.
Claim 13
Dependent Claim 11 words
A method as in claim 8 , wherein Z=3 and W=0.5.
Claim 14
Dependent Claim 286 words
A computer system for capitalizing text in a document, said computer system comprising a data processor that operates in accordance with program instructions recorded on an electronically readable program instruction storage media, said program instructions controlling said data processor for processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; for adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and for looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, for testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, for testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, where said program instructions further control said data processor so that, if the candidate phrase is not found in the phrase dictionary, for changing the number of words in the candidate phrase to form a revised candidate phrase and for determining whether the revised candidate phrase is found in the phrase dictionary.
Claim 15
Dependent Claim 286 words
A computer system for capitalizing text in a document, said computer system comprising a data processor that operates in accordance with program instructions recorded on an electronically readable program instruction storage media, said program instructions controlling said data processor for processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; for adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and for looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, for testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, for testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, where said program instructions further control said data processor so that, if the candidate phrase is not found in the phrase dictionary, for changing the number of words in the candidate phrase to form a revised candidate phrase and for determining whether the revised candidate phrase is found in the phrase dictionary.
Claim 16
Dependent Claim 52 words
A computer system as in claim 10 , wherein each record in said singleton dictionary further comprises an optional final form for the word if the word has unusual capitalization, and where each record in said phrase dictionary comprises an optional final form for the phrase if the phrase has unusual capitalization.
Claim 17
Dependent Claim 328 words
A computer system for capitalizing text in a document, said computer system comprising a data processor that operates in accordance with program instructions recorded on an electronically readable program instruction storage media, said program instructions controlling said data processor for processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; for adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and for looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, for testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, for testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, where said program instructions further control said data processor, when constructing the singleton dictionary, such that all single word entities are added to the singleton dictionary with a phrase length range of 1:1, indicating that the word does not begin any phrase and should be capitalized by itself, and when constructing the phrase dictionary a multi-word phrase is added to the phrase dictionary, and the first word of the multi-word phrase is added to the singleton dictionary with a phrase length range of n:n, where n is the number of words in the phrase.
Claim 18
Dependent Claim 328 words
A computer system for capitalizing text in a document, said computer system comprising a data processor that operates in accordance with program instructions recorded on an electronically readable program instruction storage media, said program instructions controlling said data processor for processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; for adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and for looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, for testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, for testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, where said program instructions further control said data processor, when constructing the singleton dictionary, such that all single word entities are added to the singleton dictionary with a phrase length range of 1:1, indicating that the word does not begin any phrase and should be capitalized by itself, and when constructing the phrase dictionary a multi-word phrase is added to the phrase dictionary, and the first word of the multi-word phrase is added to the singleton dictionary with a phrase length range of n:n, where n is the number of words in the phrase.
Claim 19
Dependent Claim 63 words
A computer system as in claim 12 , where said program instructions further control said data processor, if the first word of the multi-word phrase already exists in the singleton dictionary, such that the phrase length range entry for the word is updated in the singleton dictionary so that the length of the current multi-word phrase is included in the phrase length range.
Claim 20
Dependent Claim 44 words
A computer system as in claim 10 , where said program instructions further control said data processor, when capitalizing words found in mandatory capitalization positions, to capitalize words that begin sentences, words found in an abbreviations dictionary, and words found in a titles dictionary.
Claim 21
Dependent Claim 313 words
A computer system for capitalizing text in a document, said computer system comprising a data processor that operates in accordance with program instructions recorded on an electronically readable program instruction storage media, said program instructions controlling said data processor for processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; for adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and for looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, for testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, for testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, where said program instructions further control said data processor, when processing the reference corpus, for counting a number of times each word in the reference corpus occurs lowercased (l), capitalized (c), all uppercase (u) and in a mandatory capitalization position (m); and for computing a capitalization probability p for each word in the reference corpus in accordance with: p ( C i )=( c i −m i +u i )/( l i +c i −m i +u i ).
Claim 22
Dependent Claim 313 words
A computer system for capitalizing text in a document, said computer system comprising a data processor that operates in accordance with program instructions recorded on an electronically readable program instruction storage media, said program instructions controlling said data processor for processing a reference corpus to construct a plurality of dictionaries of capitalized terms, said plurality of dictionaries comprising a singleton dictionary and a phrase dictionary, where each record in the singleton dictionary comprises a word in lowercase, a range of phrase lengths m:n for capitalized phrases that the word begins, where m is a minimum phrase length and n is a maximum phrase length, and where each record in the phrase dictionary comprises a multi-word phrase in lowercase; for adding proper capitalization to an input monocase document by capitalizing words found in mandatory capitalization positions; and for looking up each word in the singleton dictionary and, if the word is found in the singleton dictionary, for testing the corresponding phrase length range, where if the phrase length range indicates that the word does not start a multi-word phrase, capitalizing the word, while if the phrase length range indicates that the word does start a multi-word phrase, for testing the word and an indicated plurality of next words as a candidate phrase to determine if the candidate phrase is found in the phrase dictionary and, if it is, capitalizing the words of the multi-word phrase, where said program instructions further control said data processor, when processing the reference corpus, for counting a number of times each word in the reference corpus occurs lowercased (l), capitalized (c), all uppercase (u) and in a mandatory capitalization position (m); and for computing a capitalization probability p for each word in the reference corpus in accordance with: p ( C i )=( c i −m i +u i )/( l i +c i −m i +u i ).
Claim 23
Dependent Claim 69 words
A computer system as in claim 15 , where said program instructions further control said data processor for filtering named entities extracted from the reference corpus such that named entities that occur in fewer than Z documents are discarded, and all single-word named entities having a computed capitalization probability less than W are discarded; and for storing surviving named entities into at least one of said plurality of dictionaries.
Claim 24
Dependent Claim 12 words
A computer system as in claim 16 , wherein Z=3 and W=0.5.

References Cited (Backward Citations)

US5761689A Cited
US6012088A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2008-07-25 2009-01-24 2009-07-26 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2012-07-25 2013-01-24 2013-07-26 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2016-07-25 2017-01-24 2017-07-26 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag