Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions quickumls/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,11 +445,11 @@ def match(self, text, best_match=True, ignore_syntax=False):
parsed = self.nlp(u'{}'.format(text))

# pass in parsed spacy doc to get concept matches
matches = self._match(parsed)
matches = self._match(parsed, best_match, ignore_syntax)

return matches

def _match(self, doc, best_match=True, ignore_syntax=False):
def _match(self, doc, best_match, ignore_syntax):
"""Gathers ngram matches given a spaCy document object.

[extended_summary]
Expand Down