Skip to content

Commit

Permalink
add test corpus without lowercasing
Browse files Browse the repository at this point in the history
  • Loading branch information
undertherain committed Apr 27, 2018
1 parent 61f47e9 commit cbb8f48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_corpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def test_dir_iter(self):
def test_text_to_ids(self):
v = Vocabulary()
v.load(path_vocab)
doc = load_file_as_ids(path_text_file, v, downcase=False)
doc = load_file_as_ids(path_text_file, v)
print("test load as ids:", doc.shape)
print(doc[:10])
Expand Down

0 comments on commit cbb8f48

Please sign in to comment.