SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <unicode.h>
Classes | |
class | TNode |
Public Types | |
typedef TItem_ | TItem |
Public Member Functions | |
TUniTrie () | |
void | Clr () |
bool | Empty () const |
bool | Has1Gram (const TItem &item) const |
bool | Has2Gram (const TItem &last, const TItem &butLast) const |
int | Get3GramRoot (const TItem &last, const TItem &butLast, const TItem &butButLast) const |
int | GetChild (const int parentIdx, const TItem &item) const |
bool | IsNodeTerminal (const int nodeIdx) const |
template<typename TSrcVec > | |
void | Add (const TSrcVec &src, const size_t srcIdx, const size_t srcCount) |
template<typename TSrcVec > | |
void | Add (const TSrcVec &src) |
Protected Types | |
typedef TVec< TNode > | TNodeV |
typedef TPair< TItem, TItem > | TItemPr |
typedef TTriple< TItem, TItem, TItem > | TItemTr |
typedef TUniVecIdx | TVecIdx |
Protected Attributes | |
THash< TItem, TVoid > | singles |
THash< TItemPr, TVoid > | pairs |
THash< TItemTr, TInt > | roots |
TNodeV | nodes |
|
protected |
|
inline |
Definition at line 1220 of file unicode.h.
Referenced by TUniChDb::SbEx_Add().
|
inline |
Definition at line 1249 of file unicode.h.
Referenced by TUniTrie< TInt >::Add().
|
inline |
Definition at line 1200 of file unicode.h.
Referenced by TUniChDb::SbEx_Clr().
|
inline |
Definition at line 1202 of file unicode.h.
Referenced by TUniChDb::CanSentenceEndHere().
|
inline |
Definition at line 1206 of file unicode.h.
Referenced by TUniChDb::CanSentenceEndHere().
|
inline |
Definition at line 1209 of file unicode.h.
Referenced by TUniChDb::CanSentenceEndHere().
Definition at line 1204 of file unicode.h.
Referenced by TUniChDb::CanSentenceEndHere().
|
inline |
Definition at line 1205 of file unicode.h.
Referenced by TUniChDb::CanSentenceEndHere().
|
inline |
Definition at line 1215 of file unicode.h.
Referenced by TUniChDb::CanSentenceEndHere().
Definition at line 1197 of file unicode.h.
Referenced by TUniTrie< TInt >::Add(), TUniTrie< TInt >::Clr(), TUniTrie< TInt >::GetChild(), and TUniTrie< TInt >::IsNodeTerminal().
Definition at line 1195 of file unicode.h.
Referenced by TUniTrie< TInt >::Add(), TUniTrie< TInt >::Clr(), TUniTrie< TInt >::Empty(), and TUniTrie< TInt >::Has2Gram().
Definition at line 1196 of file unicode.h.
Referenced by TUniTrie< TInt >::Add(), TUniTrie< TInt >::Clr(), TUniTrie< TInt >::Empty(), and TUniTrie< TInt >::Get3GramRoot().
Definition at line 1194 of file unicode.h.
Referenced by TUniTrie< TInt >::Add(), TUniTrie< TInt >::Clr(), TUniTrie< TInt >::Empty(), and TUniTrie< TInt >::Has1Gram().