-
Notifications
You must be signed in to change notification settings - Fork 1
/
console.log
1886 lines (1820 loc) · 80.2 KB
/
console.log
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
ls Thu May 30, 08:23
LICENSE.txt nlp.go README.md
╭─miki@saitama nlp (git:gceu2019)
╰─$ cat ../wifi.txt Thu May 30, 09:13
Hard Rock Wifi
VIP
Code: 136997
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test Thu May 30, 09:13
PASS
ok _/home/miki/Teaching/the-daily-go/nlp 0.001s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 09:29
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok _/home/miki/Teaching/the-daily-go/nlp 0.001s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 09:29
=== RUN TestTokenize
--- FAIL: TestTokenize (0.00s)
nlp_test.go:14: [who s on first ?] != [who s on first]
FAIL
exit status 1
FAIL _/home/miki/Teaching/the-daily-go/nlp 0.001s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 09:30 1 ↵
=== RUN TestTokenize
--- FAIL: TestTokenize (0.00s)
nlp_test.go:14: []string{"who", "s", "on", "first", "?"} != []string{"who", "s", "on", "first"}
FAIL
exit status 1
FAIL _/home/miki/Teaching/the-daily-go/nlp 0.001s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 09:31 1 ↵
=== RUN TestTokenizeMulti
--- PASS: TestTokenizeMulti (0.00s)
=== RUN TestTokenize
--- FAIL: TestTokenize (0.00s)
nlp_test.go:36: []string{"who", "s", "on", "first", "?"} != []string{"who", "s", "on", "first"}
FAIL
exit status 1
FAIL _/home/miki/Teaching/the-daily-go/nlp 0.001s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 09:43 1 ↵
=== RUN TestTokenizeMulti
--- PASS: TestTokenizeMulti (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok _/home/miki/Teaching/the-daily-go/nlp 0.001s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 09:43
=== RUN TestTokenizeMulti
--- FAIL: TestTokenizeMulti (0.00s)
nlp_test.go:22: []string{} != []string(nil)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
FAIL
exit status 1
FAIL _/home/miki/Teaching/the-daily-go/nlp 0.001s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 09:44 1 ↵=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/#00
--- FAIL: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- FAIL: TestTokenizeMulti/#00 (0.00s)
nlp_test.go:23: []string{} != []string(nil)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
FAIL
exit status 1
FAIL _/home/miki/Teaching/the-daily-go/nlp 0.001s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 09:46 1 ↵
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/#00
--- FAIL: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- FAIL: TestTokenizeMulti/#00 (0.00s)
nlp_test.go:27: []string(nil) != []string{"empty"}
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
FAIL
exit status 1
FAIL _/home/miki/Teaching/the-daily-go/nlp 0.001s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 09:48 1 ↵
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok _/home/miki/Teaching/the-daily-go/nlp 0.001s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test --help | grep parall Thu May 30, 09:49
usage: go test [build/test flags] [packages] [build/test flags & test binary flags]
Run 'go help test' for details.╭─miki@saitama nlp (git:gceu2019)
╰─$ go help test --help | grep parall Thu May 30, 09:50 1 ↵
go help test --help: unknown help topic. Run ' test'.
╭─miki@saitama nlp (git:gceu2019)
╰─$ go help test | grep parall Thu May 30, 09:50 1 ↵
-parallel, -run, -short, and -v. If a run of go test has any test
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 09:50
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- FAIL: TestTokenizeMulti (0.00s)
--- FAIL: TestTokenizeMulti/hi (0.00s)
nlp_test.go:44: []string(nil) != []string{"hi"}
--- FAIL: TestTokenizeMulti/HI (0.00s)
nlp_test.go:44: []string(nil) != []string{"hi"}
--- FAIL: TestTokenizeMulti/What's_on_second? (0.00s)
nlp_test.go:44: []string(nil) != []string{"what", "s", "on", "second"}
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
FAIL
exit status 1
FAIL _/home/miki/Teaching/the-daily-go/nlp 0.001s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 10:12 1 ↵
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- FAIL: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- FAIL: TestTokenizeMulti/<empty> (0.00s)
nlp_test.go:44: []string{} != []string(nil)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
FAIL
exit status 1
FAIL _/home/miki/Teaching/the-daily-go/nlp 0.001s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 10:13 1 ↵=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok _/home/miki/Teaching/the-daily-go/nlp 0.001s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 10:13
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok _/home/miki/Teaching/the-daily-go/nlp 0.002s╭─miki@saitama nlp (git:gceu2019)
╰─$ Thu May 30, 10:18
╭─miki@saitama nlp (git:gceu2019)
╰─$ echo Back 10:35 Thu May 30, 10:19
Back 10:35
╭─miki@saitama nlp (git:gceu2019)
╰─$ var testCases []TestCase Thu May 30, 10:19
file, err := os.Open("tokenizer_cases.json")
if err != nil {
t.Fatalf("can't open test cases - %s", err)
}
defer file.Close()
dec := json.NewDecoder(file)
if err := dec.Decode(&testCases); err != nil {
t.Fatalf("bad JSON in test cases - %s", err)
}
╭─miki@saitama nlp (git:gceu2019)
╰─$go env GOPATH Thu May 30, 10:42 1 ↵
/home/miki/go
╭─miki@saitama nlp (git:gceu2019)
╰─$ ls /home/miki/go Thu May 30, 10:42
bin pkg src
╭─miki@saitama nlp (git:gceu2019)
╰─$ Thu May 30, 10:42
╭─miki@saitama nlp (git:gceu2019)
╰─$ go mod init github.com/353solutions/nlp Thu May 30, 10:43 130 ↵
go: creating new go.mod: module github.com/353solutions/nlp
╭─miki@saitama nlp (git:gceu2019)
╰─$ git add nlp*.go tokenizer_cases.json Thu May 30, 10:44
╭─miki@saitama nlp (git:gceu2019)
╰─$ git commit -m 'testing' Thu May 30, 10:46
[gceu2019 768b8dd] testing
3 files changed, 75 insertions(+)
create mode 100644 nlp_test.go
create mode 100644 tokenizer_cases.json
╭─miki@saitama nlp (git:gceu2019)
╰─$ git push Thu May 30, 10:46 Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 4 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 1.15 KiB | 588.00 KiB/s, done.
Total 5 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To github.com:353solutions/nlp.git
4b429b0..768b8dd gceu2019 -> gceu2019
╭─miki@saitama nlp (git:gceu2019)
╰─$ tree Thu May 30, 10:46
.
├── go.mod
├── LICENSE.txt
├── nlp.go
├── nlp_test.go
├── README.md
└── tokenizer_cases.json
0 directories, 6 files╭─miki@saitama nlp (git:gceu2019)
╰─$ go get github.com/stretchr/testify Thu May 30, 10:46
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 10:47
# github.com/353solutions/nlp [github.com/353solutions/nlp.test]
./nlp_test.go:6:2: imported and not used: "reflect"
FAIL github.com/353solutions/nlp [build failed]
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 10:58 2 ↵
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.003s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 10:58
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
--- FAIL: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
require.go:157:
Error Trace: nlp_test.go:61
Error: Not equal:
expected: []string{"hiz"}
actual : []string{"hi"}
Diff:
--- Expected
+++ Actual
@@ -1,3 +1,3 @@
([]string) (len=1) {
- (string) (len=3) "hiz"
+ (string) (len=2) "hi"
}
Test: TestTokenizeMulti
--- FAIL: TestTokenizeMulti/HI (0.00s)
testing.go:820: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
FAIL
exit status 1
FAIL github.com/353solutions/nlp 0.003s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 10:59 1 ↵
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.003s
╭─miki@saitama nlp (git:gceu2019)
╰─$ git add -u Thu May 30, 10:59
╭─miki@saitama nlp (git:gceu2019)
╰─$ git status -u Thu May 30, 11:01
On branch gceu2019Your branch is up to date with 'origin/gceu2019'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: nlp_test.go
Untracked files:
(use "git add <file>..." to include in what will be committed)
go.mod
go.sum
╭─miki@saitama nlp (git:gceu2019)
╰─$ git add go.mod go.sum Thu May 30, 11:01
╭─miki@saitama nlp (git:gceu2019)
╰─$ git commit 'using testify & modules' Thu May 30, 11:01
error: pathspec 'using testify & modules' did not match any file(s) known to git
╭─miki@saitama nlp (git:gceu2019)
╰─$ git commit -m 'using testify & modules' Thu May 30, 11:02 1 ↵[gceu2019 e31e59c] using testify & modules
3 files changed, 46 insertions(+), 15 deletions(-)
create mode 100644 go.mod
create mode 100644 go.sum
╭─miki@saitama nlp (git:gceu2019)
╰─$ git push Thu May 30, 11:02
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 4 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 1.24 KiB | 1.24 MiB/s, done.
Total 5 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To github.com:353solutions/nlp.git
768b8dd..e31e59c gceu2019 -> gceu2019
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 11:05
=== RUN TestFloat
--- PASS: TestFloat (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.003s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 11:05
=== RUN TestFloat
--- FAIL: TestFloat (0.00s)
require.go:157:
Error Trace: nlp_test.go:30
Error: Not equal:
expected: 1.21
actual : 1.2100000000000002
Test: TestFloat
Messages: float
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
FAIL
exit status 1
FAIL github.com/353solutions/nlp 0.004s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 11:06 1 ↵
=== RUN TestFloat
--- PASS: TestFloat (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.006s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go mod vendor Thu May 30, 11:07 ╭─miki@saitama nlp (git:gceu2019)
╰─$ ls vendor Thu May 30, 11:10
github.com modules.txt
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -mod=vendor -v Thu May 30, 11:10
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.003s
╭─miki@saitama nlp (git:gceu2019)
╰─$cat ../quotes/hickey.txt Thu May 30, 11:10
I'm a big proponent of testing, I'm not a big proponent of test writing.
- Rich Hickey
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 11:25
=== RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.003s╭─miki@saitama nlp (git:gceu2019)
╰─$ rm -r vendor Thu May 30, 11:25
╭─miki@saitama nlp (git:gceu2019)
╰─$ rm -r vendor Thu May 30, 11:25
rm: cannot remove 'vendor': No such file or directory
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 11:28 1 ↵
=== RUN TestTokenizerQuick
--- FAIL: TestTokenizerQuick (0.00s)
require.go:794:
Error Trace: nlp_test.go:22
Error: Received unexpected error:
#1: failed on input "\U000ba1fc\U0010cd47\U000cc28e\U0009d8ba\U000a5a4e\U00101d7e\U00049b80\U0003ff1e\U0001ab4e㳎\U0006ff33惔\U000de1cf\U000bfaa0\U000dc072\U000bccde\U0007082e\U0005b98e𫈢\U000cbb71\U0004067b\U000df15d\U000a4f98\U000afe2c\U000e17a1\U00086e3a\U000d23b7𞺲\U00071bf8\U0009b6e2\U00088751\U000def93\U000d3d19\U00051484\U0010c525\U000eeeec\U000be944\U000fc4c8𦆒\U000ba236\U000f9c2f\U00109ceb\U000dc15a\U0010e452\U000b506f\U000fa74c𨥃"
Test: TestTokenizerQuick
Messages: quick
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
FAIL
exit status 1
FAIL github.com/353solutions/nlp 0.003s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 11:33 1 ↵
=== RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.003s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 11:33 === RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
=== RUN ExampleTokenize
--- PASS: ExampleTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.004s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 11:33 === RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
=== RUN ExampleTokenize
--- FAIL: ExampleTokenize (0.00s)
got:
[i don t know on third]
want:
[i don t know on third hi]
FAIL
exit status 1
FAIL github.com/353solutions/nlp 0.005s╭─miki@saitama nlp (git:gceu2019)
╰─$ echo Back 12 Thu May 30, 11:34 1 ↵
Back 12
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 11:43
=== RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
=== RUN ExampleTokenize
--- PASS: ExampleTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.004s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v -bench . Thu May 30, 12:15
=== RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
=== RUN ExampleTokenize
--- PASS: ExampleTokenize (0.00s)
goos: linux
goarch: amd64
pkg: github.com/353solutions/nlp
BenchmarkTokenize-4 200000 6082 ns/op
PASS
ok github.com/353solutions/nlp 1.303s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v -bench . -run '^$' Thu May 30, 12:17
goos: linux
goarch: amd64
pkg: github.com/353solutions/nlp
BenchmarkTokenize-4 200000 5958 ns/op
PASS
ok github.com/353solutions/nlp 1.261s
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v -bench . -run '^$' -cpuprofile=cpu.pprof Thu May 30, 12:20
goos: linux
goarch: amd64
pkg: github.com/353solutions/nlp
BenchmarkTokenize-4 200000 6002 ns/op
PASS
ok github.com/353solutions/nlp 1.413s
╭─miki@saitama nlp (git:gceu2019)
╰─$cat ../wifi.txt Thu May 30, 12:20
Hard Rock Wifi
VIP
Code: 136997
╭─miki@saitama nlp (git:gceu2019)
╰─$ ls Thu May 30, 12:21
cpu.pprof go.mod LICENSE.txt nlp.test README.md
example_test.go go.sum nlp.go nlp_test.go tokenizer_cases.json
╭─miki@saitama nlp (git:gceu2019)
╰─$ go tool pprof cpu.pprof Thu May 30, 12:21
File: nlp.test
Type: cpu
Time: May 30, 2019 at 12:20pm (BST)
Duration: 1.41s, Total samples = 1.27s (90.31%)
Entering interactive mode (type "help" for commands, "o" for options)
(pprof) % ╭─miki@saitama nlp (git:gceu2019)
╰─$ go tool pprof -http :8080 cpu.pprof Thu May 30, 12:24
open /tmp/go-build637315405/b001/nlp.test: no such file or directory
ShowFrom expression matched no samples
No source information for open /tmp/go-build637315405/b001/nlp.test: no such file or directory
open /tmp/go-build637315405/b001/nlp.test: no such file or directory
^C
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v -bench . -run '^$' Thu May 30, 12:34 130 ↵
goos: linux
goarch: amd64
pkg: github.com/353solutions/nlp
BenchmarkTokenize-4 200000 5646 ns/op
PASS
ok github.com/353solutions/nlp 1.206s
╭─miki@saitama nlp (git:gceu2019)
╰─$ code . Thu May 30, 12:34
╭─miki@saitama nlp (git:gceu2019)
╰─$ cat ../quotes/debug.txt Thu May 30, 12:49
The most effective debugging tool is still careful thought, coupled with
judiciously placed print statements.
- Brian Kernighan
╭─miki@saitama nlp (git:gceu2019)
╰─$git status Thu May 30, 12:52
On branch gceu2019
Your branch is up to date with 'origin/gceu2019'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: nlp.go
modified: nlp_test.go
Untracked files:
(use "git add <file>..." to include in what will be committed)
cpu.pprof
debug.test
example_test.go
nlp.test
no changes added to commit (use "git add" and/or "git commit -a")╭─miki@saitama nlp (git:gceu2019)
╰─$ git add example_test.go Thu May 30, 12:56
╭─miki@saitama nlp (git:gceu2019)
╰─$ git commit -m 'Example test' Thu May 30, 13:00
[gceu2019 fc42deb] Example test
1 file changed, 16 insertions(+)
create mode 100644 example_test.go
╭─miki@saitama nlp (git:gceu2019)
╰─$ git add .gitignore Thu May 30, 13:00
╭─miki@saitama nlp (git:gceu2019)
╰─$ git commit -m ignore Thu May 30, 13:00
[gceu2019 0bad882] ignore
1 file changed, 3 insertions(+)
create mode 100644 .gitignore
╭─miki@saitama nlp (git:gceu2019)
╰─$ git status -u Thu May 30, 13:00
On branch gceu2019
Your branch is ahead of 'origin/gceu2019' by 2 commits.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: nlp.go
modified: nlp_test.go
no changes added to commit (use "git add" and/or "git commit -a")╭─miki@saitama nlp (git:gceu2019)
╰─$ git add nlp.go nlp_test.go Thu May 30, 13:00
╭─miki@saitama nlp (git:gceu2019)
╰─$ git commit -m 'benchmark' Thu May 30, 13:00
[gceu2019 ec160ba] benchmark
2 files changed, 46 insertions(+), 3 deletions(-)
╭─miki@saitama nlp (git:gceu2019)
╰─$ make test Thu May 30, 13:00
go test -v ./...
=== RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- FAIL: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
require.go:157:
Error Trace: nlp_test.go:86
Error: Not equal:
expected: []string(nil)
actual : []string{}
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,3 @@
-([]string) <nil>
+([]string) {
+}
Test: TestTokenizeMulti
--- FAIL: TestTokenizeMulti/<empty> (0.00s)
testing.go:820: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
=== RUN ExampleTokenize
--- PASS: ExampleTokenize (0.00s)
FAIL
FAIL github.com/353solutions/nlp 0.003s
make: *** [Makefile:5: test] Error 1╭─miki@saitama nlp (git:gceu2019)
╰─$ make bench Thu May 30, 13:01 2 ↵
go test -bench . -run XXX -cpuprofile=cpu.pprof
goos: linux
goarch: amd64
pkg: github.com/353solutions/nlp
BenchmarkTokenize-4 200000 5664 ns/op
PASS
ok github.com/353solutions/nlp 1.312s
╭─miki@saitama nlp (git:gceu2019)
╰─$ make bench Thu May 30, 13:01
go test -bench . -run ZZZ -cpuprofile=cpu.pprof
goos: linux
goarch: amd64
pkg: github.com/353solutions/nlp
BenchmarkTokenize-4 200000 6155 ns/op
PASS
ok github.com/353solutions/nlp 1.515s
╭─miki@saitama nlp (git:gceu2019)
╰─$ make test Thu May 30, 13:01
go test -v ./...=== RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- FAIL: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
require.go:157:
Error Trace: nlp_test.go:86
Error: Not equal:
expected: []string(nil)
actual : []string{}
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,3 @@
-([]string) <nil>
+([]string) {
+}
Test: TestTokenizeMulti
--- FAIL: TestTokenizeMulti/<empty> (0.00s)
testing.go:820: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
=== RUN ExampleTokenize
--- PASS: ExampleTokenize (0.00s)
FAIL
FAIL github.com/353solutions/nlp 0.004s
make: *** [Makefile:5: test] Error 1╭─miki@saitama nlp (git:gceu2019)
╰─$ Thu May 30, 13:02 2 ↵
╭─miki@saitama nlp (git:gceu2019)
╰─$ ls Thu May 30, 14:00 2 ↵
cpu.pprof example_test.go go.sum Makefile nlp.test README.md
debug.test go.mod LICENSE.txt nlp.go nlp_test.go tokenizer_cases.json
╭─miki@saitama nlp (git:gceu2019)
╰─$ rm *.test cpu.pprof Thu May 30, 14:00
╭─miki@saitama nlp (git:gceu2019)
╰─$ ls Thu May 30, 14:01
example_test.go go.sum Makefile nlp_test.go tokenizer_cases.json
go.mod LICENSE.txt nlp.go README.md
╭─miki@saitama nlp (git:gceu2019)
╰─$ clear Thu May 30, 14:01
╭─miki@saitama nlp (git:gceu2019)
╰─$ go Thu May 30, 14:02
Go is a tool for managing Go source code.
Usage:
go <command> [arguments]
The commands are:
bug start a bug report
build compile packages and dependencies
clean remove object files and cached files
doc show documentation for package or symbol
env print Go environment information
fix update packages to use new APIs
fmt gofmt (reformat) package sources
generate generate Go files by processing source
get download and install packages and dependencies
install compile and install packages and dependencies
list list packages or modules
mod module maintenance
run compile and run Go program
test test packages
tool run specified go tool
version print Go version
vet report likely mistakes in packages
Use "go help <command>" for more information about a command.
Additional help topics:
buildmode build modes
c calling between Go and C
cache build and test caching
environment environment variables
filetype file types
go.mod the go.mod file
gopath GOPATH environment variable
gopath-get legacy GOPATH go get
goproxy module proxy protocol
importpath import path syntax
modules modules, module versions, and more
module-get module-aware go get
packages package lists and patterns
testflag testing flags
testfunc testing functions
Use "go help <topic>" for more information about that topic.
╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v -bench . -run '^$' -cpuprofile=cpu.pprof Thu May 30, 14:06 2 ↵
goos: linux
goarch: amd64
pkg: github.com/353solutions/nlp
BenchmarkTokenize-4 300000 4937 ns/op
PASS
ok github.com/353solutions/nlp 1.736s
╭─miki@saitama nlp (git:gceu2019)
╰─$ ls Thu May 30, 14:06
cpu.pprof go.mod LICENSE.txt nlp.go nlp_test.go tokenizer_cases.json
example_test.go go.sum Makefile nlp.test README.md
╭─miki@saitama nlp (git:gceu2019)
╰─$ ls -lh nlp.test Thu May 30, 14:06
-rwxr-xr-x 1 miki miki 9.5M May 30 14:06 nlp.test
╭─miki@saitama nlp (git:gceu2019)
╰─$ git add .gitignore Thu May 30, 14:06
╭─miki@saitama nlp (git:gceu2019)
╰─$ git commit -m 'ignore bench output files' Thu May 30, 14:08
[gceu2019 6934420] ignore bench output files
1 file changed, 1 insertion(+), 2 deletions(-)╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 14:08
=== RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- FAIL: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
require.go:157:
Error Trace: nlp_test.go:86
Error: Not equal:
expected: []string(nil)
actual : []string{}
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,3 @@
-([]string) <nil>
+([]string) {
+}
Test: TestTokenizeMulti
--- FAIL: TestTokenizeMulti/<empty> (0.00s)
testing.go:820: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
=== RUN ExampleTokenize
--- PASS: ExampleTokenize (0.00s)
FAIL
exit status 1
FAIL github.com/353solutions/nlp 0.003s╭─miki@saitama nlp (git:gceu2019)
╰─$ go test -v Thu May 30, 14:08 1 ↵
=== RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
=== RUN ExampleTokenize
--- PASS: ExampleTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.003s╭─miki@saitama nlp (git:gceu2019)
╰─$ make bench Thu May 30, 14:09
go test -bench . -run ZZZ -cpuprofile=cpu.pprof
goos: linux
goarch: amd64
pkg: github.com/353solutions/nlp
BenchmarkTokenize-4 300000 4578 ns/op
PASS
ok github.com/353solutions/nlp 1.609s
╭─miki@saitama nlp (git:gceu2019)
╰─$ make Thu May 30, 14:11
Makefile:2: *** please pick a target. Stop.
╭─miki@saitama nlp (git:gceu2019)
╰─$ make test Thu May 30, 14:12 2 ↵
go test -v
=== RUN TestTokenizerQuick
--- PASS: TestTokenizerQuick (0.00s)
=== RUN TestTokenizeMulti
=== RUN TestTokenizeMulti/hi
=== RUN TestTokenizeMulti/HI
=== RUN TestTokenizeMulti/What's_on_second?
=== RUN TestTokenizeMulti/<empty>
--- PASS: TestTokenizeMulti (0.00s)
--- PASS: TestTokenizeMulti/hi (0.00s)
--- PASS: TestTokenizeMulti/HI (0.00s)
--- PASS: TestTokenizeMulti/What's_on_second? (0.00s)
--- PASS: TestTokenizeMulti/<empty> (0.00s)
=== RUN TestTokenize
--- PASS: TestTokenize (0.00s)
=== RUN ExampleTokenize
--- PASS: ExampleTokenize (0.00s)
PASS
ok github.com/353solutions/nlp 0.003s╭─miki@saitama nlp (git:gceu2019)
╰─$ tree Thu May 30, 14:12
.
├── cpu.pprof
├── example_test.go
├── go.mod
├── go.sum
├── LICENSE.txt
├── Makefile
├── nlp.go
├── nlp.test
├── nlp_test.go
├── README.md
└── tokenizer_cases.json
0 directories, 11 files
╭─miki@saitama nlp (git:gceu2019)
╰─$ rm nlp.test Thu May 30, 14:13
╭─miki@saitama nlp (git:gceu2019)
╰─$ make clean Thu May 30, 14:13 130 ↵rm -f *.test
rm -f cpu.pprof
╭─miki@saitama nlp (git:gceu2019)
╰─$ tree Thu May 30, 14:13
.
├── example_test.go
├── go.mod
├── go.sum
├── LICENSE.txt
├── Makefile
├── nlp.go
├── nlp_test.go
├── README.md
└── tokenizer_cases.json
0 directories, 9 files
╭─miki@saitama nlp (git:gceu2019)
╰─$ git add Makefile Thu May 30, 14:13
╭─miki@saitama nlp (git:gceu2019)
╰─$ git commit -m 'Project automation' Thu May 30, 14:13 [gceu2019 652eaad] Project automation
1 file changed, 14 insertions(+)
create mode 100644 Makefile
╭─miki@saitama nlp (git:gceu2019)
╰─$ git status Thu May 30, 14:14
On branch gceu2019
Your branch is ahead of 'origin/gceu2019' by 5 commits.
(use "git push" to publish your local commits)