2
$Id: ner_tagger_mod.h 14331 2012-02-23 16:56:49Z sloot $
3
$URL: https://ilk.uvt.nl/svn/sources/Frog/trunk/include/frog/ner_tagger_mod.h $
5
Copyright (c) 2006 - 2012
8
This file is part of frog.
10
frog is free software; you can redistribute it and/or modify
11
it under the terms of the GNU General Public License as published by
12
the Free Software Foundation; either version 3 of the License, or
13
(at your option) any later version.
15
frog is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
20
You should have received a copy of the GNU General Public License
21
along with this program. If not, see <http://www.gnu.org/licenses/>.
23
For questions and suggestions, see:
24
http://ilk.uvt.nl/software.html
29
#ifndef NER_TAGGER_MOD_H
30
#define NER_TAGGER_MOD_H
38
bool init( const Configuration& );
39
std::string Classify( folia::Sentence * );
40
void addNERTags( folia::Sentence *,
41
const std::vector<folia::Word*>&,
42
const std::vector<std::string>&,
43
const std::vector<double>& );
45
bool splitOneWT( const std::string&,
46
std::string& word, std::string& tag,
47
std::string& confidence );
48
int splitWT( const std::string&,
49
std::vector<std::string>&,
50
std::vector<double>& );
56
#endif // NER_TAGGER_MOD_H