Matthew Honnibal
b13b2aeb54
Use hash_state in beam
2019-03-15 15:22:58 +01:00
Matthew Honnibal
693c8934e8
Normalize over all actions in parser, not just valid ones
2019-03-15 15:22:16 +01:00
Matthew Honnibal
b94b2b1168
Export hash_state from beam_utils
2019-03-15 15:20:28 +01:00
Matthew Honnibal
ad56641324
Fix Language.evaluate
2019-03-15 15:20:09 +01:00
Matthew Honnibal
f762c36e61
Evaluate accuracy at multiple beam widths
2019-03-15 15:19:49 +01:00
svlandeg
dc603fb85e
hash the entity name
2019-03-15 15:00:53 +01:00
Ines Montani
fa0f501165
Use dev DocSearch index
2019-03-15 14:48:38 +01:00
Ines Montani
8af7d01382
Fix general-purpose IDs
2019-03-15 14:48:26 +01:00
svlandeg
b6bac49444
documented some comments and todos
2019-03-15 11:37:24 +01:00
svlandeg
097e5f3da1
kb snippet, draft by Matt (wip)
2019-03-15 11:17:35 +01:00
Matthew Honnibal
0703f5986b
Remove hack from beam
2019-03-15 00:48:39 +01:00
Sofie
c45ed32c74
label in span not writable anymore ( #3408 )
...
* label in span not writable anymore
* more explicit unit test and error message for readonly label
* bit more explanation (view)
* error msg tailored to specific case
* fix None case
2019-03-15 00:46:45 +01:00
Ines Montani
cbcba699dd
Fix missing ids
2019-03-14 17:56:53 +01:00
Ines Montani
cffe63ea24
Fix :target padding for ids
2019-03-14 17:41:02 +01:00
Ines Montani
51b7b88acf
Generate active sidebar heading (h0) at compile time
2019-03-14 17:20:51 +01:00
Ines Montani
4ab1871a75
Add search-exclude classes
2019-03-14 16:51:29 +01:00
Ines Montani
59bbf85986
Add id to body
2019-03-14 16:51:18 +01:00
svlandeg
5f002e9ced
annotate kb_id through ents in doc
2019-03-14 16:31:46 +01:00
Ines Montani
6e07750dd8
Fix class name
2019-03-14 11:52:31 +01:00
Ines Montani
a0813b93e0
Server-side render is-active for crawler
2019-03-14 11:46:27 +01:00
Ines Montani
39ace04b55
Fix active style
2019-03-14 11:46:13 +01:00
Ines Montani
ec29e6f4c8
Merge branch 'develop' into spacy.io
2019-03-12 22:57:34 +01:00
Ines Montani
4cfe4aa224
Fix small issues in the docs [ci skip]
2019-03-12 22:57:15 +01:00
Ines Montani
ba7eb2d131
Update section [ci skip]
2019-03-12 16:18:34 +01:00
Ines Montani
cecc31b765
Don't auto-slugify accordion links [ci skip]
2019-03-12 15:30:49 +01:00
Ines Montani
b456af305b
Merge branch 'develop' into spacy.io
2019-03-12 15:22:35 +01:00
Ines Montani
8ac197d443
Merge branch 'develop' of https://github.com/explosion/spaCy into develop
2019-03-12 15:22:11 +01:00
Ines Montani
d842d5698e
Tidy up website and add eslint config [ci skip]
2019-03-12 15:21:58 +01:00
Matthew Honnibal
6aab2d8533
Set version to v2.1.0a13
2019-03-12 15:14:06 +01:00
Ines Montani
8ee6514ab8
Merge branch 'develop' of https://github.com/explosion/spaCy into develop
2019-03-12 15:11:39 +01:00
Ines Montani
479b5cff43
Auto-format [ci skip]
2019-03-12 13:35:34 +01:00
Matthew Honnibal
1179de0860
Merge branch 'develop' of https://github.com/explosion/spaCy into develop
2019-03-12 13:33:22 +01:00
Matthew Honnibal
8a4121cbc2
Fix bug introduced by component_cfg
2019-03-12 13:32:56 +01:00
Ines Montani
2912ddc9a6
Don't set extension attribute in Japanese ( closes #3398 )
2019-03-12 13:30:33 +01:00
Ines Montani
72fb324d95
Add vector training script to bin [ci skip]
2019-03-12 12:07:56 +01:00
Ines Montani
3abf0e6b9f
Replace dev-resources links with real examples
2019-03-12 12:07:40 +01:00
Ines Montani
59c0620487
Auto-format
2019-03-12 12:07:11 +01:00
Ines Montani
1664d1fa62
Update universe [ci skip]
2019-03-12 11:13:03 +01:00
Matthew Honnibal
70e5058d72
Update push-tag script
2019-03-11 22:27:10 +01:00
Matthew Honnibal
062934aa12
Set version to v2.1.0a12
2019-03-11 22:26:19 +01:00
Ines Montani
886e5966c0
Update test_displacy.py
2019-03-11 19:03:52 +01:00
Ines Montani
4bd2688eac
💫 Fix displaCy support for RTL languages ( #3393 )
...
Closes #2091 .
## Description
With the new `vocab.writing_system` property introduced in #3390 (exposed via the language defaults), I was able to finally fix this (I think!). Based on the `Doc`, dispaCy now detects whether it's a RTL or LTR language and adjusts the visualization accordingly. Wherever possible, I've also added `direction` and `lang` attributes.
Entity visualization now looks like this:
<img width="318" alt="Screenshot 2019-03-11 at 16 06 51" src="https://user-images.githubusercontent.com/13643239/54136866-d97afd80-441c-11e9-8c27-3d46994cc833.png ">
And dependencies like this (ignore the most likely incorrect tags and dependencies):
<img width="621" alt="Screenshot 2019-03-11 at 16 51 59" src="https://user-images.githubusercontent.com/13643239/54137771-8b66f980-441e-11e9-8460-0682b95eef2a.png ">
### Types of change
enhancement, bug fix
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I have submitted the spaCy Contributor Agreement.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
2019-03-11 18:52:50 +01:00
Ines Montani
b1f5f39a19
Merge branch 'master' into develop
2019-03-11 17:11:13 +01:00
Ines Montani
cdd418b93e
Auto-format [ci skip]
2019-03-11 17:10:50 +01:00
Matthew Honnibal
b0b990e405
Fix token.conjuncts ( closes #795 ) ( #3392 )
...
* Implement conjuncts method
* Add span.conjuncts property
* Un-xfail token.conjuncts tests
* Update docs for token.conjuncts and span.conjuncts
* Fix merge error in token.conjuncts
2019-03-11 17:05:45 +01:00
Matthew Honnibal
e2b9b523ce
Merge branch 'develop' of https://github.com/explosion/spaCy into develop
2019-03-11 15:59:28 +01:00
Ines Montani
47e9c274ef
Tidy up property code style ( #3391 )
...
Use decorator if properties only have a getter and existing syntax if there's getter and setter
2019-03-11 15:59:09 +01:00
Matthew Honnibal
db79a704bf
Add xfail tests for token.conjuncts
2019-03-11 15:46:52 +01:00
Ines Montani
c3df4d1108
Move displaCy tests to own file
2019-03-11 15:28:34 +01:00
Ines Montani
c5a407e95a
Fix code style
2019-03-11 15:28:22 +01:00