|
FreeLing
3.0
|
#include <iostream>#include <string>#include <list>#include <cstdlib>#include "freeling/windll.h"#include "freeling/morfo/language.h"#include "freeling/morfo/util.h"

Go to the source code of this file.
Classes | |
| class | traces |
| MOD_TRACECODE and MOD_TRACENAME are empty. More... | |
Defines | |
| #define | SPLIT_TRACE 0x00000001 |
| possible values for MOD_TRACECODE | |
| #define | TOKEN_TRACE 0x00000002 |
| #define | MACO_TRACE 0x00000004 |
| #define | OPTIONS_TRACE 0x00000008 |
| #define | NUMBERS_TRACE 0x00000010 |
| #define | DATES_TRACE 0x00000020 |
| #define | PUNCT_TRACE 0x00000040 |
| #define | DICT_TRACE 0x00000080 |
| #define | AFF_TRACE 0x00000100 |
| #define | LOCUT_TRACE 0x00000200 |
| #define | NP_TRACE 0x00000400 |
| #define | PROB_TRACE 0x00000800 |
| #define | QUANT_TRACE 0x00001000 |
| #define | NEC_TRACE 0x00002000 |
| #define | AUTOMAT_TRACE 0x00004000 |
| #define | TAGGER_TRACE 0x00008000 |
| #define | SENSES_TRACE 0x00010000 |
| #define | CHART_TRACE 0x00020000 |
| #define | GRAMMAR_TRACE 0x00040000 |
| #define | DEP_TRACE 0x00080000 |
| #define | COREF_TRACE 0x00100000 |
| #define | UTIL_TRACE 0x00200000 |
| #define | WSD_TRACE 0x00400000 |
| #define | CORRECTOR_TRACE 0x00800000 |
| #define | DATABASE_TRACE 0x01000000 |
| #define | FEX_TRACE 0x02000000 |
| #define | LANGIDENT_TRACE 0x04000000 |
| #define | OMLET_TRACE 0x08000000 |
| #define | PHONETICS_TRACE 0x10000000 |
| #define | ERROR_CRASH(msg) traces::error_crash(msg,MOD_TRACENAME,MOD_TRACECODE) |
| Macros that must be used to put traces in the code. | |
| #define | WARNING(msg) traces::warning(msg,MOD_TRACENAME,MOD_TRACECODE) |
| Warning macros. | |
| #define | TRACE(x, y) |
| Tracing macros. | |
| #define | TRACE_WORD(x, y) |
| #define | TRACE_WORD_LIST(x, y) |
| #define | TRACE_SENTENCE(x, y) |
| #define | TRACE_SENTENCE_LIST(x, y) |
| #define AFF_TRACE 0x00000100 |
| #define AUTOMAT_TRACE 0x00004000 |
| #define CHART_TRACE 0x00020000 |
| #define COREF_TRACE 0x00100000 |
| #define CORRECTOR_TRACE 0x00800000 |
| #define DATABASE_TRACE 0x01000000 |
| #define DATES_TRACE 0x00000020 |
| #define DEP_TRACE 0x00080000 |
| #define DICT_TRACE 0x00000080 |
| #define ERROR_CRASH | ( | msg | ) | traces::error_crash(msg,MOD_TRACENAME,MOD_TRACECODE) |
Macros that must be used to put traces in the code.
They may be either defined or null, depending on -DVERBOSE compilation flag.
Referenced by affixes::affixes(), POS_tagger::analyze(), completer::applyRule(), bioner::bioner(), depLabeler::build_expression(), dictionary::check_contracted(), completer::completer(), trellis::delta(), depLabeler::depLabeler(), dictionary::dictionary(), hmm_tagger::hmm_tagger(), locutions::locutions(), nec::nec(), ner::ner(), ner_module::ner_module(), np::np(), trellis::phi(), phonetics::phonetics(), probabilities::probabilities(), RE_map::RE_map(), semanticDB::semanticDB(), senses::senses(), splitter::splitter(), tokenizer::tokenizer(), ukb_wrap::ukb_wrap(), and locutions::ValidMultiWord().
| #define FEX_TRACE 0x02000000 |
| #define GRAMMAR_TRACE 0x00040000 |
| #define LANGIDENT_TRACE 0x04000000 |
| #define LOCUT_TRACE 0x00000200 |
| #define MACO_TRACE 0x00000004 |
| #define NEC_TRACE 0x00002000 |
| #define NP_TRACE 0x00000400 |
| #define NUMBERS_TRACE 0x00000010 |
| #define OMLET_TRACE 0x08000000 |
| #define OPTIONS_TRACE 0x00000008 |
| #define PHONETICS_TRACE 0x10000000 |
| #define PROB_TRACE 0x00000800 |
| #define PUNCT_TRACE 0x00000040 |
| #define QUANT_TRACE 0x00001000 |
| #define SENSES_TRACE 0x00010000 |
| #define SPLIT_TRACE 0x00000001 |
possible values for MOD_TRACECODE
| #define TAGGER_TRACE 0x00008000 |
| #define TOKEN_TRACE 0x00000002 |
| #define TRACE | ( | x, | |
| y | |||
| ) |
Tracing macros.
Compile with -DVERBOSE to get a traceable code. Compile without -DVERBOSE (default) to get faster, non-traceable, exploitation version. ifndef VERBOSE --> No messages displayed. Faster code.
Referenced by phonetics::add_rule(), affixes::affixes(), punts::analyze(), senses::analyze(), nec::analyze(), bioner::analyze(), maco::analyze(), RE_map::analyze(), dictionary::analyze(), automat::analyze(), hmm_tagger::annotate(), dictionary::annotate_word(), probabilities::annotate_word(), phonetics::apply_rule(), completer::applyRule(), affixes::ApplyRule(), bioner::bioner(), depLabeler::build_expression(), ner_module::BuildMultiword(), automat::BuildMultiword(), locutions::check(), rule_expression::check(), check_and::check(), check_not::check(), check_side::check(), ruleLabeler::check(), phonetics::check_cond(), dictionary::check_contracted(), affixes::CheckRetokenizable(), completer::complete(), completer::completer(), probabilities::compute_probability(), locutions::ComputeToken(), depLabeler::depLabeler(), dictionary::dictionary(), check_lemma::eval(), check_pos::eval(), check_category::eval(), check_wordclass::eval(), check_tonto::eval(), completer::find_grammar_rule(), rule_expression::find_match(), hmm_tagger::FindStates(), POS_tagger::force_select(), affixes::GenerateRoots(), phonetics::get_sound(), semanticDB::get_WN_keys(), semanticDB::get_word_senses(), probabilities::guesser(), hmm_tagger::hmm_tagger(), trellis::insert(), hmm_tagger::is_forbidden(), depLabeler::label(), locutions::locutions(), affixes::look_for_affixes(), affixes::look_for_affixes_in_list(), affixes::look_for_combined_affixes(), completer::match_pattern(), completer::match_side(), automat::matching(), completer::matching_condition(), completer::matching_context(), completer::matching_operation(), nec::nec(), np::np(), rule_expression::parse_node_ref(), phonetics::phonetics(), hmm_tagger::ProbA_log(), probabilities::probabilities(), hmm_tagger::ProbB_log(), RE_map::RE_map(), POS_tagger::retokenize(), dictionary::search_form(), affixes::SearchRootsList(), senses::senses(), locutions::SetMultiwordAnalysis(), ner_module::SetMultiwordAnalysis(), np::SetMultiwordAnalysis(), probabilities::smoothing(), locutions::StateActions(), np::StateActions(), tokenizer::tokenizer(), ukb_wrap::ukb_wrap(), and locutions::ValidMultiWord().
| #define TRACE_SENTENCE | ( | x, | |
| y | |||
| ) |
| #define TRACE_SENTENCE_LIST | ( | x, | |
| y | |||
| ) |
| #define TRACE_WORD | ( | x, | |
| y | |||
| ) |
| #define TRACE_WORD_LIST | ( | x, | |
| y | |||
| ) |
| #define UTIL_TRACE 0x00200000 |
| #define WARNING | ( | msg | ) | traces::warning(msg,MOD_TRACENAME,MOD_TRACECODE) |
Warning macros.
Compile without -DNO_WARNINGS (default) to get a code that warns about suspicious things. Compile with -DNO_WARNINGS to get non-warning, exploitation version.
Referenced by phonetics::add_rule(), dictionary::annotate_word(), depLabeler::build_expression(), check_side::check_side(), completer::completer(), dep_txala::dependencies(), completer::extract_conds(), dictionary::get_forms(), hmm_tagger::hmm_tagger(), completer::matching_condition(), np::np(), phonetics::phonetics(), probabilities::smoothing(), and ukb_wrap::ukb_wrap().
| #define WSD_TRACE 0x00400000 |
1.7.6.1