Method and system for searching words in documents written in a source language as transcript of words in an origin language
10042843 ยท 2018-08-07
Assignee
Inventors
Cpc classification
G06F40/274
PHYSICS
G06F40/129
PHYSICS
International classification
Abstract
The invention relates to a method used by computers for searching words in documents written in a source language, which are not in the vocabulary of said source language, but are transcript of meaningful words in an origin language. The method is comprised of a preparation process and a search process. During the preparation process a database of unrecognized words in the source language is maintained, which contains, among other data, normalized phonetic conversion of the unrecognized word, as well as a corpus of all words of the documents in the search domain and indexes for efficient search. During search, a phonetic conversion and normalization is done for the search word, and the distance to similar phonetics words in the corpus is calculated. The found words in the corpus are arranged in ascending order, and the relevant documents are displayed.
Claims
1. Computer implemented method for searching words in documents written in a source language, words which are not meaningful in said source language, but are transcript of meaningful words in an origin language, the method is comprised of two processes: a) preparation process executed for each new document, the preparation process is comprised of the following steps: i) reading the document; ii) extracting unrecognized words in the source language; iii) updating search indexes in the corpus for all document words; iv) for each new unrecognized word in the source language: 1) removing prefixes and suffixes; 2) performing phonetic conversion; 3) checking frequency of unrecognized word spelling in System Hebraized Medical Lexicon (SHML); 4) defining the most frequent spelling of the unrecognized word as the central term and connect it to other allowable and close spellings of that term; 5) updating System Hebraized Medical Lexicon (SHML); b) search process which is comprised of the following steps: i) reading the search request and perform auto-complete for terms from the System Hebraized Medical Lexicon (SHML); ii) generating phonetic conversion for all words in query; iii) for each word: 1) searching for similar phonetics in the corpus and find central terms; 2) calculating the distance to the found similar words and order them in ascending order; and 3) displaying relevant documents according to the distance.
2. The method according to claim 1, where the source language is Hebrew, the origin language is either English or Latin.
3. The method according to claim 1, where the unknown words in the source language are medical terms in the origin language.
4. The method according to claim 1, where the words in the input query goes through an autocomplete procedure from the System Hebraized Medical Lexicon (SHML).
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7) The invention will be described more fully hereinafter, with reference to the accompanying drawings, in which a preferred embodiment of the invention is shown. The invention may, however, be embodied in many different forms and should not be construed as limited to the embodiment set forth herein; rather this embodiment is provided so that the disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
(8) In the following description Hebrew is used as a source language and English is the origin language. This is done for the purpose of the explanation and it does not limit the scope of the invention.
(9) The top level flow chart of the preparation process is shown in
(10) Before describing the processing that each word goes through, it is important to explain the corpus of the system. The corpus of the system is a database that stores information on each document and each word ever entered the system, documents that constitute the search domain. Among the information on each word the system corpus keeps a list of all documents and locations within the document where that word is located, referred to as the search indexes. It also contains a phonetic representation for each word as well as statistical information on the word.
(11) In step 104 the next word to be processed is fetched from the list 170. In step 106 the corpus is searched to find out if the word is already known. If the word is new, as checked in step 108, than the new word with its phonetic representation are added in step 110 to the corpus180. The statistical data and the search indexes for each word are added to the corpus 180, in steps 112 and 114 respectively. Following this the script of the word is being checkedstep 116. A different process is used to process a word written in the source language (Hebrew) and to a word written in the origin language (English). The process that handles English words 120 is beyond the scope of this invention and is not a part of it. The process 118 that handles words written in Hebrew script is further described in
(12)
(13) For the benefit of the explanation, in the described example, the System Transliterated Lexicon (STL) is called System Hebraized Medical Lexicon (SHML).
(14) An unknown Hebrew word may result either from a misspelled valid Hebrew word or from Hebraized medical term. It is assumed that misspelled Hebrew words do not occur often in the scanned documents, whereas the Hebraized medical terms frequently appear in the documents. Thus statistical analysis is used to determine word type, i.e. a typo or Hebraized term. In step 300 of
(15) . These prefixes and suffixes are removed in step 110 of
(16) The search process is described in
(17) The search text entered by the user goes through autocomplete process, as shown in step 400 of
(18) This method allows the system to generate accurate search results, taking into account the fact that Hebraized words can be spelled differently, but still have the same meaning. An example of an ordered list for a search word is shown in
(19) During search, a phonetic conversion and normalization is done for the search word, and the distance to similar phonetics words in the corpus is calculated. The found words in the corpus are arranged in ascending order, and the relevant documents are displayed.