Commit 61209a797b13d35e9f0af6302768211bbb0f4303
1 parent
6e7a4800
jeszcze jedna mała poprawka estetyczna
git-svn-id: svn://svn.nlp.ipipan.waw.pl/morfeusz/morfeusz@220 ff4e3ee1-f430-4e82-ade0-24591c43f1fd
Showing
1 changed file
with
1 additions
and
2 deletions
morfeusz/MorfeuszInternal.cpp
... | ... | @@ -203,8 +203,7 @@ void MorfeuszInternal::doProcessOneWord( |
203 | 203 | cerr << "recognized: " << debugInterpsGroup(ig.type, reader.getWordStartPtr(), reader.getCurrPtr()) << " at: '" << reader.getWordStartPtr() << "'" << endl; |
204 | 204 | } |
205 | 205 | newSegrulesStates.clear(); |
206 | - bool endOfWord = reader.isAtWhitespace() || !homonymId.empty(); | |
207 | - env.getCurrentSegrulesFSA().proceedToNext(ig.type, segrulesState, endOfWord, newSegrulesStates); | |
206 | + env.getCurrentSegrulesFSA().proceedToNext(ig.type, segrulesState, reader.isAtWhitespace(), newSegrulesStates); | |
208 | 207 | if (!newSegrulesStates.empty() |
209 | 208 | && env.getCasePatternHelper().checkInterpsGroupOrthCasePatterns(env, reader.getWordStartPtr(), reader.getCurrPtr(), ig)) { |
210 | 209 | for (unsigned int i = 0; i < newSegrulesStates.size(); i++) { |
... | ... |