Merge pull request #8504 from bryant1410/patch-1

Fix typo in comment
This commit is contained in:
Paul O'Leary McCann 2021-06-27 13:51:19 +09:00 committed by GitHub
commit f144888793
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ class AttributeRuler(Pipe):
def match(self, doc: Doc):
matches = self.matcher(doc, allow_missing=True)
# Sort by the attribute ID, so that later rules have precendence
# Sort by the attribute ID, so that later rules have precedence
matches = [
(int(self.vocab.strings[m_id]), m_id, s, e) for m_id, s, e in matches
]