summary refs log tree commit diff stats
path: root/lib/pronunciation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pronunciation.cpp')
-rw-r--r--lib/pronunciation.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/pronunciation.cpp b/lib/pronunciation.cpp index 856f891..b039da8 100644 --- a/lib/pronunciation.cpp +++ b/lib/pronunciation.cpp
@@ -31,22 +31,22 @@ namespace verbly {
31 hatkirby::row row) : 31 hatkirby::row row) :
32 valid_(true) 32 valid_(true)
33 { 33 {
34 id_ = mpark::get<int>(row[0]); 34 id_ = std::get<int>(row[0]);
35 35
36 phonemes_ = 36 phonemes_ =
37 hatkirby::split<std::vector<std::string>>( 37 hatkirby::split<std::vector<std::string>>(
38 mpark::get<std::string>(row[1]), 38 std::get<std::string>(row[1]),
39 " "); 39 " ");
40 40
41 syllables_ = mpark::get<int>(row[2]); 41 syllables_ = std::get<int>(row[2]);
42 stress_ = mpark::get<std::string>(row[3]); 42 stress_ = std::get<std::string>(row[3]);
43 43
44 if (!mpark::holds_alternative<std::nullptr_t>(row[5])) 44 if (!std::holds_alternative<std::nullptr_t>(row[5]))
45 { 45 {
46 hasRhyme_ = true; 46 hasRhyme_ = true;
47 47
48 prerhyme_ = mpark::get<std::string>(row[4]); 48 prerhyme_ = std::get<std::string>(row[4]);
49 rhyme_ = mpark::get<std::string>(row[5]); 49 rhyme_ = std::get<std::string>(row[5]);
50 } 50 }
51 } 51 }
52 52