Text processing method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsJie LIU, Guanwen ZHU
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsJie LIU, Guanwen ZHU
Estimating the term…
This application discloses a text processing method and apparatus in the natural language processing field in the artificial intelligence field. The method includes: obtaining a to-be-processed text; performing error detection processing on the to-be-processed text to obtain a non-word in the to-be-processed text; and if the non-word in the to-be-processed text belongs to a first type of non-word, skipping correcting the non-word in the to-be-processed text; or if the non-word in the to-be-processed text belongs to a second type of non-word, a third type of non-word, or a fourth type of non-word, selecting a correction mode matching the type of the non-word in the to-be-processed text to correct the non-word in the to-be-processed text and obtain a correction result of the non-word in the to-be-processed text. According to the technical solutions of this application, a plurality of types of character strings can be detected and filtered.
1-24. (canceled)
A text processing method, comprising:
A text processing apparatus, comprising:
A computer readable storage medium, wherein the computer readable storage medium stores a program instruction, and when the program instruction is run by a processor, to perform operations comprising:
Dependencies are inferred from the claim text.