summaryrefslogtreecommitdiff
path: root/lexiconparameters.h
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2015-11-06 08:50:41 -0600
committerJohn Fultz <jfultz@wolfram.com>2015-11-06 08:50:41 -0600
commit656b3c684d8dbf25e39517f5bf1bf9d53d9cb19d (patch)
treeee8cdc047e8a843fb63216622f2665c2d6ced330 /lexiconparameters.h
parent7d6f193908a0b277a5b44f0d22651dccec033b70 (diff)
Set up defaults strategies.
So, basically, the dictionary is queried to see if it's "English-like". Which is to say that it uses the same alphabet. If so, then it will fall back to use twl06 strategies, minus the superleaves (the so-called "default_english"). Otherwise, it uses "default" strategies, which right now is simply a worths file that sets the blank to be 30. It's not great. But better than before.
Diffstat (limited to 'lexiconparameters.h')
-rw-r--r--lexiconparameters.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lexiconparameters.h b/lexiconparameters.h
index d19f695..f41cf55 100644
--- a/lexiconparameters.h
+++ b/lexiconparameters.h
@@ -82,6 +82,7 @@ public:
string hashString(bool shortened) const;
string copyrightString() const;
+ const vector<string> &utf8Alphabet() const { return m_utf8Alphabet; };
protected:
unsigned char *m_dawg;