Skip to content

Commit

Permalink
Deactivates gene expansion (refs bst-mug#57)
Browse files Browse the repository at this point in the history
It has produced lots of false positives due to partial matches in the
gene description.

Better handling of synonyms (refs bst-mug#96) and matches in fields with
different analyzers (refs bst-mug#97) could help.
  • Loading branch information
Michel Oleynik committed Jul 11, 2017
1 parent cff6b49 commit 112a4d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/at/medunigraz/imi/bst/trec/RunnerDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public static void main(String[] args) {

final File pmTemplate = new File(RunnerDemo.class.getResource("/templates/must-match-disease.json").getFile());
Gene.Field[] expandTo = { Gene.Field.SYMBOL, Gene.Field.DESCRIPTION };
Query pmDecorator = new WordRemovalQueryDecorator(new GeneExpanderQueryDecorator(expandTo,
new TemplateQueryDecorator(pmTemplate, new ElasticSearchQuery("trec"))));
Query pmDecorator = new WordRemovalQueryDecorator(
new TemplateQueryDecorator(pmTemplate, new ElasticSearchQuery("trec")));

for (String id : pmRuns) {
runExperiment(id, pmDecorator);
Expand Down

0 comments on commit 112a4d2

Please sign in to comment.