Abstract

Traditional text similarity algorithms suffer from inadequate feature extraction, and most of them do not calculate text similarity from features in both sentence and word dimensions. To solve these problems, a sentence vector similarity calculation method based on fasttext model of weighted fusion is proposed. The method generates word vectors by fasttext model, obtains sentence vectors consisting of word vectors weighted by word frequency and word order, gets sentence-level similarity by calculating cosine similarity, and gains word-level similarity by W-WRD algorithm. The final similarity result is obtained by this two levels of sentence vector similarity. Experimental results show that the model still has high accuracy on small data sets, outperforms the model before fusion, performs well on multiple data sets, and has good transferability and stability.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.