diff options
author | John Fultz <jfultz@wolfram.com> | 2015-09-28 13:00:57 -0500 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2015-09-28 13:00:57 -0500 |
commit | 81554a201cc5e0748110add6eca05cc16c18850c (patch) | |
tree | 75fcfd2b3c32befec1ec31435b731f84c9b48646 /quackleio/dawgfactory.cpp | |
parent | 03b9132b3f540bfb3713400774a9bfb832b200b2 (diff) |
Now able to load text and dawg files.
Words are loaded and hashed. Duplicates are
discovered. Alphabets are dealt with. Merging
of multiple word lists works. This is good stuff.
Saving the resulting dictionaries has not been
tried, yet, and the gui code for saving needs to
be finished off, yet.
Diffstat (limited to 'quackleio/dawgfactory.cpp')
-rw-r--r-- | quackleio/dawgfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quackleio/dawgfactory.cpp b/quackleio/dawgfactory.cpp index 565778a..e7ada85 100644 --- a/quackleio/dawgfactory.cpp +++ b/quackleio/dawgfactory.cpp @@ -25,10 +25,10 @@ #include "util.h" -DawgFactory::DawgFactory(const UVString& alphabetFile) +DawgFactory::DawgFactory(const QString &alphabetFile) { QuackleIO::FlexibleAlphabetParameters *flexure = new QuackleIO::FlexibleAlphabetParameters; - flexure->load(QuackleIO::Util::uvStringToQString(alphabetFile)); + flexure->load(alphabetFile); m_alphas = flexure; m_root.insmallerdict = false; |