LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
HyphenWordAlternatives.cpp File Reference

HyphenWordAlternatives is the module which creates split alternatives for hyphen word tokens. More...

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)
 

Detailed Description

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

Date
Dec, 02 2002 by GC to handle splitting on t_alpha_possessive
Author
NAUTITIA jys
Gael de Chalendar
Copyright (c) 2002-2020 by CEA
Date
created on Nov, 30 2002
Version
$Id$

Definition in file HyphenWordAlternatives.cpp.