FreeLing  3.0
Public Member Functions | Private Attributes
senses Class Reference

Class senses implements a sense annotator. More...

#include <senses.h>

Inheritance diagram for senses:
Inheritance graph
[legend]
Collaboration diagram for senses:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 senses (const std::wstring &)
 Constructor.
 ~senses ()
 Destructor.
void analyze (sentence &)
 analyze given sentence
void analyze (std::list< sentence > &)
 analyze given sentences
sentence analyze (const sentence &)
 analyze sentence, return analyzed copy
std::list< sentenceanalyze (const std::list< sentence > &)
 analyze sentences, return analyzed copy

Private Attributes

bool duplicate
 flag to remember whether analysis are duplicated for each possible sense
semanticDBsemdb
 sense information

Detailed Description

Class senses implements a sense annotator.


Constructor & Destructor Documentation

senses::senses ( const std::wstring &  )

Constructor.

Create the sense annotator.

References ERROR_CRASH, util::open_utf8_file(), and TRACE.

Destructor.


Member Function Documentation

void senses::analyze ( sentence s) [virtual]

analyze given sentence

Analyze given sentences.

Implements processor.

References analysis::set_prob(), analysis::set_senses(), and TRACE.

void senses::analyze ( std::list< sentence > &  ls)

analyze given sentences

Reimplemented from processor.

References processor::analyze().

analyze sentence, return analyzed copy

analyze sentence, return copy

Reimplemented from processor.

References processor::analyze().

std::list<sentence> senses::analyze ( const std::list< sentence > &  )

analyze sentences, return analyzed copy

Reimplemented from processor.


Member Data Documentation

flag to remember whether analysis are duplicated for each possible sense

sense information


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