T
T
The Whiz2015-05-23 17:05:21
css
The Whiz, 2015-05-23 17:05:21

How to calculate the percentage of similarity of phrases?

I understand that without knowing it, I became interested in morphological analysis.
For example, there is a phrase "How to get to the library?"
Take the phrase "How do I get to the library?"
I'm wondering how you can display the percentage of "similarity" of the second phrase to the first?
In general, I will be glad if you tell me what you can read on this topic.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Maxim Timofeev, 2018-07-03
@MegaPuxapb

To do this, the block must be moved outside the container, make container-fluid row in it, two cols in it. Visually, these are col-xs-4 and col-xs-8. The first one also has text-right.

I
insonifi, 2015-05-23
@insonifi

It looks like the query "semantic similarity" gives links to articles describing algorithms. I'm not familiar with the subject, but perhaps natural language processing frameworks already have implementations of such algorithms.

P
Puma Thailand, 2015-05-23
@opium

use character match

X
xmoonlight, 2016-02-10
@xmoonlight

How to determine the similarity of two strings?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question