Commit Graph

300 Commits

Author SHA1 Message Date
Matthew Honnibal e3f97cf938 * Fix StringIO for Python3 in tests 2015-10-13 20:39:02 +11:00
Matthew Honnibal 719221a215 * Fix StringIO for Python 3 2015-10-13 20:20:25 +11:00
Matthew Honnibal 79328e895c * Rename tests 2015-10-13 19:37:48 +11:00
Matthew Honnibal 7673e3a32c * Fix test that was failing on travis 2015-10-13 18:50:39 +11:00
Matthew Honnibal 883ff1f59e * Fix test 2015-10-13 15:58:46 +11:00
Matthew Honnibal 63df729edd * Fix test 2015-10-13 15:48:15 +11:00
Matthew Honnibal 00ae3edd3a * Fix tests 2015-10-13 15:39:52 +11:00
Matthew Honnibal f6d74b14de * Merge 2015-10-13 05:25:49 +02:00
Matthew Honnibal 59b792058d * Fix test_parse_navigate looking for test file in wrong place 2015-10-13 14:19:12 +11:00
Matthew Honnibal c1fdc487bc Merge branch 'attrs' 2015-10-13 14:03:41 +11:00
Matthew Honnibal 41cbbdefe3 Merge branch 'attrs' 2015-10-13 05:03:25 +02:00
Matthew Honnibal 404e484276 * Fix prag_sbd tests 2015-10-13 04:54:15 +02:00
Matthew Honnibal b866f1443e Merge branch 'master' of https://github.com/honnibal/spaCy into attrs 2015-10-13 04:52:27 +02:00
Matthew Honnibal 20fd36a0f7 * Very scrappy, likely buggy first-cut pickle implementation, to work on Issue #125: allow pickle for Apache Spark. The current implementation sends stuff to temp files, and does almost nothing to ensure all modifiable state is actually preserved. The Language() instance is a deep tree of extension objects, and if pickling during training, some of the C-data state is hard to preserve. 2015-10-13 13:44:41 +11:00
Matthew Honnibal f8de403483 * Work on pickling Vocab instances. The current implementation is not correct, but it may serve to see whether this approach is workable. Pickling is necessary to address Issue #125 2015-10-13 13:44:41 +11:00
Matthew Honnibal 5ca57bd859 * Ensure Morphology can be pickled, to address Issue #125. 2015-10-13 13:44:41 +11:00
Matthew Honnibal dfe0ad51ff * Add pickle test for lemmatizer 2015-10-13 13:44:41 +11:00
Matthew Honnibal 0cee928467 * Allow StringStore to be pickled, to start addressing Issue #125 2015-10-13 13:44:41 +11:00
Matthew Honnibal d70e8cac2c * Fix empty values in attributes and parts of speech, so symbols align correctly with the StringStore 2015-10-13 13:44:40 +11:00
Matthew Honnibal ce3e306376 * Allow SPACY_DATA environment variable in website tests 2015-10-13 13:44:40 +11:00
Matthew Honnibal 3b79d67462 * Fix assertion in test_basic_create 2015-10-12 00:48:18 +11:00
Matthew Honnibal afec8cac20 * Add more tests to probe mingw32 failure 2015-10-11 22:40:04 +11:00
Matthew Honnibal dba1daf597 * Add script to test loading different components 2015-10-11 19:46:53 +11:00
Matthew Honnibal cc92f3f0ed * Fix Matcher test 2015-10-11 14:59:12 +11:00
Matthew Honnibal 1f8f81f0c8 * Fix missing import 2015-10-11 14:38:21 +11:00
Matthew Honnibal 693dd06547 * Add basic, non-data dependent class creation tests, without depending on pytest. For use in debugging MS build issues, for Issue #132 2015-10-11 14:29:12 +11:00
Matthew Honnibal 20e909d2bb * Fix empty values in attributes and parts of speech, so symbols align correctly with the StringStore 2015-10-10 18:27:03 +11:00
Matthew Honnibal e18fbcb604 * Allow SPACY_DATA environment variable in website tests 2015-10-10 17:59:47 +11:00
Matthew Honnibal 08e29519a6 * Add test for how spaces are attached by the parser. 2015-10-10 16:03:13 +11:00
Matthew Honnibal 1521cf25c9 * Fix merge problem in test_parse_navigate 2015-10-10 15:04:01 +11:00
Matthew Honnibal dc393a5f1d Merge pull request #126 from tomtung/master
Improve slicing support for both Doc and Span
2015-10-10 14:14:57 +11:00
Matthew Honnibal 83dccf0fd7 * Use io module insteads of deprecated codecs module 2015-10-10 14:13:01 +11:00
Matthew Honnibal 599f739ddb * Fix smart quote lemma test 2015-10-09 20:51:28 +11:00
Matthew Honnibal 5682439d1e * Remove em dash test from test_lemmatizer, as em dashes are now handled in specials.json 2015-10-09 20:24:21 +11:00
Matthew Honnibal 1f90502ce8 * Fix website/test_home for Python 3 2015-10-09 11:08:31 +02:00
Matthew Honnibal caff4638c9 * Fix website/test_api.py for Python 3 2015-10-09 11:08:12 +02:00
Matthew Honnibal b71ba2eed5 * Add tests for unicode puncuation character lemmatization 2015-10-09 18:43:14 +11:00
Yubing (Tom) Dong 9a6811acc4 Merge remote-tracking branch 'upstream/master' 2015-10-08 22:53:02 -07:00
Matthew Honnibal 00c1992503 * Mark tests that require models 2015-10-09 14:48:14 +11:00
Matthew Honnibal dea40cfec3 * Mark tests that require models 2015-10-09 14:37:48 +11:00
Matthew Honnibal 5031440c35 * Mark tests that require models 2015-10-09 14:29:28 +11:00
Matthew Honnibal 76936a3456 * Mark tests that require models 2015-10-09 14:19:07 +11:00
Matthew Honnibal 7b340912d4 * Mark tests that require models 2015-10-09 14:09:26 +11:00
Matthew Honnibal 20b8c3e281 * Mark tests that require models 2015-10-09 13:58:01 +11:00
Matthew Honnibal 9ff288c7bb * Update tests, after removal of spacy.en.attrs 2015-10-09 13:37:25 +11:00
Yubing (Tom) Dong 97685aecb7 Add slicing support to Span 2015-10-06 02:45:49 -07:00
Yubing (Tom) Dong 5cc2f2b01a Test simple indexing for Span 2015-10-06 02:41:46 -07:00
Yubing (Tom) Dong ef2af20cd3 Make Doc's slicing behavior conform to Python conventions 2015-10-06 02:41:28 -07:00
Yubing (Tom) Dong 2fc33e8024 Allow step=1 when slicing a Doc 2015-10-06 00:57:05 -07:00
Yubing (Tom) Dong 73566899bf Add Doc slicing tests 2015-10-06 00:57:01 -07:00