Skip to content

Commit

Permalink
we can do without the _u...
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Dec 20, 2022
1 parent 9d87660 commit 7818ce3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Parser.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ vector<timbl_result> timbl( Timbl::TimblAPI* tim,
vector<timbl_result> result;
for ( const auto& inst : instances ){
const Timbl::ValueDistribution *db;
const Timbl::TargetValue *tv = tim->Classify_u( inst, db );
const Timbl::TargetValue *tv = tim->Classify( inst, db );
result.push_back( timbl_result( tv->Name(), db->Confidence(tv), db ) );
}
return result;
Expand Down
2 changes: 1 addition & 1 deletion src/mblem_mod.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ void Mblem::Classify( const UnicodeString& word ){
u_class = call_server( inst );
}
else {
myLex->Classify_u( inst, u_class );
myLex->Classify( inst, u_class );
}
if ( debug > 1){
DBG << "class: " << u_class << endl;
Expand Down
2 changes: 1 addition & 1 deletion src/mbma_mod.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ void Mbma::Classify( const icu::UnicodeString& word ){
int i = 0;
for ( auto const& inst : insts ) {
UnicodeString ans;
MTree->Classify_u( inst, ans );
MTree->Classify( inst, ans );
if ( debugFlag > 1){
DBG << "itt #" << i+1 << " " << insts[i] << " ==> " << ans
<< ", depth=" << MTree->matchDepth() << endl;
Expand Down

0 comments on commit 7818ce3

Please sign in to comment.