Skip to content
Snippets Groups Projects
Commit ec2e9c75 authored by ilor's avatar ilor
Browse files

fix compile error

parent 9c67745d
No related merge requests found
......@@ -69,13 +69,12 @@ bool MWEReader::registered = TokenReader::register_path_reader<MWEReader>(
new_orth_utf8.erase(new_orth_utf8.size()-1, 1);
Corpus2::Token *tok = (*sent)[head];
tok->set_orth_utf8(new_orth_utf8);
foreach(Lexeme& lex, tok->lexemes())
{
foreach(Lexeme& lex, tok->lexemes()){
if(lex.is_disamb()){
lex.set_lemma_utf8(pLU->get_base());
}
}
tokens.erase(std::remove(tokens.begin(), tokens.end(), NULL), tokens.end());
tokens.erase(std::remove(tokens.begin(), tokens.end(), (Token*)NULL), tokens.end());
}
}
}
......
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