Scid
4.7.0
|
class SpellChecker - name spelling More...
#include <spellchk.h>
Public Member Functions | |
~SpellChecker () | |
as a prefix. | |
std::vector< const char * > | find (const nameT &nt, const char *name, uint nMaxRes=10) const |
const NameNormalizer & | getGeneralCorrections (const nameT &nt) const |
Static Public Member Functions | |
static std::pair< errorT, SpellChecker * > | Create (const char *filename, const Progress &progress) |
Create() - Create a new SpellChecker object. More... | |
Friends | |
class | SpellChkLoader |
is not found or is ambiguous (match multiple players) | |
SpellChecker::getPlayerInfo() - get extra info about a player Get extra data like titles/gender, countries, highest elo, date of birth, date of death or biographic informations. Return:
| |
const PlayerInfo * | getPlayerInfo (const char *name, std::vector< const char *> *bio=0) const |
const PlayerElo * | getPlayerElo (const char *name) const |
bool | hasEloData () const |
size_t | numCorrectNames (const nameT &nt) const |
class SpellChecker - name spelling
Read a spell file and allow to retrieve corrected names and players data. if SPELLCHKVALIDATE is defined also check the spell file for errors.
Definition at line 259 of file spellchk.h.
|
inline |
Definition at line 282 of file spellchk.h.
|
inlinestatic |
Create() - Create a new SpellChecker object.
Create a new SpellChecker reading from filename. It's the caller's responsibility to free the object with "delete". Return:
Definition at line 295 of file spellchk.h.
|
inline |
Definition at line 318 of file spellchk.h.
|
inline |
Definition at line 334 of file spellchk.h.
|
inline |
Definition at line 361 of file spellchk.h.
|
inline |
Definition at line 351 of file spellchk.h.
|
inline |
Definition at line 369 of file spellchk.h.
|
inline |
Definition at line 373 of file spellchk.h.
|
friend |
Definition at line 279 of file spellchk.h.