commit | b999ec5da3b560e4d5e34abadda352be7718ff67 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Jun 05 11:20:46 2018 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Jun 05 11:20:46 2018 +0200 |
tree | 391b235003c60df6d242f8697cc954b6806ddad1 | |
parent | 0779a208c55beba53c20ae3b90e8a15065c271ae [diff] |
collocatordb: HACK: remove words with "quot" from json results
diff --git a/collocatordb.cc b/collocatordb.cc index 4d327f1..ba6c138 100644 --- a/collocatordb.cc +++ b/collocatordb.cc
@@ -674,6 +674,7 @@ s << "["; bool first = true; for (Collocator c : collocators) { + if(strncmp(_vocab[c.w2].word.c_str(), "quot", 4) == 0) continue; if (i++ > 200) break; if(!first)