summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--generator/generator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/generator.cpp b/generator/generator.cpp index 969b629..21d0a63 100644 --- a/generator/generator.cpp +++ b/generator/generator.cpp
@@ -815,7 +815,7 @@ namespace verbly {
815 std::unordered_set<std::string> visited; 815 std::unordered_set<std::string> visited;
816 for (int i=0; i<text.size(); i++) 816 for (int i=0; i<text.size(); i++)
817 { 817 {
818 for (int l=3; l<text.size()-i; l++) 818 for (int l=3; l<=text.size()-i; l++)
819 { 819 {
820 if (i==0 && l == text.size()) 820 if (i==0 && l == text.size())
821 { 821 {
@@ -893,7 +893,7 @@ namespace verbly {
893 std::set<std::list<std::string>> visited; 893 std::set<std::list<std::string>> visited;
894 for (int i=0; i<phonemes.size(); i++) 894 for (int i=0; i<phonemes.size(); i++)
895 { 895 {
896 for (int l=2; l<phonemes.size()-i; l++) 896 for (int l=2; l<=phonemes.size()-i; l++)
897 { 897 {
898 if (i==0 && l == phonemes.size()) 898 if (i==0 && l == phonemes.size())
899 { 899 {