[Scidvspc-users] Spellchecking abbreviation and capitalisation
Chess Database and Toolkit program
Brought to you by:
stevenaaus
From: Steve A <ste...@gm...> - 2015-01-11 00:21:52
|
I'm looking at improving the spell check feature ... but it is not trivial. The spelling.ssp file handles cases like this "Aronian, L" >> "Aronian, Levon" (1) 1982.??.??-- "Aronian, L." >> "Aronian, Levon" (1) 1982.??.??-- basically because Lev is the only "L" Aronian. But because Vishy is not the only "V" Anand, spelling.ssp does not have have any rule to fix "Anand, V" or "Anand, V." (only diff is a trailing ".") But i'm thinking we should probably standardise on *one* of these, and include a correction when we run the Spellchecker. (ie convert "Anand, V" to "Anand, V." or vice a versa) So should we use a period or not ? The spelling.ssp currently avoids superfluous periods (eg "Fischer R. J." >> "Fischer, Robert J") but i have a preference to include them. This is a bit of a dilemma. And we also have the case of missing commans to consider (eg "Anand V"). Can we safely convert all "name singleletter" playernames eg "Surname A" to "Surname, A" (or "Surname, A.") Some pgn sources also uppercase the surname, but i think we can safely convert all uppercase player names to capitalised names. Steven |