ext/rmmseg/algor.h in rmmseg-cpp-new-0.3.0 vs ext/rmmseg/algor.h in rmmseg-cpp-new-0.3.1
- old
+ new
@@ -44,10 +44,11 @@
std::vector<Chunk> create_chunks();
int next_word();
int next_char();
std::vector<Word *> find_match_words();
- int max_word_length() { return 20; }
+ /* max word in dictionary is 8, larger than that is not necessory */
+ int max_word_length() { return 8; }
const char *m_text;
int m_pos;
int m_text_length;