Public Member Functions | Public Attributes | Private Member Functions | Private Attributes

CGraphmatFile Class Reference

#include <GraphmatFile.h>

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

List of all members.

Public Member Functions

Public Attributes

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

CGraphmatFile::CGraphmatFile (  ) 
CGraphmatFile::~CGraphmatFile (  ) 

References CUnitHolder::FreeTable(), and m_pDicts.

Here is the call graph for this function:


Member Function Documentation

bool CGraphmatFile::IsKey ( size_t  LB,
size_t  HB,
size_t &  GraLast 
) const [private]

References FindKeySequence(), CUnitHolder::GetToken(), CUnitHolder::GetUnits(), CUnitHolder::IsOneAlpha(), CGraphanDicts::m_Keys, CUnitHolder::m_Language, m_pDicts, and ReverseChar().

Referenced by DealModifierKey(), and DealSimpleKey().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CGraphmatFile::FindKeySequence ( const char *  title,
size_t  i,
size_t  HB,
size_t &  GraLast 
) const [private]

References CUnitHolder::BSoft(), CUnitHolder::GetTokenLength(), CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), IsSuperEqualChar(), CUnitHolder::m_Language, OPun, and CUnitHolder::PSoft().

Referenced by IsKey().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CGraphmatFile::DealBullet ( size_t  i,
size_t  HB 
) [private]
bool CGraphmatFile::DealAsteriskBullet ( size_t  LB,
size_t  HB 
) [private]
int CGraphmatFile::DealBulletsWithTwoBrackets ( size_t  StartPos,
size_t  EndPos 
) [private]
bool CGraphmatFile::DealEnglishStyleFIO ( size_t  StartPos,
size_t  EndPos 
) [private]
bool CGraphmatFile::DealAbbrev ( size_t  StartPos,
size_t  EndPos 
) [private]
size_t CGraphmatFile::FindOborotto ( size_t  i,
size_t  HB,
short &  OborotNo,
vector< WORD > &  OborortIds 
) const [private]

References CUnitHolder::GetUnits(), CGraphanDicts::m_Oborottos, CGraphanDicts::m_OborottosFirstWordIndex, m_pDicts, CGraphemOborot::m_TokenIds, and CUnitHolder::PSoft().

Referenced by DealOborotto().

Here is the call graph for this function:

Here is the caller graph for this function:

void CGraphmatFile::DealOborotto ( size_t  HB  )  [private]
int CGraphmatFile::DealReferences ( size_t  i,
size_t  HB 
) [private]

References CUnitHolder::GetUnits(), CUnitHolder::GetUppercaseToken(), CUnitHolder::IsOneFullStop(), ORef1, ORef2, CUnitHolder::PassSpace(), CUnitHolder::SetDes(), CUnitHolder::SetState(), and stGrouped.

Referenced by InitContextDescriptors().

Here is the call graph for this function:

Here is the caller graph for this function:

int CGraphmatFile::DealStop ( size_t  i  )  [private]
void CGraphmatFile::DealModifierKey ( size_t  LB,
size_t  HB 
) [private]

References CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), CUnitHolder::HasGrouped(), IsKey(), OHyp, OKey1, OKey2, CUnitHolder::SetDes(), CUnitHolder::SetState(), and stGrouped.

Referenced by InitContextDescriptors().

Here is the call graph for this function:

Here is the caller graph for this function:

void CGraphmatFile::DealSimpleKey ( size_t  LB,
size_t  HB 
) [private]

References CUnitHolder::HasGrouped(), IsKey(), CUnitHolder::IsOneAlpha(), OKey1, OKey2, CUnitHolder::SetDes(), CUnitHolder::SetState(), and stGrouped.

Referenced by InitContextDescriptors().

Here is the call graph for this function:

Here is the caller graph for this function:

void CGraphmatFile::DealKeySequence ( size_t  LB,
size_t  HB 
) [private]

References CUnitHolder::BSoft(), CUnitHolder::DeleteDescr(), CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), OKey1, OKey2, CUnitHolder::SetDes(), CUnitHolder::SetState(), and stGrouped.

Referenced by InitContextDescriptors().

Here is the call graph for this function:

Here is the caller graph for this function:

void CGraphmatFile::DealQuotedKeySequence ( size_t  LB,
size_t  HB 
) [private]
void CGraphmatFile::DealGermanDividedCompounds ( size_t  LB,
size_t  HB 
) [private]
void CGraphmatFile::DealExtensionsAndLocalFileNames ( size_t  LB,
size_t  HB 
) [private]
int CGraphmatFile::HasIndention ( size_t  LB,
size_t  HB 
) [private]

