ddc
Functions
Sentences.cpp File Reference
#include "StdGraph.h"
#include "GraphmatFile.h"
#include "GraphanDicts.h"
Include dependency graph for Sentences.cpp:

Functions

static size_t FindSentEndAfterParagraph (const CGraphmatFile &F, size_t StartPos, size_t EndPos)
 
static bool CheckComma (CGraphmatFile &F, size_t Sent1No, size_t Sent2No)
 
static bool SetSentMarkers (CGraphmatFile &F, const size_t PreviousSentEnd, const size_t NewSentStart, BYTE &SentenceOpenBracket, bool &bSentenceQuotationMarks, DWORD &StartSentenceOffset)
 
bool CheckGermanSentenceBreak (CGraphmatFile &G, size_t WordNo)
 
bool IsLastInGroupOrFree (const CGraphmatFile &F, size_t i)
 

Function Documentation

◆ FindSentEndAfterParagraph()

static size_t FindSentEndAfterParagraph ( const CGraphmatFile F,
size_t  StartPos,
size_t  EndPos 
)
static

References CUnitHolder::BSoft(), CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), CUnitHolder::IsSentenceEndMark(), OPun, and OSentEnd.

Referenced by CGraphmatFile::DealSentBreaker().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckComma()

static bool CheckComma ( CGraphmatFile F,
size_t  Sent1No,
size_t  Sent2No 
)
static

References CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), CUnitHolder::IsOneChar(), and OSentEnd.

Referenced by CGraphmatFile::DealSentBreaker().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetSentMarkers()

static bool SetSentMarkers ( CGraphmatFile F,
const size_t  PreviousSentEnd,
const size_t  NewSentStart,
BYTE SentenceOpenBracket,
bool &  bSentenceQuotationMarks,
DWORD StartSentenceOffset 
)
static

References CUnitHolder::GetTokenInputOffset(), CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), CUnitHolder::IsOneOpenQuotationMark(), OOpn, OSentEnd, and CUnitHolder::SetDes().

Referenced by CGraphmatFile::DealSentBreaker().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckGermanSentenceBreak()

bool CheckGermanSentenceBreak ( CGraphmatFile G,
size_t  WordNo 
)

References CUnitHolder::BSoft(), CUnitHolder::GetUppercaseToken(), CUnitHolder::HasDescr(), CUnitHolder::IsOneFullStop(), and ODigits.

Referenced by CGraphmatFile::DealSentBreaker().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsLastInGroupOrFree()

bool IsLastInGroupOrFree ( const CGraphmatFile F,
size_t  i 
)

References CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), OAbbr2, OEXPR2, OFAM2, OFile2, and ORef2.

Referenced by CGraphmatFile::DealSentBreaker().

Here is the call graph for this function:
Here is the caller graph for this function: