![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
HyphenWordAlternatives is the module which creates split alternatives for hyphen word tokens. More...
#include "HyphenWordAlternatives.h"#include "MorphoSyntacticDataHandler.h"#include "common/Data/LimaString.h"#include "common/Data/strwstrtools.h"#include "common/MediaticData/mediaticData.h"#include "linguisticProcessing/common/annotationGraph/AnnotationData.h"#include "linguisticProcessing/client/LinguisticProcessingException.h"#include "common/time/timeUtilsController.h"#include "common/XMLConfigurationFiles/xmlConfigurationFileExceptions.h"#include "linguisticProcessing/core/LinguisticAnalysisStructure/MorphoSyntacticData.h"#include "linguisticProcessing/core/LinguisticAnalysisStructure/Token.h"#include "common/MediaProcessors/MediaProcessors.h"#include "linguisticProcessing/common/linguisticData/LimaStringText.h"#include "linguisticProcessing/core/LinguisticResources/LinguisticResources.h"#include "common/AbstractFactoryPattern/SimpleFactory.h"Go to the source code of this file.
Namespaces | |
| namespace | Lima |
| NAUTITIA. | |
| namespace | Lima::LinguisticProcessing |
| namespace | Lima::LinguisticProcessing::MorphologicAnalysis |
Variables | |
| SimpleFactory< MediaProcessUnit, HyphenWordAlternatives > | Lima::LinguisticProcessing::MorphologicAnalysis::hyphenwordAlternativesFactory (HYPHENWORDALTERNATIVESFACTORY_CLASSID) |
HyphenWordAlternatives is the module which creates split alternatives for hyphen word tokens.
Each token from the supplied tokens path is processed : o FullToken must be "AlphaHyphen" typed by Tokenizer. o If a token has a single word entry or an orthographic alternative it is not decomposed o Token is break at hyphen boundaries and a new alternative path is created o each FullToken of the new Path is searched into dictionnary as Simple Word o If special hyphen entry, no alternatives are searched, otherwise Accented alternatives are searched o Path is valid even if not all FullToken have entry into dictionary Modified
Definition in file HyphenWordAlternatives.cpp.