Burton DeWilde
|
a5c6869b2d
|
Fix bug where span.orth_ != span.text (see #1612)
|
2017-11-20 12:05:43 -06:00 |
|
Motoki Wu
|
a52e195a0a
|
Fixes Issue #1207 where noun_chunks of Span gives an error.
Make sure to reference `self.doc` when getting the noun chunks.
Same fix as 9750a0128c
|
2017-11-17 17:16:20 -08:00 |
|
Matthew Honnibal
|
144a93c2a5
|
Back-off to tensor for similarity if no vectors
|
2017-11-03 20:56:33 +01:00 |
|
Matthew Honnibal
|
301fb2bb60
|
Implement Span.n_lefts and Span.n_rights
|
2017-11-01 13:25:12 +01:00 |
|
ines
|
d96e72f656
|
Tidy up rest
|
2017-10-27 21:07:59 +02:00 |
|
ines
|
d2df81d907
|
Fix not implemented Span getters
|
2017-10-27 18:09:28 +02:00 |
|
ines
|
544a407b93
|
Tidy up Doc, Token and Span and add missing docs
|
2017-10-27 17:07:26 +02:00 |
|
ines
|
6a0483b7aa
|
Tidy up and document Doc, Token and Span
|
2017-10-27 15:41:45 +02:00 |
|
Matthew Honnibal
|
ccd2ab1a62
|
Merge pull request #1443 from ramananbalakrishnan/develop-get-lca-matrix
Add LCA matrix for spans and docs
|
2017-10-24 11:22:46 +02:00 |
|
ines
|
a31f048b4d
|
Fix formatting
|
2017-10-23 10:38:06 +02:00 |
|
Ramanan Balakrishnan
|
d2fe56a577
|
Add LCA matrix for spans and docs
|
2017-10-20 23:58:00 +05:30 |
|
Matthew Honnibal
|
e0a9b02b67
|
Merge Span._ and Span.as_doc methods
|
2017-10-09 22:00:15 -05:00 |
|
Matthew Honnibal
|
7ae67ec6a1
|
Add Span.as_doc method
|
2017-10-08 23:50:20 +02:00 |
|
Matthew Honnibal
|
668a0ea640
|
Pass extensions into Underscore class
|
2017-10-07 18:56:01 +02:00 |
|
Matthew Honnibal
|
dea229c634
|
Fix Span.to_array method
|
2017-08-19 16:24:28 +02:00 |
|
Matthew Honnibal
|
482bba1722
|
Add Span.to_array method
|
2017-08-19 12:20:45 +02:00 |
|
Matthew Honnibal
|
7996d21717
|
Fixes for new StringStore
|
2017-05-28 11:09:27 -05:00 |
|
Matthew Honnibal
|
84e66ca6d4
|
WIP on stringstore change. 27 failures
|
2017-05-28 14:06:40 +02:00 |
|
ines
|
62ceec4fc6
|
Update docstrings and API docs for Span
|
2017-05-19 18:47:46 +02:00 |
|
ines
|
0791f0aae6
|
Update docstrings and API docs for Span class
|
2017-05-19 00:31:31 +02:00 |
|
ines
|
593361ee3c
|
Update docstrings for Span class
|
2017-05-18 22:17:41 +02:00 |
|
ines
|
9d85cda8e4
|
Fix models error message and use about.__docs_models__ (see #1051)
|
2017-05-13 13:05:47 +02:00 |
|
Matthew Honnibal
|
4d98511db7
|
Make Span hashable. Closes #1019
|
2017-04-26 19:01:05 +02:00 |
|
ines
|
0739ae7b76
|
Tidy up and fix formatting and imports
|
2017-04-15 13:05:15 +02:00 |
|
ines
|
3b667a24d4
|
Remove whitespace
|
2017-04-01 10:21:08 +02:00 |
|
ines
|
e71a1f4bd0
|
Fix download commands in error messages (see #946)
|
2017-04-01 10:20:57 +02:00 |
|
Em
|
9c809efc25
|
Removed mapStr
|
2017-03-11 16:23:26 -08:00 |
|
Em
|
426d17167f
|
Added string manipulation for spans
|
2017-03-10 16:50:02 -08:00 |
|
Matthew Honnibal
|
f6e356aada
|
Add (and test) Span.sentiment attribute. By default we average token.span, but can override with custom hook. Re Issue #667
|
2016-12-02 11:05:50 +01:00 |
|
Pokey Rule
|
3e3bda142d
|
Add noun_chunks to Span
|
2016-11-24 10:47:20 +00:00 |
|
tiago
|
b38cfd0ef9
|
now span.merge returns token like it says on documentation
|
2016-11-09 14:58:19 +00:00 |
|
Matthew Honnibal
|
8c4d1b46ce
|
Fix variable error in Span
|
2016-11-01 13:27:44 +01:00 |
|
Matthew Honnibal
|
b86f8af0c1
|
Fix doc strings
|
2016-11-01 12:25:36 +01:00 |
|
Matthew Honnibal
|
2c3a67b693
|
Fix calculation of vector norm, re Issue #522. Need to consolidate the calculations into a helper function.
|
2016-10-23 14:49:31 +02:00 |
|
Matthew Honnibal
|
e80944276f
|
Fix Span.vector_norm
|
2016-10-20 21:58:56 +02:00 |
|
Matthew Honnibal
|
5d5742b773
|
Add sentiment field to doc, rename getters_for_tokens and getters_for_spans, add user_hooks field to Doc.
|
2016-10-19 20:54:22 +02:00 |
|
Matthew Honnibal
|
b67697a97b
|
Improve API for doc.merge() and span.merge(), to use keyword arguments.
|
2016-10-17 14:02:13 +02:00 |
|
Matthew Honnibal
|
d15a88c66a
|
Defer some attributes to Doc via getters_for_spans
|
2016-10-17 02:43:35 +02:00 |
|
Matthew Honnibal
|
e48df859b5
|
Fix typedef import in span.pyx
|
2016-09-23 16:02:28 +02:00 |
|
Matthew Honnibal
|
58e83fe34b
|
Initial, limited support for quantified patterns in Matcher, and tracking of ent_id attribute in Token and Span. The quantifiers need a lot more testing, and there are some known problems. The main known problem is that the zero-plus and one-plus quantifiers won't work if a token can match both the quantified pattern expression AND the tail of the match.
|
2016-09-21 14:54:55 +02:00 |
|
Matthew Honnibal
|
5d86c30f0b
|
* Fix Issue #367: Missing has_vector property on Doc and Span objects
|
2016-05-09 12:36:14 +02:00 |
|
Matthew Honnibal
|
8c0888d6cb
|
* Fix error in span.sent
|
2016-05-06 00:28:05 +02:00 |
|
Matthew Honnibal
|
26095f9722
|
* Add span.sent property, re Issue #366
|
2016-05-06 00:17:38 +02:00 |
|
Matthew Honnibal
|
e66d45bf66
|
* Restore previous patch to Span.root, as it seems it wasn't the cause of the problem.
|
2016-02-06 13:37:41 +01:00 |
|
Matthew Honnibal
|
031b00cb91
|
* Fix Span.root calculation
|
2016-02-05 20:12:09 +01:00 |
|
Matthew Honnibal
|
e5c447e237
|
* Questionable fix to problem in Span.root
|
2016-02-05 19:18:35 +01:00 |
|
Matthew Honnibal
|
6aa92b70f1
|
* Fix merge problem in span
|
2016-02-05 12:46:11 +01:00 |
|
Matthew Honnibal
|
4cbad510ff
|
* Fix calculation of head for spans with punctuation.
|
2016-02-03 02:32:21 +01:00 |
|
Matthew Honnibal
|
87172a15c6
|
* Fix runtime error bug that arose from updated Span.root function.
|
2016-01-25 15:22:42 +01:00 |
|
Matthew Honnibal
|
334c4b2b57
|
* Disprefer punctuation and spaces as heads of spans
|
2016-01-18 18:14:09 +01:00 |
|