Skip to content

Commit

Permalink
Fixed sandhi test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
andreihar committed Apr 26, 2024
1 parent c959880 commit 2283a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_sandhi.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_sentence_none():
checker(data, Converter(system=system, sandhi='none'), Converter(system=system, dialect="north", sandhi='none'))

def test_sentence_exc_last():
hanji_data = ["太空朋友,恁好!恁食飽未"]
hanji_data = ["太空朋友,恁好!恁食飽未"]
test_data = [
(["Thái-khōng pīng-iu, lin-ho! Lin tsià-pa buē/Thái-khōng pìng-iu, lin-ho! Lin tsià-pa bē"], "Tailo"),
(["Thái-khōng pēng-iu, lin-ho! Lin chià-pa bōe/Thái-khōng pèng-iu, lin-ho! Lin chià-pa bē"], "POJ"),
Expand All @@ -111,7 +111,7 @@ def test_sentence_exc_last():
checker(data, Converter(system=system, sandhi='exc_last'), Converter(system=system, dialect="north", sandhi='exc_last'))

def test_sentence_incl_last():
hanji_data = ["太空朋友,恁好!恁食飽未"]
hanji_data = ["太空朋友,恁好!恁食飽未"]
test_data = [
(["Thái-khōng pīng-iu, lin-ho! Lin tsià-pa buè/Thái-khōng pìng-iu, lin-ho! Lin tsià-pa bè"], "Tailo"),
(["Thái-khōng pēng-iu, lin-ho! Lin chià-pa bòe/Thái-khōng pèng-iu, lin-ho! Lin chià-pa bè"], "POJ"),
Expand Down

0 comments on commit 2283a60

Please sign in to comment.