FreeLing
4.0
|
Struct that represents a relationship between two words. More...
#include <relation.h>
Public Member Functions | |
related_words (const word_pos &w_p1, const word_pos &w_p2, double relatedness) | |
std::wstring | toString () const |
Get a string representation of the relationship to debug. | |
Public Attributes | |
const word_pos & | w1 |
const word_pos & | w2 |
double | relatedness |
Relatedness represents the strength of the relationship. |
Struct that represents a relationship between two words.
freeling::related_words::related_words | ( | const word_pos & | w_p1, |
const word_pos & | w_p2, | ||
double | relatedness | ||
) |
std::wstring freeling::related_words::toString | ( | ) | const |
Get a string representation of the relationship to debug.
Relatedness represents the strength of the relationship.