CA1248635A - Method and apparatus for semi-automatic spelling correction - Google Patents

Method and apparatus for semi-automatic spelling correction

Info

Publication number
CA1248635A
CA1248635A CA000501091A CA501091A CA1248635A CA 1248635 A CA1248635 A CA 1248635A CA 000501091 A CA000501091 A CA 000501091A CA 501091 A CA501091 A CA 501091A CA 1248635 A CA1248635 A CA 1248635A
Authority
CA
Canada
Prior art keywords
expression
signal
disparity
suspect
alternate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
CA000501091A
Other languages
French (fr)
Inventor
Henry Kucera
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vantage Technology Holdings LLC
Original Assignee
Henry Kucera
Houghton Mifflin Company
Lernout & Hauspie Speech Products N.V.
Inso Corporation
Vantage Technology Holdings
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Henry Kucera, Houghton Mifflin Company, Lernout & Hauspie Speech Products N.V., Inso Corporation, Vantage Technology Holdings filed Critical Henry Kucera
Application granted granted Critical
Publication of CA1248635A publication Critical patent/CA1248635A/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/232Orthographic correction, e.g. spell checking or vowelisation

Abstract

Abstract A spelling correction system according to the invention compares a correctly spelled word with an incorrectly spelled word to determine the degree of substitutability. If the system determines that the words are highly similar, the system flags the correct word as exclusively substitutable for the incorrect word. If the system determines the words are of moderate similarity, the correct word is flagged as a possible substitute for the incorrect word.

Description

Method and Apparatus _or Semi-Automatic Spellin~
Correction.

This invention relates to a method and apparatus for semi-automatic spelling correction. More particularly, the invention provides a spelling correction system which compares linguistic expressions and determines whether one expression is a correct substitute for another. The invention has application in the field of text processing.
In general, text processing systems ~acilitate the production of printed documents. Early text processing systems primarily provided a text justification function. Subsequent systems included spelling verification procedures to flag incorrectly spelled words. More recently, these systems have incorporated spelling alternat-ive identificat-i-on procedures for displaying correctly spelled words determined algorithmically to be similar to each incorrectly spelled word.
An exemplary spelling alternative identification system is disclosed in commonly assigned Canadian Patent No. 1,203,916 which issued April 29, 1986 for "Method and Apparatus for Automated Spelling Correction." That system converts each incorrectly spelled word to a suspect skeletal expression and compares tha~ expression with database skeletal expressions representing correctly spelled words. In the event the suspect skeletal expression or one o~ its modified forms match one or more database skeletal expressions, a set of associated correctly spelled words can be presented to the user to permit selection oP a replacement expression.

.

1 A problem presented by these prior art systems i5 that they can provide too many candidate expressions. The task of examining these expressions and choosing between them can often be a time consuming interruption for the system user.
5; Further, due to errors inherent in an algorithmic candidate expression selection process, the prior art systems often mistakenly present candidate expressions which greatly differ from the suspect expressiOn.
An object of this invention, accordingly, is to provide an improved spelling correction system for automated text processing.
More particularly, an object of the invention is to provide a spelling correction system which requires little or no user intervention in performing the correction function.
A further object of this invention is to provide an improveo spelling correction system which interfaces the prior art alternative identification systems and reduces the number of suggested expressions provided by those systems.
Still further, an object of this invention is to provide a spelling verification system capable of identifying a correctly spelled expression of similarity to an incorrectly spe'led expression and providing a measure of the degree of similarityO ' ~ Other objects of the invention are provided ln the following description.
., I

Summary of the Invention In one aspect, the invention relates to an improved spelling correction system comprising dual input elements, a ; comparison element, and a selection element. A first input !1 ~ 63~ii~

