spaCy/spacy
Matthew Honnibal 51d18937af Partially apply doc/span/token into method
We want methods to act like they're "bound" to the object, so that you can make your method conditional on the `doc`, `span` or `token` instance --- like, well, a method. We therefore partially apply the function, which works like this:

```
def partial(unbound_method, constant_arg):
    def bound_method(*args, **kwargs):
        return unbound_method(constant_arg, *args, **kwargs)
    return bound_method
2017-10-10 02:21:28 +02:00
..
cli Merge remote-tracking branch 'origin/develop' into feature/parser-history-model 2017-10-07 07:05:04 -05:00
data Make spacy/data a package 2017-03-18 20:04:22 +01:00
displacy Add workaround for displaCy server on Python 2/3 (resolves #1227) 2017-08-01 01:11:35 +02:00
lang Merge pull request #1365 from wannaphongcom/develop 2017-09-26 23:43:05 +02:00
syntax Merge branch 'feature/pipeline-management' into feature/dot-underscore 2017-10-09 14:37:51 +02:00
tests Merge branch 'feature/pipeline-management' into feature/dot-underscore 2017-10-09 14:37:51 +02:00
tokens Partially apply doc/span/token into method 2017-10-10 02:21:28 +02:00
__init__.pxd * Seems to be working after refactor. Need to wire up more POS tag features, and wire up save/load of POS tags. 2014-10-24 02:23:42 +11:00
__init__.py Unbreak merge artefact 2017-10-03 09:41:05 -05:00
__main__.py Add spacy evaluate 2017-10-01 14:05:04 -05:00
_cfile.pxd Restore CFile loader 2017-08-18 20:46:16 +02:00
_cfile.pyx Restore CFile loader 2017-08-18 20:46:16 +02:00
_ml.py Reserve 0 for 'missing' in history features 2017-10-06 06:10:13 -05:00
about.py Increment version 2017-10-04 17:14:26 +02:00
attrs.pxd Fix cpdef enum in attrs.pyx 2017-09-17 12:28:53 -05:00
attrs.pyx Fix cpdef enum in attrs.pyx 2017-09-17 12:28:53 -05:00
cfile.pxd Get spaCy train command working with neural network 2017-05-17 12:04:50 +02:00
cfile.pyx Get spaCy train command working with neural network 2017-05-17 12:04:50 +02:00
compat.py Don't escape forward slashes on ujson.dumps 2017-08-19 22:32:16 +02:00
deprecated.py Change python -m spacy to spacy 2017-08-14 13:04:48 +02:00
glossary.py Fix typos and commands in alpha docs 2017-08-21 13:40:11 +02:00
gold.pxd Add support for sent_start to GoldParse 2017-08-25 20:03:14 -05:00
gold.pyx Fix minibatch function, for fixed batch size 2017-09-14 13:37:41 +02:00
language.py Trigger nonproj.deprojectivize as a postprocess 2017-10-07 02:00:47 +02:00
lemmatizer.py Remove print statement 2017-09-14 13:38:28 +02:00
lemmatizerlookup.py Adding unitest for tokenization in french (with title) 2017-04-27 11:53:44 +02:00
lexeme.pxd WIP on stringstore change. 27 failures 2017-05-28 14:06:40 +02:00
lexeme.pyx Allow Lexeme.rank to be set 2017-08-24 21:43:00 +02:00
matcher.pyx Allow empty dictionaries to match any token in Matcher 2017-10-07 03:36:15 +02:00
morphology.pxd Fix loading of morphology exceptions 2017-06-04 16:34:32 -05:00
morphology.pyx Handle lemmatization for unknown string IDs 2017-09-24 05:01:31 -05:00
parts_of_speech.pxd Add support for Universal Dependencies v2.0 2017-03-03 13:17:34 +01:00
parts_of_speech.pyx Clean up imports, unused code, whitespace, docstrings 2017-04-15 12:05:47 +02:00
pipeline.pxd Data running through, likely errors in model 2017-05-06 14:22:20 +02:00
pipeline.pyx Trigger nonproj.deprojectivize as a postprocess 2017-10-07 02:00:47 +02:00
scorer.py Clean up imports, unused code, whitespace, docstrings 2017-04-15 12:05:47 +02:00
strings.pxd Work on changing StringStore to return hashes. 2017-05-28 12:36:27 +02:00
strings.pyx Prevent strings from being lost during from_disk and from_bytes 2017-08-19 22:42:17 +02:00
structs.pxd WIP on stringstore change. 27 failures 2017-05-28 14:06:40 +02:00
symbols.pxd Fix code explosion from long enum in Python 3, Cython 0.24+ 2017-09-16 12:20:04 +02:00
symbols.pyx Fix code explosion from long enum in Python 3, Cython 0.24+ 2017-09-16 12:20:04 +02:00
tagger.pxd Add cfg field to Tagger 2016-10-17 01:03:41 +02:00
tagger.pyx Update docstrings and remove deprecated load classmethod 2017-05-21 13:27:52 +02:00
tokenizer.pxd Revert "Revert "Merge remote-tracking branch 'origin/master'"" 2017-01-09 13:28:13 +01:00
tokenizer.pyx Make sure serializers and deserializers are ordered 2017-06-03 17:05:09 +02:00
typedefs.pxd Work on changing StringStore to return hashes. 2017-05-28 12:36:27 +02:00
typedefs.pyx * Move POS tag definitions to parts_of_speech.pxd 2015-01-25 16:31:07 +11:00
util.py Add disable option and True/False/None values for pipeline 2017-10-07 00:29:08 +02:00
vectors.pyx Merge vectors.pyx doc strings 2017-10-01 17:05:54 -05:00
vocab.pxd Work on vectors 2017-05-30 23:34:50 +02:00
vocab.pyx Fix typo 2017-10-01 21:58:45 +02:00