Changeset 26162 for main/trunk/greenstone2
- Timestamp:
- 2012-09-11T11:30:29+12:00 (12 years ago)
- Location:
- main/trunk/greenstone2/common-src/indexers/mgpp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/indexers/mgpp/lib/simplefrenchstem.cpp
r16583 r26162 67 67 68 68 /* re-code, make sure the result is not longer than the input */ 69 unicode_to_utf8_word (out, word, word[0]+1); 69 //unicode_to_utf8_word (out, word, word[0]+1); 70 // The max_output_length (3rd param) for unicode_to_utf8 is the max length of 71 // the string, not including the length 72 unicode_to_utf8_word (out, word, word[0]); 70 73 } -
main/trunk/greenstone2/common-src/indexers/mgpp/text/stemmer.cpp
r16583 r26162 53 53 54 54 /* re-code */ 55 unicode_to_utf8_word (out, word, word[0]+1); 55 //unicode_to_utf8_word (out, word, word[0]+1); 56 // The max_output_length (3rd param) for unicode_to_utf8 is the max length of 57 // the string, not including the length 58 unicode_to_utf8_word (out, word, word[0]); 56 59 } 57 60
Note:
See TracChangeset
for help on using the changeset viewer.