1 element accepts a suspect expression signal representing an incorrectly spelled linguistic expression. A sec~nd input element accepts an alternate expression signal representing a correctly spelled linguistic expression. These expressions are compared by the comparison element, which generates a dlsparity signal representing numerically the degree of difference between the two expressions. The selection element evaluates the disparity signal to determine whether the correctly spelled expression is a potential substitute for the incorrectly spelled eY.pression.
In another aspect, the invention provides an improved spelling correction system of the type described above and which has an element for calculating a disparity value numerically representating the type and number of occurrences of each difference between the compared expression signals.
Further aspects of the invention provide elements for detecting specific disparity types presented in the compared expression signals. These disparity types include character order transposition disparity, character deletion disparity, unmatched character disparity, and expression character length disparity. Another aspect further provides an element for detecting like character-representative signals. Another aspect provides an element responsive to the detection of each disparity type for generating a signal representing the numerically-weighted structural significance of each dlsparity type.
Other aspects of the invention relate to the further improvement of the selection element described above. A first such improvement provides an automatic selection element which responds to a disparity signal value within a first selected -_3_ (~ i 1 range and generates a signal indicating that the alternateexpression signal associated with the disparity value signal represents a word exclusively ~ubstitutable Eor the word represented by the suspect expression signal. This exclusive substitutability indication denotes a high degree of similarity ! between the pair of expressions represented by compared signals, i.e., the suspect expression and the alternate expression. A text processing system incorporating this aspect of the invention may respond to the exclusive substitutability indication by replacing the suspect expression with the alternate expression.
Another improvement provides a semi-automatic selection element which is responsive to a disparity signal value within a second range and produces a signal indicating that the alternate expression signal associated with the disparity value signal represents a word potentially substitutable for the word represented by the suspect expression signal. This potential substitutability indication denotes a moderate degree of similarity between the pair of expressions represented by the compared signals, i.e., the suspect expression and the alternate expression. A text processing system incorporating this aspect of the invention may respond to the potential substitutability indication by ' displayiny the alternate expression and permittiny the user to 25~ select that expression as a replacement for the suspect expression.
Other aspects of the invention relate to an ' improvement upon a method for spelling verification paralleling the apparatus aspects discussed above.

. I
i I

~ 3~

1 An advant~ge of a spelling correction system constructed in accord with the invention is that the user intervention required for correction of a single misspelled , word is greatly reduced. Moreover, the amount o time required 5'l to correct an entire document containing misspellings is ; correspondingly decreased. Further, a spelling correction system according to the invention can automatically correct some misspelled words. Still further, a spelling correction of the type provided by the invention can interface prior art correction systems and reduce the nurnber of candidate expressions otherwise presented to the user. Other advantages of the spelling correction system provided by the invention are evident in the description below.

BRIEF DESCR~PTION OF THE ILLUSTRATIO~S
I
A more complete understanding of the invention may be attained by reference to the following description and the accompanying drawings, in which:
FIGURE 1 is a block schematic representation of a text - processing system embodying a practice of the invention;
FIGURE 2 is a flow chart representing an overview of the operation of a preferred semi-automatic spelling verification system according to the invention; and FIGURE 3 is a block structure flow chart presenting a more detailed view of the operating sequence of the comparison 25 ' and calculation stage of the embodiment presented in FIGURE 2.

i DESCRIPTION OF THE ILLUSTRATED EMBODIMENT
FIGURE 1 is a schematic diagram presenting hardware and software aspects of a text processing system of the type used for practice of the invention. The illustration depicts, ,1 .

63~

1 in addition to known elements, those provided by a spelling correction system according to the invention. From the hardware perspectivel a computer 10 is connected to data processing peripheral units comprising a disk drive 12, a s monitor 14, and a keyboard 16. The disk drive 12 serves as a non-volatile storage element for information accessed by the computer 10. The monitor 14 and the keyboard 16 provide an interface between the computer 10 and the user. Specifi_ally, the monitor 14 presents a graphic display of signals generated by the computer 10, while the keyboard 16 converts typed messages into computer-readable form.
The illustrated computer 10 includes functional units comprising a peripheral controller 18, a central procesing unit 20, and a random access memory unit 22. The peripheral controller 18 is an interface between the computer 10 and its peripheral units. The central processing unit 20 serves as the primary source of control, arithmetic, and logic operations within the computer 10. Further, the random access memory unit 22 provides volatile, rapid-access storage for the computer 10
2~ and, particularly, for the central processing unit 22.
The illustrated text-processing hardware used for practice of the invention can be selected from any one of many commercially available programmable digital computers and word processing systems.
FIGURE 1 additionally depicts a software environment for practice of the invention. A text processing system 24 operates within the computer 10, and primarily under control of the central processing unit 20. In addition to the ' non-illustrated functions, e.g., text formatting and file~document management, the text processing system 24 , ' .

- I
1.

i3~i 1 embraces spelling verification software, including suspect expression identification software ~6 and alternate expression identification software 28.
The suspect expression identification software 26 identifies incorrectly spelled words contained in documents managed by the text processing system 24. The software 26 is known in the art and typically operates through utilization of a large dictionary database and algorithms which permit rapid database access. Several suspect expression identifica~ion software packages are commercially available, and are more commonly referred to as spelling verifiers.

The alternate expression identification software 28 generates a set of one or more correctly spelled alternate expressions for possible replacement of an incorrectly spelled suspect expression. Several software packages suitabl~-for-the identi~ication of -alternate expressions are know in the art. One such package is provided in previously noted Canadian Pa~ent No. 1,203,916 which issued April 29, 1986 for a "Method and Apparatus for Automated Spelling Correction."
With continued reference to Figure 1, a semi-automatic spelling corrector 30 according to the invention comprises dual input elements 32 and 34, a comparison element 36, and a selection element 38.
From a functional perspective, the input element 32 accepts a suspect expression from the suspect expression identification software 26. The input element 34 accepts alternate expressions supplied by the alternate expression identification software 28.
The comparison element 36 compares the suspect expression with each alternate expression, and calculates a disparity value based upon differences between the two expressions. The selection element 63~i 1 38 evaluates each generated disparity value and corresponding suspect-alternate expression pair to determine whether the alternate expression is of sufficient similarity to qualify as a potential substitute for the suspect expression. An output signal produced by the selection element, and indicative of the degree of substitutability of the alternate expression, is utiliæed by the text processor 24, as illustrated hereinbelow.
The suspect expression and alternate expression signals processed ~y the illustrated spelling correction system are comprised of characters. Typically, these characters are elements of the alpha-numeric character set, i.e., the set comprising letters and numbers. Other characters, e.g., punctuation symbols, may also be included within the processed expressions.
The illustrated system attains the foregoing function with operation that includes an exchange of signals representative of the logical entities, e.g., suspect expressions, alternate expressions, and disparity values, discussed herein.
FIGURE 2 is a flow chart presenting an overview of the semi-automatic spelling correction method according to a preferred embodiment of the invention with the system of FIGURE
1. The illustrated process begins at an initialization phase 202. The extent of initialization is determined by the particular environment in which the invention is practiced. By way of example, this step may entail setting proyram variables, and particularly, counters and string expression pointers.
Additionally, input/output processes, e.g., text file accessing routines, may require initialization prior to spelling 1 !
3~
1 correction. ~urther, the step 202 may involve initiali~ation of database routines, such as those re~uired for identification of alternate expressionsO
Following initiali2ation, the process accepts a suspect expression, step 204, which is to be tested for ; validity. As indicated in step 206, the suspect expression is checked by the suspect expression identification software. If the expression is indeed found to be invalid, e.g., misspelled, the process proceeds to step 208; otherwise, the process proceeds to step 232. In step 208, the alternate expression identification software is invoked in order to establi~h a set of candidate expressions. Subsequently, as indicated in step 210, the process accepts a single alternate expression from this set.
In step 212, the process compares the suspect expression with the provisionally-selected alternate expression in order to produce a disparity value, which numerically - represents the structural differences between the two expressions. Subsequently, the disparity value, the suspect expression, and the alternate expression are evaluated to determine the degree of substitutability of the alternate expression for the suspect expression, step 214.
The degree of substitutability, determined in step 214, is indicated by a selection mode status, which is assigned to the suspect-alterriate expression pair. A first selection mode status, automatic selection mode status, is assigned to the expression pair if there is a high degree of similarity between the suspect expression and the alternate expression.
A second selection mode status, semi-automatic selection mode status, is assigned to the expression pair if there is a ,; _ g _ " I

1 moderate degree of similarity between the suspect expression and the alternate expression. Further, a third selection mode status, hereinafter referred to as no-replacement selection mode status, implicitly results if neither automatic selection 5 mode status nor semi-automatic selection mode status is assigned to the suspect-alternate expression pair.
No-replacement selection mode status indicates that the suspect expression and alternate expression are relatively dissimilar.
More particularly, the selection mode status associated with a suspect expression-alternate expression pair is determined in the following manner. Automatic selection mode is established if (i) the disparity value is numerically less than a designated automatic-replacement cutoff value, and - (ii) neither the suspect expression nor the alternate expression is a proper noun -- as indicated by an upper case initial character, and, (iii) neither the suspect expression nor the alternate expression is less than six characters in length. The latter condition is optional; its inclusion potentially effects the selection of ~ewer automatic-substitution alternate expressions. Further, in one embodiment, which employs the latter condition, the character length limit is reduced to five. This reduction effects the selection of more automatic-substitution alternate expressions.
Semi-automatic selection mode is established if the disparity value is numerically less than a designated semi-automatic-replacement cutoff value and if the compared expressions do not otherwise meet the above requirements ~or assi~nment automatic selection mode status. Further, the no-replacement selection mode is implicitly established if the disparity value is numerically greater than the designated semi-automatic-replacement cutof~ value.

, . I
j. -10-"

363s 1 An illustrative automatic-replacement cutoff value, determined as further described hereinbelow, is 1250, while a corresponding semi-automatic-replacement cutoff value may be 1500. ~ further, corresponding, semi-automatic-replacement cutoff value is 2000, which effects the selection of a larger number of candidate replacement expressions.
Following the determination of the selection mode status for an alternate expression-suspect expression pair, the illustrated process follows one of three pathways. If 10; semi-automatic selection mode is established, the process proceeds to step 216, where the alternate expression can be stored for subsequent presentation as a substitution candidate. Further, if automatic selection mode is established, the process proceeds to step 218, where the alternate expression can be stored for automatic replacement of the suspect expression. If, on the other hand, no-replacement selection mode is implicitiy established, the process proceeds directly to step 220.
In decision step 220, the process determines whether another alternate expression is available for comparison with the suspect expression. If another expression is available, the process is re-directed to step 210. Otherwise, the process proceeds to step 222.
In decision step 222, the process examines the results of all evaluations performed, previously, in step 214. If at least one alternate expression has been assigned semiwautomatic selection mode status and no alternate expressions have been assigned automatic selection mode status, the process proceeds to step 224. There, the semi-automatic selection mode alternatives are presented to the user. In a preferred ,. . I
, . I

!
i! l ~86;~
1 practice, these alternative expressions are presented in order of increasing similarity to the suspect expression. This ordering is effected by comparison of the disparity value associated with each o the alternate expressions. As indicated in step 226, the process subsequently accepts the user alternate expression selection. In step 228, the process produces a signal indicative of the alternate expression, if any, selected by the user. The text process;ng system handles this signal according to the requirements of the particular text processing application. Typically, the indicated alternate expression will be substituted for the suspect expression and, thus, incorporated in the processed document.
Referring again to decision step 222, if a single - alternate expression has been assigned automatic selection mode status, the process proceeds tc step 230. In step 230, the process produces a signal representative of this alternate expression and an indication that the alternate expression is exclusively substitutable for the suspect expression, i.e., that the alternate expression is likely the correct replacement for the suspect expression. As above, ~his signal is handled by the text processing system in accord with the particular text processing application, e.g., the indicated alternate expression is incorporated in the document and highlighted upon subsequent display.
With continued reference to step 222, Figure 2, in the event multiple alternate expressions have attained automatic selection mode status, the illustrated process per~orms a second-level determination of the selection mode status for these multiple alternate expressions. This determination involves numerical comparision of the disparity values assigned '' ~

1, D

1 to each of these rnultiple alternate eY~pressions. In particular, if the numerical ratio of the smallest assigned disparity value to the each of the other assigned disparity values is less than a designated differential factor, the alternate expression corresponding to that smallest disparity value is deemed the sole alternate expression suitable for automatic selection mode status. In consequence, the process proceeds to step 230. If, on the other hand, the numerical ratio of the smallest assigned disparity value to any of the other disparity values is greater than the designated dikferential factor, all of the multiple expressions are re-assigned semi-automatic selection mode status and are processed in accord with illustrated step 224.
A suitable differential factor value is 1/3 or 2/3 and is preferably 1/2. In general, a large differential factor value results in decreased frequency of automatic expression replacement, particularly in instances where the suspect expression is relatively similar to numerous alternate expressions.
As further shown in step 222, if no suspect-alternate expression pair is assigned semi-automatic or automatic selection mode status, the process proceeds directly to step 232.
In decision step 232, the process determines whether ~ another suspect expression is available- If so, the process is directed back to step 20~. Otherwise, the process proceeds to ; termination step 236.
i FIGURE 3 presents in greater detail the process of the comparison and calculation step 212 of Figure 2. Generally, the process illustrated by FIGURE 3 computes a value which represents numerically the str~ctural disparity between a suspect expression and an alternate expression.
,, I

;; -13- !

j!
!~ I

~ 63 ~

1 More particularly, through character-by-character comparison, the illustrated process identifies character deletion disparity, unmatched character disparity, character transposition disparity, and expression character-length 5ii disparity~ Character deletion disparity results where a character, contained in one expression, is absent from the other expression. Character transposition disparity results where a character pair in one expression is transposed with respect to a corresponding character pair in the other expression. Unmatched character disparity results where a character in one expression does not match an associated character in the other expression and where that mismatch is not the result of a character deletion or a character transposition. Further, expression charaeter length disparity results where the compared expressions are of differing character lengths and where these differing lengths are not otherwise attributable to character deletion disparity or unmatched character disparity.
Upon identification of any of the above disparity types, the process increments a disparity accumulator by a penalty value associated with the detected type. In this way, the disparity aecumulator stores a value numerically representative of the structural differences between the compared expressions.
The character-by-eharaeter comparison process, including the detection of speciEic disparity types and accumulation of disparity penalties, is further explained by the bloek flow chart of FIGURE 3, beginning at step 300.

'. , i I
,. . I

ll l ~2 ~ ~3 5 1 In step 3 no, the process evaluates the length of the suspect expression and of the alternate expression. The expression of greater length is assigned to the variable WORDl, while the expression of lesser length is assigned to the variable WORD2.
I Step 302 illustrates the initialization of several program variables. Initially, the variable LENl is set equal to the character length of the expression stored in the variable WORDl. The variable LEN2 is set equal to the character length of the expression stored in the variable WORD2. The variable representing the difference between the character lengths of the two stored expressions, LEN-DIFF, is set equal to the absolute value of the difference between the variables LENl and LEN2. Further, the variable DISPARITY, referred to above as the disparity accumulator, is set equal to zero.
In step 304, the two current character pointer variables, PTRl and PTR2, ~elating to the character currently subject to processing in each of the variables, WORDl and 20 WORD2, respectively, are set equal to one.
Step 306 delineates the boundaries of a program loop which evaluates the expressions stored in variables WORDl and WORD2 and determines, on a character by character basis, the differences between the expressions. The steps of the loop are executed sequentially, while the loop itself is executed repeatedly, until the loop termination conditions are met.
These termination conditions are satisfied if the value o~
variable PTRl is greater than the value of variable LENl or when the value of the variable PTR2 is greater than the value 30 ; of variable LEN2.

.
I', . ~

s ll 1 Decision step 308 marks the beginning of the loop sequence. In that step, the current characters of the expressions stored in the variables WORDl and WORD2 are compared. As indicated by the YES branch of step 308, if the current characters are equivalent, no specific action is taken and the process proceeds to step 338. If, on the other hand, the current characters of the stored expressions are not equivalent, the process proceeds through the NO branch of step 308 to step 312.
In decision step 312, the process compares the WORD2 sub-expression beginning at the current character with the WORDl sub-expression beginning at the character following the current character. If these two subexpressions are equivalent, the process proceeds through the YES branch of step 312 to step 314. Otherwise, the process proceeds through the ~O branch of step 312 to step 320.
In step 314, the length difference variable LEN-DIFF
is decremented by one. In step 316, the current character pointer for variable WORDl, variable PTRl is incremented by one~ In step 318, the variable DISPARITY is incremented by a penalty value corresponding with character deletion. Following step 318, the process proceeds to step 338.
In decision step 320, the illustrated system tests or a transposition error by performing two evaluations. The first 25; evaluation involves comparing the current character of the il expression stored in WORD2 with the character following the current character of the expression stored in variable WORDl.
Conversely, the second evaluation involves comparing the character following the current character of the expression stored in variable WORD2 with the current character of the , .

i;
1,l . I

- !

1 expression stored in variable WORDl~ If both evaluations of step 320 are determined in the affirmative, the process proceeds through the YES branch of step 320 to step 322.
Otherwise, the process proceeds to step 328.
In steps 322 and 324, the process increments by one the character pointers PTRl and PTR2. In step 326, the process increments the variable DISPARITY by a character transposition penalty value. Subsequently, the process proceeds to step 338.
In decision step 328, the process performs two evaluations in testing for character deletion disparity~ The first evaluation involves comparing the current character of the expression stored in WORD2 with the character preceding the current character of the expression stored in the variable WORDl. The second evaluation requires testing the length difference variable, LEN-DIFF, to determine if it is greater than zero. If both evaluations of step 328 are determined in the affirmative, the process proceeds through the YES branch of that step to step 330. Otherwise, the process proceeds to step 336.
In step 330, the pointer PTR2 is incremented by one.
In subsequent step 332, the length difference variable, LEN-DIFF is decremented by one. Subsequently, in step 33~, the value of the variable DISPARITY is incremented by the deletion disparity penalty value.
In step 336, the value of the variable DISPARITY is i altered to indicate an unmatched character, i.e., incremented ,' by the no-match disparity penalty value.
¦ In step 338, the current character pointers associated Il ~7ith variables WORDl and WORD2, i.e., variables PTRl and PTR2, are incremented by one. As e~plained above, and indicated by ll l " -17-il , I
!! !

8 ~3 5 1 the diagram, subsequent to execution of step 338, the process is redirected to step 306, where the loop termination conditions are re-evaluated.
Subsequent to completion of the character by character comparison of the expressions stored in variables WORDl and WORD2, the process proceeds to step 340. There, the value of the variable DISPARIT~ is incremented by a multiplicative product of the variable LEN-DIFF and the per-character length difference penalty value~ The value of the variable DISPARITY, resulting from the computation of step 340, corresponds with the disparity value discussed in conjunction with step 212 oE
FIGURE 2.
In an illustrated preferred English language embodiment, the specific disparity type values are as follows.
A deletion error penalty is assigned a value of 450. The penalty value associated with a transposition error is 650O A
no-match error is valued at 800. Further, the per character length-difference penalty value is 400~ The cut-off values of 1250, 1500 and 2000 stated above are preferred for these disparity values.
While the specific disparity type penalty values listed above correspond to the selection mode status ranges discussed above in conjunction with FIGURE 2, it wilL be understood that other values may be used. ParticularLy, any of these values can be increased or decreased depending upon the particular requirements of the user installation. For example, the values can be adjusted depending upon the language in which the processed document is written. Further, it will be ' understood that the invention encompasses a spelling correction system which can detect and assign penalty values to other '' i ll l f~

1 disparit~ types. ~till further, it will be understood that the invention may be practiced with a reduced set of detected disparity types; not all those illustrated in FIGURE 3 need to ! be used.
5' The foregoing spelling correction system acts in conjunction with known text processing systems to reduce or eliminate user intervention in the correction proce~s. More particularly, a spelling correction system of the type provided by the invention compares an incorrectly spelled word, i.e., a suspect expression, with a correctly spelled word, i.e., an alternate expression, and determines the degree of similarity between them. Dependent upon this degree of similarity, the spelling correction system assigns a selection mode status to - each suspect expression-alternate expression pair. This selection mode status determines the manner in which the text processing system may handle the alternate expression vis-a-vis the suspect expression. Particularly, the assignment of automatic selection mode status indicates that the alternate expression is likely to be a correctly spelled Eorm of the suspect expression, while the assignment of semi-automatic selection mode status indicates that the alternate expression is a replacement candidate for the suspect expression.
Those skilled in the art may make changes in the described emhodiment, and in the other teachings herein, for further practice which is within the scope of the invention described and claimed herein.
What is claimed is:
,', , I
1., . I
,. I
., I

1.

Claims (31)

The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
1. In apparatus for automated linguistic expression substitution, the improvement comprising A. first input means for inputting, into said apparatus, a suspect expression signal representative of a linguistic expression consisting of characters, B. second input means for inputting, into said apparatus, an alternate expression signal representative of a permissible linguistic expression consisting of characters, C. comparison means, connected to said first and second input means, for comparing said suspect expression signal with said alternate expression signal and for producing a disparity signal numerically representative of differences between a spelling of the linguistic expression represented by said suspect expression signal and a spelling of the linguistic expression represented by said alternate expression signal, said comparison means including means for detecting disparity types representative of (i) transposition of character order, (ii) deletion of a character, (iii) an unmatched character, and (iv) differences in expression character length, occurring between said compared expression signals, said comparison means further including means responsive to the detection of said disparity type for producing a signal indicative of the numerically-weighted structural significance of that type, and D. selection means, connected to said comparison means and responsive to a numerical value represented by said disparity signal, for selectively determining said alternate expression to be substitutable for said suspect expression and for producing an output signal indicative thereof.
2. In apparatus according to claim 1, the further improvement whereby said comparison means includes means for producing said disparity signal to be numerically representative of the type and magnitude of differences between said suspect expression signal and said alternate expression signal.
3. In apparatus according to claim 1, the further improvement whereby said comparison means includes means for detecting a disparity type representative of transposition of character order, with respect to said alternate expression signal, within said suspect expression signal.
4. In apparatus according to claim 1, the further improvement whereby said comparison means includes means for detecting a disparity type representative of the deletion of a character, with respect to said alternate expression signal, from said suspect expression signal.
5. In apparatus according to claim 1, the further improvement whereby said comparison means includes means for detecting a disparity type representative of an unmatched character, with respect to said alternate expression signal, within said suspect expression signal.
6. In apparatus according to claim 1, the further improvement whereby said comparison means includes means for detecting a disparity type resulting from differences in the number of characters represented by said suspect expression signal and by said alternate expression signal.
7. In apparatus according to claim 1, the further improvement whereby said comparison means includes means for detecting like characters represented in said suspect expression signal and said alternate expression signal.
8. In apparatus according to claim 1, the further improvement whereby said comparison means further includes means for computing a disparity value as a summation of values indicated by each said significance signal.
9. Apparatus for automated linguistic expression substitution having a keyboard for accepting expressions and converting them into signals representative thereof, a monitor for graphic display of signals representative of symbols and linguistic expressions, a processing unit for processing signals representative of linguistic expressions, and a storage unit for storing signals representative of linguistic expressions, and further having the improvement comprising A. first input means for inputting from at least one of said keyboard, said processing unit, and said storage unit, a suspect expression signal representative of a linguistic expression, B. second input means for inputting, from at least one of said processing unit or said storage unit, alternate expression signals representative of one or more permissible linguistic expressions, C. comparison means, connected to said first and second input means, for comparing said suspect expression signal with each said alternate expression signal and for producing a disparity signal numerically representative of differences between a spelling of the linguistic expression represented by said suspect expression signal and a spelling of the linguistic expression represented by each said alternate expression signal, said comparison means including means for detecting disparity types representative of (i) transposition of character order, (ii) deletion of a character, (iii) an unmatched character, and (iv) differences in expression character length, occurring between said compared expression signals, and further includes means responsive to the detection of said disparity type for producing a signal indicative of the numerically-weighted structural significance of that type, and D. selection means, connected to said comparison means and responsive to a numerical value represented by said disparity signals, for selecting the alternate expression signal, if any, to replace said suspect expression and for producing an output signal indicative thereof.
10. Apparatus according to claim 9, having the further improvement whereby said comparison means includes means for producing said disparity signal to be numerically representative of the type and magnitude of differences between said suspect expression signal and said alternate expression signal.
11. Apparatus according to claim 9, having the further improvement whereby the comparison means includes means for detecting a disparity type representative of transposition of character order, with respect to said alternate expression signal, within said suspect expression signal.
12. Apparatus according to claim 9, having the further improvement whereby the comparison means includes means for detecting a disparity type representative of deletion of characters, with respect to said alternate expression signal, from said suspect expression signal.
13. Apparatus according to claim 9, having the further improvement whereby the comparison means includes means for detecting a disparity type representative of unmatched characters, with respect to said alternate expression signal, within said suspect expression signal.
14. Apparatus according to claim 9, having the further improvement whereby the comparison means includes means for detecting a disparity type resulting from differences in the number of characters represented by said suspect expression signal and by said alternate expression signal.
15. Apparatus according to claim 9, having the further improvement whereby the comparison means includes means for detecting like characters represented in said suspect expression signal and said alternate expression signal.
16. Apparatus according to claim 9, having the further improvement whereby said comparison means further includes means for computing a disparity value as the summation of values indicated by each said significance signal.
17. Apparatus according to claim 9, having the improvement whereby said selection means includes auto-selection means coupled to said comparison means and responsive to a disparity signal representative of a value in a first numerical range for determining the alternate expression signal corresponding to a disparity signal to be exclusively substitutable for the suspect expression signal corresponding to said disparity signal and for producing a signal indicative thereof.
18. Apparatus according to claim 17, having the improvement whereby said auto-selection means includes means responsive to the number of characters represented by each of said suspect expression signal and said alternate expression signal being greater than a selected value, and for producing a signal indicative thereof.
19. Apparatus according to claim 17, having the further improvement whereby said selection means includes semi-automatic selection means coupled to said comparison means and responsive to a disparity signal representative of values in a second selected numerical range for selectively graphically displaying on said monitor one or more of said alternate expressions signals, said second selected numerical range having a lower value bound larger than a lower value bound of said first selected numerical range.
20. Apparatus according to claim 19, having the further improvement whereby said semi-automatic selection means includes means for accepting from said keyboard a signal indicative of an alternate expression signal, if any, to replace a corresponding suspect expression signal.
21. Apparatus according to claim 19, having the further improvement whereby said semi-automatic selection means includes means responsive to said disparity signal for ordering a display of alternate expression-representative signals on said monitor.
22. In a method for automated linguistic expression substitution on a digital data processor, the improvement wherein said digital data processor executes steps comprising A. accepting into said digital data processor a suspect expression signal representative of a linguistic expression consisting of characters, B. accepting into said digital data processor an alternate expression signal representative of a permissible linguistic expression consisting of characters, C. comparing within said digital data processor said suspect expression signal with said alternate expression signal and producing a disparity signal numerically representative of differences between a spelling of the linguistic expression represented by said suspect expression signals and a spelling of the linguistic expression represented by said alternate expression signal, said comparing step including the step of producing said disparity signal to be numerically representative of the type and magnitude of differences between said suspect expression signal and said alternate expression signal, said comparing step further including the steps of responding to the detection of transposition, character deletion, unmatched character, and character length disparity types for producing a signal indicative of the numerically-weighted structural significance of that detected type, and D. evaluating within said digital data processor a numerical value represented by said disparity signal for determining whether said alternate expression signal is substitutable for said suspect expression signal and for producing an output signal indicative thereof.
23. In a method for automated linguistic expression substitution on a digital data processor according to claim 22, the improvement in which said comparing step further comprises the step of detecting a disparity type representative of transposition of character order, with respect to said alternate expression signal, within said suspect expression signal.
24. In a method for automated linguistic expression substitution on a digital data processor according to claim 22, the improvement in which said comparing step further comprises the step of detecting a disparity type representative of deletion of characters, with respect to said alternate expression signal, from said suspect expression signal.
25. In a method for automated linguistic expression substitution on a digital data processor according to claim 22, the improvement in which said comparing step further comprises the step of detecting a disparity type representative of unmatched characters, with respect to said alternate expression signal, within said suspect expression signal.
26. In a method for automated linguistic expression substitution on a digital data processor according to claim 22, the improvement in which said comparing step further comprises the step of detecting a disparity type resulting from differences in the number of characters represented by said suspect expression signal and by said alternate expression signal.
27. In a method for automated linguistic expression substitution on a digital data processor according to claim 22, the improvement in which said comparing step further comprises the step of detecting like characters represented in said suspect expression signal and said alternate expression signal.
28. In a method for automated linguistic expression substitution on a digital data processor according to claim 22, the improvement in which said comparing step further comprises the step of computing a disparity value as the summation of values indicated by each said significance signal.
29. In a method for automated linguistic expression substitution on a digital data processor according to claim 22, the improvement in which the evaluating step further comprises the steps of responding to a disparity signal in a selected first range of disparity signal values for determining the alternate expression signal corresponding to a disparity signal to be exclusively substitutable for the suspect expression signal corresponding to said disparity signal and for producing a signal indicative thereof.
30. In a method for automated linguistic expression substitution on a digital data processor according to claim 29, the improvement in which the evaluating step further comprises the steps of responding to the number of characters represented by each of said suspect expression signal and said alternate expression signal being greater than a selected value and for producing a signal indicative thereof.
31. In a method for automated linguistic expression substitution on a digital data processor according to claim 29, the improvement in which the evaluating step further comprises the step of responding to a disparity signal value in a selected second range of disparity signal values and producing an output signal indicative thereof, said second disparity signal value range having a lower value bound larger than a lower value bound of said first disparity signal value range.
CA000501091A 1985-02-05 1986-02-04 Method and apparatus for semi-automatic spelling correction Expired CA1248635A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US06/699,202 US4783758A (en) 1985-02-05 1985-02-05 Automated word substitution using numerical rankings of structural disparity between misspelled words & candidate substitution words
US699,202 1991-05-13

Publications (1)

Publication Number Publication Date
CA1248635A true CA1248635A (en) 1989-01-10

Family

ID=24808356

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000501091A Expired CA1248635A (en) 1985-02-05 1986-02-04 Method and apparatus for semi-automatic spelling correction

Country Status (2)

Country Link
US (1) US4783758A (en)
CA (1) CA1248635A (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2199170A (en) * 1986-11-28 1988-06-29 Sharp Kk Translation apparatus
JPS63159976A (en) * 1986-12-24 1988-07-02 Brother Ind Ltd Data processor
JP2688205B2 (en) * 1988-01-20 1997-12-08 キヤノン株式会社 Electronic typewriter
US4849898A (en) * 1988-05-18 1989-07-18 Management Information Technologies, Inc. Method and apparatus to identify the relation of meaning between words in text expressions
US5060154A (en) * 1989-01-06 1991-10-22 Smith Corona Corporation Electronic typewriter or word processor with detection and/or correction of selected phrases
JP2832988B2 (en) * 1989-03-07 1998-12-09 ヤマハ株式会社 Data retrieval system
US5255386A (en) * 1990-02-08 1993-10-19 International Business Machines Corporation Method and apparatus for intelligent help that matches the semantic similarity of the inferred intent of query or command to a best-fit predefined command intent
US5572423A (en) * 1990-06-14 1996-11-05 Lucent Technologies Inc. Method for correcting spelling using error frequencies
WO1992012493A1 (en) * 1990-12-31 1992-07-23 Gte Laboratories Incorporated Very fast approximate string matching algorithms for multiple errors spelling correction
US5329598A (en) * 1992-07-10 1994-07-12 The United States Of America As Represented By The Secretary Of Commerce Method and apparatus for analyzing character strings
US5576955A (en) * 1993-04-08 1996-11-19 Oracle Corporation Method and apparatus for proofreading in a computer system
US5392212A (en) * 1993-07-07 1995-02-21 The United States Of America As Represented By The Secretary Of Commerce Apparatus for identifying unknown words by comparison to known words
US5956711A (en) * 1997-01-16 1999-09-21 Walter J. Sullivan, III Database system with restricted keyword list and bi-directional keyword translation
US6047300A (en) * 1997-05-15 2000-04-04 Microsoft Corporation System and method for automatically correcting a misspelled word
US7030863B2 (en) 2000-05-26 2006-04-18 America Online, Incorporated Virtual keyboard system with automatic correction
US7821503B2 (en) 2003-04-09 2010-10-26 Tegic Communications, Inc. Touch screen and graphical user interface
US7286115B2 (en) 2000-05-26 2007-10-23 Tegic Communications, Inc. Directional input system with automatic correction
US7610194B2 (en) 2002-07-18 2009-10-27 Tegic Communications, Inc. Dynamic database reordering system
CA2392446C (en) * 1999-05-27 2009-07-14 America Online Incorporated Keyboard system with automatic correction
US7750891B2 (en) 2003-04-09 2010-07-06 Tegic Communications, Inc. Selective input system based on tracking of motion parameters of an input device
US20020059240A1 (en) * 2000-10-25 2002-05-16 Edave, Inc. System for presenting consumer data
JP4061094B2 (en) * 2002-03-15 2008-03-12 インターナショナル・ビジネス・マシーンズ・コーポレーション Speech recognition apparatus, speech recognition method and program thereof
US7321892B2 (en) * 2005-08-11 2008-01-22 Amazon Technologies, Inc. Identifying alternative spellings of search strings by analyzing self-corrective searching behaviors of users
US7786979B2 (en) 2006-01-13 2010-08-31 Research In Motion Limited Handheld electronic device and method for disambiguation of text input and providing spelling substitution
US8225203B2 (en) 2007-02-01 2012-07-17 Nuance Communications, Inc. Spell-check for a keyboard system with automatic correction
US8201087B2 (en) 2007-02-01 2012-06-12 Tegic Communications, Inc. Spell-check for a keyboard system with automatic correction
GB201108200D0 (en) 2011-05-16 2011-06-29 Touchtype Ltd User input prediction
US10127219B2 (en) * 2016-12-09 2018-11-13 Hong Kong Applied Science and Technoloy Research Institute Company Limited System and method for organizing and processing feature based data structures
CN107427732B (en) * 2016-12-09 2021-01-29 香港应用科技研究院有限公司 System and method for organizing and processing feature-based data structures

Family Cites Families (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3568156A (en) * 1967-08-09 1971-03-02 Bell Telephone Labor Inc Text matching algorithm
US3704345A (en) * 1971-03-19 1972-11-28 Bell Telephone Labor Inc Conversion of printed text into synthetic speech
US3760355A (en) * 1972-03-08 1973-09-18 Motorola Inc Digital pattern detector
JPS5729745B2 (en) * 1974-09-25 1982-06-24
US3969698A (en) * 1974-10-08 1976-07-13 International Business Machines Corporation Cluster storage apparatus for post processing error correction of a character recognition machine
JPS5144850A (en) * 1974-10-15 1976-04-16 Ricoh Kk
US4270182A (en) * 1974-12-30 1981-05-26 Asija Satya P Automated information input, storage, and retrieval system
CA1056504A (en) * 1975-04-02 1979-06-12 Visvaldis A. Vitols Keyword detection in continuous speech using continuous asynchronous correlation
US3995254A (en) * 1975-07-16 1976-11-30 International Business Machines Corporation Digital reference matrix for word verification
US4096934A (en) * 1975-10-15 1978-06-27 Philip George Kirmser Method and apparatus for reproducing desired ideographs
US4041467A (en) * 1975-11-28 1977-08-09 Xerox Corporation Transcriber system for the automatic generation and editing of text from shorthand machine outlines
US4136395A (en) * 1976-12-28 1979-01-23 International Business Machines Corporation System for automatically proofreading a document
US4156868A (en) * 1977-05-05 1979-05-29 Bell Telephone Laboratories, Incorporated Syntactic word recognizer
US4145739A (en) * 1977-06-20 1979-03-20 Wang Laboratories, Inc. Distributed data processing system
US4181813A (en) * 1978-05-08 1980-01-01 John Marley System and method for speech recognition
US4284846A (en) * 1978-05-08 1981-08-18 John Marley System and method for sound recognition
US4181821A (en) * 1978-10-31 1980-01-01 Bell Telephone Laboratories, Incorporated Multiple template speech recognition system
US4342085A (en) * 1979-01-05 1982-07-27 International Business Machines Corporation Stem processing for data reduction in a dictionary storage file
JPS5827547B2 (en) * 1979-01-26 1983-06-10 シャープ株式会社 electronic dictionary
US4373192A (en) * 1979-08-27 1983-02-08 Sharp Kabushiki Kaisha Display device of an electronic language interpreter
JPS5853787B2 (en) * 1979-08-30 1983-12-01 シャープ株式会社 electronic dictionary
US4679951A (en) * 1979-11-06 1987-07-14 Cornell Research Foundation, Inc. Electronic keyboard system and method for reproducing selected symbolic language characters
US4355371A (en) * 1980-03-25 1982-10-19 International Business Machines Corporation Instantaneous alpha content prescan method for automatic spelling error correction
US4336421A (en) * 1980-04-08 1982-06-22 Threshold Technology, Inc. Apparatus and method for recognizing spoken words
US4498148A (en) * 1980-06-17 1985-02-05 International Business Machines Corporation Comparing input words to a word dictionary for correct spelling
US4355302A (en) * 1980-09-12 1982-10-19 Bell Telephone Laboratories, Incorporated Spelled word recognizer
US4400828A (en) * 1981-03-27 1983-08-23 Bell Telephone Laboratories, Incorporated Word recognizer
US4383307A (en) * 1981-05-04 1983-05-10 Software Concepts, Inc. Spelling error detector apparatus and methods
US4435617A (en) * 1981-08-13 1984-03-06 Griggs David T Speech-controlled phonetic typewriter or display device using two-tier approach
JPS5842098A (en) * 1981-09-04 1983-03-11 電子計算機基本技術研究組合 Voice recognition system
US4495566A (en) * 1981-09-30 1985-01-22 System Development Corporation Method and means using digital data processing means for locating representations in a stored textual data base
US4471459A (en) * 1981-09-30 1984-09-11 System Development Corp. Digital data processing method and means for word classification by pattern analysis
US4499553A (en) * 1981-09-30 1985-02-12 Dickinson Robert V Locating digital coded words which are both acceptable misspellings and acceptable inflections of digital coded query words
US4456969A (en) * 1981-10-09 1984-06-26 International Business Machines Corporation System for automatically hyphenating and verifying the spelling of words in a multi-lingual document
US4498143A (en) * 1981-11-12 1985-02-05 Stanislaus Strzelecki Method of and apparatus for forming ideograms
US4484305A (en) * 1981-12-14 1984-11-20 Paul Ho Phonetic multilingual word processor
US4507750A (en) * 1982-05-13 1985-03-26 Texas Instruments Incorporated Electronic apparatus from a host language
US4567606A (en) * 1982-11-03 1986-01-28 International Telephone And Telegraph Corporation Data processing apparatus and method for use in speech recognition
US4730269A (en) * 1983-02-18 1988-03-08 Houghton Mifflin Company Method and apparatus for generating word skeletons utilizing alpha set replacement and omission
US4580241A (en) * 1983-02-18 1986-04-01 Houghton Mifflin Company Graphic word spelling correction using automated dictionary comparisons with phonetic skeletons
US4559598A (en) * 1983-02-22 1985-12-17 Eric Goldwasser Method of creating text using a computer
US4566065A (en) * 1983-04-22 1986-01-21 Kalman Toth Computer aided stenographic system
JPS60157662A (en) * 1984-01-26 1985-08-17 Sharp Corp Language processing system
SU1188755A1 (en) * 1984-04-20 1985-10-30 Специальное Конструкторско-Технологическое Бюро С Опытным Производством Минского Радиотехнического Института Device for syntactic analysing of programs
SU1206810A1 (en) * 1984-08-09 1986-01-23 Тамбовское Высшее Военное Командное Краснознаменное Училище Химической Защиты Information retrieval device
US4672571A (en) * 1984-10-24 1987-06-09 International Business Machines Corporation Compound word suitability for spelling verification

Also Published As

Publication number Publication date
US4783758A (en) 1988-11-08

Similar Documents

Publication Publication Date Title
CA1248635A (en) Method and apparatus for semi-automatic spelling correction
US8566304B2 (en) System and method for citation processing, presentation and transport
JP2693780B2 (en) Text processing systems and methods for checking in text processing systems whether units or chemical formulas are used correctly and consistently
US5710901A (en) Method and apparatus for validating data entered by a user
Liang et al. Problem definitions and evaluation criteria for the CEC 2006 special session on constrained real-parameter optimization
US5604897A (en) Method and system for correcting the spelling of misspelled words
AU648253B2 (en) Document generation apparatus and methods
US20020161799A1 (en) Spreadsheet error checker
US4644480A (en) Reliability analyzing system for manufacturing processes
US5060146A (en) Multilingual indexing system for alphabetical lysorting by comparing character weights and ascii codes
EP1425659A2 (en) Method and system in an office application for providing content dependent help information
Glass et al. A naive salience-based method for speaker identification in fiction books
WO2020206243A1 (en) Systems and methods for dynamically displaying a user interface of an evaluation system processing textual data
US20050251519A1 (en) Efficient language-dependent sorting of embedded numerics
US20120266128A1 (en) Collaborative development support system, collaborative development support method and recording medium
EP1286284B1 (en) Spreadsheet data processing system
US7383532B2 (en) System and method for client-side locale specific numeric format handling in a web environment
KR102467096B1 (en) Method and apparatus for checking dataset to learn extraction model for metadata of thesis
JP2009169573A (en) Analysis result output device and analysis result output method
JP2007122660A (en) Document data processor and document data processing program
JP2702986B2 (en) How to replace data in a program
JPH1185497A (en) Method and device for evaluating gui and machine-readable recording medium recording program
Lipman et al. STEP File Analyzer and Viewer User Guide (Update 7)
JP2008097147A (en) Method and computer for deciding primary cluster, and computer
US11709899B2 (en) Training data collection system, similarity score calculation system, document retrieval system, and non-transitory computer readable recording medium storing training data collection program

Legal Events

Date Code Title Description
MKEX Expiry