Skip to content

Commit

Permalink
renamed superset query (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonf authored Feb 23, 2023
1 parent 52fc08b commit 98f480d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/mwe/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def generate_queries(sentence: str) -> List[MWEQuery]:
queries:
1. Multi-word expression query
2. "Near-miss" query
3. Superset query
3. Superset query (aka major lemma query)
The superset query is special in the sense that it is executed directly on BaseX.
The other queries are executed against the results of the superset query.
Expand All @@ -47,7 +47,7 @@ def generate_queries(sentence: str) -> List[MWEQuery]:
return [
MWEQuery(xpath=generated[0], description='Multi-word expression query', rank=1),
MWEQuery(xpath=generated[1], description='Near-miss query', rank=2),
MWEQuery(xpath=generated[2], description='Superset query', rank=3),
MWEQuery(xpath=generated[2], description='Major lemma query', rank=3),
]


Expand Down

0 comments on commit 98f480d

Please sign in to comment.