forked from nltk/nltk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nosetests_scrubbed.xml
1254 lines (1189 loc) · 182 KB
/
nosetests_scrubbed.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?><testsuite name="nosetests" tests="426" errors="4" failures="7" skip="20"><testcase classname="nose.failure.Failure" name="runTest" time="0.000"><error type="builtins.RuntimeError" message="Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are Working with Matplotlib in a virtual enviroment see 'Working with Matplotlib in Virtual environments' in the Matplotlib FAQ"><![CDATA[Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 600, in run
testMethod()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/imp.py", line 244, in load_module
return load_package(name, filename)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/imp.py", line 216, in load_package
return _load(spec)
File "<frozen importlib._bootstrap>", line 693, in _load
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 662, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/Users/adamn1/dev/nltk/nltk/app/__init__.py", line 42, in <module>
from matplotlib import pylab
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/matplotlib/pylab.py", line 274, in <module>
from matplotlib.pyplot import *
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/matplotlib/pyplot.py", line 114, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setup
globals(),locals(),[backend_name],0)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/matplotlib/backends/backend_macosx.py", line 24, in <module>
from matplotlib.backends import _macosx
RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are Working with Matplotlib in a virtual enviroment see 'Working with Matplotlib in Virtual environments' in the Matplotlib FAQ
]]></error></testcase><testcase classname="nltk.chunk.regexp.RegexpChunkRule" name="fromstring" time="0.012"></testcase><testcase classname="nltk.chunk.util" name="ChunkScore" time="0.001"></testcase><testcase classname="nltk.classify" name="megam" time="0.001"></testcase><testcase classname="nltk.classify" name="positivenaivebayes" time="0.003"></testcase><testcase classname="nltk.classify" name="scikitlearn" time="0.004"></testcase><testcase classname="nltk.classify" name="senna" time="0.368"></testcase><testcase classname="nltk" name="classify" time="0.002"></testcase><testcase classname="nltk.collections" name="LazyEnumerate" time="0.001"></testcase><testcase classname="nltk.collections" name="LazyMap" time="0.001"></testcase><testcase classname="nltk.collections" name="LazyZip" time="0.001"></testcase><testcase classname="nltk.collections.Trie" name="as_dict" time="0.001"></testcase><testcase classname="nltk.collections.Trie" name="insert" time="0.001"></testcase><testcase classname="nltk.corpus.reader.aligned.AlignedCorpusReader" name="__init__" time="0.001"></testcase><testcase classname="nltk.corpus.reader.categorized_sents" name="CategorizedSentencesCorpusReader" time="0.007"></testcase><testcase classname="nltk.corpus.reader.comparative_sents" name="ComparativeSentencesCorpusReader" time="0.151"></testcase><testcase classname="nltk.corpus.reader.framenet" name="AttrDict" time="0.002"></testcase><testcase classname="nltk.corpus.reader.framenet" name="FramenetCorpusReader" time="1.813"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="documents" time="0.006"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="fe_relations" time="0.189"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="fes" time="5.573"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="frame" time="0.003"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="frame_by_id" time="0.002"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="frame_by_name" time="0.002"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="frame_relation_types" time="0.002"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="frame_relations" time="0.020"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="frames" time="0.005"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="frames_by_lemma" time="0.023"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="lu" time="0.002"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="lu_basic" time="0.001"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="lus" time="0.044"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="propagate_semtypes" time="2.162"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="semtype" time="0.002"></testcase><testcase classname="nltk.corpus.reader.framenet.FramenetCorpusReader" name="semtypes" time="0.002"></testcase><testcase classname="nltk.corpus.reader.knbc" name="KNBCorpusReader" time="0.300"></testcase><testcase classname="nltk.corpus.reader.mte.MTECorpusReader" name="__init__" time="0.002"></testcase><testcase classname="nltk.corpus.reader.opinion_lexicon" name="OpinionLexiconCorpusReader" time="0.083"></testcase><testcase classname="nltk.corpus.reader.plaintext.PlaintextCorpusReader" name="__init__" time="0.001"></testcase><testcase classname="nltk.corpus.reader.pros_cons" name="ProsConsCorpusReader" time="0.004"></testcase><testcase classname="nltk.corpus.reader.reviews" name="ReviewsCorpusReader" time="0.182"></testcase><testcase classname="nltk.corpus.reader" name="sentiwordnet" time="0.016"></testcase><testcase classname="nltk.corpus.reader.tagged.TaggedCorpusReader" name="__init__" time="0.002"></testcase><testcase classname="nltk.corpus.reader" name="timit" time="0.001"></testcase><testcase classname="nltk.corpus.reader.util" name="PickleCorpusView" time="0.001"></testcase><testcase classname="nltk.corpus.reader.util" name="StreamBackedCorpusView" time="0.001"></testcase><testcase classname="nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader" name="words" time="0.004"><failure type="builtins.AssertionError" message="Failed doctest test for nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader.words File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 58, in words ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 64, in nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader.words Failed example: nbp.words('en')[:10] == [u'A', u'B', u'C', u'D', u'E', u'F', u'G', u'H', u'I', u'J'] Exception raised: Traceback (most recent call last): File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name)) File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource 'corpora/nonbreaking_prefixes.zip/nonbreaking_prefixes/' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader.words[1]>", line 1, in <module> nbp.words('en')[:10] == [u'A', u'B', u'C', u'D', u'E', u'F', u'G', u'H', u'I', u'J'] File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__ self.__load() File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load except LookupError: raise e File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load root = nltk.data.find('{}/{}'.format(self.subdir, self.__name)) File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource 'corpora/nonbreaking_prefixes' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 66, in nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader.words Failed example: nbp.words('ta')[:5] == [u'அ', u'ஆ', u'இ', u'ஈ', u'உ'] Exception raised: Traceback (most recent call last): File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name)) File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource 'corpora/nonbreaking_prefixes.zip/nonbreaking_prefixes/' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader.words[2]>", line 1, in <module> nbp.words('ta')[:5] == [u'அ', u'ஆ', u'இ', u'ஈ', u'உ'] File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__ self.__load() File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load except LookupError: raise e File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load root = nltk.data.find('{}/{}'.format(self.subdir, self.__name)) File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource 'corpora/nonbreaking_prefixes' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** "><![CDATA[Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 600, in run
testMethod()
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader.words
File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 58, in words
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 64, in nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader.words
Failed example:
nbp.words('en')[:10] == [u'A', u'B', u'C', u'D', u'E', u'F', u'G', u'H', u'I', u'J']
Exception raised:
Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load
try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource
'corpora/nonbreaking_prefixes.zip/nonbreaking_prefixes/' not
found. Please use the NLTK Downloader to obtain the resource:
>>> nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader.words[1]>", line 1, in <module>
nbp.words('en')[:10] == [u'A', u'B', u'C', u'D', u'E', u'F', u'G', u'H', u'I', u'J']
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__
self.__load()
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load
except LookupError: raise e
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load
root = nltk.data.find('{}/{}'.format(self.subdir, self.__name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'corpora/nonbreaking_prefixes' not found. Please use
the NLTK Downloader to obtain the resource: >>> nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 66, in nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader.words
Failed example:
nbp.words('ta')[:5] == [u'அ', u'ஆ', u'இ', u'ஈ', u'உ']
Exception raised:
Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load
try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource
'corpora/nonbreaking_prefixes.zip/nonbreaking_prefixes/' not
found. Please use the NLTK Downloader to obtain the resource:
>>> nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.corpus.reader.wordlist.NonbreakingPrefixesCorpusReader.words[2]>", line 1, in <module>
nbp.words('ta')[:5] == [u'அ', u'ஆ', u'இ', u'ஈ', u'உ']
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__
self.__load()
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load
except LookupError: raise e
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load
root = nltk.data.find('{}/{}'.format(self.subdir, self.__name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'corpora/nonbreaking_prefixes' not found. Please use
the NLTK Downloader to obtain the resource: >>> nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
]]></failure></testcase><testcase classname="nltk.corpus.reader.wordlist.UnicharsCorpusReader" name="chars" time="0.005"><failure type="builtins.AssertionError" message="Failed doctest test for nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 92, in chars ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 98, in nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars Failed example: pup.chars('Open_Punctuation')[:5] == [u'(', u'[', u'{', u'༺', u'༼'] Exception raised: Traceback (most recent call last): File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name)) File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource 'misc/perluniprops.zip/perluniprops/' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars[1]>", line 1, in <module> pup.chars('Open_Punctuation')[:5] == [u'(', u'[', u'{', u'༺', u'༼'] File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__ self.__load() File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load except LookupError: raise e File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load root = nltk.data.find('{}/{}'.format(self.subdir, self.__name)) File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource 'misc/perluniprops' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 100, in nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars Failed example: pup.chars('Currency_Symbol')[:5] == [u'$', u'¢', u'£', u'¤', u'¥'] Exception raised: Traceback (most recent call last): File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name)) File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource 'misc/perluniprops.zip/perluniprops/' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars[2]>", line 1, in <module> pup.chars('Currency_Symbol')[:5] == [u'$', u'¢', u'£', u'¤', u'¥'] File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__ self.__load() File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load except LookupError: raise e File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load root = nltk.data.find('{}/{}'.format(self.subdir, self.__name)) File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource 'misc/perluniprops' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 102, in nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars Failed example: pup.available_categories Exception raised: Traceback (most recent call last): File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name)) File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource 'misc/perluniprops.zip/perluniprops/' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars[3]>", line 1, in <module> pup.available_categories File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__ self.__load() File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load except LookupError: raise e File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load root = nltk.data.find('{}/{}'.format(self.subdir, self.__name)) File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource 'misc/perluniprops' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** "><![CDATA[Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 600, in run
testMethod()
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars
File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 92, in chars
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 98, in nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars
Failed example:
pup.chars('Open_Punctuation')[:5] == [u'(', u'[', u'{', u'༺', u'༼']
Exception raised:
Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load
try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'misc/perluniprops.zip/perluniprops/' not found.
Please use the NLTK Downloader to obtain the resource: >>>
nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars[1]>", line 1, in <module>
pup.chars('Open_Punctuation')[:5] == [u'(', u'[', u'{', u'༺', u'༼']
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__
self.__load()
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load
except LookupError: raise e
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load
root = nltk.data.find('{}/{}'.format(self.subdir, self.__name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'misc/perluniprops' not found. Please use the NLTK
Downloader to obtain the resource: >>> nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 100, in nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars
Failed example:
pup.chars('Currency_Symbol')[:5] == [u'$', u'¢', u'£', u'¤', u'¥']
Exception raised:
Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load
try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'misc/perluniprops.zip/perluniprops/' not found.
Please use the NLTK Downloader to obtain the resource: >>>
nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars[2]>", line 1, in <module>
pup.chars('Currency_Symbol')[:5] == [u'$', u'¢', u'£', u'¤', u'¥']
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__
self.__load()
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load
except LookupError: raise e
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load
root = nltk.data.find('{}/{}'.format(self.subdir, self.__name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'misc/perluniprops' not found. Please use the NLTK
Downloader to obtain the resource: >>> nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/corpus/reader/wordlist.py", line 102, in nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars
Failed example:
pup.available_categories
Exception raised:
Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load
try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'misc/perluniprops.zip/perluniprops/' not found.
Please use the NLTK Downloader to obtain the resource: >>>
nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.corpus.reader.wordlist.UnicharsCorpusReader.chars[3]>", line 1, in <module>
pup.available_categories
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__
self.__load()
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load
except LookupError: raise e
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load
root = nltk.data.find('{}/{}'.format(self.subdir, self.__name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'misc/perluniprops' not found. Please use the NLTK
Downloader to obtain the resource: >>> nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
]]></failure></testcase><testcase classname="nltk.corpus.reader.wordnet.Synset" name="closure" time="0.008"></testcase><testcase classname="nltk.corpus.reader.wordnet.Synset" name="tree" time="0.003"></testcase><testcase classname="nltk.corpus.reader.wordnet.WordNetCorpusReader" name="morphy" time="0.002"></testcase><testcase classname="nltk.corpus" name="reader" time="6.285"></testcase><testcase classname="nose.failure.Failure" name="runTest" time="0.000"><error type="builtins.LookupError" message=" ********************************************************************** Resource 'corpora/nonbreaking_prefixes' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' **********************************************************************"><![CDATA[Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load
try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource
'corpora/nonbreaking_prefixes.zip/nonbreaking_prefixes/' not
found. Please use the NLTK Downloader to obtain the resource:
>>> nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 600, in run
testMethod()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/plugins/manager.py", line 154, in generate
for r in result:
File "/Users/adamn1/dev/nltk/nltk/test/doctest_nose_plugin.py", line 106, in loadTestsFromModule
for suite in super(DoctestPluginHelper, self).loadTestsFromModule(module):
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/plugins/doctests.py", line 228, in loadTestsFromModule
tests = self.finder.find(module)
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 923, in find
self._find(tests, obj, name, module, source_lines, globs, {})
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 982, in _find
if ((inspect.isroutine(inspect.unwrap(val))
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/inspect.py", line 471, in unwrap
while _is_wrapper(func):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/inspect.py", line 465, in _is_wrapper
return hasattr(f, '__wrapped__')
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__
self.__load()
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load
except LookupError: raise e
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load
root = nltk.data.find('{}/{}'.format(self.subdir, self.__name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'corpora/nonbreaking_prefixes' not found. Please use
the NLTK Downloader to obtain the resource: >>> nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
]]></error></testcase><testcase classname="nltk.data" name="normalize_resource_name" time="0.002"></testcase><testcase classname="nltk.data" name="normalize_resource_url" time="0.002"></testcase><testcase classname="nltk.data" name="split_resource_url" time="0.002"></testcase><testcase classname="nltk.decorators" name="decorator" time="0.002"></testcase><testcase classname="nltk.decorators" name="getinfo" time="0.001"></testcase><testcase classname="nltk" name="downloader" time="0.001"></testcase><testcase classname="<nose.suite.ContextSuite context=nltk" name="draw>:setup" time="0.001"><skipped type="unittest.case.SkipTest" message="nltk.draw examples are not doctests"><![CDATA[Traceback (most recent call last):
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 210, in run
self.setUp()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 293, in setUp
self.setupContext(ancestor)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 316, in setupContext
try_run(context, names)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/util.py", line 469, in try_run
return func(obj)
File "/Users/adamn1/dev/nltk/nltk/draw/__init__.py", line 28, in setup_module
raise SkipTest("nltk.draw examples are not doctests")
unittest.case.SkipTest: nltk.draw examples are not doctests
]]></skipped></testcase><testcase classname="nltk" name="featstruct" time="0.002"></testcase><testcase classname="nltk.featstruct" name="rename_variables" time="0.003"></testcase><testcase classname="nltk.featstruct" name="unify" time="0.002"></testcase><testcase classname="nltk.internals" name="Deprecated" time="0.001"></testcase><testcase classname="nltk.internals.ElementWrapper" name="__init__" time="0.001"></testcase><testcase classname="nltk.internals" name="deprecated" time="0.002"></testcase><testcase classname="nltk.internals" name="overridden" time="0.002"></testcase><testcase classname="nltk.internals" name="read_int" time="0.001"></testcase><testcase classname="nltk.internals" name="read_number" time="0.001"></testcase><testcase classname="nltk.internals" name="read_str" time="0.001"></testcase><testcase classname="nltk.metrics" name="agreement" time="0.028"></testcase><testcase classname="nltk.metrics" name="aline" time="0.003"></testcase><testcase classname="nltk.metrics.association.TrigramAssocMeasures" name="_contingency" time="0.001"></testcase><testcase classname="nltk.metrics.association.TrigramAssocMeasures" name="_marginals" time="0.001"></testcase><testcase classname="nltk.metrics.confusionmatrix" name="ConfusionMatrix" time="0.002"></testcase><testcase classname="nltk.metrics.distance" name="binary_distance" time="0.002"></testcase><testcase classname="nltk.metrics.distance" name="interval_distance" time="0.001"></testcase><testcase classname="nltk.metrics.distance" name="masi_distance" time="0.001"></testcase><testcase classname="nltk.metrics.segmentation" name="ghd" time="0.002"></testcase><testcase classname="nltk.metrics.segmentation" name="pk" time="0.003"></testcase><testcase classname="nltk.metrics.segmentation" name="windowdiff" time="0.001"></testcase><testcase classname="nltk.parse.evaluate" name="DependencyEvaluator" time="0.002"></testcase><testcase classname="nltk.parse.malt" name="MaltParser" time="0.001"></testcase><testcase classname="nltk.parse.nonprojectivedependencyparser" name="NaiveBayesDependencyScorer" time="0.032"></testcase><testcase classname="nltk.parse.nonprojectivedependencyparser" name="ProbabilisticNonprojectiveParser" time="0.013"></testcase><testcase classname="nltk.parse.projectivedependencyparser" name="ProbabilisticProjectiveDependencyParser" time="0.007"></testcase><testcase classname="nltk.parse.stanford" name="StanfordDependencyParser" time="0.683"><failure type="builtins.AssertionError" message="Failed doctest test for nltk.parse.stanford.StanfordDependencyParser File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 287, in StanfordDependencyParser ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 293, in nltk.parse.stanford.StanfordDependencyParser Failed example: [parse.tree() for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordDependencyParser[1]>", line 1, in <module> [parse.tree() for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 132, in raw_parse return next(self.raw_parse_sents([sentence], verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll2007', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmpqjej6_22'] ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 296, in nltk.parse.stanford.StanfordDependencyParser Failed example: [list(parse.triples()) for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordDependencyParser[2]>", line 1, in <module> [list(parse.triples()) for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 132, in raw_parse return next(self.raw_parse_sents([sentence], verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll2007', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmp8d5tlmgd'] ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 302, in nltk.parse.stanford.StanfordDependencyParser Failed example: sum([[parse.tree() for parse in dep_graphs] for dep_graphs in dep_parser.raw_parse_sents(( "The quick brown fox jumps over the lazy dog.", "The quick grey wolf jumps over the lazy fox." ))], []) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordDependencyParser[3]>", line 3, in <module> "The quick grey wolf jumps over the lazy fox." File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll2007', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmpqsklu2im'] ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 309, in nltk.parse.stanford.StanfordDependencyParser Failed example: sum([[parse.tree() for parse in dep_graphs] for dep_graphs in dep_parser.parse_sents(( "I 'm a dog".split(), "This is my friends ' cat ( the tabby )".split(), ))], []) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordDependencyParser[4]>", line 3, in <module> "This is my friends ' cat ( the tabby )".split(), File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 120, in parse_sents cmd, '\n'.join(' '.join(sentence) for sentence in sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll2007', '-tokenized', '-escaper', 'edu.stanford.nlp.process.PTBEscapingProcessor', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmpxi52sjpf'] ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 315, in nltk.parse.stanford.StanfordDependencyParser Failed example: sum([[list(parse.triples()) for parse in dep_graphs] for dep_graphs in dep_parser.tagged_parse_sents(( ( ("The", "DT"), ("quick", "JJ"), ("brown", "JJ"), ("fox", "NN"), ("jumped", "VBD"), ("over", "IN"), ("the", "DT"), ("lazy", "JJ"), ("dog", "NN"), (".", "."), ), ))],[]) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordDependencyParser[5]>", line 12, in <module> (".", "."), File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 187, in tagged_parse_sents cmd, '\n'.join(' '.join(tag_separator.join(tagged) for tagged in sentence) for sentence in sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll2007', '-tokenized', '-tagSeparator', '/', '-tokenizerFactory', 'edu.stanford.nlp.process.WhitespaceTokenizer', '-tokenizerMethod', 'newCoreLabelTokenizerFactory', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmp7kd_p53c'] "><![CDATA[Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 600, in run
testMethod()
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for nltk.parse.stanford.StanfordDependencyParser
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 287, in StanfordDependencyParser
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 293, in nltk.parse.stanford.StanfordDependencyParser
Failed example:
[parse.tree() for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordDependencyParser[1]>", line 1, in <module>
[parse.tree() for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 132, in raw_parse
return next(self.raw_parse_sents([sentence], verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents
return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute
stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll2007', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmpqjej6_22']
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 296, in nltk.parse.stanford.StanfordDependencyParser
Failed example:
[list(parse.triples()) for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordDependencyParser[2]>", line 1, in <module>
[list(parse.triples()) for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 132, in raw_parse
return next(self.raw_parse_sents([sentence], verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents
return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute
stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll2007', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmp8d5tlmgd']
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 302, in nltk.parse.stanford.StanfordDependencyParser
Failed example:
sum([[parse.tree() for parse in dep_graphs] for dep_graphs in dep_parser.raw_parse_sents((
"The quick brown fox jumps over the lazy dog.",
"The quick grey wolf jumps over the lazy fox."
))], []) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordDependencyParser[3]>", line 3, in <module>
"The quick grey wolf jumps over the lazy fox."
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents
return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute
stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll2007', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmpqsklu2im']
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 309, in nltk.parse.stanford.StanfordDependencyParser
Failed example:
sum([[parse.tree() for parse in dep_graphs] for dep_graphs in dep_parser.parse_sents((
"I 'm a dog".split(),
"This is my friends ' cat ( the tabby )".split(),
))], []) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordDependencyParser[4]>", line 3, in <module>
"This is my friends ' cat ( the tabby )".split(),
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 120, in parse_sents
cmd, '\n'.join(' '.join(sentence) for sentence in sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute
stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll2007', '-tokenized', '-escaper', 'edu.stanford.nlp.process.PTBEscapingProcessor', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmpxi52sjpf']
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 315, in nltk.parse.stanford.StanfordDependencyParser
Failed example:
sum([[list(parse.triples()) for parse in dep_graphs] for dep_graphs in dep_parser.tagged_parse_sents((
(
("The", "DT"),
("quick", "JJ"),
("brown", "JJ"),
("fox", "NN"),
("jumped", "VBD"),
("over", "IN"),
("the", "DT"),
("lazy", "JJ"),
("dog", "NN"),
(".", "."),
),
))],[]) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordDependencyParser[5]>", line 12, in <module>
(".", "."),
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 187, in tagged_parse_sents
cmd, '\n'.join(' '.join(tag_separator.join(tagged) for tagged in sentence) for sentence in sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute
stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll2007', '-tokenized', '-tagSeparator', '/', '-tokenizerFactory', 'edu.stanford.nlp.process.WhitespaceTokenizer', '-tokenizerMethod', 'newCoreLabelTokenizerFactory', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmp7kd_p53c']
]]></failure></testcase><testcase classname="nltk.parse.stanford" name="StanfordNeuralDependencyParser" time="0.416"><failure type="builtins.AssertionError" message="Failed doctest test for nltk.parse.stanford.StanfordNeuralDependencyParser File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 342, in StanfordNeuralDependencyParser ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 347, in nltk.parse.stanford.StanfordNeuralDependencyParser Failed example: [parse.tree() for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordNeuralDependencyParser[2]>", line 1, in <module> [parse.tree() for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 132, in raw_parse return next(self.raw_parse_sents([sentence], verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 212, in _execute stdin=input_file, stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/ejml-0.23.jar:/Users/adamn1/third/stanford-corenlp/javax.json-api-1.0-sources.jar:/Users/adamn1/third/stanford-corenlp/javax.json.jar:/Users/adamn1/third/stanford-corenlp/joda-time-2.1-sources.jar:/Users/adamn1/third/stanford-corenlp/joda-time.jar:/Users/adamn1/third/stanford-corenlp/jollyday-0.4.7-sources.jar:/Users/adamn1/third/stanford-corenlp/jollyday.jar:/Users/adamn1/third/stanford-corenlp/protobuf.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-javadoc.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-sources.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2.jar:/Users/adamn1/third/stanford-corenlp/xom-1.2.10-src.jar:/Users/adamn1/third/stanford-corenlp/xom.jar', 'edu.stanford.nlp.pipeline.StanfordCoreNLP', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll', '-encoding', 'utf8', '-annotators tokenize,ssplit,pos,depparse'] ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 350, in nltk.parse.stanford.StanfordNeuralDependencyParser Failed example: [list(parse.triples()) for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordNeuralDependencyParser[3]>", line 1, in <module> [list(parse.triples()) for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 132, in raw_parse return next(self.raw_parse_sents([sentence], verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 212, in _execute stdin=input_file, stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/ejml-0.23.jar:/Users/adamn1/third/stanford-corenlp/javax.json-api-1.0-sources.jar:/Users/adamn1/third/stanford-corenlp/javax.json.jar:/Users/adamn1/third/stanford-corenlp/joda-time-2.1-sources.jar:/Users/adamn1/third/stanford-corenlp/joda-time.jar:/Users/adamn1/third/stanford-corenlp/jollyday-0.4.7-sources.jar:/Users/adamn1/third/stanford-corenlp/jollyday.jar:/Users/adamn1/third/stanford-corenlp/protobuf.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-javadoc.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-sources.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2.jar:/Users/adamn1/third/stanford-corenlp/xom-1.2.10-src.jar:/Users/adamn1/third/stanford-corenlp/xom.jar', 'edu.stanford.nlp.pipeline.StanfordCoreNLP', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll', '-encoding', 'utf8', '-annotators tokenize,ssplit,pos,depparse'] ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 356, in nltk.parse.stanford.StanfordNeuralDependencyParser Failed example: sum([[parse.tree() for parse in dep_graphs] for dep_graphs in dep_parser.raw_parse_sents(( "The quick brown fox jumps over the lazy dog.", "The quick grey wolf jumps over the lazy fox." ))], []) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordNeuralDependencyParser[4]>", line 3, in <module> "The quick grey wolf jumps over the lazy fox." File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 212, in _execute stdin=input_file, stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/ejml-0.23.jar:/Users/adamn1/third/stanford-corenlp/javax.json-api-1.0-sources.jar:/Users/adamn1/third/stanford-corenlp/javax.json.jar:/Users/adamn1/third/stanford-corenlp/joda-time-2.1-sources.jar:/Users/adamn1/third/stanford-corenlp/joda-time.jar:/Users/adamn1/third/stanford-corenlp/jollyday-0.4.7-sources.jar:/Users/adamn1/third/stanford-corenlp/jollyday.jar:/Users/adamn1/third/stanford-corenlp/protobuf.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-javadoc.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-sources.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2.jar:/Users/adamn1/third/stanford-corenlp/xom-1.2.10-src.jar:/Users/adamn1/third/stanford-corenlp/xom.jar', 'edu.stanford.nlp.pipeline.StanfordCoreNLP', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll', '-encoding', 'utf8', '-annotators tokenize,ssplit,pos,depparse'] ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 363, in nltk.parse.stanford.StanfordNeuralDependencyParser Failed example: sum([[parse.tree() for parse in dep_graphs] for dep_graphs in dep_parser.parse_sents(( "I 'm a dog".split(), "This is my friends ' cat ( the tabby )".split(), ))], []) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordNeuralDependencyParser[5]>", line 3, in <module> "This is my friends ' cat ( the tabby )".split(), File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 120, in parse_sents cmd, '\n'.join(' '.join(sentence) for sentence in sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 212, in _execute stdin=input_file, stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/ejml-0.23.jar:/Users/adamn1/third/stanford-corenlp/javax.json-api-1.0-sources.jar:/Users/adamn1/third/stanford-corenlp/javax.json.jar:/Users/adamn1/third/stanford-corenlp/joda-time-2.1-sources.jar:/Users/adamn1/third/stanford-corenlp/joda-time.jar:/Users/adamn1/third/stanford-corenlp/jollyday-0.4.7-sources.jar:/Users/adamn1/third/stanford-corenlp/jollyday.jar:/Users/adamn1/third/stanford-corenlp/protobuf.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-javadoc.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-sources.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2.jar:/Users/adamn1/third/stanford-corenlp/xom-1.2.10-src.jar:/Users/adamn1/third/stanford-corenlp/xom.jar', 'edu.stanford.nlp.pipeline.StanfordCoreNLP', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll', '-tokenized', '-escaper', 'edu.stanford.nlp.process.PTBEscapingProcessor', '-encoding', 'utf8', '-annotators tokenize,ssplit,pos,depparse'] "><![CDATA[Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 600, in run
testMethod()
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for nltk.parse.stanford.StanfordNeuralDependencyParser
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 342, in StanfordNeuralDependencyParser
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 347, in nltk.parse.stanford.StanfordNeuralDependencyParser
Failed example:
[parse.tree() for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordNeuralDependencyParser[2]>", line 1, in <module>
[parse.tree() for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 132, in raw_parse
return next(self.raw_parse_sents([sentence], verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents
return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 212, in _execute
stdin=input_file, stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/ejml-0.23.jar:/Users/adamn1/third/stanford-corenlp/javax.json-api-1.0-sources.jar:/Users/adamn1/third/stanford-corenlp/javax.json.jar:/Users/adamn1/third/stanford-corenlp/joda-time-2.1-sources.jar:/Users/adamn1/third/stanford-corenlp/joda-time.jar:/Users/adamn1/third/stanford-corenlp/jollyday-0.4.7-sources.jar:/Users/adamn1/third/stanford-corenlp/jollyday.jar:/Users/adamn1/third/stanford-corenlp/protobuf.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-javadoc.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-sources.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2.jar:/Users/adamn1/third/stanford-corenlp/xom-1.2.10-src.jar:/Users/adamn1/third/stanford-corenlp/xom.jar', 'edu.stanford.nlp.pipeline.StanfordCoreNLP', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll', '-encoding', 'utf8', '-annotators tokenize,ssplit,pos,depparse']
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 350, in nltk.parse.stanford.StanfordNeuralDependencyParser
Failed example:
[list(parse.triples()) for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordNeuralDependencyParser[3]>", line 1, in <module>
[list(parse.triples()) for parse in dep_parser.raw_parse("The quick brown fox jumps over the lazy dog.")] # doctest: +NORMALIZE_WHITESPACE
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 132, in raw_parse
return next(self.raw_parse_sents([sentence], verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents
return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 212, in _execute
stdin=input_file, stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/ejml-0.23.jar:/Users/adamn1/third/stanford-corenlp/javax.json-api-1.0-sources.jar:/Users/adamn1/third/stanford-corenlp/javax.json.jar:/Users/adamn1/third/stanford-corenlp/joda-time-2.1-sources.jar:/Users/adamn1/third/stanford-corenlp/joda-time.jar:/Users/adamn1/third/stanford-corenlp/jollyday-0.4.7-sources.jar:/Users/adamn1/third/stanford-corenlp/jollyday.jar:/Users/adamn1/third/stanford-corenlp/protobuf.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-javadoc.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-sources.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2.jar:/Users/adamn1/third/stanford-corenlp/xom-1.2.10-src.jar:/Users/adamn1/third/stanford-corenlp/xom.jar', 'edu.stanford.nlp.pipeline.StanfordCoreNLP', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll', '-encoding', 'utf8', '-annotators tokenize,ssplit,pos,depparse']
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 356, in nltk.parse.stanford.StanfordNeuralDependencyParser
Failed example:
sum([[parse.tree() for parse in dep_graphs] for dep_graphs in dep_parser.raw_parse_sents((
"The quick brown fox jumps over the lazy dog.",
"The quick grey wolf jumps over the lazy fox."
))], []) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordNeuralDependencyParser[4]>", line 3, in <module>
"The quick grey wolf jumps over the lazy fox."
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents
return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 212, in _execute
stdin=input_file, stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/ejml-0.23.jar:/Users/adamn1/third/stanford-corenlp/javax.json-api-1.0-sources.jar:/Users/adamn1/third/stanford-corenlp/javax.json.jar:/Users/adamn1/third/stanford-corenlp/joda-time-2.1-sources.jar:/Users/adamn1/third/stanford-corenlp/joda-time.jar:/Users/adamn1/third/stanford-corenlp/jollyday-0.4.7-sources.jar:/Users/adamn1/third/stanford-corenlp/jollyday.jar:/Users/adamn1/third/stanford-corenlp/protobuf.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-javadoc.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-sources.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2.jar:/Users/adamn1/third/stanford-corenlp/xom-1.2.10-src.jar:/Users/adamn1/third/stanford-corenlp/xom.jar', 'edu.stanford.nlp.pipeline.StanfordCoreNLP', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll', '-encoding', 'utf8', '-annotators tokenize,ssplit,pos,depparse']
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 363, in nltk.parse.stanford.StanfordNeuralDependencyParser
Failed example:
sum([[parse.tree() for parse in dep_graphs] for dep_graphs in dep_parser.parse_sents((
"I 'm a dog".split(),
"This is my friends ' cat ( the tabby )".split(),
))], []) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordNeuralDependencyParser[5]>", line 3, in <module>
"This is my friends ' cat ( the tabby )".split(),
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 120, in parse_sents
cmd, '\n'.join(' '.join(sentence) for sentence in sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 212, in _execute
stdin=input_file, stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/ejml-0.23.jar:/Users/adamn1/third/stanford-corenlp/javax.json-api-1.0-sources.jar:/Users/adamn1/third/stanford-corenlp/javax.json.jar:/Users/adamn1/third/stanford-corenlp/joda-time-2.1-sources.jar:/Users/adamn1/third/stanford-corenlp/joda-time.jar:/Users/adamn1/third/stanford-corenlp/jollyday-0.4.7-sources.jar:/Users/adamn1/third/stanford-corenlp/jollyday.jar:/Users/adamn1/third/stanford-corenlp/protobuf.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-javadoc.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-models.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2-sources.jar:/Users/adamn1/third/stanford-corenlp/stanford-corenlp-3.5.2.jar:/Users/adamn1/third/stanford-corenlp/xom-1.2.10-src.jar:/Users/adamn1/third/stanford-corenlp/xom.jar', 'edu.stanford.nlp.pipeline.StanfordCoreNLP', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'conll', '-tokenized', '-escaper', 'edu.stanford.nlp.process.PTBEscapingProcessor', '-encoding', 'utf8', '-annotators tokenize,ssplit,pos,depparse']
]]></failure></testcase><testcase classname="nltk.parse.stanford" name="StanfordParser" time="0.400"><failure type="builtins.AssertionError" message="Failed doctest test for nltk.parse.stanford.StanfordParser File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 229, in StanfordParser ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 235, in nltk.parse.stanford.StanfordParser Failed example: list(parser.raw_parse("the quick brown fox jumps over the lazy dog")) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordParser[1]>", line 1, in <module> list(parser.raw_parse("the quick brown fox jumps over the lazy dog")) # doctest: +NORMALIZE_WHITESPACE File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 132, in raw_parse return next(self.raw_parse_sents([sentence], verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'penn', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmp3kuvgazb'] ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 240, in nltk.parse.stanford.StanfordParser Failed example: sum([list(dep_graphs) for dep_graphs in parser.raw_parse_sents(( "the quick brown fox jumps over the lazy dog", "the quick grey wolf jumps over the lazy fox" ))], []) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordParser[2]>", line 3, in <module> "the quick grey wolf jumps over the lazy fox" File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'penn', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmpe2mzyy37'] ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 251, in nltk.parse.stanford.StanfordParser Failed example: sum([list(dep_graphs) for dep_graphs in parser.parse_sents(( "I 'm a dog".split(), "This is my friends ' cat ( the tabby )".split(), ))], []) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordParser[3]>", line 3, in <module> "This is my friends ' cat ( the tabby )".split(), File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 120, in parse_sents cmd, '\n'.join(' '.join(sentence) for sentence in sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'penn', '-tokenized', '-escaper', 'edu.stanford.nlp.process.PTBEscapingProcessor', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmp5soazk8e'] ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 261, in nltk.parse.stanford.StanfordParser Failed example: sum([list(dep_graphs) for dep_graphs in parser.tagged_parse_sents(( ( ("The", "DT"), ("quick", "JJ"), ("brown", "JJ"), ("fox", "NN"), ("jumped", "VBD"), ("over", "IN"), ("the", "DT"), ("lazy", "JJ"), ("dog", "NN"), (".", "."), ), ))],[]) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run compileflags, 1), test.globs) File "<doctest nltk.parse.stanford.StanfordParser[4]>", line 12, in <module> (".", "."), File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 187, in tagged_parse_sents cmd, '\n'.join(' '.join(tag_separator.join(tagged) for tagged in sentence) for sentence in sentences), verbose)) File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute stdout=PIPE, stderr=PIPE) File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java raise OSError('Java command failed : ' + str(cmd)) OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'penn', '-tokenized', '-tagSeparator', '/', '-tokenizerFactory', 'edu.stanford.nlp.process.WhitespaceTokenizer', '-tokenizerMethod', 'newCoreLabelTokenizerFactory', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmpmhgrz0nw'] "><![CDATA[Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 600, in run
testMethod()
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for nltk.parse.stanford.StanfordParser
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 229, in StanfordParser
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 235, in nltk.parse.stanford.StanfordParser
Failed example:
list(parser.raw_parse("the quick brown fox jumps over the lazy dog")) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordParser[1]>", line 1, in <module>
list(parser.raw_parse("the quick brown fox jumps over the lazy dog")) # doctest: +NORMALIZE_WHITESPACE
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 132, in raw_parse
return next(self.raw_parse_sents([sentence], verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents
return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute
stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'penn', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmp3kuvgazb']
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 240, in nltk.parse.stanford.StanfordParser
Failed example:
sum([list(dep_graphs) for dep_graphs in parser.raw_parse_sents((
"the quick brown fox jumps over the lazy dog",
"the quick grey wolf jumps over the lazy fox"
))], []) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordParser[2]>", line 3, in <module>
"the quick grey wolf jumps over the lazy fox"
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 150, in raw_parse_sents
return self._parse_trees_output(self._execute(cmd, '\n'.join(sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute
stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'penn', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmpe2mzyy37']
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 251, in nltk.parse.stanford.StanfordParser
Failed example:
sum([list(dep_graphs) for dep_graphs in parser.parse_sents((
"I 'm a dog".split(),
"This is my friends ' cat ( the tabby )".split(),
))], []) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordParser[3]>", line 3, in <module>
"This is my friends ' cat ( the tabby )".split(),
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 120, in parse_sents
cmd, '\n'.join(' '.join(sentence) for sentence in sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute
stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'penn', '-tokenized', '-escaper', 'edu.stanford.nlp.process.PTBEscapingProcessor', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmp5soazk8e']
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 261, in nltk.parse.stanford.StanfordParser
Failed example:
sum([list(dep_graphs) for dep_graphs in parser.tagged_parse_sents((
(
("The", "DT"),
("quick", "JJ"),
("brown", "JJ"),
("fox", "NN"),
("jumped", "VBD"),
("over", "IN"),
("the", "DT"),
("lazy", "JJ"),
("dog", "NN"),
(".", "."),
),
))],[]) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest nltk.parse.stanford.StanfordParser[4]>", line 12, in <module>
(".", "."),
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 187, in tagged_parse_sents
cmd, '\n'.join(' '.join(tag_separator.join(tagged) for tagged in sentence) for sentence in sentences), verbose))
File "/Users/adamn1/dev/nltk/nltk/parse/stanford.py", line 216, in _execute
stdout=PIPE, stderr=PIPE)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 134, in java
raise OSError('Java command failed : ' + str(cmd))
OSError: Java command failed : ['/usr/bin/java', '-mx1000m', '-cp', '/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/ejml-0.23.jar:/Users/adamn1/third/stanford-parser/slf4j-api.jar:/Users/adamn1/third/stanford-parser/slf4j-simple.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-javadoc.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-models.jar:/Users/adamn1/third/stanford-parser/stanford-parser-3.6.0-sources.jar:/Users/adamn1/third/stanford-parser/stanford-parser.jar', 'edu.stanford.nlp.parser.lexparser.LexicalizedParser', '-model', 'edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz', '-sentences', 'newline', '-outputFormat', 'penn', '-tokenized', '-tagSeparator', '/', '-tokenizerFactory', 'edu.stanford.nlp.process.WhitespaceTokenizer', '-tokenizerMethod', 'newCoreLabelTokenizerFactory', '-encoding', 'utf8', '/var/folders/vf/3rsfnspx2z995zyfst389tm80000gp/T/tmpmhgrz0nw']
]]></failure></testcase><testcase classname="nltk.parse.transitionparser" name="demo" time="0.041"></testcase><testcase classname="nltk.parse.util" name="taggedsent_to_conll" time="0.121"></testcase><testcase classname="nltk.parse.util" name="taggedsents_to_conll" time="0.005"></testcase><testcase classname="nltk.probability" name="ConditionalFreqDist" time="0.002"></testcase><testcase classname="nltk.probability" name="ConditionalProbDist" time="0.077"></testcase><testcase classname="nltk.probability" name="FreqDist" time="0.002"></testcase><testcase classname="nltk.probability.FreqDist" name="__add__" time="0.002"></testcase><testcase classname="nltk.probability.FreqDist" name="__and__" time="0.001"></testcase><testcase classname="nltk.probability.FreqDist" name="__or__" time="0.001"></testcase><testcase classname="nltk.probability.FreqDist" name="__sub__" time="0.001"></testcase><testcase classname="nltk.probability" name="ProbabilisticMixIn" time="0.001"></testcase><testcase classname="nltk.sem.evaluate" name="Assignment" time="0.002"></testcase><testcase classname="nltk" name="sem" time="0.002"></testcase><testcase classname="nltk.sentiment.util" name="extract_bigram_feats" time="0.001"></testcase><testcase classname="nltk.sentiment.util" name="extract_unigram_feats" time="0.001"></testcase><testcase classname="nltk.sentiment.util" name="mark_negation" time="0.001"></testcase><testcase classname="nltk.stem.lancaster" name="LancasterStemmer" time="0.003"></testcase><testcase classname="nltk.stem.regexp" name="RegexpStemmer" time="0.002"></testcase><testcase classname="nltk.stem.rslp" name="RSLPStemmer" time="0.008"></testcase><testcase classname="nltk.stem.snowball" name="SnowballStemmer" time="0.002"></testcase><testcase classname="nltk.stem.wordnet" name="WordNetLemmatizer" time="3.087"></testcase><testcase classname="nltk.tag.brill_trainer.BrillTaggerTrainer" name="train" time="4.647"></testcase><testcase classname="nltk.tag.crf" name="CRFTagger" time="0.014"></testcase><testcase classname="<nose.suite.ContextSuite context=nltk.tag" name="hunpos>:setup" time="0.022"><skipped type="unittest.case.SkipTest" message="HunposTagger is not available"><![CDATA[Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/tag/hunpos.py", line 129, in setup_module
HunposTagger('en_wsj.model')
File "/Users/adamn1/dev/nltk/nltk/tag/hunpos.py", line 78, in __init__
verbose=verbose
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 602, in find_binary
binary_names, url, verbose))
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 596, in find_binary_iter
url, verbose):
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 567, in find_file_iter
raise LookupError('\n\n%s\n%s\n%s' % (div, msg, div))
LookupError:
===========================================================================
NLTK was unable to find the hunpos-tag file!
Use software specific configuration paramaters or set the HUNPOS_TAGGER environment variable.
Searched in:
- .
- /usr/bin
- /usr/local/bin
- /opt/local/bin
- /Applications/bin
- /Users/adamn1/bin
- /Users/adamn1/Applications/bin
For more information on hunpos-tag, see:
<http://code.google.com/p/hunpos/>
===========================================================================
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 210, in run
self.setUp()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 293, in setUp
self.setupContext(ancestor)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 316, in setupContext
try_run(context, names)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/util.py", line 469, in try_run
return func(obj)
File "/Users/adamn1/dev/nltk/nltk/tag/hunpos.py", line 131, in setup_module
raise SkipTest("HunposTagger is not available")
unittest.case.SkipTest: HunposTagger is not available
]]></skipped></testcase><testcase classname="nltk.tag.mapping" name="map_tag" time="0.003"></testcase><testcase classname="nltk.tag.mapping" name="tagset_mapping" time="0.002"></testcase><testcase classname="nltk.tag.perceptron" name="PerceptronTagger" time="0.007"></testcase><testcase classname="nltk.tag" name="senna" time="0.786"></testcase><testcase classname="nltk.tag.senna.SennaChunkTagger" name="bio_to_chunks" time="0.208"></testcase><testcase classname="nltk.tag.sequential" name="DefaultTagger" time="0.002"></testcase><testcase classname="nltk.tag.sequential" name="RegexpTagger" time="0.010"></testcase><testcase classname="nltk.tag.sequential" name="UnigramTagger" time="0.155"></testcase><testcase classname="nltk.tag.stanford" name="StanfordNERTagger" time="0.002"></testcase><testcase classname="nltk.tag.stanford" name="StanfordPOSTagger" time="0.001"></testcase><testcase classname="nltk.tag.util" name="str2tuple" time="0.002"></testcase><testcase classname="nltk.tag.util" name="tuple2str" time="0.001"></testcase><testcase classname="nltk.tag.util" name="untag" time="0.001"></testcase><testcase classname="nltk" name="tag" time="0.231"></testcase><testcase classname="nltk.tag" name="pos_tag" time="0.004"></testcase><testcase classname="nltk.tbl.feature.Feature" name="__init__" time="0.002"></testcase><testcase classname="nltk.tbl.feature.Feature" name="expand" time="0.002"></testcase><testcase classname="nltk.tbl.feature.Feature" name="intersects" time="0.002"></testcase><testcase classname="nltk.tbl.feature.Feature" name="issuperset" time="0.002"></testcase><testcase classname="nltk.tbl.rule.Rule" name="format" time="0.002"></testcase><testcase classname="nltk.tbl.template.Template" name="__init__" time="0.002"></testcase><testcase classname="nltk.tbl.template.Template" name="expand" time="0.146"></testcase><testcase classname="nltk.text" name="Text" time="0.967"></testcase><testcase classname="nltk.text.Text" name="findall" time="0.428"></testcase><testcase classname="nltk.text" name="TextCollection" time="16.956"></testcase><testcase classname="nltk.text.TokenSearcher" name="findall" time="0.027"></testcase><testcase classname="nltk" name="tgrep" time="0.048"></testcase><testcase classname="nltk.tokenize.casual" name="TweetTokenizer" time="0.003"></testcase><testcase classname="nltk.tokenize.casual" name="_replace_html_entities" time="0.001"></testcase><testcase classname="nose.failure.Failure" name="runTest" time="0.000"><error type="builtins.LookupError" message=" ********************************************************************** Resource 'misc/perluniprops' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/Users/adamn1/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' **********************************************************************"><![CDATA[Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 80, in __load
try: root = nltk.data.find('{}/{}'.format(self.subdir, zip_name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'misc/perluniprops.zip/perluniprops/' not found.
Please use the NLTK Downloader to obtain the resource: >>>
nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 600, in run
testMethod()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 693, in _load
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 662, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/Users/adamn1/dev/nltk/nltk/tokenize/moses.py", line 20, in <module>
class MosesTokenizer(TokenizerI):
File "/Users/adamn1/dev/nltk/nltk/tokenize/moses.py", line 36, in MosesTokenizer
IsN = text_type(''.join(perluniprops.chars('IsN')))
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 116, in __getattr__
self.__load()
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 81, in __load
except LookupError: raise e
File "/Users/adamn1/dev/nltk/nltk/corpus/util.py", line 78, in __load
root = nltk.data.find('{}/{}'.format(self.subdir, self.__name))
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'misc/perluniprops' not found. Please use the NLTK
Downloader to obtain the resource: >>> nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
]]></error></testcase><testcase classname="nltk.tokenize" name="mwe" time="0.001"></testcase><testcase classname="nltk.tokenize.mwe.MWETokenizer" name="add_mwe" time="0.001"></testcase><testcase classname="nltk.tokenize.mwe.MWETokenizer" name="tokenize" time="0.001"></testcase><testcase classname="nltk.tokenize" name="punkt" time="0.002"></testcase><testcase classname="nltk.tokenize" name="regexp" time="0.003"></testcase><testcase classname="nltk.tokenize.regexp" name="RegexpTokenizer" time="0.001"></testcase><testcase classname="nltk.tokenize.regexp" name="WhitespaceTokenizer" time="0.001"></testcase><testcase classname="nltk.tokenize.regexp" name="WordPunctTokenizer" time="0.001"></testcase><testcase classname="nltk.tokenize.repp" name="ReppTokenizer" time="0.001"></testcase><testcase classname="nltk.tokenize" name="sexpr" time="0.002"></testcase><testcase classname="nltk.tokenize.sexpr.SExprTokenizer" name="tokenize" time="0.001"></testcase><testcase classname="nltk.tokenize.sexpr" name="sexpr_tokenize" time="0.002"></testcase><testcase classname="nltk.tokenize" name="simple" time="0.002"></testcase><testcase classname="nltk.tokenize.simple" name="LineTokenizer" time="0.002"></testcase><testcase classname="nltk.tokenize.simple" name="SpaceTokenizer" time="0.001"></testcase><testcase classname="nltk.tokenize.simple" name="TabTokenizer" time="0.001"></testcase><testcase classname="<nose.suite.ContextSuite context=nltk.tokenize" name="stanford>:setup" time="0.002"><skipped type="unittest.case.SkipTest" message="doctests from nltk.tokenize.stanford are skipped because the stanford postagger jar doesn't exist"><![CDATA[Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/tokenize/stanford.py", line 109, in setup_module
StanfordTokenizer()
File "/Users/adamn1/dev/nltk/nltk/tokenize/stanford.py", line 44, in __init__
verbose=verbose
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 719, in find_jar
searchpath, url, verbose, is_regex))
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 714, in find_jar_iter
raise LookupError('\n\n%s\n%s\n%s' % (div, msg, div))
LookupError:
===========================================================================
NLTK was unable to find stanford-postagger.jar! Set the CLASSPATH
environment variable.
For more information, on stanford-postagger.jar, see:
<http://nlp.stanford.edu/software/tokenizer.shtml>
===========================================================================
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 210, in run
self.setUp()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 293, in setUp
self.setupContext(ancestor)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 316, in setupContext
try_run(context, names)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/util.py", line 469, in try_run
return func(obj)
File "/Users/adamn1/dev/nltk/nltk/tokenize/stanford.py", line 111, in setup_module
raise SkipTest('doctests from nltk.tokenize.stanford are skipped because the stanford postagger jar doesn\'t exist')
unittest.case.SkipTest: doctests from nltk.tokenize.stanford are skipped because the stanford postagger jar doesn't exist
]]></skipped></testcase><testcase classname="<nose.suite.ContextSuite context=nltk.tokenize" name="stanford_segmenter>:setup" time="0.003"><skipped type="unittest.case.SkipTest" message="doctests from nltk.tokenize.stanford_segmenter are skipped because the stanford segmenter jar doesn't exist"><![CDATA[Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/tokenize/stanford_segmenter.py", line 155, in setup_module
StanfordSegmenter()
File "/Users/adamn1/dev/nltk/nltk/tokenize/stanford_segmenter.py", line 55, in __init__
verbose=verbose)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 719, in find_jar
searchpath, url, verbose, is_regex))
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 714, in find_jar_iter
raise LookupError('\n\n%s\n%s\n%s' % (div, msg, div))
LookupError:
===========================================================================
NLTK was unable to find stanford-segmenter.jar! Set the CLASSPATH
environment variable.
For more information, on stanford-segmenter.jar, see:
<http://nlp.stanford.edu/software>
===========================================================================
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 210, in run
self.setUp()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 293, in setUp
self.setupContext(ancestor)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 316, in setupContext
try_run(context, names)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/util.py", line 469, in try_run
return func(obj)
File "/Users/adamn1/dev/nltk/nltk/tokenize/stanford_segmenter.py", line 157, in setup_module
raise SkipTest('doctests from nltk.tokenize.stanford_segmenter are skipped because the stanford segmenter jar doesn\'t exist')
unittest.case.SkipTest: doctests from nltk.tokenize.stanford_segmenter are skipped because the stanford segmenter jar doesn't exist
]]></skipped></testcase><testcase classname="nltk.tokenize.texttiling" name="TextTilingTokenizer" time="0.388"></testcase><testcase classname="nltk.tokenize.toktok" name="ToktokTokenizer" time="0.002"></testcase><testcase classname="nltk.tokenize.treebank" name="TreebankWordTokenizer" time="0.002"></testcase><testcase classname="nltk.tokenize.util" name="is_cjk" time="0.001"></testcase><testcase classname="nltk.tokenize.util" name="regexp_span_tokenize" time="0.001"></testcase><testcase classname="nltk.tokenize.util" name="spans_to_relative" time="0.001"></testcase><testcase classname="nltk.tokenize.util" name="string_span_tokenize" time="0.001"></testcase><testcase classname="nltk" name="tokenize" time="0.003"></testcase><testcase classname="nltk.translate.api" name="AlignedSent" time="0.110"></testcase><testcase classname="nltk.translate.api" name="Alignment" time="0.002"></testcase><testcase classname="nltk.translate.api.Alignment" name="fromstring" time="0.001"></testcase><testcase classname="nltk.translate.bleu_score.SmoothingFunction" name="__init__" time="0.007"></testcase><testcase classname="nltk.translate.bleu_score" name="brevity_penalty" time="0.003"></testcase><testcase classname="nltk.translate.bleu_score" name="corpus_bleu" time="0.004"></testcase><testcase classname="nltk.translate.bleu_score" name="modified_precision" time="0.003"></testcase><testcase classname="nltk.translate.bleu_score" name="sentence_bleu" time="0.004"></testcase><testcase classname="nltk.translate.gale_church" name="align_blocks" time="0.004"></testcase><testcase classname="nltk.translate.gdfa" name="grow_diag_final_and" time="0.003"></testcase><testcase classname="nltk.translate.ibm1" name="IBMModel1" time="0.003"></testcase><testcase classname="nltk.translate.ibm2" name="IBMModel2" time="0.009"></testcase><testcase classname="nltk.translate.ibm3" name="IBMModel3" time="1.776"></testcase><testcase classname="nltk.translate.ibm4" name="IBMModel4" time="3.538"></testcase><testcase classname="nltk.translate.ibm5" name="IBMModel5" time="4.970"></testcase><testcase classname="nltk.translate.metrics" name="alignment_error_rate" time="0.002"></testcase><testcase classname="nltk.translate.phrase_based" name="phrase_extraction" time="0.002"></testcase><testcase classname="nltk.translate.ribes_score" name="corpus_ribes" time="0.005"></testcase><testcase classname="nltk.translate.ribes_score" name="find_increasing_sequences" time="0.001"></testcase><testcase classname="nltk.translate.ribes_score" name="kendall_tau" time="0.002"></testcase><testcase classname="nltk.translate.ribes_score" name="spearman_rho" time="0.002"></testcase><testcase classname="nltk.translate.ribes_score" name="word_rank_alignment" time="0.002"></testcase><testcase classname="nltk.translate.stack_decoder" name="StackDecoder" time="0.015"></testcase><testcase classname="nltk.tree" name="Tree" time="0.002"></testcase><testcase classname="nltk.tree.Tree" name="flatten" time="0.001"></testcase><testcase classname="nltk.tree.Tree" name="height" time="0.002"></testcase><testcase classname="nltk.tree.Tree" name="label" time="0.001"></testcase><testcase classname="nltk.tree.Tree" name="leaves" time="0.001"></testcase><testcase classname="nltk.tree.Tree" name="pos" time="0.001"></testcase><testcase classname="nltk.tree.Tree" name="productions" time="0.001"></testcase><testcase classname="nltk.tree.Tree" name="set_label" time="0.002"></testcase><testcase classname="nltk.tree.Tree" name="subtrees" time="0.001"></testcase><testcase classname="nltk.tree.Tree" name="treepositions" time="0.002"></testcase><testcase classname="nltk.treeprettyprinter" name="TreePrettyPrinter" time="0.002"></testcase><testcase classname="nltk.util" name="bigrams" time="0.001"></testcase><testcase classname="nltk.util" name="choose" time="0.001"></testcase><testcase classname="nltk.util" name="everygrams" time="0.001"></testcase><testcase classname="nltk.util" name="flatten" time="0.001"></testcase><testcase classname="nltk.util" name="ngrams" time="0.001"></testcase><testcase classname="nltk.util" name="pad_sequence" time="0.001"></testcase><testcase classname="nltk.util" name="skipgrams" time="0.001"></testcase><testcase classname="nltk.util" name="trigrams" time="0.001"></testcase><testcase classname="nltk.wsd" name="lesk" time="3.003"></testcase><testcase classname="bleu_doctest" name="bleu_doctest" time="0.002"></testcase><testcase classname="bnc_doctest" name="bnc_doctest" time="0.045"></testcase><testcase classname="ccg_doctest" name="ccg_doctest" time="0.056"></testcase><testcase classname="ccg_semantics_doctest" name="ccg_semantics_doctest" time="0.043"></testcase><testcase classname="chat80_doctest" name="chat80_doctest" time="0.030"></testcase><testcase classname="<nose.suite" name="ContextSuite context=childes_fixt>:setup" time="0.031"><skipped type="unittest.case.SkipTest" message="The CHILDES corpus is not found. It should be manually downloaded and saved/unpacked to [NLTK_Data_Dir]/corpora/childes/"><![CDATA[Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/test/childes_fixt.py", line 8, in setup_module
nltk.data.find('corpora/childes/data-xml/Eng-USA-MOR/')
File "/Users/adamn1/dev/nltk/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'corpora/childes/data-xml/Eng-USA-MOR/' not found.
Please use the NLTK Downloader to obtain the resource: >>>
nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 210, in run
self.setUp()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 293, in setUp
self.setupContext(ancestor)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 316, in setupContext
try_run(context, names)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/util.py", line 469, in try_run
return func(obj)
File "/Users/adamn1/dev/nltk/nltk/test/childes_fixt.py", line 11, in setup_module
raise SkipTest("The CHILDES corpus is not found. "
unittest.case.SkipTest: The CHILDES corpus is not found. It should be manually downloaded and saved/unpacked to [NLTK_Data_Dir]/corpora/childes/
]]></skipped><system-out><![CDATA[
**********************************************************************
Resource 'corpora/childes/data-xml/Eng-USA-MOR/' not found.
Please use the NLTK Downloader to obtain the resource: >>>
nltk.download()
Searched in:
- '/Users/adamn1/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
]]></system-out></testcase><testcase classname="chunk_doctest" name="chunk_doctest" time="0.019"></testcase><testcase classname="classify_doctest" name="classify_doctest" time="9.005"></testcase><testcase classname="collocations_doctest" name="collocations_doctest" time="2.022"></testcase><testcase classname="<nose.suite" name="ContextSuite context=compat_fixt>:setup" time="2.022"><skipped type="unittest.case.SkipTest" message="compat.doctest is for Python 2.x"><![CDATA[Traceback (most recent call last):
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 210, in run
self.setUp()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 293, in setUp
self.setupContext(ancestor)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 316, in setupContext
try_run(context, names)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/util.py", line 469, in try_run
return func(obj)
File "/Users/adamn1/dev/nltk/nltk/test/compat_fixt.py", line 8, in setup_module
raise SkipTest("compat.doctest is for Python 2.x")
unittest.case.SkipTest: compat.doctest is for Python 2.x
]]></skipped></testcase><testcase classname="corpus_doctest" name="corpus_doctest" time="15.635"></testcase><testcase classname="crubadan_doctest" name="crubadan_doctest" time="0.031"></testcase><testcase classname="data_doctest" name="data_doctest" time="0.639"><system-err><![CDATA[Use the native Python gzip.GzipFile instead.Use the native Python gzip.GzipFile instead.]]></system-err></testcase><testcase classname="<nose.suite" name="ContextSuite context=discourse_fixt>:setup" time="0.654"><skipped type="unittest.case.SkipTest" message="Mace4/Prover9 is not available so discourse.doctest is skipped"><![CDATA[Traceback (most recent call last):
File "/Users/adamn1/dev/nltk/nltk/test/discourse_fixt.py", line 11, in setup_module
m._find_binary('mace4')
File "/Users/adamn1/dev/nltk/nltk/inference/prover9.py", line 166, in _find_binary
verbose=verbose)
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 602, in find_binary
binary_names, url, verbose))
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 596, in find_binary_iter
url, verbose):
File "/Users/adamn1/dev/nltk/nltk/internals.py", line 567, in find_file_iter
raise LookupError('\n\n%s\n%s\n%s' % (div, msg, div))
LookupError:
===========================================================================
NLTK was unable to find the mace4 file!
Use software specific configuration paramaters or set the PROVER9 environment variable.
Searched in:
- /usr/local/bin/prover9
- /usr/local/bin/prover9/bin
- /usr/local/bin
- /usr/bin
- /usr/local/prover9
- /usr/local/share/prover9
For more information on mace4, see:
<http://www.cs.unm.edu/~mccune/prover9/>
===========================================================================
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 210, in run
self.setUp()
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 293, in setUp
self.setupContext(ancestor)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/suite.py", line 316, in setupContext
try_run(context, names)
File "/Users/adamn1/.venvs/nltk/lib/python3.5/site-packages/nose/util.py", line 469, in try_run
return func(obj)
File "/Users/adamn1/dev/nltk/nltk/test/discourse_fixt.py", line 13, in setup_module
raise SkipTest("Mace4/Prover9 is not available so discourse.doctest is skipped")
unittest.case.SkipTest: Mace4/Prover9 is not available so discourse.doctest is skipped
]]></skipped></testcase><testcase classname="drt_doctest" name="drt_doctest" time="0.157"></testcase><testcase classname="featgram_doctest" name="featgram_doctest" time="0.231"></testcase><testcase classname="featstruct_doctest" name="featstruct_doctest" time="0.058"></testcase><testcase classname="framenet_doctest" name="framenet_doctest" time="6.422"></testcase><testcase classname="generate_doctest" name="generate_doctest" time="0.009"></testcase><testcase classname="gensim_doctest" name="gensim_doctest" time="39.543"></testcase><testcase classname="gluesemantics_doctest" name="gluesemantics_doctest" time="0.047"><failure type="builtins.AssertionError" message="Failed doctest test for gluesemantics.doctest File "/Users/adamn1/dev/nltk/nltk/test/gluesemantics.doctest", line 0 ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/test/gluesemantics.doctest", line 346, in gluesemantics.doctest Failed example: for gf in sorted(gfl): print(gf) Expected: \P Q.exists x.(P(x) & Q(x)) : ((fv -o fr) -o ((f -o F2) -o F2)) \P Q.exists x.(P(x) & Q(x)) : ((iv -o ir) -o ((i -o I5) -o I5)) \x y.sees(x,y) : (f -o (i -o g)) \x.John(x) : (fv -o fr) \x.dog(x) : (iv -o ir) Got: \P Q.exists x.(P(x) & Q(x)) : ((fv -o fr) -o ((f -o F4) -o F4)) \P Q.exists x.(P(x) & Q(x)) : ((iv -o ir) -o ((i -o I3) -o I3)) \x y.sees(x,y) : (f -o (i -o g)) \x.John(x) : (fv -o fr) \x.dog(x) : (iv -o ir) ---------------------------------------------------------------------- File "/Users/adamn1/dev/nltk/nltk/test/gluesemantics.doctest", line 378, in gluesemantics.doctest Failed example: for gf in sorted(fstruct.to_glueformula_list(GlueDict('nltk:grammars/sample_grammars/glue.semtype'))): print(gf) Expected: \P Q.exists x.(P(x) & Q(x)) : ((gv -o gr) -o ((g -o G5) -o G5)) \P Q.exists x.(P(x) & Q(x)) : ((iv -o ir) -o ((i -o I2) -o I2)) \x y.sees(x,y) : (i -o (g -o f)) \x.John(x) : (iv -o ir) \x.dog(x) : (gv -o gr) Got: \P Q.exists x.(P(x) & Q(x)) : ((gv -o gr) -o ((g -o G3) -o G3)) \P Q.exists x.(P(x) & Q(x)) : ((iv -o ir) -o ((i -o I4) -o I4)) \x y.sees(x,y) : (i -o (g -o f)) \x.John(x) : (iv -o ir) \x.dog(x) : (gv -o gr) "><![CDATA[Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 600, in run
testMethod()
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for gluesemantics.doctest
File "/Users/adamn1/dev/nltk/nltk/test/gluesemantics.doctest", line 0
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/test/gluesemantics.doctest", line 346, in gluesemantics.doctest
Failed example:
for gf in sorted(gfl):
print(gf)
Expected:
\P Q.exists x.(P(x) & Q(x)) : ((fv -o fr) -o ((f -o F2) -o F2))
\P Q.exists x.(P(x) & Q(x)) : ((iv -o ir) -o ((i -o I5) -o I5))
\x y.sees(x,y) : (f -o (i -o g))
\x.John(x) : (fv -o fr)
\x.dog(x) : (iv -o ir)
Got:
\P Q.exists x.(P(x) & Q(x)) : ((fv -o fr) -o ((f -o F4) -o F4))
\P Q.exists x.(P(x) & Q(x)) : ((iv -o ir) -o ((i -o I3) -o I3))
\x y.sees(x,y) : (f -o (i -o g))
\x.John(x) : (fv -o fr)
\x.dog(x) : (iv -o ir)
----------------------------------------------------------------------
File "/Users/adamn1/dev/nltk/nltk/test/gluesemantics.doctest", line 378, in gluesemantics.doctest
Failed example:
for gf in sorted(fstruct.to_glueformula_list(GlueDict('nltk:grammars/sample_grammars/glue.semtype'))):
print(gf)
Expected:
\P Q.exists x.(P(x) & Q(x)) : ((gv -o gr) -o ((g -o G5) -o G5))
\P Q.exists x.(P(x) & Q(x)) : ((iv -o ir) -o ((i -o I2) -o I2))
\x y.sees(x,y) : (i -o (g -o f))
\x.John(x) : (iv -o ir)
\x.dog(x) : (gv -o gr)
Got:
\P Q.exists x.(P(x) & Q(x)) : ((gv -o gr) -o ((g -o G3) -o G3))
\P Q.exists x.(P(x) & Q(x)) : ((iv -o ir) -o ((i -o I4) -o I4))
\x y.sees(x,y) : (i -o (g -o f))
\x.John(x) : (iv -o ir)
\x.dog(x) : (gv -o gr)