Simple spelling checker using the Hunspell library.

Currently the checker is only exposed through the script function check_spelling_word, which returns true if the word is spelled correctly.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1261 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-12-28 21:44:48 +00:00
parent 7dc4bc9ca5
commit 1ac3294993
7 changed files with 62303 additions and 5 deletions
+1
View File
@@ -27,6 +27,7 @@ Variable string_to_variable(const String& s) {
if (it == variables.end()) {
#ifdef _DEBUG
variable_names.push_back(s);
assert(s == cannocial_name_form(s)); // only use cannocial names
#endif
Variable v = (Variable)variables.size();
variables.insert(make_pair(s,v));