|
FreeLing
3.0
|
Disambiguator: Wrapper to UKB disambiguation module. More...
#include <ukb_wrap.h>


Public Member Functions | |
| ukb_wrap (const std::wstring &) | |
| Constructor. | |
| ~ukb_wrap () | |
| 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< sentence > | analyze (const std::list< sentence > &) |
| analyze sentences, return analyzed copy | |
Private Attributes | |
| semanticDB * | semdb |
| sense information | |
Disambiguator: Wrapper to UKB disambiguation module.
| ukb_wrap::ukb_wrap | ( | const std::wstring & | ) |
Constructor.
constructor
References util::absolute(), ERROR_CRASH, util::open_utf8_file(), TRACE, WARNING, and util::wstring2string().
Destructor.
destructor
| void ukb_wrap::analyze | ( | sentence & | s | ) | [virtual] |
analyze given sentence
Disambiguate a singles sentence.
Not very useful, Since larger contexts are needed. Provided for completeness.
Implements processor.
| void ukb_wrap::analyze | ( | std::list< sentence > & | ) |
analyze given sentences
Reimplemented from processor.
| sentence ukb_wrap::analyze | ( | const sentence & | s | ) |
analyze sentence, return analyzed copy
Disambiguate words in the given sentences, return results as a copy.
Reimplemented from processor.
| std::list<sentence> ukb_wrap::analyze | ( | const std::list< sentence > & | ) |
analyze sentences, return analyzed copy
Reimplemented from processor.
semanticDB* ukb_wrap::semdb [private] |
sense information
1.7.6.1