mirror of https://github.com/explosion/spaCy.git
Make sure sorted
This commit is contained in:
parent
3f3e8110dc
commit
f26b61e001
|
@ -195,7 +195,7 @@ class EntityRuler(Pipe):
|
|||
all_labels.add(label)
|
||||
else:
|
||||
all_labels.add(l)
|
||||
return tuple(all_labels)
|
||||
return tuple(sorted(all_labels))
|
||||
|
||||
def initialize(
|
||||
self,
|
||||
|
|
Loading…
Reference in New Issue