The invention relates to the technical field of
data processing, and discloses an intelligent office knowledge
system and a dual-mode precise retrieval method.The method comprises the steps that firstly, a keyword retrieval mode is adopted, a text needing to be retrieved is preprocessed, specifically, a self-defined dictionary is loaded through Jiaba word segmentation Chinese or NLTK English, stop words are deleted and filtered out, stem extraction is conducted, and
inverted index construction is conducted; mapping is established for the keywords; according to the semantic retrieval mode, firstly, text vectorization is carried out, and a document is converted into a vector by using Word2Vec or BERT; similarity calculation is carried out, text
semantics are converted into a vector Vquery, and
cosine similarity is calculated; the result is weighted, the keyword retrieval
score is equal to TF-IDF, the semantic retrieval
score is equal to cos theta, and the fusion
score is calculated; and the retrieved article sequence is eliminated again according to the fusion score. According to the method, the retrieval efficiency is improved, through the dual-mode accurate retrieval method, the user can find the needed information more quickly, the screening time is shortened, the working efficiency is improved, and the retrieval accuracy is improved.