darindf
8227566805
Fix error ( #2802 )
...
* Fix error
ValueError: cannot resize an array that references or is referenced
by another array in this way. Use the resize function
* added spaCy Contributor Agreement
2018-09-26 21:31:03 +02:00
Matthew Honnibal
c8a2841308
Add property to get morph key on token
2018-09-26 21:04:29 +02:00
Matthew Honnibal
823cc4127a
Update morphology tests
2018-09-26 21:04:13 +02:00
Matthew Honnibal
2b8a53ebdc
Fix morphology functions
2018-09-26 21:03:57 +02:00
Matthew Honnibal
022dcda964
Fix morphology enum
2018-09-26 21:03:44 +02:00
Matthew Honnibal
6350234929
Add morphologizer pipeline component to Language
2018-09-26 21:03:20 +02:00
Matthew Honnibal
6f98313254
Fix disjunctive features in English tag map
2018-09-26 21:03:03 +02:00
Matthew Honnibal
f03640b41f
Fix morphology task in ud-train
2018-09-26 21:02:42 +02:00
Matthew Honnibal
1f9f834dc0
Fix morphologizer
2018-09-26 21:02:13 +02:00
Matthew Honnibal
3b6b018904
Fix loading of gold morphology
2018-09-26 21:01:48 +02:00
Ines Montani
5e0dfb34fa
Merge branch 'master' of https://github.com/explosion/spaCy
2018-09-26 11:13:58 +02:00
Matthew Honnibal
2be15fa7d2
Fix Python feature enum in morphology
2018-09-25 23:03:43 +02:00
Matthew Honnibal
031b0d2a3a
Build morphologizer in setup.py
2018-09-25 22:13:22 +02:00
Matthew Honnibal
a4fc397880
Add helper to parse features into field and column IDs
2018-09-25 22:13:10 +02:00
Matthew Honnibal
d0dc032842
Fill in missing morphologizer methods
2018-09-25 22:12:54 +02:00
Matthew Honnibal
53eb96db09
Fix definition of morphology model
2018-09-25 22:12:32 +02:00
Matthew Honnibal
fb0abddd9e
Call morph morphology in GoldParse
2018-09-25 21:34:53 +02:00
Matthew Honnibal
2ba10493f7
Read morphology into gold standard in ud-train
2018-09-25 21:32:24 +02:00
Matthew Honnibal
834dfb0e9d
Add morph attribute to GoldParse
2018-09-25 21:32:05 +02:00
Matthew Honnibal
d89a1a91ac
Update morphology tests
2018-09-25 21:07:48 +02:00
Matthew Honnibal
51a297f934
Fix morphology add and update
2018-09-25 21:07:08 +02:00
Matthew Honnibal
34cab8cc49
Update morphology API
2018-09-25 20:53:24 +02:00
Matthew Honnibal
9998d9b9ff
Start testing morphology class
2018-09-25 20:38:08 +02:00
Matthew Honnibal
4b7e772f5d
Implement the is_animacy_feature etc functions
2018-09-25 17:28:34 +02:00
Matthew Honnibal
6fe7c72560
Reorder morphology enum, and add begin and end markers
2018-09-25 17:28:13 +02:00
Matthew Honnibal
8308c1525e
Fix exception loading
2018-09-25 15:18:21 +02:00
Ines Montani
70f4e8adf3
Also include lowercase norm exceptions
2018-09-25 12:22:02 +02:00
Keshan
9a016d17c2
Adding basic support for Sinhala language. ( #2788 )
...
* adding Sinhala language package, stop words, examples and lex_attrs.
* Adding contributor agreement
* Updating contributor agreement
2018-09-25 12:18:25 +02:00
Pranshu Jethmalani
9fd27d777e
Fix typo ( #2795 ) [ci skip]
...
Fixed typo on line 6 "regcognizer --> recognizer"
2018-09-25 12:12:40 +02:00
Matthew Honnibal
e4d8f86d7f
Merge branch 'develop' into feature/lemmatizer
2018-09-25 11:09:22 +02:00
Matthew Honnibal
b42c123e5d
Fix regression introduced by 1759abf1e
2018-09-25 11:08:58 +02:00
Matthew Honnibal
500898907b
Fix regression in parser.begin_training()
2018-09-25 11:08:31 +02:00
Matthew Honnibal
c2357d3ba0
Fix morphologizer class
2018-09-25 10:58:13 +02:00
Matthew Honnibal
e6dde97295
Add function to make morphologizer model
2018-09-25 10:57:59 +02:00
Matthew Honnibal
be8cf39e16
Fix morphology
2018-09-25 10:57:33 +02:00
Matthew Honnibal
a3d2e616d5
Restore previous morphology stuff
2018-09-25 00:35:59 +02:00
Matthew Honnibal
3bba8e9245
Update structs
2018-09-24 23:58:08 +02:00
Matthew Honnibal
6ae645c4ef
WIP on supporting morphology features
2018-09-24 23:57:41 +02:00
Matthew Honnibal
ac5742223a
Draft class to predict morphological tags
2018-09-24 23:14:06 +02:00
Matthew Honnibal
b10d0cce05
Add MultiSoftmax class
...
Add a new class for the Tagger model, MultiSoftmax. This allows softmax
prediction of multiple classes on the same output layer, e.g. one
variable with 3 classes, another with 4 classes. This makes a layer with
7 output neurons, which we softmax into two distributions.
2018-09-24 17:35:28 +02:00
Matthew Honnibal
052c45dc2f
Add as_int and as_string methods to StringStore
2018-09-24 15:25:20 +02:00
Ines Montani
3c4e3ade30
Fix typo ( closes #2784 )
2018-09-21 10:45:11 +02:00
mauryaland
68b3c544d5
Adding French hyphenated first name ( #2786 )
2018-09-21 10:38:13 +02:00
Matthew Honnibal
1759abf1e5
Fix bug in sentence starts for non-projective parses
...
The set_children_from_heads function assumed parse trees were
projective. However, non-projective parses may be passed in during
deserialization, or after deprojectivising. This caused incorrect
sentence boundaries to be set for non-projective parses. Close #2772 .
2018-09-19 14:50:06 +02:00
Matthew Honnibal
48fd36bf05
Fix test for issue 27772
2018-09-19 14:47:27 +02:00
Matthew Honnibal
6cd920e088
Add xfail test for deprojectivization SBD bug
2018-09-19 14:00:31 +02:00
John Stewart
2d15859d2a
Fixed spaCy+Keras example ( #2763 )
...
* bug fixes in keras example
* created contributor agreement
2018-09-15 13:06:39 +02:00
Matthew Honnibal
99a6011580
Avoid adding empty layer in model, to keep models backwards compatible
2018-09-14 22:51:58 +02:00
Matthew Honnibal
c046392317
Trigger on_data hooks in parser model
2018-09-14 20:51:21 +02:00
Matthew Honnibal
5afd98dff5
Add a stepping function, for changing batch sizes or learning rates
2018-09-14 18:37:16 +02:00