Skip to content

Commit

Permalink
Fixed double sentence.
Browse files Browse the repository at this point in the history
  • Loading branch information
attardi committed Mar 23, 2023
1 parent 3cf66da commit 7c03365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_download_resources(self):

def test_tokenize(self):
tokenizer = Tokenizer(self.args['lang'])
sentences = tokenizer.predict('Ha chiamato il dr. Rossi.Vuole salutarti.')
sentences = tokenizer.predict("L'iphone del dr. Rossi è bello. Ma è troppo costoso.")
self.assertEqual(len(sentences), 2)

def test_corpus_load(self):
Expand Down

0 comments on commit 7c03365

Please sign in to comment.