Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pikulet/intellex
Browse files Browse the repository at this point in the history
  • Loading branch information
theJrLinguist committed Apr 21, 2019
2 parents 4950742 + 4b8be76 commit 2aa90f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QueryExpansion.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ def get_new_query_strings(line):
newlinelist.append(token)
result.append(convert_list_to_string(newlinelist))

##### 4. NO BOOL Wordnet Hyponym
##### 4. NO BOOL Wordnet Synonyms
newlinelist = []
for token in stokens:
if token != AND:
thesaurized = hyponymise_term(token)
thesaurized = thesaurize_term(token)
if len(thesaurized) > 0:
newlinelist += thesaurized
else:
Expand Down

0 comments on commit 2aa90f7

Please sign in to comment.