ddc
Public Member Functions | Private Member Functions | List of all members
CLemmatizerEnglish Class Reference

#include <Lemmatizers.h>

Inheritance diagram for CLemmatizerEnglish:
Inheritance graph
[legend]
Collaboration diagram for CLemmatizerEnglish:
Collaboration graph
[legend]

Public Member Functions

 CLemmatizerEnglish ()
 
virtual ~CLemmatizerEnglish ()
 
- Public Member Functions inherited from CLemmatizer
 CLemmatizer (MorphLanguageEnum Language)
 
virtual ~CLemmatizer ()
 
MorphLanguageEnum GetLanguage () const
 
const CStatisticGetStatistic () const
 
bool CheckABC (const string &WordForm) const
 
bool IsHyphenPostfix (const string &Postfix) const
 
bool IsHyphenPrefix (const string &Prefix) const
 
bool initIconv (const string &enc_internal="", const string &enc_external="UTF8")
 
std::string recode_ext2int (const std::string s_ext) const
 
std::string recode_int2ext (const std::string s_int) const
 
bool LoadDictionariesRegistry (string &strError)
 
bool CreateParadigmCollection (bool bNorm, string &WordStr, bool capital, bool bUsePrediction, vector< CFormInfo > &Result) const
 
void GetAllAncodesQuick (const BYTE *WordForm, bool capital, BYTE *OutBuffer, bool bUsePrediction) const
 
bool GetAllAncodesAndLemmasQuick (string &InputWordStr, bool capital, char *OutBuffer, size_t MaxBufferSize, bool bUsePrediction) const
 
- Public Member Functions inherited from CMorphDict
 CMorphDict (MorphLanguageEnum Language)
 
virtual ~CMorphDict ()
 
void InitAutomat (CMorphAutomat *pFormAutomat)
 
bool Load (string GrammarFileName)
 
bool Save (string GrammarFileName) const
 
void PredictBySuffix (const string &Text, size_t &TextOffset, size_t MinimalPredictSuffixlen, vector< CAutomAnnotationInner > &Infos) const
 
string GetAllMorphInterpsStr (const string &Text, const size_t TextPos, bool bFullInterp) const
 

Private Member Functions

void FilterSrc (string &src) const
 

Additional Inherited Members

- Public Attributes inherited from CLemmatizer
bool m_bLoaded
 
bool m_bMaximalPrediction
 
bool m_bUseStatistic
 
bool m_bAllowRussianJo
 
std::string m_enc_int
 internal encoding (default=""=none) More...
 
std::string m_enc_ext
 external encoding (default=""=none) More...
 
ddcIconvm_ic_ext2int
 iconv converter from user encoding to morph-internal encoding More...
 
ddcIconvm_ic_int2ext
 iconv converter from morph-internal encoding to user encoding More...
 
- Public Attributes inherited from CMorphDict
vector< CFlexiaModelm_FlexiaModels
 
vector< CAccentModelm_AccentModels
 
CShortStringHolder m_Bases
 
vector< CLemmaInfoAndLemmam_LemmaInfos
 
StringVector m_Prefixes
 
vector< BYTEm_NPSs
 
- Protected Member Functions inherited from CLemmatizer
string GetRegistryString () const
 
string GetPath () const
 
void ReadOptions (string FileName)
 
bool LemmatizeWord (string &InputWordStr, const bool cap, const bool predict, vector< CAutomAnnotationInner > &results, bool bGetLemmaInfos) const
 
void AssignWeightIfNeed (vector< CAutomAnnotationInner > &FindResults) const
 
bool CheckAbbreviation (string InputWordStr, vector< CAutomAnnotationInner > &FindResults, bool is_cap) const
 
CAutomAnnotationInner ConvertPredictTupleToAnnot (const CPredictTuple &input) const
 
void PredictByDataBase (string InputWordStr, vector< CAutomAnnotationInner > &results, bool is_cap) const
 
bool IsPrefix (const string &Prefix) const
 
- Protected Member Functions inherited from CMorphDict
void GetLemmaInfos (const string &Text, size_t TextPos, vector< CAutomAnnotationInner > &Infos) const
 
void CreateModelsIndex ()
 
- Protected Attributes inherited from CLemmatizer
string m_Registry
 
set< string > m_HyphenPostfixes
 
set< string > m_HyphenPrefixes
 
CStatistic m_Statistic
 
CPredictBase m_Predict
 
set< string > m_PrefixesSet
 
- Protected Attributes inherited from CMorphDict
CMorphAutomatm_pFormAutomat
 
vector< int > m_ModelsIndex
 
IsLessMorphInterp m_SearchInfoLess
 

Constructor & Destructor Documentation

◆ CLemmatizerEnglish()

CLemmatizerEnglish::CLemmatizerEnglish ( )

◆ ~CLemmatizerEnglish()

virtual CLemmatizerEnglish::~CLemmatizerEnglish ( )
inlinevirtual

Member Function Documentation

◆ FilterSrc()

void CLemmatizerEnglish::FilterSrc ( string &  src) const
privatevirtual

Implements CLemmatizer.


The documentation for this class was generated from the following files: