|
libscid 0.1.0
Chess applications made easy.
|
class SpellChecker - name spelling More...
#include <spelling.h>
Public Member Functions | |
as a prefix. | |
| std::vector< const char * > | find (const scid::database::nameT &nt, const char *name, scid::core::uint nMaxRes=10) const |
| const NameNormalizer & | getGeneralCorrections (const scid::database::nameT &nt) const |
Static Public Member Functions | |
| static std::pair< scid::core::errorT, std::unique_ptr< SpellChecker > > | create (const char *filename, const scid::database::Progress &progress) |
| create() - Create a new SpellChecker object | |
Friends | |
| class | SpellingLoader |
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 scid::database::nameT &nt) const |
class SpellChecker - name spelling
Read a spell file and allow to retrieve corrected names and players data. if SCID_SPELLING_VALIDATE is defined also check the spell file for errors.
|
static |
create() - Create a new SpellChecker object
Create a new SpellChecker reading from filename. Return: