diff options
Diffstat (limited to 'lib/pronunciation.cpp')
| -rw-r--r-- | lib/pronunciation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/pronunciation.cpp b/lib/pronunciation.cpp index fa471ec..1f36899 100644 --- a/lib/pronunciation.cpp +++ b/lib/pronunciation.cpp | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | #include "pronunciation.h" | 1 | #include "pronunciation.h" |
| 2 | #include <sqlite3.h> | 2 | #include <sqlite3.h> |
| 3 | #include <hkutil/string.h> | ||
| 3 | #include "form.h" | 4 | #include "form.h" |
| 4 | #include "word.h" | 5 | #include "word.h" |
| 5 | #include "util.h" | ||
| 6 | 6 | ||
| 7 | namespace verbly { | 7 | namespace verbly { |
| 8 | 8 | ||
| @@ -27,7 +27,7 @@ namespace verbly { | |||
| 27 | id_ = sqlite3_column_int(row, 0); | 27 | id_ = sqlite3_column_int(row, 0); |
| 28 | 28 | ||
| 29 | std::string phonemesStr(reinterpret_cast<const char*>(sqlite3_column_text(row, 1))); | 29 | std::string phonemesStr(reinterpret_cast<const char*>(sqlite3_column_text(row, 1))); |
| 30 | phonemes_ = split<std::vector<std::string>>(phonemesStr, " "); | 30 | phonemes_ = hatkirby::split<std::vector<std::string>>(phonemesStr, " "); |
| 31 | 31 | ||
| 32 | syllables_ = sqlite3_column_int(row, 2); | 32 | syllables_ = sqlite3_column_int(row, 2); |
| 33 | stress_ = std::string(reinterpret_cast<const char*>(sqlite3_column_text(row, 3))); | 33 | stress_ = std::string(reinterpret_cast<const char*>(sqlite3_column_text(row, 3))); |
