FreeLing  4.0
Public Member Functions | Public Attributes
freeling::related_words Struct Reference

Struct that represents a relationship between two words. More...

#include <relation.h>

Collaboration diagram for freeling::related_words:
Collaboration graph
[legend]

List of all members.

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_posw1
const word_posw2
double relatedness
 Relatedness represents the strength of the relationship.

Detailed Description

Struct that represents a relationship between two words.


Constructor & Destructor Documentation

freeling::related_words::related_words ( const word_pos w_p1,
const word_pos w_p2,
double  relatedness 
)

Member Function Documentation

std::wstring freeling::related_words::toString ( ) const

Get a string representation of the relationship to debug.


Member Data Documentation

Relatedness represents the strength of the relationship.


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