mirror of https://github.com/explosion/spaCy.git
fd759a881b
* Add util function to unique lists and preserve order * Use unique function instead of list(set()) list(set()) has the issue that it's not consistent between runs of the Python interpreter, so order can vary. list(set()) calls were left in a few places where they were behind calls to sorted(). I think in this case the calls to list() can be removed, but this commit doesn't do that. * Use the existing pattern for this |
||
---|---|---|
.. | ||
__init__.py | ||
_tokenizer_exceptions_list.py | ||
examples.py | ||
lemmatizer.py | ||
lex_attrs.py | ||
punctuation.py | ||
stop_words.py | ||
syntax_iterators.py | ||
tokenizer_exceptions.py |