* Compile attrs and parser in setup

This commit is contained in:
Matthew Honnibal 2014-12-23 15:18:20 +11:00
parent 9dda8b4500
commit ed0ff63c09
1 changed files with 4 additions and 9 deletions

View File

@ -57,18 +57,13 @@ exts = [
Extension("spacy.tagger", ["spacy/tagger.pyx"], **ext_args),
Extension("spacy.tokenizer", ["spacy/tokenizer.pyx"], **ext_args),
Extension("spacy.en.lang", ["spacy/en/lang.pyx"], **ext_args),
Extension("spacy.en.attrs", ["spacy/en/attrs.pyx"], **ext_args),
Extension("spacy.en.pos", ["spacy/en/pos.pyx"], **ext_args),
Extension("spacy.syntax.parser", ["spacy/syntax/parser.pyx"], **ext_args),
Extension("spacy.syntax._state", ["spacy/syntax/_state.pyx"], **ext_args),
Extension("spacy.syntax.arc_eager", ["spacy/syntax/arc_eager.pyx"], **ext_args),
#Extension("spacy.syntax.parser", ["spacy/syntax/parser.pyx"], **ext_args),
#Extension("spacy.syntax.parser", ["spacy/syntax/parser.pyx"], language="c++",
# include_dirs=includes),
#Extension("spacy.syntax.arc_eager", ["spacy/syntax/arc_eager.pyx"], language="c++",
# include_dirs=includes),
#Extension("spacy.syntax._state", ["spacy/syntax/_state.pyx"], language="c++",
# include_dirs=includes),
# Extension("spacy.syntax._parse_features", ["spacy/syntax/_parse_features.pyx"], language="c++",
# include_dirs=includes),
Extension("spacy.syntax._parse_features", ["spacy/syntax/_parse_features.pyx"],
**ext_args)
#Extension("spacy.pos_feats", ["spacy/pos_feats.pyx"], language="c++", include_dirs=includes),
#Extension("spacy.ner._state", ["spacy/ner/_state.pyx"], language="c++", include_dirs=includes),