Method and device for establishing example sentence index and method and device for indexing example sentences
A kind of technology of example sentence and index, applied in example sentence retrieval method and device, example sentence index creation method and device field, can solve the problems such as inability to realize
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0131] figure 1 The flow chart of the example sentence index creation method provided by Embodiment 1 of the present invention, such as figure 1 As shown, perform the following steps for each example sentence in the example sentence library:
[0132] Step 101: Perform word segmentation processing on the example sentence.
[0133] Here, the word segmentation processing technology is a relatively mature technology in the field. For the English example sentence, since English itself is based on words, and words are separated by spaces, word segmentation can be easily realized. Chinese is based on characters. Existing word segmentation methods based on string matching, understanding-based word segmentation methods, or statistics-based word segmentation methods can be used to process Chinese word segmentation. The more commonly used ones are based on string matching. The maximum forward matching algorithm in the word segmentation method. The method of word segmentation processin...
Embodiment 2
[0184] Figure 4 The example sentence retrieval method flowchart that provides for the embodiment of the present invention two, as Figure 4 As shown, the method includes the following steps:
[0185] Step 401: Receive user's query.
[0186] In the embodiment of the present invention, the grammatical rules of the query can be defined in advance, and the user can input the query based on the grammatical rules.
[0187] The input query needs to contain query items. If there are multiple query items, it can further include the logical relationship between query items. Wherein, the query item is at least one of the following: the combination of words and the part of speech corresponding to the words, the combination of words and the NE types corresponding to the words, the combination of words and the syntactic roles corresponding to the words, and the combination of words and words The combination between; the logical relationship is: intersection or difference.
[0188] Pref...
Embodiment 3
[0222] Figure 5 The structural diagram of the device for creating an example sentence index provided by Embodiment 3 of the present invention, such as Figure 5As shown, the device may include: a text analysis unit 500 and an index establishment unit 510 .
[0223] The text analysis unit 500 is configured to perform text analysis on each example sentence in the example sentence database.
[0224] The index building unit 510 is used to create an index corresponding to each example sentence according to the analysis result of the text analysis unit 500; wherein the index includes at least one of the following: the combination of the words in the example sentence and the part of speech corresponding to the word, the example sentence The combination of the word in and the corresponding named entity type of the word, the combination of the word in the example sentence and the syntactic role corresponding to the word, and the combination of words and words in the example sentence....
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