Language identification method, device, equipment and storage medium
A language recognition and language technology, applied in the computer field, can solve problems such as increasing the burden on developers, reducing the efficiency of language recognition, and not being able to realize language recognition well, so as to save development time and cost, be widely applicable, and improve overall efficiency. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] Figure 1A It is a flow chart of the language recognition method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of identifying different languages in the process of multilingual text processing. The method can be executed by the language identification device provided by the embodiment of the present invention, and the device can be implemented by hardware and / or software. Generally can be integrated in computer equipment. like Figure 1A As shown, it specifically includes the following steps:
[0033] S11. Obtain the text to be recognized input by the user, and determine the language range of the text to be recognized according to the Unicode range of the characters in the text to be recognized.
[0034] Optionally, the to-be-recognized text input by the user may be acquired through the interface of the language recognition tool, and the to-be-recognized text may be in Unicode format. Among them, Unicode is an indu...
Embodiment 2
[0053] Figure 2A It is a flow chart of the language recognition method provided by Embodiment 2 of the present invention. The technical solution of this embodiment is further refined on the basis of the above technical solution. Specifically, in this embodiment, before comparing the words in the word set with the characteristic corpus of the language included in the language range, the specified The generation process of the characteristic corpus of the language. Correspondingly, such as Figure 2A As shown, it specifically includes the following steps:
[0054] S21. Obtain the text to be recognized input by the user, and determine the language range of the text to be recognized according to the Unicode range of the characters in the text to be recognized.
[0055] S22. Determine whether the language range includes only one language.
[0056] S23. If not, judge whether each character in the text to be recognized has a unique corresponding language.
[0057] S24. If not, ...
Embodiment 3
[0069] image 3 Schematic diagram of the structure of the language recognition device provided by Embodiment 3 of the present invention. The device can be implemented by hardware and / or software, and can be integrated into a computer device to perform the language recognition provided by any embodiment of the present invention. method. like image 3 As shown, the device includes:
[0070] The language range determination module 31 is used to obtain the text to be recognized input by the user, and determine the language range of the text to be recognized according to the Unicode range of characters in the text to be recognized;
[0071] Language judging module 32, for judging whether the language range only includes one language;
[0072] Character judging module 33, for if not, then judge whether each character in the text to be recognized has a unique corresponding language;
[0073] The word set obtaining module 34 is used for if not, then the text to be recognized is se...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com