"98 five-pen type input method" large quantity

zhaozj2021-02-08  220

"98 five-pen type input method" large quantity

Five-strokes are one of the most popular Chinese character input methods. "98 fifth pen" is much more innovation and improved from the coded theory, coding rules, component design, "98 five-stroke", which feels too little vocabulary in the use of the label, There are many commonly used words in the word library, such as "a large, adopted, backup, width, office workers, girlfriends, twists, according to the practice, this century, grand celebration, office automation". "Computer Daily" 1999 No. 35 "Add a large number of phrases for the five-pen type input method", introduced the phrase "Microsoft Pinyin input method" to the "98-five-pen type input method" (the former's phrase than the latter More than double), but the method introduced by the article does not apply to "98-five pen", but "98-five-pen" self-with the word library generator, so it is simple to do.

1. Restore the "Microsoft Pinyin input method" code form:

In Win98, click Start / Program / Accessory / Input Fifer, open the input method generator property page, click the "Open File" button in the Inverse Transformation subpage, select "Open the file dialog box" C: /Windows/system/winpy.mb (i.e. Microsoft Pinyin input method code table file) ", press the OK button to return to the input method generator, enter the file name you want to save after the conversion in the code table original file box : "C: /WINPY.TXT", click Reverse Transformation to generate the winpy.txt code table original file, which is the file we need.

2. Remove the letters and words in the file:

After the code table original file is generated, it cannot be accepted by the "Wang code Chinese character input method", and must delete the letters, characters, etc., to delete all single words for the reduction of the file length, and the following describes Word2000.

(1) Use word to open WinPy.txt, delete the header as follows:

[Description]

Name = full fight

Maxcodes = 12

MaxElement = 1

Usedcodes = AbcdefghijklmnopqrStuvwxyz

Wildchar =?

Numrules = 3

[Rule]

CA4 = P10 P20 P30 P40

CE2 = P10 P20

CE3 = P10 P20 P30

[Text]

(2) Delete Pinyin Alphabet: Select Menu "Edit / Replace (or press Ctrl H Shortcut" command, open the "Find and Replace" operation window, click "Advanced" button, then click "Special Character / Arbitrary Letters (or directly enter ^ $) ", do not have any characters in the" Replace to "box, and finally click on" All Replace ".

(3) Delete extra spaces: Press the space button in the "Finding" box in the Find and Replacement operation window, do not have any characters in the "Replace to" box, click All Replace.

(4) Delete single words: This step is more complicated because you need to use wildcards when you delete single words, but the wildcard cannot be used simultaneously with special characters, so you have to insert some auxiliary characters before and after the carriage return, remove the single word and remove the auxiliary character. First, the cursor is positioned in the "Finding Content" box, click "Special Character / Paramount Mark (or Direct Enter ^ P)", "$$ ^ P ##", click "All Replace" Secondly, the check box before using the wildcard will enter "##. $$" in the lookup content, do not have any characters in the "Replace" box, click "all replace", so single word is deleted, There is only a phrase in the document; finally delete excess paragraph tag and secondary character, excess paragraph tag deletion method is to enter two paragraph markers such as "^ p ^ p" in the "Find Content" box. " Alternative to "Enter a paragraph tag" ^ P "in the box, after multiple replacement until no extra paragraph marker is. Now the phrase file is generated, press the Save button to save this file, and press Enter to save as a text file (TXT file) when the dialog box appears. 3. Add a new word group to the "Wang code Chinese character input method":

"Start / Program / Wang code input method / word library generator" run "Wang code Chinese characters input method", enter the word text file winpy.txt, or click "Tour" in the file name. "Button Select the phrase file, build the library mode to select the resolution, click" Start Word ", pay attention to observe the following progress bar, if the end of the file is over, the letter or symbol is not recognized, after checking regenerate. When a new word is added to the "King Code Chinese Character Input French System", first compare the words in the original quote. If the word to be added is existed in the original whose word, the word is no longer added.

4. Troubleshooting:

(1) The length of the winpy.txt file has a thousand pages according to the A4 paper, so the deletion of the operation process takes a long time, and the file can be cut into two or more files, and the process is completed. After the added "98 king code Chinese characters input method", there are approximately 30,000 phrases than the original increased.

(2) When deleting excess paragraph tag, you can first enter several paragraph markers such as "^ P ^ P ^ P ^ P ^ P" in the "Find Content" box, and reduce the completion of all replacements. Re-execute all replacement, "replace" box always keeps a paragraph tag "^ P", which is fast.

(3) Wang code Chinese characters In the case of a heavy code, the words have been added in front of the word, that is, the phrase of the Microsoft Pinyin input method in front of the king code Chinese characters, such a common phrase It is not to be planted in front, bringing some troubles to input, there are two solutions, one is to use the "Wang code Chinese characters input method library generator" to restore newly generated words into text files, edit it; Before adding the word "Wang code Chinese characters input method" to a text file, add the "Microsoft Pinyin input method" phrase to update the words, then the original "Wang code Chinese input method" Addition to the word library.

(4) The king code Chinese character input method is not sorted, so there is a heavy code phrase that is not necessarily arranged according to the number of words, which can also restore the word library editing, editing, pay attention to the king code Chinese characters input method library to put spaces and The carriagebox is used as a split of two phrases, so there is no space and carriage return in the middle of a phrase (paragraph marker in Word), and there are some wrong words in the King code Chinese characters. State Council, if you are interested, you can edit it.

(5) If there is no input method generator in the Win98 attachment, put the WIN98 installation disk into the CD drive, add it from the Start / Set / Control Panel / Add Remove Programs / Windows Installer. The above five-pen type input method is "98 king code (five-pen type WM9801 national standard)." (6) If you are too much trouble, you can contact the author's text file with the author, you can update the "98 Five-Person Dictionary" word library file. (zheast@371.net)

转载请注明原文地址:https://www.9cbs.com/read-3374.html

New Post(0)