maco_options.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00028
00029 #ifndef _MACO_OPTIONS
00030 #define _MACO_OPTIONS
00031
00032 #include <string>
00033
00040
00041 class maco_options {
00042
00043 public:
00044
00045 std::string Lang;
00047 bool AffixAnalysis, MultiwordsDetection,
00048 NumbersDetection, PunctuationDetection,
00049 DatesDetection, QuantitiesDetection,
00050 DictionarySearch, ProbabilityAssignment,
00051 OrthographicCorrection;
00052 int NERecognition;
00054 std::string Decimal, Thousand;
00056 std::string LocutionsFile, QuantitiesFile, AffixFile,
00057 ProbabilityFile, DictionaryFile,
00058 NPdataFile, PunctuationFile,
00059 CorrectorFile;
00060
00061 double ProbabilityThreshold;
00062
00064 maco_options(const std::string &);
00065
00070 void set_active_modules(bool,bool,bool,bool,bool,bool,bool,bool,int,bool);
00071 void set_nummerical_points(const std::string &,const std::string &);
00072 void set_data_files(const std::string &,const std::string &,const std::string &,const std::string &,
00073 const std::string &,const std::string &,const std::string &, const std::string &);
00074 void set_threshold(double);
00075 };
00076
00077 #endif
00078