Commit Graph

4863 Commits

Author SHA1 Message Date
ines
e3de035814 Add meta validation to check for required settings
Complain if no "lang", "name" or "version" is found (those settings are
used in directory / package names). Package will still build without,
but it'll inevitably fail somewhere down the line.
2017-04-16 13:13:17 +02:00
ines
a7574b7572 Add more options to read in meta data in package command
Add meta option to supply path to meta.json. If no meta path is set,
check if meta.json exists in input directory and use it. Otherwise,
prompt for details on the command line.
2017-04-16 13:06:02 +02:00
ines
13c8a42d2b Fix typos 2017-04-16 13:03:58 +02:00
ines
31fa73293a Move read_json out to own util function 2017-04-16 13:03:28 +02:00
ines
d7229967b0 Merge branch 'master' of https://github.com/explosion/spaCy 2017-04-16 12:07:04 +02:00
Matthew Honnibal
40e3024241 Move standalone NER training script into examples directory 2017-04-15 16:13:42 +02:00
Matthew Honnibal
b9c26aae11 Remove neptune refs from new train example 2017-04-15 16:13:17 +02:00
Matthew Honnibal
45464d065e Remove print statement 2017-04-15 16:11:43 +02:00
Matthew Honnibal
c76cb8af35 Fix training for new labels 2017-04-15 16:11:26 +02:00
Matthew Honnibal
c729d72fc6 Add new example for training new entity types 2017-04-15 16:11:06 +02:00
Matthew Honnibal
4884b2c113 Refix StepwiseState 2017-04-15 16:00:28 +02:00
Matthew Honnibal
ed27ca7e21 Use python -m virtualenv in fabfile 2017-04-15 15:43:38 +02:00
Matthew Honnibal
a7626bd7fd Tmp commit to example 2017-04-15 15:43:14 +02:00
Matthew Honnibal
e6ee7e130f Fix parse package meta 2017-04-15 13:38:53 +02:00
Matthew Honnibal
1a98e48b8e Fix Stepwisestate' 2017-04-15 13:35:01 +02:00
ines
0739ae7b76 Tidy up and fix formatting and imports 2017-04-15 13:05:15 +02:00
ines
fefe6684cd Fix symlink function to check for Windows 2017-04-15 12:17:27 +02:00
ines
35fb4febe2 Fix whitespace 2017-04-15 12:13:45 +02:00
ines
e1efd589c3 Fix json imports and use ujson 2017-04-15 12:13:34 +02:00
ines
958b12dec8 Use pathlib instead of os.path 2017-04-15 12:13:00 +02:00
ines
956dc36785 Move functions to deprecated 2017-04-15 12:12:31 +02:00
ines
c05ec4b89a Add compat functions and remove old workarounds
Add ensure_path util function to handle checking instance of path
2017-04-15 12:11:16 +02:00
ines
26445ee304 Add compat module for Python2/3 and platform compatibility 2017-04-15 12:07:02 +02:00
ines
d24589aa72 Clean up imports, unused code, whitespace, docstrings 2017-04-15 12:05:47 +02:00
ines
561f2a3eb4 Use consistent formatting for docstrings 2017-04-15 11:59:21 +02:00
Matthew Honnibal
d13f0a7017 Merge branch 'develop' of https://github.com/explosion/spaCy into develop 2017-04-14 23:54:57 +02:00
Matthew Honnibal
97b83c74dc WIP on training example 2017-04-14 23:54:27 +02:00
Matthew Honnibal
354458484c WIP on add_label bug during NER training
Currently when a new label is introduced to NER during training,
it causes the labels to be read in in an unexpected order. This
invalidates the model.
2017-04-14 23:52:17 +02:00
Matthew Honnibal
33ba5066eb Refactor Language.end_training, making new save_to_directory method 2017-04-14 23:51:24 +02:00
ines
28a7de8100 Merge branch 'develop' 2017-04-14 16:48:24 +02:00
ines
84341c2975 Only compile list of models if data_path exists 2017-04-14 16:48:02 +02:00
ines
b4c583a8dd Merge branch 'master' into develop 2017-04-14 16:29:04 +02:00
Ines Montani
21b33fcce1 Merge pull request #982 from oroszgy/cli_package_fix
Fixed python2 issue with the package command
2017-04-14 11:08:53 +02:00
Gyorgy Orosz
dd3244c08a Made json dump to produce unicode strings in py2 2017-04-13 23:30:47 +02:00
Ines Montani
0c73af6943 Merge pull request #980 from oroszgy/cli_model_fix
Fixed typo in `spacy model` CLI
2017-04-13 21:44:36 +02:00
Gyorgy Orosz
a9469c8173 Fixed typo 2017-04-13 15:24:14 +02:00
ines
cf558e37c3 Update adding languages docs with new commands 2017-04-13 13:52:11 +02:00
ines
41037f0f07 Remove unused imports 2017-04-13 13:52:11 +02:00
Ines Montani
cb7821e3e3 Merge pull request #979 from tsohil/patch-1
Extra brace ")" creating error
2017-04-13 13:46:12 +02:00
Sohil
328678c7e9 Extra brace ")" creating error
There is an extra closing brace `)` which is creating error while running example.
2017-04-13 17:12:28 +05:30
ines
1b92c8d5d5 Use unicode paths on Windows/Python 2 and catch other errors (resolves #970)
try/except here is quite dirty, but it'll at least make sure users see
an error message that explains what's going on
2017-04-10 17:49:51 +02:00
ines
ecfbc0b621 Update user survey badge 2017-04-10 17:49:51 +02:00
Matthew Honnibal
49e2de900e Add costs property to StepwiseState, to show which moves are gold. 2017-04-10 11:37:04 +02:00
Ines Montani
9d4624d372 Update CONTRIBUTING.md 2017-04-08 13:35:52 +02:00
Ines Montani
232cbd4f60 Update CONTRIBUTING.md 2017-04-08 13:26:48 +02:00
Matthew Honnibal
f5246831bb Add code contribution guidelines 2017-04-08 12:56:46 +02:00
ines
7b3fe42be6 Add user survey badge to landing page 2017-04-08 10:09:43 +02:00
ines
aa680e0312 Add landing badge mixin 2017-04-08 10:09:43 +02:00
ines
4da11350f6 Add user survey badge SVG 2017-04-08 10:09:43 +02:00
ines
97d6f42136 Fix SVG formatting 2017-04-08 10:09:43 +02:00