Method for providing linguistic functions of English text in a mixed document of single-byte characters and double-byte characters
First Claim
1. In a data processing system, having a computer processor, a memory and text input and output means a computer implemented method for providing linguistic functions of text in a structured document which presents single-byte character set (SBCS) and double-byte character set (DBCS) text in the same document, comprising the steps of:
- inputting in said memory of said computer of said data processing system a first alphanumeric character;
determining in said computer processor of said system whether said input character is SBCS or DBCS;
determining in said memory of said system a current document position;
inserting in said memory of said system the input character into a DBCS text node if the input character is determined to be DBCS;
inserting in said memory of said system a character into an SBCS text node if the input character is determined to be SBCS;
creating in said memory of said system an SBCS text node and inserting the character therein if the input character is determined to be an SBCS character and a document position is determined to be DBCS;
setting in said memory of said system a linguistic flag to an initial value which assumes that the SBCS text string is correctly spelled;
performing in said computer processor of said system a spell verification operation on said SBCS text string;
changing in said memory of said system said linguistic flag to represent a misspelling of said SBCS text strings as determined by said step of performing said spell verification;
displaying in said output means of system said misspelled SBCS text string in a highlighted mode to emphasize a location of a misspelled SBCS text string.
0 Assignments
0 Petitions
Accused Products
Abstract
In a single-byte character set English text mixed with a double-byte character set Japanese text, both an English spelling aid and a Japanese spelling aid can be provided and each respective spelling aid will be invoked depending upon whether the SBCS character set is indicated for English text or the DBCS character set is indicated for Japanese text. Still further, for a text which is mixed national languages of for example, English and German, the linguistic flag field can include additional information identifying the national language for a particular text string. Then if the linguistic flag field indicates that there is a misspelling for German, or a misspelling for English, then the corresponding text string can be highlighted on the display screen.
69 Citations
8 Claims
-
1. In a data processing system, having a computer processor, a memory and text input and output means a computer implemented method for providing linguistic functions of text in a structured document which presents single-byte character set (SBCS) and double-byte character set (DBCS) text in the same document, comprising the steps of:
-
inputting in said memory of said computer of said data processing system a first alphanumeric character; determining in said computer processor of said system whether said input character is SBCS or DBCS; determining in said memory of said system a current document position; inserting in said memory of said system the input character into a DBCS text node if the input character is determined to be DBCS; inserting in said memory of said system a character into an SBCS text node if the input character is determined to be SBCS; creating in said memory of said system an SBCS text node and inserting the character therein if the input character is determined to be an SBCS character and a document position is determined to be DBCS; setting in said memory of said system a linguistic flag to an initial value which assumes that the SBCS text string is correctly spelled; performing in said computer processor of said system a spell verification operation on said SBCS text string; changing in said memory of said system said linguistic flag to represent a misspelling of said SBCS text strings as determined by said step of performing said spell verification; displaying in said output means of system said misspelled SBCS text string in a highlighted mode to emphasize a location of a misspelled SBCS text string. - View Dependent Claims (2)
-
-
3. In a data processing system having a computer processor, a memory and a text input and output means, a computer implemented method for providing linguistic functions of text in a structured document which presents single-byte character set (SBCS) and double-byte character set (DBCS) text in the same document, comprising the steps of:
-
inputting in said memory of said system a first alphanumeric character; determining in said computer processor of said system whether said input character is SBCS or DBCS; determining in said memory of said system a current document position; inserting in said memory of said system the input character into a DBCS text node if the input character is determined to be DBCS; inserting in said memory of said system a character into an SBCS text node if the input character is determined to be SBCS; creating in said memory of said system a DBCS text node and inserting the character therein if the input character is determined to be a DBCS character and a document position is determined to be SBCS; setting in said memory of said system a linguistic flag to an initial value which assumes that the DBCS text string is correctly spelled; performing in said computer processor of said system a spell verification operation on said DBCS text string; changing in said memory of said system said linguistic flag to represent a misspelling of said DBCS text strings as determined by said step of performing said spell verification; displaying in said output means of said system said misspelled DBCS text string in a highlighted mode to emphasize a location of a misspelled DBCS text string, - View Dependent Claims (4)
-
-
5. In a data processing system having a computer processor, a memory and text input and output means, a computer implemented method for providing linguistic functions of mixed Western and Oriental text in a structured document which presents single-byte character set (SBCS) and double-byte character set (DBCS) text in the same document, comprising the steps of:
-
inputting in said memory of said system a first alphanumeric character; determining in said computer processor of said system whether said input character is SBCS or DBCS; determining in said memory of said system a current document position; inserting in said memory of said system the input character into a DBCS text node if the input character is determined to be DBCS; inserting in said memory of said system a character into an SBCS text node if the input character is determined to be SBCS; creating in said memory of said system an SBCS text node and inserting the character therein if the input character is determined to be an SBCS character and a document position is determined to be DBCS; setting in said memory of said system a linguistic flag to an initial value which assumes that the SBCS text string is correctly spelled; performing in said computer processor of said system a spell verification operation on said SBCS text string; changing in said memory of said system said linguistic flag to represent a misspelling of said SBCS text strings as determined by said step of performing said spell verification; displaying in said output means of said system said misspelled SBCS text string in a highlighted mode to emphasize a location of a misspelled SBCS text string; creating in said memory of said system a DBCS text node and inserting the character therein if the input character is determined to be a DBCS character and said document position is determined to be SBCS; setting in said memory of said system a linguistic flag to an initial value which assumes that the DBCS text string is correctly spelled; performing in said memory of said system a spell verification operation on said DBCS text string; changing in said memory of said system said linguistic flag to represent a misspelling of said DBCS text strings; displaying in said output means of said system said misspelled DBCS text string in a highlighted mode to emphasize the location of a misspelled DBCS text string. - View Dependent Claims (6, 7, 8)
-
Specification