References CUnitHolder::HasDescr(), and OPar.

Referenced by DealFIO(), and DealShortFIO().

Here is the call graph for this function:

Here is the caller graph for this function:

int CGraphmatFile::CountEndL ( size_t  LB,
size_t  HB 
) [private]

References CUnitHolder::GetUnits().

Referenced by DealFIO(), and DealShortFIO().

Here is the call graph for this function:

Here is the caller graph for this function:

int CGraphmatFile::CountSpaces ( size_t  LB,
size_t  HB 
) [private]

References CUnitHolder::GetUnits().

Referenced by DealFIO(), and DealShortFIO().

Here is the call graph for this function:

Here is the caller graph for this function:

int CGraphmatFile::DealFIO ( size_t  i,
size_t  HB 
) [private]
int CGraphmatFile::DealShortFIO ( size_t  i,
size_t  HB 
) [private]
void CGraphmatFile::DealNames ( size_t  LB,
size_t  HB 
) [private]

References CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), ONam, OSentEnd, OUpLw, and CUnitHolder::SetDes().

Referenced by InitContextDescriptors().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CGraphmatFile::DealSentBreaker (  )  [private]
void CGraphmatFile::InitNonContextDescriptors ( CGraLine L  )  [private]
bool CGraphmatFile::GraphmatMain (  )  [private]
int CGraphmatFile::InitContextDescriptors ( size_t  LB,
size_t  HB 
) [private]
void CGraphmatFile::MacSynHierarchy (  )  [private]
bool CGraphmatFile::LoadDicts (  ) 
bool CGraphmatFile::LoadStringToGraphan ( const string &  szBuffer  ) 
bool CGraphmatFile::LoadFileToGraphan ( const string &  CommandLine  ) 

References Format(), HTML::GetTextFromHtmlFile(), GraphmatMain(), CUnitHolder::InitInputBuffer(), IsHtmlFile(), LoadFileToString(), m_LastError, m_SourceFileName, and CExpc::m_strCause.

Referenced by CMorphologyHolder::GetMorphology().

Here is the call graph for this function:

Here is the caller graph for this function:

void CGraphmatFile::FreeDicts (  ) 

References m_pDicts.

Referenced by CMorphologyHolder::LoadGraphanAndLemmatizer().

Here is the caller graph for this function:

const string & CGraphmatFile::GetLastError (  )  const

References m_LastError.

Referenced by CConcIndexatorInvoker::BuildIndex(), CConcIndexator::LoadFileIntoGraphan(), and CConcIndexator::LoadXmlFile().

Here is the caller graph for this function:

void CGraphmatFile::GetGraphematicalLine ( char *  line,
size_t  NumLine 
) const
MorphLanguageEnum CGraphmatFile::GetTokenLanguage ( int  LineNo  )  const

References CUnitHolder::HasDescr(), CUnitHolder::m_Language, morphGerman, OLLE, and ORLE.

Referenced by CMorphologyHolder::GetMorphology(), CLemmatizer::ProcessHyphenWords(), and CPlmLineCollection::ProcessPlmLines().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CGraphmatFile::StartsFixedOborot ( size_t  LineNo  )  const

References CUnitHolder::GetOborotNo(), CGraphanDicts::m_Oborottos, and m_pDicts.

Referenced by CLemmatizer::ProcessHyphenWords(), and CPlmLineCollection::ProcessPlmLines().

Here is the call graph for this function:

Here is the caller graph for this function:

const CDictionary * CGraphmatFile::GetOborDic (  )  const

References CGraphanDicts::GetOborDic(), and m_pDicts.

Referenced by CSyntaxHolder::LoadSyntax().

Here is the call graph for this function:

Here is the caller graph for this function:

void CGraphmatFile::WriteGraphMat ( const char *  FName  )  const

References CriticalGraphemLineLength, GetGraphematicalLine(), and CUnitHolder::GetUnits().

Referenced by GraphmatMain().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Referenced by LoadFileToGraphan().

string CGraphmatFile::m_LastError [private]

Referenced by CGraphmatFile(), and DealIndention().

Referenced by CGraphmatFile(), and DealIndention().

Referenced by CGraphmatFile().

Referenced by CGraphmatFile(), and GraphmatMain().

Referenced by CGraphmatFile(), and MacSynHierarchy().

Referenced by CGraphmatFile(), and DealSentBreaker().

Referenced by CGraphmatFile(), and DealSentBreaker().


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