Commit Graph

457 Commits

Author SHA1 Message Date
Vetea cc3aee1189 Add read() method when opening file
Add read() method for 

to avoid :
```TypeError: Argument 'string' has incorrect type (expected str, got _io.TextIOWrapper)```

Test with:
spaCy : v2.0.0 Alpha
python : 3.5.2+ (default, Sep 22 2016, 12:18:14)
2017-06-08 11:27:09 +02:00
Vetea 8e20cf6368 Update doc.jade
Just remove a duplicate 'doc ='
2017-06-08 10:35:58 +02:00
ines 6b799bac54 Fix formatting and details 2017-06-06 14:37:49 +02:00
ines fd9ae0f0e0 Update v2 comparison table 2017-06-05 16:39:11 +02:00
ines a3f9745a14 Update similarity usage guide and examples 2017-06-05 15:37:33 +02:00
ines fd35d910b8 Update v2 docs and benchmarks 2017-06-05 14:13:38 +02:00
ines 9f55c0d4f6 Add Vectors class 2017-06-05 13:33:11 +02:00
ines 040553ca59 Update architecture and features table 2017-06-05 13:33:01 +02:00
ines e204788c30 Add docs for util.load_model_from_path 2017-06-05 13:18:22 +02:00
ines efc37ea3de Update train CLI 2017-06-04 23:45:14 +02:00
ines 505d43b832 Update norms example 2017-06-04 23:33:26 +02:00
ines f8e93b6d0a Update norms example 2017-06-04 23:24:29 +02:00
ines a857b2b511 Update norms example 2017-06-04 23:21:37 +02:00
ines 47d066b293 Add under construction 2017-06-04 23:17:54 +02:00
ines e9816daa6a Add details on syntax iterators 2017-06-04 23:16:33 +02:00
ines 990cb81556 Add info on syntax iterators 2017-06-04 21:47:22 +02:00
ines e4eb33daf7 Add links to production use guide 2017-06-04 20:56:58 +02:00
ines 63cd539d04 Add more details on model packages and requirements.txt (see #1099) 2017-06-04 20:52:10 +02:00
ines 97ff83d163 Fix docs on model loading 2017-06-04 20:44:59 +02:00
ines b6002db797 Add v2 label 2017-06-04 18:53:03 +02:00
ines 468ff1a7dd Update v2 docs and add benchmarks stub 2017-06-04 15:34:28 +02:00
Matthew Honnibal 23fd6b1782 Add intro narrative for v2 2017-06-04 15:10:37 +02:00
ines 3419ecbfdd Update docs on model shortcut links 2017-06-04 13:55:00 +02:00
ines 586e901143 Add v2 intro stub 2017-06-04 13:42:37 +02:00
ines 4f8f62d9b3 Merge branch 'v2-docs-edits' into develop 2017-06-04 13:40:58 +02:00
ines 809903dcad Fix link and update wording 2017-06-04 13:29:20 +02:00
ines 22dd18c364 Remove redundant CPU commands 2017-06-04 13:29:13 +02:00
ines 1d6377218a Update architecture blurb and move other info 2017-06-04 13:28:58 +02:00
ines 7a66c9f039 Fix formatting 2017-06-04 13:14:00 +02:00
Matthew Honnibal f2c4a9f690 Edits to spacy-101 page 2017-06-04 13:10:27 +02:00
Matthew Honnibal aca53b95e1 Link architecture blurb 2017-06-04 13:10:06 +02:00
Matthew Honnibal 64ca5123bb Add Architecture 101 blurb 2017-06-04 13:09:19 +02:00
Matthew Honnibal e77ed953f4 Update GPU instructions 2017-06-04 12:03:22 +02:00
ines 1d3b012e56 Update adding languages docs and add 101 2017-06-03 23:54:23 +02:00
ines a3715a81d5 Update adding languages guide 2017-06-03 22:16:38 +02:00
ines ec6d2bc81d Add table of contents mixin 2017-06-03 22:16:26 +02:00
ines 9acf8686f7 Update note on compact mode issues 2017-06-03 13:31:16 +02:00
ines b0225183c2 Update displaCy defaults 2017-06-03 13:27:06 +02:00
ines c60431357d Port over docs typo corrections 2017-06-03 11:31:30 +02:00
ines c6dc2fafc0 Add Spanish and move example sentences to meta 2017-06-01 17:49:56 +02:00
ines 1bebc6392c Add source files to pipeline components 2017-06-01 17:38:06 +02:00
ines b577ed79ee Move social image logic out to function and move files 2017-06-01 14:27:44 +02:00
ines 5e60b09dcd Fix custom tokenizer example 2017-06-01 13:02:50 +02:00
ines 706cec6d58 Move annotation specs up 2017-06-01 13:02:43 +02:00
ines 8274dffad6 Update NER training draft 2017-06-01 12:51:36 +02:00
ines 04fac3f52a Add NER training example code 2017-06-01 12:47:47 +02:00
ines 7f5e7e7320 Fix typo 2017-06-01 12:47:36 +02:00
ines 4a927154d8 Update v2 docs 2017-06-01 11:56:32 +02:00
ines 03bbb96db8 Remove outdated examples 2017-06-01 11:56:02 +02:00
ines 789e69b73f Update training guide 2017-06-01 11:53:23 +02:00
ines 2f40d6e7e7 Add training 101 2017-06-01 11:53:16 +02:00
ines abed463bbb Update serialization 101 2017-06-01 11:52:58 +02:00
ines 72380c952a Update training section in NER guide and add links 2017-06-01 11:52:49 +02:00
ines 77dca25c7f Update Language API docs 2017-06-01 11:51:31 +02:00
ines 22b1f72870 Add spaCy 101 intro 2017-05-31 12:44:09 +02:00
ines a18b95ca12 Update docs on testing 2017-05-31 12:43:40 +02:00
ines 981196c181 Fix typo 2017-05-31 11:34:31 +02:00
ines f86289566a Update new in v2 section and add note on Matcher acceptors 2017-05-30 13:53:06 +02:00
ines ce4e45d0bb Update 101 intro 2017-05-29 22:15:06 +02:00
ines b5bfab8699 Add description 2017-05-29 15:27:16 +02:00
ines 687ed28340 Update processing pipelines guide 2017-05-29 14:21:00 +02:00
ines d5992f408f Update note on vocab consistency 2017-05-29 14:14:26 +02:00
ines 567485a818 Fix and document model loading with pipeline and overrides 2017-05-29 14:10:10 +02:00
ines a2134951f2 Update 101 and add note on pipeline order and tensors 2017-05-29 11:45:32 +02:00
ines 17b635eaab Update alpha docs note and fix typo 2017-05-29 11:09:24 +02:00
ines fbe105f1eb Add note on L in long integers in Python 2 2017-05-29 11:05:05 +02:00
ines 9d74810f6f Update examples 2017-05-29 01:09:52 +02:00
ines 42cf414138 Update Matcher example 2017-05-29 01:09:52 +02:00
ines 00b2094dc3 Fix typos, long integers and tests 2017-05-29 01:09:52 +02:00
ines d71c6db76e Add missing Chainer install for GPU if building spaCy from source 2017-05-28 23:34:59 +02:00
ines e0f9ccdaa3 Update texts and rename vectorizer to tensorizer 2017-05-28 23:26:13 +02:00
ines 606879b217 Update hash strings examples 2017-05-28 19:42:44 +02:00
ines c7b57ea314 Update docs and change integer IDs to hash values 2017-05-28 19:25:34 +02:00
ines 738b4f7187 Add quickstart options and docs for GPU 2017-05-28 19:20:11 +02:00
ines 4c00cb8c8b Update 101 and add community/FAQ and table of contents 2017-05-28 18:45:49 +02:00
ines 0ea31d1e31 Add under construction note to pipeline components 2017-05-28 18:44:07 +02:00
ines 8a148b6563 Fix code, links and formatting 2017-05-28 18:29:16 +02:00
ines 414193e9ba Update docs to reflect StringStore changes 2017-05-28 18:19:11 +02:00
ines 69bda9aed7 Update text, examples, typos, wording and formatting 2017-05-28 16:41:01 +02:00
ines f8185b8e11 Rename vocab-stringsotre to vocab 2017-05-28 16:37:14 +02:00
ines 10d05c2b92 Fix typos, wording and formatting 2017-05-28 01:30:12 +02:00
ines eb5a8be9ad Update language overview and add section on 'xx' lang class 2017-05-28 01:15:44 +02:00
ines eb703f7656 Update API docs 2017-05-28 00:32:43 +02:00
ines c1983621fb Update util functions for model loading 2017-05-28 00:22:40 +02:00
ines db116cbeda Update tokenization 101 and add illustration 2017-05-28 00:22:40 +02:00
ines b03fb2d7b0 Update 101 and usage docs 2017-05-28 00:22:40 +02:00
ines ae11c8d60f Add emoji sentiment to lightning tour matcher example 2017-05-27 20:02:20 +02:00
ines 22bf5f63bf Update Matcher docs and add social media analysis example 2017-05-27 17:58:18 +02:00
ines 0d33ead507 Fix initialisation of Doc in lightning tour example 2017-05-27 17:58:06 +02:00
ines e05bcd6aa8 Update docs to reflect flattened model meta.json
Don't use "setup" key and instead, keep "lang" on root level and add
"pipeline".
2017-05-27 17:57:46 +02:00
ines 70afcfec3e Update defaults and example 2017-05-26 14:04:31 +02:00
ines 1b982f0838 Update train command and add docs on hyperparameters 2017-05-26 14:02:38 +02:00
ines 1b9c6ded71 Update API docs and add "source" button to GH source 2017-05-26 13:40:32 +02:00
ines 93ee5c4a52 Update serialization info 2017-05-26 13:22:45 +02:00
ines f122d82f29 Update usage docs and ddd "under construction" 2017-05-26 13:17:48 +02:00
ines 286c3d0719 Update usage and 101 docs 2017-05-26 12:46:29 +02:00
ines 6d76c1ea16 Add 101 for Vocab, Lexeme and StringStore 2017-05-26 12:45:01 +02:00
ines d48530835a Update API docs and fix typos 2017-05-26 12:43:16 +02:00
ines ea9474f71c Add version tag mixin to label new features 2017-05-26 12:42:36 +02:00
ines 353f0ef8d7 Use disable argument (list) for serialization 2017-05-26 12:33:54 +02:00