Skip to content
Snippets Groups Projects
Commit cbd36fe5 authored by Adam Radziszewski's avatar Adam Radziszewski
Browse files

fix lexeme sorting order

parent 8aa9c414
Branches
No related merge requests found
...@@ -70,7 +70,7 @@ struct preferred_lexeme_cmp ...@@ -70,7 +70,7 @@ struct preferred_lexeme_cmp
&& (tagset->get_original_pos_index(l1.tag().get_pos_index()) > && (tagset->get_original_pos_index(l1.tag().get_pos_index()) >
tagset->get_original_pos_index(l2.tag().get_pos_index()) tagset->get_original_pos_index(l2.tag().get_pos_index())
|| (l1.tag().get_pos() == l2.tag().get_pos() || (l1.tag().get_pos() == l2.tag().get_pos()
&& l1 < l2))); && l1 > l2)));
} }
}; };
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment