diff options
Diffstat (limited to 'utils/segment')
-rw-r--r-- | utils/segment/mergeseq.cpp | 6 | ||||
-rw-r--r-- | utils/segment/ngseg.cpp | 2 | ||||
-rw-r--r-- | utils/segment/spseg.cpp | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/utils/segment/mergeseq.cpp b/utils/segment/mergeseq.cpp index 05ceb3c..81fa2a8 100644 --- a/utils/segment/mergeseq.cpp +++ b/utils/segment/mergeseq.cpp @@ -69,7 +69,7 @@ gint calculate_sequence_length(TokenInfoVector tokeninfos) { * if not, just output the first token; * pop the first token or sequence. */ -bool merge_sequence(FacadePhraseTable2 * phrase_table, +bool merge_sequence(FacadePhraseTable3 * phrase_table, FacadePhraseIndex * phrase_index, UnicodeCharVector unichars, TokenInfoVector tokeninfos) { @@ -141,7 +141,7 @@ bool pop_first_token(UnicodeCharVector unichars, return true; } -bool feed_line(FacadePhraseTable2 * phrase_table, +bool feed_line(FacadePhraseTable3 * phrase_table, FacadePhraseIndex * phrase_index, UnicodeCharVector unichars, TokenInfoVector tokeninfos, @@ -237,7 +237,7 @@ int main(int argc, char * argv[]){ } /* init phrase table */ - FacadePhraseTable2 phrase_table; + FacadePhraseTable3 phrase_table; phrase_table.load(SYSTEM_PHRASE_INDEX, NULL); /* init phrase index */ diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp index 8064f27..c4937f8 100644 --- a/utils/segment/ngseg.cpp +++ b/utils/segment/ngseg.cpp @@ -143,7 +143,7 @@ int main(int argc, char * argv[]){ } /* init phrase table */ - FacadePhraseTable2 phrase_table; + FacadePhraseTable3 phrase_table; phrase_table.load(SYSTEM_PHRASE_INDEX, NULL); /* init phrase index */ diff --git a/utils/segment/spseg.cpp b/utils/segment/spseg.cpp index c7bdcfe..b434e4a 100644 --- a/utils/segment/spseg.cpp +++ b/utils/segment/spseg.cpp @@ -77,7 +77,7 @@ public: bool backtrace(GArray * steps, glong phrase_len, GArray * strings); /* Note: do not free phrase, as it is used by strings (array of segment). */ -bool segment(FacadePhraseTable2 * phrase_table, +bool segment(FacadePhraseTable3 * phrase_table, FacadePhraseIndex * phrase_index, GArray * current_ucs4, GArray * strings /* Array of SegmentStep. */){ @@ -160,7 +160,7 @@ bool backtrace(GArray * steps, glong phrase_len, GArray * strings){ return true; } -bool deal_with_segmentable(FacadePhraseTable2 * phrase_table, +bool deal_with_segmentable(FacadePhraseTable3 * phrase_table, FacadePhraseIndex * phrase_index, GArray * current_ucs4, FILE * output){ @@ -237,7 +237,7 @@ int main(int argc, char * argv[]){ } /* init phrase table */ - FacadePhraseTable2 phrase_table; + FacadePhraseTable3 phrase_table; phrase_table.load(SYSTEM_PHRASE_INDEX, NULL); /* init phrase index */ |