FreeLing
4.0
|
This class calculates the similarity between two words. More...
#include <similarity.h>
Public Member Functions | |
similarity () | |
Constructor. | |
~similarity () | |
Destructor. | |
float | getSimilarity (const std::wstring &, const std::wstring &) |
Returns the similarity between two words. | |
Private Member Functions | |
int | ComputeDistance (const std::wstring &, const std::wstring &) |
Calculate the distance between two words. |
This class calculates the similarity between two words.
Constructor.
Destructor.
int freeling::similarity::ComputeDistance | ( | const std::wstring & | , |
const std::wstring & | |||
) | [private] |
Calculate the distance between two words.
float freeling::similarity::getSimilarity | ( | const std::wstring & | , |
const std::wstring & | |||
) |
Returns the similarity between two words.