Skip to content

Commit 62eb2db

Browse files
committed
- reduce some logging for travis
1 parent d793fe6 commit 62eb2db

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

test/lid.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ print_confusion_matrix(confmat)
2222
@expect abs(res - 0.596) < 0.01
2323

2424
# List specific errors
25-
for (text, t) in zip(test, test_truth)
26-
fv = fextractor(lid_iterating_tokenizer(text))
27-
scores = score(model, fv)
28-
bidx, b = best(scores)
29-
if model.index_class[bidx] != t
30-
@debug "ERROR: (ref: $t, hyp: $(model.index_class[bidx])) $text"
31-
end
32-
end
25+
# for (text, t) in zip(test, test_truth)
26+
# fv = fextractor(lid_iterating_tokenizer(text))
27+
# scores = score(model, fv)
28+
# bidx, b = best(scores)
29+
# if model.index_class[bidx] != t
30+
# @debug "ERROR: (ref: $t, hyp: $(model.index_class[bidx])) $text"
31+
# end
32+
# end

test/topic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ tokenize_file(fn) = tokenize(text(fn))
3737
# -------------------------------------------------------------------------------------------------------------------------
3838
getfile("http://qwone.com/~jason/20Newsgroups/20news-bydate.tar.gz", "20news-bydate.tar.gz", expected_size = 14_464_277)
3939
if !isdir("20ng")
40-
run(`tar -xvzf 20news-bydate.tar.gz`)
40+
run(`tar -xzf 20news-bydate.tar.gz`)
4141
mkdir("20ng")
4242
mv("20news-bydate-train", "20ng/train")
4343
mv("20news-bydate-test", "20ng/test")

0 commit comments

Comments
 (0)