FreeLing
4.0
|
Class ner implements a wrapper to transparently create and access a ner_module named entity recognizer. More...
#include <ner.h>
Public Member Functions | |
ner (const std::wstring &) | |
Constructor. | |
~ner () | |
Destructor. |
Class ner implements a wrapper to transparently create and access a ner_module named entity recognizer.
freeling::ner::ner | ( | const std::wstring & | npFile | ) |
Constructor.
Create the appropriate numbers_module (according to received options), and create a wrapper to access it.
References freeling::config_file::add_section(), freeling::config_file::close(), ERROR_CRASH, freeling::config_file::get_content_line(), freeling::config_file::get_section(), and freeling::config_file::open().
Destructor.
Do nothing (the pointer is freed by the factory)