FreeLing  4.0
Public Member Functions | Private Member Functions
freeling::similarity Class Reference

This class calculates the similarity between two words. More...

#include <similarity.h>

List of all members.

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.

Detailed Description

This class calculates the similarity between two words.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

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.


The documentation for this class was generated from the following file: