Skip to content

Commit

Permalink
unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
mgraffg committed Aug 24, 2024
1 parent 0911a04 commit 356f73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialectid/tests/test_text_repr.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_SeqTM():
seq = SeqTM(language='es', subwords=True, voc_size_exponent=13)
assert seq.language == 'es'
assert seq.voc_size_exponent == 13
_ = [['q:~dia', 'q:s~', 'duro', 'q:s~']]
_ = [['dias', 'q:~dur', 'q:os~']]
assert seq.compute_tokens('~dias~duros~') == _
assert seq.compute_tokens('~🤷~') == [['🤷']]
assert seq.compute_tokens('~🙇🏿~') == [['🙇']]
Expand Down

0 comments on commit 356f73b

Please sign in to comment.