From 85840c57231ad0a3cc307fc567df23115b132a5b Mon Sep 17 00:00:00 2001 From: kaldan007 Date: Tue, 20 Apr 2021 16:16:32 +0530 Subject: [PATCH 1/2] new test case added --- tests/drokun_test/drokun_test.txt | 28 + tests/drokun_test/drokun_test_bilou_rules.txt | 9 + tests/drokun_test/drokun_test_hd.txt | 28 + tests/drokun_test/drokun_test_rules.txt | 4 + tests/drokun_test/drokun_test_tr_data.txt | 28 + tests/marpa/marpa_bilou_rules.txt | 691 +++++++++--------- tests/marpa/marpa_rules.txt | 72 +- tests/marpa/marpa_tr_data.txt.RDR | 183 ++--- tests/test_segmentation_rule_extraction.py | 3 +- 9 files changed, 573 insertions(+), 473 deletions(-) create mode 100644 tests/drokun_test/drokun_test.txt create mode 100644 tests/drokun_test/drokun_test_bilou_rules.txt create mode 100644 tests/drokun_test/drokun_test_hd.txt create mode 100644 tests/drokun_test/drokun_test_rules.txt create mode 100644 tests/drokun_test/drokun_test_tr_data.txt diff --git a/tests/drokun_test/drokun_test.txt b/tests/drokun_test/drokun_test.txt new file mode 100644 index 0000000..77e629b --- /dev/null +++ b/tests/drokun_test/drokun_test.txt @@ -0,0 +1,28 @@ +བདག་པས་གཞན་གཅེས་འགྲོ་ཀུན་བརྩེ་བས་སྐྱོང་། +བདག་སོགས་འགྲོ་ཀུན་སྨིན་ཅིང་གྲོལ་བྱའི་ཕྱིར། +དགེ་བས་འགྲོ་ཀུན་སངས་རྒྱས་ཐོབ་ཕྱིར་བསྔོ། +བསོད་ནམས་དེས།།འགྲོ་ཀུན་བཤེས་གཉེན་བསྟེན་པར་ཤོག། +བཅས་ཏེ་གནང་ཚུལ།འགྲོ་ཀུན་དང་བ་འདྲེན་ཕྱིར་བཀོད་པ་ +མི་འདུག་པས།།འགྲོ་ཀུན་བརྩེ་བས་སྐྱོངས་ཤིག་ +ཆུ་དེས་འགྲོ་ཀུན་ཚིམ་པ་རྨི། +ཆུ་དེས་འགྲོ་ཀུན་ཚིམ་པ་དེ། +ལགས་སོ།།།།གསུམ་པ།འགྲོ་ཀུན་དང་བ་འདྲེན་ཕྱིར་བཀོད་པ་ +བདག་པས་གཞན་གཅེས་འགྲོ་ཀུན་བརྩེ་བས་སྐྱོང་། +བདག་སོགས་འགྲོ་ཀུན་སྨིན་ཅིང་གྲོལ་བྱའི་ཕྱིར། +དགེ་བས་འགྲོ་ཀུན་སངས་རྒྱས་ཐོབ་ཕྱིར་བསྔོ། +བསོད་ནམས་དེས།།འགྲོ་ཀུན་བཤེས་གཉེན་བསྟེན་པར་ཤོག། +བཅས་ཏེ་གནང་ཚུལ།འགྲོ་ཀུན་དང་བ་འདྲེན་ཕྱིར་བཀོད་པ་ +མི་འདུག་པས།།འགྲོ་ཀུན་བརྩེ་བས་སྐྱོངས་ཤིག་ +ཆུ་དེས་འགྲོ་ཀུན་ཚིམ་པ་རྨི། +ཆུ་དེས་འགྲོ་ཀུན་ཚིམ་པ་དེ། +ལགས་སོ།།།།གསུམ་པ།འགྲོ་ཀུན་དང་བ་འདྲེན་ཕྱིར་བཀོད་པ་ +བཅས་ཏེ་གནང་ཚུལ།འགྲོ་ཀུན་དང་བ་འདྲེན་ཕྱིར་བཀོད་པ་ +བདག་པས་གཞན་གཅེས་འགྲོ་ཀུན་བརྩེ་བས་སྐྱོང་། +བདག་སོགས་འགྲོ་ཀུན་སྨིན་ཅིང་གྲོལ་བྱའི་ཕྱིར། +དགེ་བས་འགྲོ་ཀུན་སངས་རྒྱས་ཐོབ་ཕྱིར་བསྔོ། +བསོད་ནམས་དེས།།འགྲོ་ཀུན་བཤེས་གཉེན་བསྟེན་པར་ཤོག། +བཅས་ཏེ་གནང་ཚུལ།འགྲོ་ཀུན་དང་བ་འདྲེན་ཕྱིར་བཀོད་པ་ +མི་འདུག་པས།།འགྲོ་ཀུན་བརྩེ་བས་སྐྱོངས་ཤིག་ +ཆུ་དེས་འགྲོ་ཀུན་ཚིམ་པ་རྨི། +ཆུ་དེས་འགྲོ་ཀུན་ཚིམ་པ་དེ། +ལགས་སོ།།།།གསུམ་པ།འགྲོ་ཀུན་དང་བ་འདྲེན་ཕྱིར་བཀོད་པ་ \ No newline at end of file diff --git a/tests/drokun_test/drokun_test_bilou_rules.txt b/tests/drokun_test/drokun_test_bilou_rules.txt new file mode 100644 index 0000000..92c05b0 --- /dev/null +++ b/tests/drokun_test/drokun_test_bilou_rules.txt @@ -0,0 +1,9 @@ +[text=""] [pos="U"] [text="།།།།"] 2 = [pos="S"] +[pos="U"] [pos="U" & text="འགྲོ་"] [pos="U"] 2 = [pos="B"] +[pos=""] [pos="U" & text="བདག་པ"] 2 = [pos="S"] +[pos="U" & text="ཀུན་"] [pos="U"] [pos="U" & text="དེ"] 1 = [pos="U"] +[text="བདག་པ"] [pos="U"] [text="གཞན་གཅེས་"] 2 = [pos="I"] +[pos="U" & text="།།།།"] [text="གསུམ་པ"] [text="།"] 1 = [pos="S"] +[pos="U" & text="ཀུན་"] [pos="U"] [pos="U"] 1 = [pos="I"] +[text="དེ"] [] [pos="U" & text="།།"] 3 = [pos="S"] +[text="གནང་ཚུལ"] [pos="U"] [pos="U" & text="འགྲོ་"] [pos="U"] 3 = [pos="U"] \ No newline at end of file diff --git a/tests/drokun_test/drokun_test_hd.txt b/tests/drokun_test/drokun_test_hd.txt new file mode 100644 index 0000000..1df371a --- /dev/null +++ b/tests/drokun_test/drokun_test_hd.txt @@ -0,0 +1,28 @@ +བདག་ པས་ གཞན་གཅེས་ འགྲོ་ཀུན་ བརྩེ་བ ས་ སྐྱོང་ ། +བདག་ སོགས་ འགྲོ་ཀུན་ སྨིན་ ཅིང་ གྲོལ་བྱ འི་ ཕྱིར ། +དགེ་བ ས་ འགྲོ་ཀུན་ སངས་རྒྱས་ ཐོབ་ ཕྱིར་ བསྔོ ། +བསོད་ནམས་ དེ ས ། ། འགྲོ་ཀུན་ བཤེས་གཉེན་ བསྟེན་པ ར་ ཤོག ། +བཅས་ ཏེ་ གནང་ཚུལ ། འགྲོ་ ཀུན་ དང་བ་ འདྲེན་ ཕྱིར་ བཀོད་པ་ +མི་ འདུག་པ ས ། ། འགྲོ་ ཀུན་ བརྩེ་བ ས་ སྐྱོངས་ ཤིག་ +ཆུ་ དེ ས་ འགྲོ་ཀུན་ ཚིམ་པ་ རྨི ། +ཆུ་ དེ ས་ འགྲོ་ ཀུན་ ཚིམ་པ་ དེ ། +ལགས་ སོ །། །། གསུམ་པ ། འགྲོ་ཀུན་ དང་བ་ འདྲེན་ ཕྱིར་ བཀོད་པ་ +བདག་ པས་ གཞན་གཅེས་ འགྲོ་ཀུན་ བརྩེ་བ ས་ སྐྱོང་ ། +བདག་ སོགས་ འགྲོ་ཀུན་ སྨིན་ ཅིང་ གྲོལ་བྱ འི་ ཕྱིར ། +དགེ་བ ས་ འགྲོ་ཀུན་ སངས་རྒྱས་ ཐོབ་ ཕྱིར་ བསྔོ ། +བསོད་ནམས་ དེ ས ། ། འགྲོ་ཀུན་ བཤེས་གཉེན་ བསྟེན་པ ར་ ཤོག ། +བཅས་ ཏེ་ གནང་ཚུལ ། འགྲོ་ ཀུན་ དང་བ་ འདྲེན་ ཕྱིར་ བཀོད་པ་ +མི་ འདུག་པ ས ། ། འགྲོ་ ཀུན་ བརྩེ་བ ས་ སྐྱོངས་ ཤིག་ +ཆུ་ དེ ས་ འགྲོ་ཀུན་ ཚིམ་པ་ རྨི ། +ཆུ་ དེ ས་ འགྲོ་ ཀུན་ ཚིམ་པ་ དེ ། +ལགས་ སོ །། །། གསུམ་པ ། འགྲོ་ཀུན་ དང་བ་ འདྲེན་ ཕྱིར་ བཀོད་པ་ +བཅས་ ཏེ་ གནང་ཚུལ ། འགྲོ་ ཀུན་ དང་བ་ འདྲེན་ ཕྱིར་ བཀོད་པ་ +བདག་ པས་ གཞན་གཅེས་ འགྲོ་ཀུན་ བརྩེ་བ ས་ སྐྱོང་ ། +བདག་ སོགས་ འགྲོ་ཀུན་ སྨིན་ ཅིང་ གྲོལ་བྱ འི་ ཕྱིར ། +དགེ་བ ས་ འགྲོ་ཀུན་ སངས་རྒྱས་ ཐོབ་ ཕྱིར་ བསྔོ ། +བསོད་ནམས་ དེ ས ། ། འགྲོ་ཀུན་ བཤེས་གཉེན་ བསྟེན་པ ར་ ཤོག ། +བཅས་ ཏེ་ གནང་ཚུལ ། འགྲོ་ ཀུན་ དང་བ་ འདྲེན་ ཕྱིར་ བཀོད་པ་ +མི་ འདུག་པ ས ། ། འགྲོ་ ཀུན་ བརྩེ་བ ས་ སྐྱོངས་ ཤིག་ +ཆུ་ དེ ས་ འགྲོ་ཀུན་ ཚིམ་པ་ རྨི ། +ཆུ་ དེ ས་ འགྲོ་ ཀུན་ ཚིམ་པ་ དེ ། +ལགས་ སོ །། །། གསུམ་པ ། འགྲོ་ཀུན་ དང་བ་ འདྲེན་ ཕྱིར་ བཀོད་པ་ diff --git a/tests/drokun_test/drokun_test_rules.txt b/tests/drokun_test/drokun_test_rules.txt new file mode 100644 index 0000000..91c4138 --- /dev/null +++ b/tests/drokun_test/drokun_test_rules.txt @@ -0,0 +1,4 @@ +[text="གཞན་གཅེས་"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] 2 + [] +[text="།" & pos="PUNCT"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] 2 + [] +[text="ས་" & pos="PART"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] 2 + [] +[text="སོགས་" & pos="DET"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] 2 + [] \ No newline at end of file diff --git a/tests/drokun_test/drokun_test_tr_data.txt b/tests/drokun_test/drokun_test_tr_data.txt new file mode 100644 index 0000000..ba0df8e --- /dev/null +++ b/tests/drokun_test/drokun_test_tr_data.txt @@ -0,0 +1,28 @@ +བདག་པ/S ས་/I གཞན་གཅེས་/U འགྲོ་/B ཀུན་/I བརྩེ་བ/U ས་/U སྐྱོང་/U །/U +བདག་/U སོགས་/U འགྲོ་/B ཀུན་/I སྨིན་/U ཅིང་/U གྲོལ་བྱ/U འི་/U ཕྱིར/U །/U +དགེ་བ/U ས་/U འགྲོ་/B ཀུན་/I སངས་རྒྱས་/U ཐོབ་/U ཕྱིར་/U བསྔོ/U །/U +བསོད་ནམས་/U དེ/U ས/U །།/S འགྲོ་/B ཀུན་/I བཤེས་གཉེན་/U བསྟེན་པ/U ར་/U ཤོག/U །/U +བཅས་/U ཏེ་/U གནང་ཚུལ/U །/U འགྲོ་/U ཀུན་/U དང་བ་/U འདྲེན་/U ཕྱིར་/U བཀོད་པ་/U +མི་/U འདུག་པ/U ས/U །།/U འགྲོ་/U ཀུན་/U བརྩེ་བ/U ས་/U སྐྱོངས་/U ཤིག་/U +ཆུ་/U དེ/U ས་/U འགྲོ་/B ཀུན་/I ཚིམ་པ་/U རྨི/U །/U +ཆུ་/U དེ/U ས་/U འགྲོ་/U ཀུན་/U ཚིམ་པ་/U དེ/U །/U +ལགས་སོ/S །།།།/S གསུམ་པ/U །/U འགྲོ་/B ཀུན་/I དང་བ་/U འདྲེན་/U ཕྱིར་/U བཀོད་པ་/U +བདག་པ/S ས་/I གཞན་གཅེས་/U འགྲོ་/B ཀུན་/I བརྩེ་བ/U ས་/U སྐྱོང་/U །/U +བདག་/U སོགས་/U འགྲོ་/B ཀུན་/I སྨིན་/U ཅིང་/U གྲོལ་བྱ/U འི་/U ཕྱིར/U །/U +དགེ་བ/U ས་/U འགྲོ་/B ཀུན་/I སངས་རྒྱས་/U ཐོབ་/U ཕྱིར་/U བསྔོ/U །/U +བསོད་ནམས་/U དེ/U ས/U །།/S འགྲོ་/B ཀུན་/I བཤེས་གཉེན་/U བསྟེན་པ/U ར་/U ཤོག/U །/U +བཅས་/U ཏེ་/U གནང་ཚུལ/U །/U འགྲོ་/U ཀུན་/U དང་བ་/U འདྲེན་/U ཕྱིར་/U བཀོད་པ་/U +མི་/U འདུག་པ/U ས/U །།/U འགྲོ་/U ཀུན་/U བརྩེ་བ/U ས་/U སྐྱོངས་/U ཤིག་/U +ཆུ་/U དེ/U ས་/U འགྲོ་/B ཀུན་/I ཚིམ་པ་/U རྨི/U །/U +ཆུ་/U དེ/U ས་/U འགྲོ་/U ཀུན་/U ཚིམ་པ་/U དེ/U །/U +ལགས་སོ/S །།།།/S གསུམ་པ/U །/U འགྲོ་/B ཀུན་/I དང་བ་/U འདྲེན་/U ཕྱིར་/U བཀོད་པ་/U +བཅས་/U ཏེ་/U གནང་ཚུལ/U །/U འགྲོ་/U ཀུན་/U དང་བ་/U འདྲེན་/U ཕྱིར་/U བཀོད་པ་/U +བདག་པ/S ས་/I གཞན་གཅེས་/U འགྲོ་/B ཀུན་/I བརྩེ་བ/U ས་/U སྐྱོང་/U །/U +བདག་/U སོགས་/U འགྲོ་/B ཀུན་/I སྨིན་/U ཅིང་/U གྲོལ་བྱ/U འི་/U ཕྱིར/U །/U +དགེ་བ/U ས་/U འགྲོ་/B ཀུན་/I སངས་རྒྱས་/U ཐོབ་/U ཕྱིར་/U བསྔོ/U །/U +བསོད་ནམས་/U དེ/U ས/U །།/S འགྲོ་/B ཀུན་/I བཤེས་གཉེན་/U བསྟེན་པ/U ར་/U ཤོག/U །/U +བཅས་/U ཏེ་/U གནང་ཚུལ/U །/U འགྲོ་/U ཀུན་/U དང་བ་/U འདྲེན་/U ཕྱིར་/U བཀོད་པ་/U +མི་/U འདུག་པ/U ས/U །།/U འགྲོ་/U ཀུན་/U བརྩེ་བ/U ས་/U སྐྱོངས་/U ཤིག་/U +ཆུ་/U དེ/U ས་/U འགྲོ་/B ཀུན་/I ཚིམ་པ་/U རྨི/U །/U +ཆུ་/U དེ/U ས་/U འགྲོ་/U ཀུན་/U ཚིམ་པ་/U དེ/U །/U +ལགས་སོ/S །།།།/S གསུམ་པ/U །/U འགྲོ་/B ཀུན་/I དང་བ་/U འདྲེན་/U ཕྱིར་/U བཀོད་པ་/U diff --git a/tests/marpa/marpa_bilou_rules.txt b/tests/marpa/marpa_bilou_rules.txt index 2a042de..9444354 100644 --- a/tests/marpa/marpa_bilou_rules.txt +++ b/tests/marpa/marpa_bilou_rules.txt @@ -1,371 +1,372 @@ -[pos="U"] [] [text=".*བ་"] 1 = [pos="S"] -[pos="S" & text="ཕུག་རོན་"] [text="གྱི་"] 1 = [pos="U"] +[text="ཅིག་"] [pos="U" & text="གསུངས"] [text="།"] 2 = [pos="S"] +[text="ནང་"] [pos="S" & text="མཐུན་པ"] 2 = [pos="I"] +[pos="U"] [pos="U" & text="དུ་"] [pos="S"] 2 = [pos="S"] +[pos="U"] [] [text="ཤོམས་"] 1 = [pos="S"] +[text="གྱི་"] [] [pos="U"] [pos="S"] [pos="S"] 3 = [pos="U"] +[pos="S" & text="ཕྲིན་ལས་"] [pos="U"] [pos="U"] 1 = [pos="U"] +[text="ལ་ཆ"] [pos="U"] 2 = [pos="I"] +[pos="S"] [pos="S"] [pos="U"] [] [text="དབང་"] 3 = [pos="U"] +[pos="U" & text="བྱས་པ་"] [] [text="།།"] 1 = [pos="S"] +[text="ཆགས་པ་"] [] [pos="U"] 3 = [pos="S"] +[text="གདུང་"] [pos="U"] 2 = [pos="S"] +[pos="S" & text="བུ་"] [pos="U"] [pos="U" & text="བྱུང་བ་"] 1 = [pos="S"] +[pos="U"] [pos="S"] [pos="U" & text="གདེངས་"] 3 = [pos="S"] +[text="གདེངས་"] [pos="U" & text="དང་"] 2 = [pos="S"] +[pos="U"] [text="འཕོས་"] 1 = [pos="S"] +[text="ཀྱི་"] [pos="U" & text="ཞལ་"] [text="ནས"] 2 = [pos="S"] +[text="ཞུས་པ་"] [text="ལགས"] [pos="U" & text="།།"] 3 = [pos="S"] +[text="།"] [pos="U" & text="སྔར་"] [text="གྱི་"] 2 = [pos="S"] +[text="ཕུག་རོན་"] [] [pos="U"] 3 = [pos="S"] +[pos="U" & text="བུ་སློབ་"] [] [text="།།"] 1 = [pos="S"] +[pos="U" & text="ཏེ"] [pos="U"] [pos="S"] 1 = [pos="S"] +[pos="U"] [pos="S"] [pos="U" & text="མི་"] 3 = [pos="S"] +[text="།"] [] [pos="U" & text="སྣ་ཚོགས་"] 3 = [pos="S"] +[pos="S"] [pos="U" & text="ཅིག་"] [pos="U"] 2 = [pos="S"] +[pos="S"] [pos="U"] [pos="U" & text="ཚེ"] 3 = [pos="S"] +[text="འི་"] [] [pos="U" & text="འདྲ"] 3 = [pos="S"] +[text="འཕོས་"] [] [pos="U"] 3 = [pos="S"] +[pos="U" & text="སངས་རྒྱས་"] [text="ལ་"] [text="ཞུས་པ་"] 1 = [pos="S"] [pos="S"] [pos="U"] [pos="U" & text="སོང་བ་"] 3 = [pos="S"] -[text="འགྲོ་"] [pos="U" & text="ཀུན་"] 2 = [pos="I"] -[pos="U" & text="།"] [] [text="།"] 1 = [pos="S"] -[text="ཕུག་རོན་"] [pos="U"] 2 = [pos="S"] -[pos="U" & text="ར་"] [] [text="ལས"] 1 = [pos="S"] -[text="མཐུ་ཆེན་"] [] [pos="U"] 3 = [pos="S"] -[text="ཞུས་པ་"] [] [pos="U" & text="།།"] 3 = [pos="S"] -[text="མཆོད་པ་"] [pos="U" & text="ཕུལ་"] 2 = [pos="S"] -[pos="U"] [text="ཐུགས་ཁྲལ་"] 1 = [pos="S"] -[pos="U"] [] [text="གང་བ་"] 1 = [pos="S"] -[pos="U" & text="ནམ་མཁ"] [pos="U"] [pos="S"] 1 = [pos="S"] -[pos="S"] [pos="U" & text="བསྟན་"] [pos="U"] 2 = [pos="I"] -[pos="S"] [pos="U"] [pos="U" & text="བཞུགས་"] 3 = [pos="S"] -[pos="U" & text="ཡོད་པ་"] [text="ཡིན་"] 1 = [pos="S"] -[text="ཀྱི་"] [text="ཞལ་"] [pos="U" & text="ནས"] 3 = [pos="S"] -[text="གོམས་པ་"] [pos="U"] 2 = [pos="S"] -[pos="U"] [text="ལུག་རྫི་"] 1 = [pos="S"] -[text="ལ་ཆ"] [pos="U" & text="ས་"] 2 = [pos="I"] -[pos="U"] [text="ཡབ་"] 1 = [pos="S"] -[pos="U"] [pos="U"] [pos="I" & text="ཅན་"] 3 = [pos="U"] -[text="ལ་ད"] [pos="U"] 2 = [pos="I"] -[text="ཀླད་"] [] [pos="U"] 3 = [pos="S"] -[text="ཐར་པ"] [] [pos="U" & text="གླིང་"] 3 = [pos="S"] -[pos="U"] [] [text="རྗེ་བཙུན་མི་"] 1 = [pos="S"] -[text="ལུག་རྫི་"] [] [pos="U"] 3 = [pos="S"] -[text="ཐར་པ"] [pos="U"] [text="གླིང་"] 2 = [pos="S"] -[pos="S" & text="རྨི"] [] [text="ནཱ་རོ་པ་"] 1 = [pos="U"] -[text="བུ་"] [pos="U" & text="དང་"] 2 = [pos="S"] -[pos="U" & text="མཐའ་"] [text="ནས་"] [text="རྒྱས་པ་"] 1 = [pos="S"] -[text="དང་"] [pos="U" & text="།"] [] [text="།"] 2 = [pos="U"] -[text="ལ་ལ"] [pos="U"] 2 = [pos="S"] -[pos="U"] [text="རྒན་རྒོན་"] 1 = [pos="S"] -[text="ནོ"] [pos="U"] 2 = [pos="S"] -[text="བར་"] [pos="U" & text="དུ་"] [] [text="གི་"] 2 = [pos="S"] -[pos="U" & text="།"] [text="དབུ་"] 1 = [pos="S"] -[pos="U" & text="ཀྱིས"] [text="།"] 1 = [pos="S"] -[pos="S" & text="ཡབ་ཡུམ་"] [pos="U"] [pos="U"] 1 = [pos="U"] -[text="ལ"] [pos="U" & text="།།"] [text="ད་ལྟ་"] 2 = [pos="S"] -[text="དེ་"] [pos="S" & text="ཀ་"] 2 = [pos="U"] -[text="ཤིང་"] [] [pos="U" & text="ལ་"] 3 = [pos="S"] -[text="སྒྲ་"] [pos="U" & text="དང་"] [text="།"] 2 = [pos="S"] -[pos="U" & text="ཀྱི་"] [text="ཞལ་"] [text="ནས"] 1 = [pos="S"] -[text="དགོས་པ་"] [text="ཡོད་"] [pos="U" & text="དོ"] 3 = [pos="S"] -[pos="U"] [pos="U"] [pos="S" & text="ནགས་"] 3 = [pos="U"] -[pos="U" & text="།"] [text="རྗེ་བཙུན་མི་"] 1 = [pos="S"] +[text="གསུངས་བ་"] [pos="U" & text="ལྟར"] [text="།"] 2 = [pos="S"] +[text="ཡོད་པ་"] [pos="U" & text="དེ་"] 2 = [pos="S"] [text="སྒོས་"] [pos="U"] 2 = [pos="S"] -[pos="U"] [text="བུ"] 1 = [pos="S"] -[pos="U"] [pos="S"] [pos="U" & text="གྱི་"] [] [text="ཞིག་"] 3 = [pos="U"] -[text="རྨི་ལམ་"] [text="བཟང་"] [pos="U" & text="།།"] 3 = [pos="S"] -[pos="U"] [text="ཕུག་རོན་"] 1 = [pos="S"] -[pos="U" & text="ར་"] [text="ཚོགས་"] 1 = [pos="S"] -[pos="U" & text="ནང་"] [text="མཐུན་པ"] 1 = [pos="B"] -[pos="U" & text="སངས་རྒྱས་"] [] [text="ཞུས་པ་"] 1 = [pos="S"] -[pos="U" & text="གྲྭ་པ་"] [text="བུ་སློབ་"] [text="ཀུན"] 1 = [pos="S"] -[text="དེ"] [] [pos="U" & text="ཐར་པ"] 3 = [pos="S"] +[pos="S"] [pos="U" & text="གསུངས"] [pos="U"] 2 = [pos="S"] +[pos="U" & text="ལས"] [text="།"] [text="སྔར་"] 1 = [pos="S"] +[pos="U" & text="ཡིན"] [] [text="སྤྱན་མིག་"] 1 = [pos="S"] +[text="པང་"] [pos="U"] 2 = [pos="S"] +[pos="S"] [pos="U"] [pos="U" & text="མགུར་"] 3 = [pos="S"] +[pos="S" & text="ཕྱག་འཚལ་"] [text="བསྟོད"] 1 = [pos="U"] +[text="བར་"] [pos="U" & text="དུ་"] 2 = [pos="I"] +[text="བླ་མ"] [pos="U" & text="འི་"] [text="ཞལ་"] 2 = [pos="S"] +[pos="S"] [pos="U"] [pos="U" & text="བཞུགས་"] 3 = [pos="S"] +[pos="U" & text="།"] [] [text="ཀ་"] 1 = [pos="S"] +[pos="U"] [text="ལ་ལ"] 1 = [pos="S"] [pos="U"] [] [text="རྒན་རྒོན་"] 1 = [pos="S"] -[text="པང་"] [] [pos="U"] 3 = [pos="S"] +[pos="U" & text="ཡོད་"] [text="ན་"] 1 = [pos="S"] +[pos="U" & text="རྫོགས་རིམ་"] [] [text="བསྡུས་"] 1 = [pos="S"] +[text="འགྲོ་"] [pos="U" & text="ཀུན་"] 2 = [pos="I"] +[pos="S"] [pos="U"] [pos="U" & text="ཀྱི་"] [] [text="ཡིན་"] 3 = [pos="U"] +[pos="U" & text="ཚུལ་"] [pos="U" & text="དུ་"] [pos="S"] 2 = [pos="U"] [pos="U" & text="རྨི་ལམ་"] [text="བཟང་"] 1 = [pos="S"] -[text="བདག་ཅག་"] [pos="U"] [text="ཀྱི་"] 2 = [pos="S"] -[pos="U" & text="དང་"] [pos="U"] [pos="S"] 1 = [pos="S"] -[text="བར་"] [pos="U" & text="དུ་"] 2 = [pos="I"] -[pos="U"] [] [text="ཨ་ཕོ་"] 1 = [pos="S"] -[pos="U"] [pos="U" & text="གཅིག་པ"] [text=".*པ"] 2 = [pos="U"] -[pos="S"] [pos="U" & text="ཐོག་"] 2 = [pos="S"] -[pos="U"] [] [text="རྔོག་སྟོན་"] 1 = [pos="S"] -[text="།"] [pos="S"] [pos="U"] [pos="I"] 3 = [pos="S"] -[pos="U" & text="།།"] [] [text="རྨི་ལམ་"] 1 = [pos="S"] -[pos="U"] [text="ཕུག་རོན་"] [text="གྱི་"] 1 = [pos="U"] -[pos="U" & text="ཡོད་པ་"] [text="དེ་"] 1 = [pos="S"] -[pos="S" & text="ཕྱི་ཕྱག་"] [pos="U"] 1 = [pos="U"] -[pos="S"] [pos="S"] [pos="U"] 3 = [pos="S"] -[text="ནཱ་རོ"] [pos="U" & text="འི་"] [text="ལུང་བསྟན་"] 2 = [pos="S"] -[text="བླ་མ"] [pos="U"] [text="ཞལ་"] 2 = [pos="S"] [pos="U"] [] [text="ལ་ལ"] 1 = [pos="S"] -[pos="U" & text="འགྲོ་"] [text="ཀུན་"] 1 = [pos="B"] -[pos="S"] [pos="U"] [pos="U" & text="ཕུལ་བ"] 3 = [pos="S"] -[pos="U"] [] [text="བདག་མེད་མ་"] 1 = [pos="S"] -[pos="U"] [pos="U" & text="རྨི་ལམ་"] [pos="S"] 2 = [pos="S"] -[pos="U" & text="ཅིང་"] [pos="U"] [pos="S"] 1 = [pos="S"] -[text="གསལ་འདེབས་"] [text="ཀྱི་"] [pos="U" & text="མགུར་"] 3 = [pos="S"] -[text="།"] [pos="U"] [text="།"] 2 = [pos="S"] -[pos="U" & text="རྒྱུན་"] [pos="S"] 1 = [pos="B"] -[text="རྨི་ལམ་"] [pos="U" & text="བཟང་"] 2 = [pos="S"] -[text="གཉིས་"] [] [pos="S" & text="བུ་"] [pos="U"] [pos="U"] 3 = [pos="S"] +[pos="S"] [pos="U"] [pos="S" & text="དུ་མ་"] 2 = [pos="U"] +[pos="U" & text="ཀྱི་"] [pos="U"] [pos="S"] 1 = [pos="S"] +[pos="U" & text="འགྲོ་"] [pos="U"] [pos="S"] 1 = [pos="S"] +[pos="U"] [] [text="གོམས་པ་"] 1 = [pos="S"] +[text="དང་"] [pos="U" & text="།"] [] [text="།"] 2 = [pos="U"] [text="སྤུར་ཁང་"] [pos="U"] 2 = [pos="S"] -[pos="S" & text="བུ་"] [pos="U" & text="ལ་"] [pos="U"] 1 = [pos="S"] -[text="ཕུག་རོན་"] [] [pos="U"] 3 = [pos="S"] -[text="བུ་ཆེན་"] [] [pos="U"] 3 = [pos="S"] -[pos="U" & text="མེ་ཏོག་"] [text="སྣ་ཚོགས་"] 1 = [pos="S"] -[text="བླ་མ"] [] [pos="U" & text="ཞལ་"] 3 = [pos="S"] -[text="།།"] [pos="U" & text="སྙན་བརྒྱུད་"] 2 = [pos="S"] -[pos="U" & text="ཏེ"] [pos="U"] [pos="S"] 1 = [pos="S"] -[text="གཉིས་"] [pos="S" & text="ཀ་"] 2 = [pos="U"] -[pos="S"] [pos="U"] [pos="U" & text="ཚུལ་"] 3 = [pos="S"] -[text="གོམས་པ་"] [] [pos="U"] 3 = [pos="S"] -[pos="U" & text="ཡོད་"] [text="ན་"] 1 = [pos="S"] -[text="གྱི་"] [] [pos="U" & text="དང་"] [pos="U"] [pos="S"] 3 = [pos="U"] -[text="ཁྱབ་པ་"] [] [pos="U" & text="།།"] 3 = [pos="S"] -[pos="S"] [pos="U"] [pos="S" & text="ཁྱུང་"] 2 = [pos="U"] -[text="ར་"] [pos="S"] [text="ན་"] 2 = [pos="U"] -[pos="U" & text="དུ་"] [pos="S" & text="རྗེ་མར་པ"] [pos="U"] 1 = [pos="U"] -[pos="U"] [text="བས"] [text="།།"] 1 = [pos="S"] -[text="རྟོགས་པ་"] [pos="U"] [text="ས"] 2 = [pos="S"] -[pos="U" & text="ཡོད་"] [text="ཞུས་པ"] 1 = [pos="S"] -[pos="U"] [pos="S"] [pos="U" & text="གྱི་"] 3 = [pos="S"] -[text="།"] [pos="U" & text="དབུ་"] 2 = [pos="S"] -[text="།།"] [pos="S" & text="དུས་གསུམ་"] 2 = [pos="U"] -[text="བུ་ཆེན་"] [pos="U" & text="རྣམས་"] 2 = [pos="S"] -[pos="B"] [pos="U" & text="མེད་"] [text="ཕྱག་རྒྱ་ཆེན་པོ་"] [text="ལ"] 2 = [pos="S"] -[pos="S"] [pos="U"] [pos="I"] 2 = [pos="I"] -[text="ན་"] [pos="U" & text="ཡོད་པ་"] 2 = [pos="S"] +[pos="S"] [pos="U"] [pos="U" & text="སྣང་བ་"] 3 = [pos="S"] [pos="U"] [pos="S"] [pos="S"] 1 = [pos="S"] -[text="དང་"] [pos="S" & text="ཕྲིན་ལས་"] [pos="U"] [pos="U"] 2 = [pos="S"] -[pos="U"] [] [text="ཆགདབུ་"] 1 = [pos="S"] -[text="ཆགས་པ་"] [] [pos="U"] 3 = [pos="S"] -[pos="U"] [pos="U"] [pos="S" & text="གཤེགས"] 3 = [pos="U"] -[pos="U" & text="ཐུགས་"] [text="ཉམས་"] 1 = [pos="B"] -[pos="S" & text="བུ་"] [pos="U"] [pos="U"] 1 = [pos="U"] +[text="སྒྲ་"] [pos="U"] [text="།"] 2 = [pos="S"] +[pos="S"] [pos="U"] [pos="U"] [text="རྗེ་བཙུན་མི་"] 3 = [pos="U"] +[pos="S"] [pos="U"] [pos="U" & text="བཅས་པ་"] 3 = [pos="S"] +[pos="S"] [pos="U"] [pos="U" & text="དུར་ཁྲོད་"] 3 = [pos="S"] +[text="དར་བ"] [] [pos="U"] 3 = [pos="S"] +[text="བཀའ་བརྒྱུད་"] [pos="U"] 2 = [pos="S"] +[text="དང་"] [text="།"] [pos="U"] [text="།"] 3 = [pos="U"] +[pos="U"] [pos="U" & text="མི་"] [pos="S" & text="ང་རང་"] 2 = [pos="U"] +[pos="U"] [pos="S" & text="ནགས་"] [pos="U"] 2 = [pos="U"] +[pos="U"] [text=".*པ"] 1 = [pos="S"] +[text="དགོངས་"] [text="ཏེ"] [pos="U" & text="།"] 3 = [pos="S"] +[pos="S"] [pos="U" & text="གཅིག་"] [pos="U" & text="ལ་"] 2 = [pos="U"] +[pos="U" & text="ལ"] [] [text="ད་ལྟ་"] 1 = [pos="S"] [text="གཟིགས་པ"] [text="ས"] [pos="U" & text="།"] 3 = [pos="S"] -[pos="S" & text="ཆིབས་"] [text="ནས་"] 1 = [pos="U"] -[pos="S"] [pos="S" & text="རྒྱུ་"] [pos="U"] 3 = [pos="U"] -[pos="U" & text="ཚོགས་"] [text="གྲྭ་པ་"] 1 = [pos="S"] -[pos="U"] [pos="S" & text="བཞི་"] [pos="U"] 2 = [pos="U"] -[pos="U" & text="ཀུན་"] [text="ལ་"] 1 = [pos="S"] -[text="གང་"] [pos="U" & text="གི་"] 2 = [pos="S"] -[text="མེས་སྟོན་"] [] [pos="U"] 3 = [pos="S"] -[pos="U"] [text="གོམས་པ་"] 1 = [pos="S"] -[text="ཤིང་"] [pos="U"] [text="ལ་"] 2 = [pos="S"] -[text="ཁྱོད་"] [pos="U" & text="ཀྱི་"] [pos="U"] [pos="S"] 2 = [pos="U"] -[pos="U"] [] [text="སྲིད་པ་"] 1 = [pos="S"] -[text="ལྟ་བུ་"] [pos="U"] [text="ཡོད་པ་"] 2 = [pos="S"] -[text="གཉིས་"] [pos="S"] [pos="U"] [pos="S"] 3 = [pos="U"] -[pos="U"] [pos="U"] [pos="S" & text="ནགས་"] [] [text="།"] 3 = [pos="S"] -[pos="S" & text="དཔག་ཏུ་མེད་པ་"] [text="ཞིག་"] 1 = [pos="U"] -[text="རྗེ་"] [pos="U" & text="མི་"] 2 = [pos="B"] -[pos="U" & text="མཆོད་པ་"] [text="ཕུལ་"] 1 = [pos="S"] -[text="བསྐོར་བ་"] [pos="U"] 2 = [pos="S"] -[pos="U"] [text="བས"] 1 = [pos="B"] -[text="ཀྱི་"] [pos="U" & text="ཞལ་"] [text="ནས"] 2 = [pos="S"] -[pos="S"] [pos="U" & text="ཙམ་"] 2 = [pos="S"] -[pos="U" & text="རྟོགས་པ་"] [text="དེ"] [text="ས"] 1 = [pos="S"] -[pos="S" & text="བཀྲ་ཤིས་ཤོག"] [pos="U"] [pos="S"] 2 = [pos="U"] -[text="ཐུགས་"] [pos="U" & text="ཉམས་"] 2 = [pos="I"] -[pos="S"] [pos="U"] [pos="U" & text="གྱིས་"] 3 = [pos="S"] -[pos="U"] [pos="U"] [pos="S" & text="ཡོང་བ་"] 3 = [pos="U"] -[pos="U" & text="རྟ་"] [text="ལ་"] 1 = [pos="S"] -[pos="S" & text="ལ་བ"] [pos="U"] [pos="S" & text="ཆད་མེད་པ"] 2 = [pos="I"] -[pos="U" & text="གསུངས་པ་"] [text="ལྟར་"] 1 = [pos="S"] -[pos="U" & text="ཡིན"] [] [text="སྤྱན་མིག་"] 1 = [pos="S"] -[pos="U"] [text="བཀའ་བརྒྱུད་"] 1 = [pos="S"] -[text="བཙུགས་པ་"] [text="དེ"] [pos="U" & text="།།"] 3 = [pos="S"] -[pos="U" & text="ཡང་"] [pos="S"] [pos="U"] 1 = [pos="S"] -[text="ཤི་བ"] [pos="U"] 2 = [pos="S"] -[pos="S"] [pos="S" & text="མཁར་"] [pos="U"] 3 = [pos="U"] -[pos="U" & text="བར་ཆད་"] [] [text="།།"] 1 = [pos="S"] -[text="ཕ་ཇོ་"] [] [pos="U"] 3 = [pos="S"] +[text="ལ་ལ"] [pos="U"] 2 = [pos="S"] +[text="ཕྱག་ལེན་"] [] [pos="U"] [pos="S"] [pos="S"] 3 = [pos="U"] +[pos="U"] [text="བདག་མེད་མ་"] 1 = [pos="S"] +[pos="U"] [] [text="རྔོག་སྟོན་"] 1 = [pos="S"] +[pos="U"] [] [text="གང་བ་"] 1 = [pos="S"] +[text="ལུག་རྫི་"] [] [pos="U"] 3 = [pos="S"] +[pos="U" & text="ཅིང་"] [pos="U"] [pos="S"] 1 = [pos="S"] +[text="མཆོད་པ་"] [pos="U" & text="ཕུལ་"] 2 = [pos="S"] +[text="ཡོན་"] [] [pos="U" & text="།"] [pos="U"] 3 = [pos="U"] [pos="U"] [text="ཡབ་"] [text="ལ་"] 1 = [pos="U"] -[pos="U"] [text="བུ་ཆེན་"] 1 = [pos="S"] -[text="ཉི་མ་"] [pos="U"] [text="ཕྱེད་"] 2 = [pos="S"] -[pos="S"] [pos="U" & text="གཅིག་"] [text="ལ་"] 2 = [pos="U"] -[text="རྟ་"] [pos="U" & text="ལ་"] 2 = [pos="S"] -[text="དང་"] [text="།"] [pos="U" & text="བླ་མ་"] [pos="S"] [pos="U"] 3 = [pos="U"] -[pos="U" & text="ཀྱི་"] [pos="U"] [pos="S"] 1 = [pos="S"] -[pos="U"] [pos="S"] [pos="U" & text="ཡིན"] 3 = [pos="S"] -[text="པང་"] [pos="U"] 2 = [pos="S"] -[text="ན་"] [] [pos="U" & text="ཡིན"] 3 = [pos="S"] -[text="མེས་སྟོན་"] [pos="U"] 2 = [pos="S"] -[pos="S"] [pos="U"] [pos="U" & text="།"] [] [text="།"] 3 = [pos="B"] -[pos="U"] [] [text="ཀ་ཆེན་"] 1 = [pos="S"] -[pos="S" & text="ཕྲིན་ལས་"] [pos="U"] [pos="U"] 1 = [pos="U"] -[pos="U" & text="ད་"] [pos="S"] 1 = [pos="S"] -[pos="S"] [pos="U"] [pos="U" & text="གུས་"] 3 = [pos="S"] -[text="དོན་དུ་"] [] [pos="U" & text="ལགས་"] 3 = [pos="S"] -[text="བུ་ཆེན་"] [] [pos="U"] [pos="S"] [pos="U"] 3 = [pos="U"] -[text="ལ་"] [pos="U" & text="རྨི་ལམ་"] 2 = [pos="S"] -[pos="U"] [text="ཕ་རོལ་"] 1 = [pos="S"] -[text="ས"] [pos="U"] [text="བུ་"] 2 = [pos="S"] -[pos="U" & text="དྲུག་"] [pos="U"] [pos="S"] 1 = [pos="S"] -[text="ཅིག་"] [pos="U" & text="གསུངས"] [text="།"] 2 = [pos="S"] [pos="S" & text="ད་ལྟ་"] [pos="U"] 1 = [pos="U"] -[pos="U" & text="མི་"] [pos="S"] 1 = [pos="S"] -[pos="U"] [pos="S"] [pos="U" & text="གྱི་"] [text="གདམས་ངག་"] [text="ཡོད"] 3 = [pos="U"] -[pos="U"] [] [text="འདུས་བྱས་"] 1 = [pos="S"] -[pos="U"] [pos="U" & text="སྐུ་དྲིན་"] [pos="I"] 2 = [pos="B"] +[pos="U" & text="ཡིན་"] [text="ནོ"] 1 = [pos="S"] +[text="གནང་བ"] [] [pos="S"] 3 = [pos="U"] +[text="བདག་ཅག་"] [pos="U"] [text="ཀྱི་"] 2 = [pos="S"] +[pos="B"] [pos="U" & text="མེད་"] [text="ཕྱག་རྒྱ་ཆེན་པོ་"] [text="ལ"] 2 = [pos="S"] +[pos="S"] [pos="S" & text="མཁར་"] [pos="U"] 3 = [pos="U"] +[text="གཉིས་"] [pos="S" & text="ཀ་"] 2 = [pos="U"] +[pos="U"] [text="ཕ་རོལ་"] 1 = [pos="S"] +[text="ར་"] [pos="U" & text="གདའ"] [text="།།"] 2 = [pos="S"] +[text="ཕ་ཇོ་"] [pos="U"] 2 = [pos="S"] +[pos="U" & text="རྟོགས་པ་"] [text="དེ"] [text="ས"] 1 = [pos="S"] +[pos="S"] [pos="U"] [pos="I"] 2 = [pos="I"] +[text="བུ་སློབ་"] [pos="U" & text="ཀུན"] 2 = [pos="S"] +[pos="U" & text="དགོངས་"] [text="ཏེ"] 1 = [pos="S"] +[pos="U"] [] [text="ཀ་ཆེན་"] 1 = [pos="S"] +[text="།"] [pos="U"] [text="།"] 2 = [pos="S"] +[pos="U"] [text="བས"] 1 = [pos="B"] +[pos="S" & text="ཕུག་རོན་"] [pos="U" & text="གྱི་"] 2 = [pos="U"] +[pos="U"] [text="ལུག་རྫི་"] 1 = [pos="S"] +[pos="U" & text="ཁྱེད་"] [text="རང་"] [text="རྣམས་"] 1 = [pos="S"] +[pos="U" & text="གང་"] [text="གི་"] 1 = [pos="S"] +[text="དང་"] [] [pos="U" & text="བླ་མ་"] [pos="S"] [pos="U"] 3 = [pos="U"] +[pos="U"] [text="ཡབ་"] 1 = [pos="S"] +[pos="U" & text="མི་"] [text="འདུག་པ"] [text="ས"] 1 = [pos="S"] +[text="ཞན་"] [] [pos="U"] 3 = [pos="S"] +[pos="U"] [] [text="ཕ་རོལ་"] 1 = [pos="S"] +[pos="S" & text="སྲས་"] [text="ཀྱི་"] [text="ཐུགས་"] 1 = [pos="U"] +[pos="U"] [text="ཐུགས་ཁྲལ་"] 1 = [pos="S"] +[text="གྲགས་རྒྱུ"] [pos="U" & text="།།"] 2 = [pos="S"] +[pos="U"] [] [text="གྲགས་རྒྱུ"] 1 = [pos="S"] +[pos="U"] [pos="U"] [pos="U" & text="གི་"] [text="བུ"] 3 = [pos="U"] +[pos="U"] [pos="S"] [pos="U" & text="ཙམ་"] 3 = [pos="S"] +[pos="U"] [pos="U"] [pos="S" & text="དོན་དུ་"] 3 = [pos="U"] +[text="ར་"] [] [pos="U" & text="ལས"] 3 = [pos="S"] +[text="མི་"] [pos="U" & text="འདུག་པ"] [text="ས"] 2 = [pos="S"] +[text="བསྐོར་བ་"] [] [pos="U"] 3 = [pos="S"] +[pos="U"] [pos="S" & text="ནགས་"] [pos="U"] [text="།"] 2 = [pos="S"] +[text="ཀླད་"] [] [pos="U"] 3 = [pos="S"] +[pos="U"] [] [text=".*མེད་པ"] 1 = [pos="S"] [pos="U" & text="།"] [] [text="མི་"] 1 = [pos="S"] -[pos="U"] [pos="S"] [pos="S" & text="མཁར་"] 1 = [pos="U"] -[pos="U"] [] [text="མི་ངན་"] 1 = [pos="S"] -[pos="U" & text="ཡང་"] [text="།"] 1 = [pos="S"] -[pos="S"] [pos="U" & text="ཡོད་"] [pos="U"] 2 = [pos="S"] -[pos="U"] [] [text="འཕོས་"] 1 = [pos="S"] -[text="མི་"] [text="གྲགས་རྒྱུ"] [pos="U" & text="།།"] 3 = [pos="S"] -[pos="U" & text="།"] [text="སྔར་"] [text="གྱི་"] 1 = [pos="S"] -[pos="U" & text="མི་"] [pos="S" & text="ང་རང་"] 1 = [pos="U"] -[pos="U" & text="ལས"] [text="།"] [text="སྔར་"] 1 = [pos="S"] -[text="ལ་"] [pos="U" & text="ཞུས་པ་"] 2 = [pos="S"] -[pos="U" & text="དང་"] [pos="U" & text="དགའ་སྤྲོ་"] [pos="S" & text="དཔག་ཏུ་མེད་པ་"] 1 = [pos="U"] -[text="གྱི་"] [] [pos="U"] [pos="S"] [pos="S"] 3 = [pos="U"] -[pos="S" & text="ཕྱག་འཚལ་"] [text="བསྟོད"] [text="།།"] 1 = [pos="U"] -[text="ཡོན་" & pos="S"] [pos="U"] [pos="U" & text="།"] 3 = [pos="U"] -[pos="U" & text="ཐུགས་"] [text="དྲན་"] 1 = [pos="S"] -[pos="S"] [pos="U"] [pos="U" & text="ཀྱི་"] [] [text="ཡིན་"] 3 = [pos="U"] +[pos="U" & text="བླ་མ"] [] [text="ཞལ་"] 1 = [pos="S"] +[text="གཟིགས་པ"] [pos="U" & text="ས"] [text="།"] 2 = [pos="S"] +[text="།།"] [pos="U" & text="སྙན་བརྒྱུད་"] 2 = [pos="S"] +[pos="U" & text="ཡོད་"] [text="ཞུས་པ"] [text="ས"] 1 = [pos="S"] +[pos="U"] [text="ཕུག་རོན་"] 1 = [pos="S"] +[text="ཚོགས་"] [pos="U"] [text="བུ་སློབ་"] 2 = [pos="S"] +[text="།"] [pos="U"] [text="རྟ་"] 2 = [pos="S"] +[text="གྱི་"] [] [pos="U" & text="དང་"] [pos="U"] [pos="S"] 3 = [pos="U"] [text="བཀའ་བརྒྱུད་"] [] [pos="U"] 3 = [pos="S"] -[pos="S"] [pos="U"] [pos="S"] 2 = [pos="S"] -[text="བཀའ་བརྒྱུད་"] [pos="U"] 2 = [pos="S"] -[pos="U"] [text="ཐེབས་པ་"] 1 = [pos="S"] -[text="ཇི་ལྟར་"] [] [pos="U"] 3 = [pos="S"] -[pos="U"] [pos="U"] [pos="S" & text="དོན་དུ་"] 3 = [pos="U"] -[pos="S" & text="འཁོར་བ་"] [pos="U"] [pos="U"] 1 = [pos="U"] -[text="ཐུགས་"] [pos="U" & text="དྲན་"] 2 = [pos="S"] -[text="ཚུལ་"] [pos="U" & text="དུ་"] [pos="S"] [pos="U"] 2 = [pos="U"] -[text="ནང་"] [pos="S" & text="མཐུན་པ"] 2 = [pos="I"] -[text="ཕྱག་ལེན་"] [pos="U" & text="དང་"] [pos="U" & text="ཆོ་ག་"] [pos="S"] 2 = [pos="U"] -[text="བདག་མེད་མ་"] [pos="U"] 2 = [pos="S"] -[pos="U" & text="ཁྱེད་"] [text="རང་"] [text="རྣམས་"] 1 = [pos="S"] -[pos="B"] [pos="U" & text="མེད་"] 2 = [pos="I"] -[pos="U"] [] [text="བུ་ཆེན་"] 1 = [pos="S"] -[pos="U" & text="དུ་"] [pos="S"] [pos="U"] 1 = [pos="S"] -[text="ས"] [] [pos="S" & text="བུ་"] [pos="U"] [pos="U"] 3 = [pos="S"] -[text="།"] [pos="U"] [text="སྲས་"] 2 = [pos="S"] -[text="ལ་"] [pos="U" & text="ནི་"] 2 = [pos="S"] -[pos="U"] [pos="U" & text="།།"] [pos="U"] [text="རྗེ་བཙུན་མི་"] 2 = [pos="U"] -[pos="S"] [pos="U"] [pos="U" & text="ཀྱི་"] 3 = [pos="S"] -[text="རྣམས་"] [] [pos="U" & text="རྨི་ལམ་"] 3 = [pos="S"] -[pos="U"] [pos="U" & text="གསུངས་"] [pos="S"] 2 = [pos="S"] -[text="ལ་"] [text="ཞུས་པ་"] [pos="U" & text="ལགས"] 3 = [pos="S"] -[text="རྗེ་བཙུན་མི་"] [pos="U"] 2 = [pos="S"] -[pos="U" & text="ར་"] [text="གདའ"] [text="།།"] 1 = [pos="S"] -[pos="U"] [text=".*ཁ"] 1 = [pos="S"] -[text="ཐུགས་ཁྲལ་"] [] [pos="U"] 3 = [pos="S"] -[pos="U"] [text="འཕོས་"] 1 = [pos="S"] -[text="ཇི་ལྟར་"] [] [pos="U"] [text=".*"] 3 = [pos="U"] -[pos="S" & text="བུ་"] [pos="U" & text="དང་"] [pos="U"] 1 = [pos="S"] -[text="།།"] [] [pos="S" & text="མེ་"] 3 = [pos="U"] [pos="U" & text="བཞི"] [pos="U"] [pos="S"] 1 = [pos="S"] -[pos="U" & text="བླ་མ་"] [pos="S"] [pos="U"] 1 = [pos="S"] [text="རྒན་རྒོན་"] [pos="U"] 2 = [pos="S"] -[text="ལ་ད"] [] [pos="U"] 3 = [pos="I"] -[pos="U"] [pos="S"] [pos="U" & text="གྱི་"] [] [text="།།"] 3 = [pos="U"] -[pos="U" & text="ནཱ་རོ"] [text="འི་"] [text="ལུང་བསྟན་"] 1 = [pos="S"] -[text="འདུག་པ"] [pos="U"] [text="།།"] 2 = [pos="S"] -[pos="U" & text="འི་"] [text="མཐོངས་"] 1 = [pos="S"] -[text="ར་"] [pos="U" & text="གདའ"] [text="།།"] 2 = [pos="S"] -[pos="U" & text="རོ་"] [pos="I"] 1 = [pos="B"] -[pos="S"] [pos="U" & text="འོད་གསལ་"] [pos="U"] 2 = [pos="S"] -[pos="U"] [text=".*པ"] 1 = [pos="S"] -[text="ཡོད་པ་"] [pos="U" & text="དེ་"] 2 = [pos="S"] -[pos="S" & text="སྲས་"] [text="དར་མ་མདོ་སྡེ་"] 1 = [pos="U"] +[pos="S"] [pos="U"] [pos="U" & text="འདུག་"] 3 = [pos="S"] +[pos="U"] [text="བཀའ་བརྒྱུད་"] 1 = [pos="S"] +[pos="U" & text="དྲུག་"] [pos="U"] [pos="S"] 1 = [pos="S"] +[pos="U"] [pos="U" & text="ད་"] [pos="S"] 2 = [pos="S"] +[pos="U" & text="ཀྱི་"] [text="ཞལ་"] [text="ནས"] 1 = [pos="S"] +[text="ནམ་མཁ"] [pos="U" & text="འི་"] [text="མཐོངས་"] 2 = [pos="S"] +[pos="U"] [pos="U" & text="མི་"] [pos="S"] 2 = [pos="S"] +[text="ནོ"] [pos="U" & text="།།"] 2 = [pos="S"] +[text="སེམས་ཅན་"] [text="གྱི་"] [pos="U" & text="དོན་"] 3 = [pos="S"] +[pos="U" & text="ཐུགས་"] [text="དྲན་"] 1 = [pos="S"] +[pos="S"] [pos="U"] [pos="U" & text="གུས་"] 3 = [pos="S"] +[pos="S"] [pos="U"] [pos="I" & text=".*"] 2 = [pos="S"] [text="བདག་མེད་མ་"] [] [pos="U"] 3 = [pos="S"] -[text="ཕ་རོལ་"] [] [pos="U"] 3 = [pos="S"] +[text="གདམས་ངག་"] [text="ལ"] [pos="U" & text="།།"] 3 = [pos="S"] +[text="འཚལ་བ་"] [] [pos="U" & text="།།"] [pos="S"] [pos="S"] 3 = [pos="U"] +[pos="S"] [pos="U" & text="གྱི་"] 2 = [pos="S"] +[text="དེ"] [] [pos="U" & text="ཐར་པ"] 3 = [pos="S"] +[pos="U" & text="།"] [] [text="སྣ་ཚོགས་"] 1 = [pos="S"] +[pos="S" & text="རྨི"] [text="།།"] [text="ནཱ་རོ་པ་"] 1 = [pos="U"] +[text="ཁྱོད་"] [pos="U" & text="ཀྱི་"] [pos="U"] [pos="S"] 2 = [pos="U"] [pos="U" & text="།"] [] [text="རྟ་"] 1 = [pos="S"] -[pos="U"] [] [text="ལ་མོ"] 1 = [pos="S"] -[text="རང་"] [pos="U" & text="རྣམས་"] 2 = [pos="S"] -[text="དགོངས་"] [text="ཏེ"] [pos="U" & text="།"] 3 = [pos="S"] -[pos="U"] [] [text="བརྒྱུད་"] 1 = [pos="S"] -[text="ལ་"] [pos="U" & text="བྱོན་"] [pos="S"] [pos="S"] 2 = [pos="U"] -[text="ད་ལྟ་"] [pos="U" & text="གདེངས་"] 2 = [pos="S"] -[pos="U" & text="མི་"] [text="འདུག་པ"] [text="ས"] 1 = [pos="S"] -[text="ཕུག་རོན་"] [text="གྱི་"] [pos="U"] 3 = [pos="U"] -[pos="U" & text="རྣམས"] [pos="U"] [pos="S"] 1 = [pos="S"] -[text="བྱུང་བ་"] [] [pos="U" & text="།།"] 3 = [pos="S"] -[text="འི་"] [] [pos="U" & text="འདྲ"] 3 = [pos="S"] +[pos="U"] [pos="U"] [pos="S" & text="གཤེགས"] 3 = [pos="U"] +[pos="U" & text="མེ་ཏོག་"] [text="སྣ་ཚོགས་"] 1 = [pos="S"] +[pos="S"] [pos="U"] [pos="U" & text="ཀྱི་"] 3 = [pos="S"] +[pos="S" & text="སྲས་"] [text="དར་མ་མདོ་སྡེ་"] 1 = [pos="U"] +[pos="U" & text="དང་"] [pos="U" & text="དགའ་སྤྲོ་"] [pos="S" & text="དཔག་ཏུ་མེད་པ་"] 1 = [pos="U"] +[text="བུ་སློབ་"] [] [pos="U" & text="།།"] 3 = [pos="S"] +[pos="S" & text="བུ་"] [pos="U" & text="དང་"] [pos="U"] 1 = [pos="S"] +[pos="U"] [pos="U"] [pos="U" & text="འི་"] [pos="S"] [pos="S"] 3 = [pos="U"] +[pos="S" & text="འཁོར་བ་"] [pos="U"] [pos="U"] 1 = [pos="U"] +[text="བཙུགས་པ་"] [] [pos="U" & text="།།"] 3 = [pos="S"] +[text="ལ་ད"] [] [pos="U"] 3 = [pos="I"] [text="ཡོད་"] [text="ཞུས་པ"] [pos="U" & text="ས"] 3 = [pos="S"] -[pos="U" & text="བླ་མ"] [] [text="ཞལ་"] 1 = [pos="S"] -[text="ཞན་"] [] [pos="U"] 3 = [pos="S"] -[pos="U" & text="བྱུང་"] [text="སྟེ"] [text="།"] 1 = [pos="S"] -[pos="S"] [pos="U"] [pos="U" & text="གསུངས"] 3 = [pos="S"] -[pos="U"] [pos="S"] [pos="U" & text="མི་"] 3 = [pos="S"] -[pos="S"] [pos="U"] [pos="U" & text="ཚེ"] 3 = [pos="S"] -[pos="S"] [pos="U"] [pos="U" & text="དུར་ཁྲོད་"] 3 = [pos="S"] -[text="ཚོགས་"] [] [pos="U" & text="བུ་སློབ་"] 3 = [pos="S"] -[pos="U" & text="གནང་"] [text="བར་"] 1 = [pos="B"] -[pos="S"] [pos="U"] [pos="U" & text="བཅས་པ་"] 3 = [pos="S"] -[pos="U" & text="ལ་"] [text="ཞུས་པ་"] [text="ལགས"] 1 = [pos="S"] -[pos="U" & text="ཤིང་"] [] [text="ལ་"] 1 = [pos="S"] -[text="གདུང་"] [pos="U"] 2 = [pos="S"] -[text="རྟོགས་པ་"] [] [pos="U" & text="ས"] 3 = [pos="S"] -[text="ར་"] [] [pos="U" & text="ལས"] 3 = [pos="S"] -[text="དར་བ"] [] [pos="U"] 3 = [pos="S"] -[pos="U" & text="བར་"] [text="དུ་"] 1 = [pos="B"] -[pos="U"] [] [text="གདུང་"] 1 = [pos="S"] -[pos="U" & text="གི་"] [text="བུ"] 1 = [pos="U"] -[text="དང་"] [text="།"] [pos="U" & text="ནཱ་རོ"] 3 = [pos="S"] -[pos="U"] [] [text=".*མེད་པ"] 1 = [pos="S"] -[pos="S"] [pos="U"] [pos="U" & text="གསུངས་པ"] 3 = [pos="S"] -[pos="S"] [pos="U"] [pos="U" & text="བྱུང་བ་"] 3 = [pos="S"] -[pos="U" & text="དགོས་པ་"] [text="ཡོད་"] 1 = [pos="S"] +[pos="U"] [] [text="རྔོག་པ"] 1 = [pos="S"] +[pos="U" & text="གཅིག་"] [pos="U"] [pos="S"] 1 = [pos="S"] +[text="དེ་"] [pos="S" & text="ཀ་"] 2 = [pos="U"] +[pos="U"] [] [text="ཨ་ཕོ་"] 1 = [pos="S"] +[text="བསྐོར་བ་"] [pos="U"] 2 = [pos="S"] +[pos="B"] [pos="U" & text="མེད་"] 2 = [pos="I"] +[text="ཡོན་"] [] [pos="U"] 3 = [pos="S"] +[pos="U"] [pos="S"] [pos="S" & text="མཁར་"] 1 = [pos="U"] +[text="རྣམས་"] [] [pos="U" & text="རྨི་ལམ་"] 3 = [pos="S"] +[pos="U" & text="།"] [] [text="།"] 1 = [pos="S"] +[pos="U" & text="བླ་མ་"] [pos="S"] [pos="U"] 1 = [pos="S"] [pos="S"] [pos="S" & text="བུ་"] [pos="U"] [text="དང་"] 3 = [pos="U"] -[pos="U" & text="འདི"] [] [text="ཚོགས་"] 1 = [pos="S"] -[pos="U"] [text="བདག་མེད་མ་"] 1 = [pos="S"] -[pos="S"] [pos="U"] [pos="U" & text="དོན་"] 3 = [pos="S"] -[text="གསུངས་བ་"] [pos="U"] 2 = [pos="S"] -[text="འཚལ་བ་"] [] [pos="U"] [pos="S"] [pos="S"] 3 = [pos="U"] +[pos="S"] [pos="U"] [pos="U" & text="ཕུལ་བ"] 3 = [pos="S"] +[pos="U" & text="རྣམས"] [pos="U"] [pos="S"] 1 = [pos="S"] +[pos="U"] [] [text="འཕོས་"] 1 = [pos="S"] +[text="འོག་"] [pos="U"] [text="བུ་ཆེན་"] 2 = [pos="U"] +[text="ཐུགས་ཁྲལ་"] [] [pos="U"] 3 = [pos="S"] +[pos="S"] [pos="U"] [pos="S"] 2 = [pos="S"] +[text="གནང་"] [pos="U" & text="བར་"] 2 = [pos="S"] +[pos="U"] [text="གོམས་པ་"] 1 = [pos="S"] +[text="མེས་སྟོན་"] [] [pos="U"] 3 = [pos="S"] +[text="།"] [pos="U" & text="དབུ་"] 2 = [pos="S"] +[pos="S" & text="ཕྱི་ཕྱག་"] [pos="U"] 1 = [pos="U"] +[pos="U"] [pos="U" & text="ཡང་"] [pos="S"] 2 = [pos="S"] +[text="ན་"] [pos="U" & text="ཡོད་པ་"] 2 = [pos="S"] +[text="།།"] [] [pos="S" & text="མེ་"] 3 = [pos="U"] +[pos="U"] [text="ཕུག་རོན་"] [text="གྱི་"] 1 = [pos="U"] +[pos="U"] [] [text="རྗེ་བཙུན་མི་"] 1 = [pos="S"] +[pos="S"] [pos="U" & text="གྱི་"] [] [text="ཞིག་"] 2 = [pos="U"] +[pos="S" & text="ཕུག་རོན་"] [text="གྱི་"] 1 = [pos="U"] +[pos="U" & text="རྟ་"] [text="ལ་"] 1 = [pos="S"] +[text="རྟོགས་པ་"] [pos="U"] [text="ས"] 2 = [pos="S"] +[pos="U" & text="བར་"] [text="དུ་"] 1 = [pos="B"] +[text="ཕུག་རོན་"] [text="གྱི་"] [pos="U"] 3 = [pos="U"] +[text="བུ་ཆེན་"] [] [pos="U"] 3 = [pos="S"] +[text="ཤིང་"] [] [pos="U" & text="ལ་"] 3 = [pos="S"] +[text="ཕ་ཇོ་"] [] [pos="U"] 3 = [pos="S"] +[text="།"] [pos="U"] [text="སྲས་"] 2 = [pos="S"] +[pos="S" & text="དཔག་ཏུ་མེད་པ་"] [text="ཞིག་"] 1 = [pos="U"] +[text="རྗེ་བཙུན་མི་"] [pos="U"] 2 = [pos="S"] +[pos="U"] [text="རྗེ་བཙུན་མི་"] 1 = [pos="S"] +[text="ལ་ལ"] [] [pos="U"] 3 = [pos="S"] +[pos="U" & text="ཐུགས་"] [text="ཉམས་"] 1 = [pos="B"] +[pos="U"] [] [text="བུ་ཆེན་"] 1 = [pos="S"] +[text="ཡོད་པ་"] [pos="U" & text="ཡིན་"] 2 = [pos="S"] +[pos="U" & text="གཅིག་པ"] [text=".*པ" & pos="U"] 1 = [pos="U"] [pos="U"] [] [text="མེས་སྟོན་"] 1 = [pos="S"] -[pos="S"] [pos="U"] [pos="S" & text="དུ་མ་"] 2 = [pos="U"] -[pos="U" & text="རྫོགས་རིམ་"] [pos="U"] [pos="S"] 1 = [pos="S"] -[text="ཡོན་"] [] [pos="U"] 3 = [pos="S"] -[text="གྲྭ་པ་"] [] [pos="U" & text="ཀུན"] 3 = [pos="S"] +[pos="S" & text="ཡབ་ཡུམ་"] [pos="U"] [pos="U"] 1 = [pos="U"] +[pos="U"] [pos="U"] [pos="U" & text="ང་"] [pos="S"] [pos="S"] 3 = [pos="I"] +[text="དགོས་པ་"] [text="ཡོད་"] [pos="U" & text="དོ"] 3 = [pos="S"] [text="བསྒོམས་"] [pos="U"] 2 = [pos="S"] -[text="སུ་"] [text="གཤེགས"] [pos="U" & text="།།"] 3 = [pos="S"] -[text="གནང་"] [pos="U" & text="བར་"] 2 = [pos="S"] -[pos="S"] [pos="S"] [pos="U"] [] [text="དབང་"] 3 = [pos="U"] -[pos="U"] [pos="U"] [pos="U" & text="འི་"] [pos="S"] [pos="S"] 3 = [pos="U"] -[pos="U" & text="གང་"] [text="གི་"] 1 = [pos="S"] -[pos="U" & text="འགྲོ་"] [pos="U"] [pos="S"] 1 = [pos="S"] -[pos="U"] [] [text="ཕ་རོལ་"] 1 = [pos="S"] -[pos="U"] [text="ལ་ལ"] 1 = [pos="S"] -[pos="S" & text="བུ་"] [pos="U"] [pos="U" & text="བྱུང་བ་"] 1 = [pos="S"] +[pos="S"] [pos="S" & text="རྒྱུ་"] [pos="U"] 3 = [pos="U"] +[text="རྟ་"] [pos="U" & text="ལ་"] 2 = [pos="S"] +[pos="U" & text="འོག་"] [pos="U"] [text="བུ་ཆེན་" & pos="S"] 1 = [pos="U"] +[pos="U"] [text="བས"] [text="།།"] 1 = [pos="S"] +[text="བདག་མེད་མ་"] [pos="U"] 2 = [pos="S"] +[text="ལ་ལུང་"] [pos="U" & text="བསྟན་"] 2 = [pos="I"] +[pos="S"] [pos="U"] [pos="U" & text="གསུངས་པ"] 3 = [pos="S"] +[pos="U" & text="ལ་"] [text="རྨི་ལམ་"] 1 = [pos="S"] +[text="རྨི་ལམ་"] [pos="U" & text="བཟང་"] 2 = [pos="S"] +[pos="S" & text="ཆིབས་"] [text="ནས་"] 1 = [pos="U"] +[text="བཟང་"] [] [pos="U" & text="འདི"] 3 = [pos="S"] +[text="ཇི་ལྟར་"] [] [pos="U"] [text=".*"] 3 = [pos="U"] +[pos="U"] [pos="S"] [pos="U" & text="དེ"] 3 = [pos="S"] +[pos="S"] [pos="U" & text="ར་"] [pos="S" & text="ཆད་མེད་པ"] 2 = [pos="I"] +[text="གཉིས་"] [pos="S"] [pos="U"] [pos="S"] 3 = [pos="U"] +[pos="U" & text="ར་"] [] [text="ལས"] 1 = [pos="S"] +[pos="U" & text="ན་"] [] [text="ཡིན"] 1 = [pos="S"] +[text="གང་"] [pos="U" & text="གི་"] 2 = [pos="S"] +[pos="S" & text="ང་རང་"] [pos="U" & text="གི་"] [pos="S"] 2 = [pos="U"] +[text="ལ་"] [pos="U"] [text="དོན་"] 2 = [pos="S"] +[text="རང་"] [pos="U" & text="རྣམས་"] 2 = [pos="S"] +[pos="S"] [pos="S"] [pos="U"] 3 = [pos="S"] +[text="ལ"] [] [pos="S" & text="ད་ལྟ་"] [pos="U"] 3 = [pos="S"] +[pos="S" & text="སྒོས་"] [pos="S"] [pos="U"] 3 = [pos="U"] +[text="ཁྱེད་"] [pos="U" & text="རང་"] [text="རྣམས་"] 2 = [pos="S"] +[text="ལ་ད"] [pos="U"] 2 = [pos="I"] [text="གསུངས་པ་"] [pos="U" & text="ལྟར་"] 2 = [pos="S"] -[pos="U" & text="ལ"] [] [text="ད་ལྟ་"] 1 = [pos="S"] -[text="ར་"] [pos="U"] [text="ལས"] 2 = [pos="S"] -[text="གཟིགས་པ"] [pos="U" & text="ས"] 2 = [pos="S"] -[pos="U"] [] [text="རྔོག་པ"] 1 = [pos="S"] -[pos="U" & text="གཅིག་"] [pos="U"] [pos="S"] 1 = [pos="S"] -[pos="S"] [pos="U" & text="ཅིག་"] 2 = [pos="S"] -[pos="U" & text="ཡང་"] [pos="S"] [pos="U" & text="བྱུང་"] 1 = [pos="U"] -[text="།"] [text="མེས་སྟོན་"] [pos="U" & text="གྱིས་"] 3 = [pos="U"] -[text="།"] [] [pos="U" & text="སྣ་ཚོགས་"] 3 = [pos="S"] -[pos="U" & text="དགོངས་"] [text="ཏེ"] [text="།"] 1 = [pos="S"] -[pos="S"] [pos="U" & text="གཅིག་"] 2 = [pos="S"] -[pos="U" & text="འདུག་པ"] [text="ས"] [text="།།"] 1 = [pos="S"] -[text="དགོས་པ་"] [pos="U" & text="ཡོད་"] 2 = [pos="S"] -[pos="U"] [text="རྒྱུགས་པ"] 1 = [pos="S"] -[pos="S" & text="སྲས་"] [text="ཀྱི་"] [text="ཐུགས་"] 1 = [pos="U"] [text="ཕ་རོལ་"] [pos="U"] 2 = [pos="S"] -[pos="S" & text="ང་རང་"] [pos="U" & text="གི་"] [pos="S"] 2 = [pos="U"] -[text="སྙན་པ"] [pos="U" & text="ར་"] [text="མི་"] 2 = [pos="S"] -[pos="U" & text="ཅིག་"] [text="གསུངས"] [text="།"] 1 = [pos="S"] -[text="ད་ལྟ་"] [] [pos="U" & text="དང་"] 3 = [pos="S"] -[pos="U"] [pos="U" & text="འོག་"] [] [text="བུ་ཆེན་"] 2 = [pos="U"] -[text="།"] [pos="U"] [text="རྟ་"] 2 = [pos="S"] -[pos="U"] [pos="S" & text="ཕུག་རོན་"] [pos="U" & text="གྱི་"] 3 = [pos="U"] -[pos="U" & text="རང་"] [text="རྣམས་"] 1 = [pos="S"] -[pos="U" & text="ཁྱེད་"] [text="གཉིས་"] 1 = [pos="S"] -[text="ཡོད་པ་"] [pos="U" & text="ཡིན་"] 2 = [pos="S"] -[pos="U" & text="ལ་"] [text="རྨི་ལམ་"] 1 = [pos="S"] -[text="བསྐོར་བ་"] [] [pos="U"] 3 = [pos="S"] +[text="ན་"] [] [pos="U" & text="ཡིན"] 3 = [pos="S"] +[pos="U" & text="ལ་"] [text="ཞུས་པ་"] 1 = [pos="S"] +[pos="U"] [pos="U" & text="རོ་"] [pos="I"] 2 = [pos="B"] +[text="ས"] [] [pos="S" & text="བུ་"] [pos="U"] [pos="U"] 3 = [pos="S"] +[text="ཐུགས་"] [pos="U" & text="དྲན་"] 2 = [pos="S"] +[text="ར་"] [pos="S"] [text="ན་"] 2 = [pos="U"] +[pos="S" & text="བུ་"] [pos="U"] [pos="U"] 1 = [pos="U"] [text="ཡོད་"] [pos="U" & text="ཞུས་པ"] 2 = [pos="S"] -[pos="U" & text="།"] [] [text="ཀ་"] 1 = [pos="S"] -[text="ལ་ལ"] [] [pos="U"] 3 = [pos="S"] -[pos="U"] [] [text="གོམས་པ་"] 1 = [pos="S"] +[pos="U"] [pos="S" & text="བཞི་"] [pos="U"] 2 = [pos="U"] +[text="དང་"] [text="།"] [pos="U" & text="ནཱ་རོ"] 3 = [pos="S"] +[text="དགོས་པ་"] [pos="U" & text="ཡོད་"] 2 = [pos="S"] +[pos="U"] [text=".*ཁ"] 1 = [pos="S"] +[pos="U" & text="གནང་"] [text="བར་"] 1 = [pos="B"] +[text="རྨི་ལམ་"] [text="བཟང་"] [pos="U" & text="།།"] 3 = [pos="S"] +[pos="U" & text="བྱོན་"] [pos="S"] [pos="S"] 1 = [pos="U"] +[text="པང་"] [] [pos="U"] 3 = [pos="S"] +[pos="U" & text="སྐུ་དྲིན་"] [text="ཅན"] [text="།།"] 1 = [pos="B"] +[pos="U" & text="དགོས་པ་"] [text="ཡོད་"] 1 = [pos="S"] +[pos="S"] [pos="U"] [pos="U" & text="བྱུང་བ་"] 3 = [pos="S"] +[pos="U" & text="ནང་"] [text="མཐུན་པ"] 1 = [pos="B"] +[pos="U" & text="ར་"] [text="གདའ"] [text="།།"] 1 = [pos="S"] [text="དོན་དུ་"] [pos="U"] [text="ལགས་"] 2 = [pos="S"] -[text="ཁྱེད་"] [pos="U" & text="གཉིས་"] 2 = [pos="S"] -[pos="U" & text="ན་"] [] [text="ཡིན"] 1 = [pos="S"] +[pos="U" & text="མཐའ་"] [pos="U"] [pos="S"] 1 = [pos="S"] +[pos="U" & text="བྱུང་"] [text="སྟེ"] 1 = [pos="S"] +[pos="S"] [pos="U"] [pos="S" & text="ཁྱུང་"] 2 = [pos="U"] +[text="རྟོགས་པ་"] [] [pos="U" & text="ས"] 3 = [pos="S"] +[text="དོན་དུ་"] [] [pos="U" & text="ལགས་"] 3 = [pos="S"] +[pos="U"] [] [text="བདག་མེད་མ་"] 1 = [pos="S"] +[pos="S"] [pos="U"] [pos="U" & text="།"] [] [text="།"] 3 = [pos="B"] +[pos="U"] [pos="U" & text="ཡང་"] [pos="S" & text="རྗེ་མར་པ"] 2 = [pos="U"] +[pos="U" & text="།།"] [] [text="རྨི་ལམ་"] 1 = [pos="S"] +[pos="U" & text="བར་ཆད་"] [] [text="།།"] 1 = [pos="S"] +[text="བུ་ཆེན་"] [] [pos="U"] [pos="S"] [pos="U"] 3 = [pos="U"] +[pos="S"] [pos="U" & text="གྱི་"] [] [text="།།"] 2 = [pos="U"] +[pos="U" & text="ནམ་མཁ"] [pos="U"] [pos="S"] 1 = [pos="S"] +[text="ནཱ་རོ"] [pos="U" & text="འི་"] [text="ལུང་བསྟན་"] 2 = [pos="S"] +[pos="U" & text="ཡོད་པ་"] [text="དེ་"] 1 = [pos="S"] +[text="རྗེ་"] [pos="U" & text="མི་"] 2 = [pos="B"] +[pos="U"] [pos="U" & text="ཡང་"] [pos="S"] [text="བྱུང་"] 2 = [pos="U"] +[text="གོམས་པ་"] [pos="U"] 2 = [pos="S"] +[text="ལ་"] [pos="U" & text="ནི་"] 2 = [pos="S"] +[pos="S" & text="བུ་"] [pos="U" & text="ལ་"] [pos="U"] 1 = [pos="S"] +[text="བུ་"] [pos="U" & text="དང་"] 2 = [pos="S"] +[text="།"] [text="མེས་སྟོན་"] [pos="U" & text="གྱིས་"] 3 = [pos="U"] +[pos="S"] [pos="U"] [pos="U" & text="གྱིས་"] 3 = [pos="S"] +[pos="U"] [] [text="མི་ངན་"] 1 = [pos="S"] +[pos="S"] [pos="U" & text="ཡིན"] [pos="U"] 2 = [pos="S"] +[text="ཕྱག་ལེན་"] [pos="U" & text="དང་"] [pos="U"] [pos="S"] 2 = [pos="U"] +[pos="U" & text="ར་"] [text="ཚོགས་"] [text="གྲྭ་པ་"] 1 = [pos="S"] +[pos="U" & text="རྨི་ལམ་"] [pos="S"] 1 = [pos="S"] [text="འཕོས་"] [pos="U"] 2 = [pos="S"] -[pos="S"] [pos="U" & text="དེ"] [pos="U"] 2 = [pos="S"] +[text="ལ་"] [text="ཞུས་པ་"] [pos="U" & text="ལགས"] 3 = [pos="S"] +[text="ཉི་མ་"] [pos="U"] [text="ཕྱེད་"] 2 = [pos="S"] +[pos="U"] [pos="U"] [pos="S" & text="ཡོང་བ་"] 3 = [pos="U"] +[pos="U"] [] [text="གདུང་"] 1 = [pos="S"] +[text="ཕ་རོལ་"] [] [pos="U"] 3 = [pos="S"] +[pos="U" & text="ཁྱེད་"] [text="གཉིས་"] 1 = [pos="S"] +[text="ལ་"] [pos="U" & text="རྨི་ལམ་"] 2 = [pos="S"] +[pos="U" & text="ཀྱིས"] [text="།"] 1 = [pos="S"] +[text="མི་"] [text="འདུག་པ"] [pos="U" & text="ས"] 3 = [pos="S"] +[pos="U" & text="ཤིང་"] [] [text="ལ་"] 1 = [pos="S"] [text="ནས་"] [pos="S"] [pos="U" & text="ས་"] [pos="S"] 3 = [pos="I"] -[pos="U" & text="ཡིན་"] [text="ནོ"] [text="།།"] 1 = [pos="S"] -[pos="U"] [] [text="ཤོམས་"] 1 = [pos="S"] -[text="།"] [pos="U" & text="སྔར་"] [text="གྱི་"] 2 = [pos="S"] -[pos="U" & text="ང་"] [pos="S"] [pos="S"] 1 = [pos="I"] -[pos="S"] [pos="U"] [pos="U" & text="འདུག་"] 3 = [pos="S"] -[text="ཕྱག་ལེན་"] [] [pos="U"] [pos="S"] [pos="S"] 3 = [pos="U"] -[pos="U" & text="བྱས་པ་"] [] [text="།།"] 1 = [pos="S"] -[text="ལ་"] [pos="U"] [text="དོན་"] 2 = [pos="S"] -[pos="U" & text="དང་"] [text="།"] [text="ནཱ་རོ"] 1 = [pos="S"] -[text="ཕ་ཇོ་"] [pos="U"] 2 = [pos="S"] -[text="དང་"] [text="།"] [pos="U"] [text="།"] 3 = [pos="U"] -[pos="U" & text="ཡང་"] [pos="S"] [pos="U" & text="ས"] 1 = [pos="U"] -[text="ལ"] [] [pos="S" & text="ད་ལྟ་"] [pos="U"] 3 = [pos="S"] -[text="འོག་"] [pos="U"] [text="བུ་ཆེན་"] 2 = [pos="U"] -[pos="U" & text="གདམས་ངག་"] [text="ལ"] [text="།།"] 1 = [pos="S"] -[text="བུ་སློབ་"] [text="ཀུན"] [pos="U" & text="།།"] 3 = [pos="S"] -[pos="U" & text="སྒྲ་"] [] [text="།"] 1 = [pos="S"] -[text="འཕོས་"] [] [pos="U"] 3 = [pos="S"] -[pos="U" & text="།"] [] [text="སྣ་ཚོགས་"] 1 = [pos="S"] -[pos="S"] [pos="U" & text="གསུངས"] [pos="U"] 2 = [pos="S"] -[pos="S" & text="སྒོས་"] [pos="S"] [pos="U"] 3 = [pos="U"] -[pos="S"] [pos="U"] [pos="U" & text="སྣང་བ་"] 3 = [pos="S"] -[text="གནང་བ"] [] [pos="S"] 3 = [pos="U"] \ No newline at end of file +[text="ཀྱི་"] [text="ཞལ་"] [pos="U" & text="ནས"] 3 = [pos="S"] +[pos="U"] [pos="U" & text="རྒྱུན་"] [pos="S"] 2 = [pos="B"] +[pos="U"] [] [text="ལ་མོ"] 1 = [pos="S"] +[pos="U" & text="།"] [text="དབུ་"] 1 = [pos="S"] +[text="ས"] [pos="U"] [text="བུ་"] 2 = [pos="S"] +[pos="U" & text="འགྲོ་"] [text="ཀུན་"] 1 = [pos="B"] +[text="ཤིང་"] [pos="U"] [text="ལ་"] 2 = [pos="S"] +[pos="U" & text="དང་"] [pos="U"] [pos="S"] 1 = [pos="S"] +[text="ཤི་བ"] [pos="U"] 2 = [pos="S"] +[text="བླ་མ"] [text="འི་"] [pos="U" & text="ཞལ་"] 3 = [pos="S"] +[text="ཐུགས་"] [pos="U" & text="ཉམས་"] 2 = [pos="I"] +[pos="S"] [pos="U"] [pos="U" & text="གསུངས"] 3 = [pos="S"] +[text="གོམས་པ་"] [] [pos="U"] 3 = [pos="S"] +[text="ཇི་ལྟར་"] [] [pos="U"] 3 = [pos="S"] +[text="ཕུག་རོན་"] [pos="U"] 2 = [pos="S"] +[pos="U"] [text="བུ་ཆེན་"] 1 = [pos="S"] +[text="ར་"] [pos="U"] [text="ལས"] 2 = [pos="S"] +[pos="U" & text="གླིང་"] [text="དུ་"] [text="གཤེགས་པ་"] 1 = [pos="S"] +[pos="U"] [pos="U" & text="དུ་"] [pos="S" & text="རྗེ་མར་པ"] 2 = [pos="U"] +[pos="S" & text="བཀྲ་ཤིས་ཤོག"] [pos="U" & text="།"] [pos="S"] 2 = [pos="U"] +[pos="S"] [pos="U" & text="ཡོད་"] [pos="U"] 2 = [pos="S"] +[pos="U"] [] [text="ཆགདབུ་"] 1 = [pos="S"] +[text="དང་"] [pos="S" & text="ཕྲིན་ལས་"] [pos="U"] [pos="U"] 2 = [pos="S"] +[text="བུ་ཆེན་"] [pos="U" & text="རྣམས་"] 2 = [pos="S"] +[pos="U" & text="ཀུན་"] [text="ལ་"] 1 = [pos="S"] +[pos="U" & text="སྒྲ་"] [text="དང་"] [text="།"] 1 = [pos="S"] +[pos="U"] [text="བུ"] 1 = [pos="S"] +[text="ཐར་པ"] [pos="U"] [text="གླིང་"] 2 = [pos="S"] +[text="ཀ་"] [pos="U"] [text="ཏུ་"] 2 = [pos="S"] +[pos="S" & text="བུ་"] [pos="U" & text="གཅིག་"] [pos="U" & text="ཡོད་པ་"] 1 = [pos="S"] +[pos="U" & text="ཡོད་པ་"] [text="ཡིན་"] 1 = [pos="S"] +[pos="S"] [pos="U"] [pos="U" & text="ཚུལ་"] 3 = [pos="S"] +[pos="U"] [] [text="སྲིད་པ་"] 1 = [pos="S"] +[text="སུ་"] [text="གཤེགས"] [pos="U" & text="།།"] 3 = [pos="S"] +[text="ལ་"] [pos="U" & text="ཞུས་པ་"] [text="ལགས"] 2 = [pos="S"] +[text="ཁྱབ་པ་"] [] [pos="U" & text="།།"] 3 = [pos="S"] +[pos="U" & text="མཆོད་པ་"] [text="ཕུལ་"] 1 = [pos="S"] +[pos="U"] [text="རྒན་རྒོན་"] 1 = [pos="S"] +[pos="U"] [pos="S"] [pos="U" & text="འོད་གསལ་"] 3 = [pos="S"] +[text="བར་"] [pos="U" & text="དུ་"] [] [text="གི་"] 2 = [pos="S"] +[pos="U" & text="གསུངས་"] [pos="S"] 1 = [pos="S"] +[pos="U" & text="ཡང་"] [text="།"] 1 = [pos="S"] +[text="ཁྱེད་"] [pos="U" & text="གཉིས་"] 2 = [pos="S"] +[text="མཐུ་ཆེན་"] [] [pos="U"] 3 = [pos="S"] +[pos="U" & text="གསུངས་པ་"] [text="ལྟར་"] 1 = [pos="S"] +[text="།།"] [pos="S" & text="དུས་གསུམ་"] 2 = [pos="U"] +[pos="U"] [text="རྒྱུགས་པ"] 1 = [pos="S"] +[text="ལྟ་བུ་"] [pos="U" & text="ཞིག་"] [text="ཡོད་པ་"] 2 = [pos="S"] +[text="ཡོད་པ་"] [] [pos="U" & text="དང་"] 3 = [pos="S"] +[pos="S"] [pos="U" & text="གྱི་"] [] [text="ཡོད"] 2 = [pos="U"] +[pos="U"] [] [text="འདུས་བྱས་"] 1 = [pos="S"] +[pos="S"] [pos="U" & text="གཅིག་"] [pos="U"] 2 = [pos="S"] +[pos="U" & text="ནཱ་རོ"] [] [text="ལུང་བསྟན་"] 1 = [pos="S"] +[pos="U" & text="གདམས་ངག་"] [text="ལ"] 1 = [pos="S"] +[pos="U" & text="ཅིག་"] [text="གསུངས"] [text="།"] 1 = [pos="S"] +[pos="U" & text="།"] [text="སྔར་"] [text="གྱི་"] 1 = [pos="S"] +[pos="U" & text="གདམས་ངག་"] [text="ཐེབས་པ་"] 1 = [pos="S"] +[pos="U"] [] [text="བརྒྱུད་"] 1 = [pos="S"] +[text="བྱུང་བ་"] [] [pos="U" & text="།།"] 3 = [pos="S"] +[pos="U" & text="།།"] [text="དེ་ནས་"] [text="རྗེ་བཙུན་མི་"] 1 = [pos="U"] +[pos="U"] [pos="U"] [pos="I" & text="ཅན་"] 3 = [pos="U"] +[text="ར་"] [pos="U" & text="ཚོགས་"] 2 = [pos="S"] +[pos="U"] [] [text=".*བ་"] 1 = [pos="S"] +[text="མེས་སྟོན་"] [pos="U"] 2 = [pos="S"] \ No newline at end of file diff --git a/tests/marpa/marpa_rules.txt b/tests/marpa/marpa_rules.txt index b65d504..cbd0759 100644 --- a/tests/marpa/marpa_rules.txt +++ b/tests/marpa/marpa_rules.txt @@ -1,44 +1,44 @@ -[text="སོགས་" & pos="DET"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] [text="སྨིན་" & pos="VERB"] 2 + [] -[text="འི་" & pos="PART"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="ཡང་"] 2 + [] -[text="བདུན་" & pos="NUM"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="བརྟན་པ་" & pos="VERB"] 2 + [] -[text="བཏོན་"] [text="ནོ་"] [text="སྐུ་དྲིན་" & pos="NOUN"] [text="ཅན" & pos="PART"] [text="།།" & pos="PUNCT"] 3 + [] -[text="།" & pos="PUNCT"] [text="དེ་དུས་" & pos="PRON"] [text="ཀྱང་"] [text="རྔོག་པ" & pos="PROPN"] [text="ས་" & pos="PART"] 2-1 : [] [] -[text="གི་"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="ལ་" & pos="ADP"] 2 + [] -[text="འབྱུང་བ་" & pos="VERB"] [text="རོ་" & pos="NOUN"] [text="སྙོམས་" & pos="VERB"] [text="ཀྱི་"] 2 + [] -[text="འགྲོ་བ་" & pos="VERB"] [text="འདྲེན་མཛད་"] [text="སྐུ་དྲིན་" & pos="NOUN"] [text="ཅན" & pos="PART"] [text="།།" & pos="PUNCT"] 3 + [] -[text="།།" & pos="PUNCT"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="མཚོན་པ" & pos="VERB"] 2 + [] -[text="།།" & pos="PUNCT"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="སྤྲོས་བྲལ་" & pos="ADJ"] 2 + [] -[text="།།" & pos="PUNCT"] [text="རྗེ་"] [text="མི་" & pos="PART"] [text="འབྲལ་"] 3 + [] +[text="།།" & pos="PUNCT"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] [text="བཤེས་གཉེན་" & pos="NOUN"] 2 + [] [text="ཟླ་ཕྱེད་" & pos="NOUN"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="ཕྱོགས་" & pos="NOUN"] 2 + [] -[text="འི་" & pos="PART"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="དྲག་པོ་" & pos="ADJ"] 2 + [] -[text="།" & pos="PUNCT"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="ལག་" & pos="NOUN"] 2 + [] -[text="ས་" & pos="PART"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] [text="ཚིམ་པ་" & pos="VERB"] 2 + [] -[text="།།" & pos="PUNCT"] [text="དབྱེར་" & pos="TEXT"] [text="མེད་" & pos="VERB"] [text="དཔལ་ལྡན་" & pos="ADJ"] 2 + [] -[text="རྫོགས་" & pos="VERB"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="གཅིག་བརྒྱུད་"] 2 + [] -[text="སེམས་" & pos="NOUN"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="དུ་"] 2 + [] -[text="ཇི་བཞིན་" & pos="OTHER"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="སུ་" & pos="ADP"] 2 + [] [text="།" & pos="PUNCT"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] [text="དང་བ་" & pos="NOUN"] 2 + [] -[text="།།" & pos="PUNCT"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] [text="བཤེས་གཉེན་" & pos="NOUN"] 2 + [] -[text="ཀྱི་"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="གནས་པ" & pos="VERB"] 2 + [] -[text="བྱང་ཆུབ་" & pos="NOUN"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="གཙུག་" & pos="NOUN"] 2 + [] [text="གྲོང་འཇུག་" & pos="NOUN"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="སུ་" & pos="ADP"] 2 + [] -[text="ཡབ་" & pos="NOUN"] [text="དབྱེར་" & pos="TEXT"] [text="མེད་" & pos="VERB"] [text="དགྱེས་རྡོར་"] 2 + [] -[text="།།" & pos="PUNCT"] [text="རོ་" & pos="NOUN"] [text="སྙོམས་" & pos="VERB"] [text="ལྕགས་" & pos="NOUN"] 2 + [] [text="།།" & pos="PUNCT"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="རང་སྒྲ་"] 2 + [] -[text="མོས་གུས་" & pos="NOUN"] [text="ནང་" & pos="NOUN"] [text="མཐུན་པ" & pos="VERB"] [text="ས་" & pos="PART"] 2 + [] -[text="བདུན་" & pos="NUM"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="སྣང་བ་" & pos="VERB"] 2 + [] -[text="གི་"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="ཆོས་གྲྭ་" & pos="NOUN"] 2 + [] -[text="ནི་" & pos="PART"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="ལ་" & pos="ADP"] 2 + [] +[text="།།" & pos="PUNCT"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="རི་བོང་" & pos="NOUN"] 2 + [] [text="འཁོར་འདས་" & pos="NOUN"] [text="དབྱེར་" & pos="TEXT"] [text="མེད་" & pos="VERB"] [text="ག་" & pos="PRON"] 2 + [] [text="གྱི་"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="བསྟན་པ་" & pos="VERB"] 2 + [] -[text="འི་" & pos="PART"] [text="བླ་མ་" & pos="NOUN"] [text="སྐུ་དྲིན་" & pos="NOUN"] [text="ཅན" & pos="PART"] [text="།།" & pos="PUNCT"] 3 + [] -[text="གདམས་དག་"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="སུ་" & pos="ADP"] 2 + [] -[text="བསྲེ་བ་" & pos="VERB"] [text="རོ་" & pos="NOUN"] [text="སྙོམས་" & pos="VERB"] [text="གཉིས་" & pos="NUM"] 2 + [] -[text="།།" & pos="PUNCT"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="རི་བོང་" & pos="NOUN"] 2 + [] +[text="གཞན་གཅེས་"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] [text="བརྩེ་བ" & pos="VERB"] 2 + [] [text="བརྩེ་བདུངས་"] [text="ནང་" & pos="NOUN"] [text="མཐུན་པ" & pos="VERB"] [text="ས" & pos="PART"] 2 + [] -[text="རྩེ་གདུངས་"] [text="ནང་" & pos="NOUN"] [text="མཐུན་པ" & pos="VERB"] [text="ས་" & pos="PART"] 2 + [] -[text="གྱི་"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="འཕགས་པ་" & pos="VERB"] 2 + [] -[text="།།" & pos="PUNCT"] [text="དབྱེར་" & pos="TEXT"] [text="མེད་" & pos="VERB"] [text="རང་བཞིན་" & pos="NOUN"] 2 + [] +[text="།།" & pos="PUNCT"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="སྤྲོས་བྲལ་" & pos="ADJ"] 2 + [] +[text="རྟ" & pos="NOUN"] [text="།།" & pos="PUNCT"] [text="རོ་" & pos="NOUN"] [text="སྙོམས་" & pos="VERB"] [text="ལྕགས་" & pos="NOUN"] 3 + [] +[text="།།" & pos="PUNCT"] [text="རྗེ་"] [text="མི་" & pos="PART"] [text="འབྲལ་"] 3 + [] +[text="བྱང་ཆུབ་" & pos="NOUN"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="གཙུག་" & pos="NOUN"] 2 + [] +[text="བདུན་" & pos="NUM"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="བརྟན་པ་" & pos="VERB"] 2 + [] +[text="ཡབ་" & pos="NOUN"] [text="དབྱེར་" & pos="TEXT"] [text="མེད་" & pos="VERB"] [text="དགྱེས་རྡོར་"] 2 + [] +[text="།།" & pos="PUNCT"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="མཚོན་པ" & pos="VERB"] 2 + [] +[text="བླ་མ་" & pos="NOUN"] [text="སྐུ་དྲིན་" & pos="NOUN"] [text="ཅན" & pos="PART"] [text="།།" & pos="PUNCT"] [text="དཔལ་" & pos="OTHER"] 2 + [] +[text="གི་"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="ཆོས་གྲྭ་" & pos="NOUN"] 2 + [] [text="ས་" & pos="PART"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] [text="སངས་རྒྱས་" & pos="NOUN"] 2 + [] -[text="གཞན་གཅེས་"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] [text="བརྩེ་བ" & pos="VERB"] 2 + [] -[text="རང་བཞིན་" & pos="NOUN"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="ཀི་" & pos="ADP"] 2 + [] \ No newline at end of file +[text="།།" & pos="PUNCT"] [text="དབྱེར་" & pos="TEXT"] [text="མེད་" & pos="VERB"] [text="རང་བཞིན་" & pos="NOUN"] 2 + [] +[text="།།" & pos="PUNCT"] [text="དབྱེར་" & pos="TEXT"] [text="མེད་" & pos="VERB"] [text="དཔལ་ལྡན་" & pos="ADJ"] 2 + [] +[text="སེམས་" & pos="NOUN"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="དུ་"] 2 + [] +[text="ཇི་བཞིན་" & pos="OTHER"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="སུ་" & pos="ADP"] 2 + [] +[text="།།" & pos="PUNCT"] [text="བསྲེ་བ་" & pos="VERB"] [text="རོ་" & pos="NOUN"] [text="སྙོམས་" & pos="VERB"] [text="གཉིས་" & pos="NUM"] 3 + [] +[text="འདྲེན་མཛད་"] [text="སྐུ་དྲིན་" & pos="NOUN"] [text="ཅན" & pos="PART"] [text="།།" & pos="PUNCT"] [text="གྲུབ་ཐོབ་" & pos="NOUN"] 2 + [] +[text="གི་"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="ལ་" & pos="ADP"] 2 + [] +[text="ནི་" & pos="PART"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="ལ་" & pos="ADP"] 2 + [] +[text="།" & pos="PUNCT"] [text="དེ་དུས་" & pos="PRON"] [text="ཀྱང་"] [text="རྔོག་པ" & pos="PROPN"] [text="ས་" & pos="PART"] 2-1 : [] [] +[text="ས་" & pos="PART"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] [text="ཚིམ་པ་" & pos="VERB"] 2 + [] +[text="གྱི་"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="འཕགས་པ་" & pos="VERB"] 2 + [] +[text="འི་" & pos="PART"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="ཡང་"] 2 + [] +[text="མོས་གུས་" & pos="NOUN"] [text="ནང་" & pos="NOUN"] [text="མཐུན་པ" & pos="VERB"] [text="ས་" & pos="PART"] 2 + [] +[text="གདམས་དག་"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="སུ་" & pos="ADP"] 2 + [] +[text="འི་" & pos="PART"] [text="ཐུགས་" & pos="NOUN"] [text="ཉམས་" & pos="NOUN"] [text="དྲག་པོ་" & pos="ADJ"] 2 + [] +[text="རང་བཞིན་" & pos="NOUN"] [text="སྐྱེ་" & pos="NOUN"] [text="མེད་" & pos="VERB"] [text="ཀི་" & pos="ADP"] 2 + [] +[text="བདུན་" & pos="NUM"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="སྣང་བ་" & pos="VERB"] 2 + [] +[text="ཀྱི་"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="གནས་པ" & pos="VERB"] 2 + [] +[text="ནོ་"] [text="སྐུ་དྲིན་" & pos="NOUN"] [text="ཅན" & pos="PART"] [text="།།" & pos="PUNCT"] [text="ཕ་" & pos="NOUN"] 2 + [] +[text="སོགས་" & pos="DET"] [text="འགྲོ་" & pos="VERB"] [text="ཀུན་" & pos="DET"] [text="སྨིན་" & pos="VERB"] 2 + [] +[text="རྫོགས་" & pos="VERB"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="གཅིག་བརྒྱུད་"] 2 + [] +[text="ལ་" & pos="ADP"] [text="འབྱུང་བ་" & pos="VERB"] [text="རོ་" & pos="NOUN"] [text="སྙོམས་" & pos="VERB"] [text="ཀྱི་"] 3 + [] +[text="རྩེ་གདུངས་"] [text="ནང་" & pos="NOUN"] [text="མཐུན་པ" & pos="VERB"] [text="ས་" & pos="PART"] 2 + [] +[text="།" & pos="PUNCT"] [text="བར་" & pos="NOUN"] [text="དུ་"] [text="ལག་" & pos="NOUN"] 2 + [] \ No newline at end of file diff --git a/tests/marpa/marpa_tr_data.txt.RDR b/tests/marpa/marpa_tr_data.txt.RDR index 821c040..d0c4356 100644 --- a/tests/marpa/marpa_tr_data.txt.RDR +++ b/tests/marpa/marpa_tr_data.txt.RDR @@ -3,10 +3,10 @@ object.prevTag1 == "S" and object.nextTag1 == "S" : object.conclusion = "S" object.prevWord1 == "ང་རང་" and object.word == "གི་" : object.conclusion = "U" object.prevWord2 == "གཉིས་" : object.conclusion = "U" - object.prevWord1 == "བཀྲ་ཤིས་ཤོག" : object.conclusion = "U" + object.prevWord1 == "བཀྲ་ཤིས་ཤོག" and object.word == "།" : object.conclusion = "U" object.nextWord1 == "ཁྱུང་" : object.conclusion = "U" object.nextWord1 == "དུ་མ་" : object.conclusion = "U" - object.prevWord1 == "ལ་བ" and object.nextWord1 == "ཆད་མེད་པ" : object.conclusion = "I" + object.word == "ར་" and object.nextWord1 == "ཆད་མེད་པ" : object.conclusion = "I" object.prevWord2 == "ནས་" and object.word == "ས་" : object.conclusion = "I" object.prevTag2 == "S" and object.prevTag1 == "S" : object.conclusion = "S" object.prevWord1 == "རྒྱུ་" : object.conclusion = "U" @@ -18,48 +18,48 @@ object.nextWord2 == "མཁར་" : object.conclusion = "U" object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "འི་" : object.conclusion = "U" object.prevWord2 == "གྱི་" : object.conclusion = "U" - object.prevWord1 == "ལ་" and object.word == "བྱོན་" : object.conclusion = "U" + object.word == "བྱོན་" and object.nextTag1 == "S" and object.nextTag2 == "S" : object.conclusion = "U" object.prevWord2 == "ཕྱག་ལེན་" : object.conclusion = "U" - object.prevWord2 == "འཚལ་བ་" : object.conclusion = "U" - object.word == "ང་" and object.nextTag1 == "S" and object.nextTag2 == "S" : object.conclusion = "I" - object.prevTag1 == "S" and object.word == "དེ" and object.nextTag1 == "U" : object.conclusion = "S" + object.prevWord2 == "འཚལ་བ་" and object.word == "།།" : object.conclusion = "U" + object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "ང་" : object.conclusion = "I" + object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "དེ" : object.conclusion = "S" object.prevWord2 == "བདག་མེད་མ་" : object.conclusion = "S" - object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "ཡིན" : object.conclusion = "S" + object.prevTag1 == "S" and object.word == "ཡིན" and object.nextTag1 == "U" : object.conclusion = "S" object.word == "བླ་མ་" and object.nextTag1 == "S" and object.nextTag2 == "U" : object.conclusion = "S" - object.prevWord2 == "དང་" and object.prevWord1 == "།" and object.word == "བླ་མ་" : object.conclusion = "U" + object.prevWord2 == "དང་" and object.word == "བླ་མ་" : object.conclusion = "U" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "ཀྱི་" : object.conclusion = "S" - object.word == "ཀྱི་" and object.nextWord2 == "ཡིན་" : object.conclusion = "U" + object.nextWord2 == "ཡིན་" : object.conclusion = "U" object.nextWord2 == "བདག་མེད་མ་" : object.conclusion = "S" object.nextWord1 == "བདག་མེད་མ་" : object.conclusion = "S" object.prevWord1 == "བུ་ཆེན་" and object.word == "རྣམས་" : object.conclusion = "S" object.word == "དང་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" object.word == "དང་" and object.nextWord1 == "དགའ་སྤྲོ་" and object.nextWord2 == "དཔག་ཏུ་མེད་པ་" : object.conclusion = "U" object.prevWord2 == "གྱི་" and object.word == "དང་" : object.conclusion = "U" - object.prevWord1 == "ཕྱག་ལེན་" and object.word == "དང་" and object.nextWord1 == "ཆོ་ག་" : object.conclusion = "U" + object.prevWord1 == "ཕྱག་ལེན་" : object.conclusion = "U" object.word == "བར་" and object.nextWord1 == "དུ་" : object.conclusion = "B" object.prevWord1 == "རྗེ་བཙུན་མི་" : object.conclusion = "S" object.prevWord1 == "བར་" and object.word == "དུ་" : object.conclusion = "I" - object.nextWord2 == "གི་" : object.conclusion = "S" + object.word == "དུ་" and object.nextWord2 == "གི་" : object.conclusion = "S" object.nextWord2 == "བུ་ཆེན་" : object.conclusion = "S" - object.prevTag1 == "U" and object.word == "འོག་" : object.conclusion = "U" - object.word == "དུ་" and object.nextTag1 == "S" and object.nextTag2 == "U" : object.conclusion = "S" + object.word == "འོག་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "U" + object.prevTag1 == "U" and object.word == "དུ་" and object.nextTag1 == "S" : object.conclusion = "S" object.nextWord1 == "རྗེ་མར་པ" : object.conclusion = "U" object.prevWord1 == "ཚུལ་" : object.conclusion = "U" object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "མི་" : object.conclusion = "S" object.prevTag1 == "S" and object.nextTag1 == "I" : object.conclusion = "I" - object.prevWord2 == "།" : object.conclusion = "S" + object.suffixL1 == "" : object.conclusion = "S" object.prevTag1 == "B" and object.word == "མེད་" : object.conclusion = "I" object.word == "མེད་" and object.nextWord1 == "ཕྱག་རྒྱ་ཆེན་པོ་" and object.nextWord2 == "ལ" : object.conclusion = "S" object.prevWord1 == "གནང་" and object.word == "བར་" : object.conclusion = "S" object.nextWord1 == "བུ་ཆེན་" : object.conclusion = "S" - object.prevWord1 == "འོག་" : object.conclusion = "U" + object.prevWord1 == "འོག་" and object.nextWord1 == "བུ་ཆེན་" : object.conclusion = "U" object.prevWord2 == "བུ་ཆེན་" : object.conclusion = "S" object.nextTag1 == "S" and object.nextTag2 == "U" : object.conclusion = "U" object.prevWord2 == "ཐུགས་ཁྲལ་" : object.conclusion = "S" object.nextWord2 == "ཀ་ཆེན་" : object.conclusion = "S" - object.prevTag1 == "S" and object.word == "ཐོག་" : object.conclusion = "S" + object.prevWord1 == "ཀ་" and object.nextWord1 == "ཏུ་" : object.conclusion = "S" object.prevWord1 == "མེས་སྟོན་" : object.conclusion = "S" - object.prevWord2 == "།" and object.word == "གྱིས་" : object.conclusion = "U" + object.prevWord2 == "།" and object.prevWord1 == "མེས་སྟོན་" and object.word == "གྱིས་" : object.conclusion = "U" object.prevWord1 == "ཀྱི་" and object.word == "ཞལ་" and object.nextWord1 == "ནས" : object.conclusion = "S" object.prevWord2 == "མཐུ་ཆེན་" : object.conclusion = "S" object.word == "ཏེ" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" @@ -67,60 +67,61 @@ object.prevWord1 == "ཁྱོད་" : object.conclusion = "U" object.nextWord1 == "ཡབ་" : object.conclusion = "S" object.nextWord2 == "ལ་" : object.conclusion = "U" - object.prevTag1 == "S" and object.word == "གཅིག་" : object.conclusion = "S" + object.prevTag1 == "S" and object.word == "གཅིག་" and object.nextTag1 == "U" : object.conclusion = "S" object.word == "གཅིག་" and object.nextWord1 == "ལ་" : object.conclusion = "U" object.nextWord1 == "བས" : object.conclusion = "B" object.nextWord2 == "།།" : object.conclusion = "S" object.word == "གནང་" and object.nextWord1 == "བར་" : object.conclusion = "B" object.suffixL1 == "པ" : object.conclusion = "S" - object.prevTag1 == "U" and object.word == "གཅིག་པ" : object.conclusion = "U" - object.word == "།" and object.nextWord1 == "རྗེ་བཙུན་མི་" : object.conclusion = "S" + object.word == "གཅིག་པ" and object.nextTag1 == "U" : object.conclusion = "U" + object.nextWord1 == "རྗེ་བཙུན་མི་" : object.conclusion = "S" + object.prevTag2 == "S" and object.prevTag1 == "U" : object.conclusion = "U" object.word == "ཀྱི་" and object.nextWord1 == "ཞལ་" and object.nextWord2 == "ནས" : object.conclusion = "S" object.prevWord2 == "ཀྱི་" and object.prevWord1 == "ཞལ་" and object.word == "ནས" : object.conclusion = "S" - object.word == "ར་" and object.nextWord2 == "ལས" : object.conclusion = "S" object.word == "རྟ་" and object.nextWord1 == "ལ་" : object.conclusion = "S" - object.prevTag1 == "S" and object.word == "ཅིག་" : object.conclusion = "S" + object.prevTag1 == "S" and object.word == "ཅིག་" and object.nextTag1 == "U" : object.conclusion = "S" object.prevWord1 == "བདག་མེད་མ་" : object.conclusion = "S" object.prevWord1 == "ཅིག་" and object.word == "གསུངས" and object.nextWord1 == "།" : object.conclusion = "S" object.word == "བླ་མ" and object.nextWord2 == "ཞལ་" : object.conclusion = "S" - object.prevWord1 == "བླ་མ" and object.nextWord1 == "ཞལ་" : object.conclusion = "S" - object.prevWord2 == "བླ་མ" and object.word == "ཞལ་" : object.conclusion = "S" + object.prevWord1 == "བླ་མ" and object.word == "འི་" and object.nextWord1 == "ཞལ་" : object.conclusion = "S" + object.prevWord2 == "བླ་མ" and object.prevWord1 == "འི་" and object.word == "ཞལ་" : object.conclusion = "S" object.prevWord1 == "བསྐོར་བ་" : object.conclusion = "S" object.prevWord1 == "བཀའ་བརྒྱུད་" : object.conclusion = "S" - object.prevTag1 == "U" and object.word == "རྨི་ལམ་" and object.nextTag1 == "S" : object.conclusion = "S" + object.word == "རྨི་ལམ་" and object.nextTag1 == "S" : object.conclusion = "S" object.word == "རྨི་ལམ་" and object.nextWord1 == "བཟང་" : object.conclusion = "S" object.prevWord1 == "རྨི་ལམ་" and object.word == "བཟང་" : object.conclusion = "S" object.nextWord1 == "ལ་ལ" : object.conclusion = "S" object.nextWord2 == "རྔོག་པ" : object.conclusion = "S" + object.word == "ར་" and object.nextWord2 == "ལས" : object.conclusion = "S" object.prevWord2 == "ར་" and object.word == "ལས" : object.conclusion = "S" - object.word == "མི་" and object.nextTag1 == "S" : object.conclusion = "S" + object.prevTag1 == "U" and object.word == "མི་" and object.nextTag1 == "S" : object.conclusion = "S" object.nextWord1 == "ང་རང་" : object.conclusion = "U" object.prevWord2 == "གཟིགས་པ" and object.prevWord1 == "ས" and object.word == "།" : object.conclusion = "S" object.word == "གསུངས་པ་" and object.nextWord1 == "ལྟར་" : object.conclusion = "S" object.prevWord1 == "གསུངས་པ་" and object.word == "ལྟར་" : object.conclusion = "S" object.word == "ནམ་མཁ" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "གྱི་" : object.conclusion = "S" - object.prevWord1 == "ཕུག་རོན་" and object.word == "གྱི་" : object.conclusion = "U" + object.prevTag1 == "S" and object.word == "གྱི་" : object.conclusion = "S" + object.prevWord1 == "ཕུག་རོན་" : object.conclusion = "U" object.nextWord2 == "།།" : object.conclusion = "U" object.nextWord2 == "ཞིག་" : object.conclusion = "U" - object.word == "གྱི་" and object.nextWord1 == "གདམས་ངག་" and object.nextWord2 == "ཡོད" : object.conclusion = "U" + object.word == "གྱི་" and object.nextWord2 == "ཡོད" : object.conclusion = "U" object.word == "རྣམས" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" object.word == "ར་" and object.nextWord1 == "གདའ" and object.nextWord2 == "།།" : object.conclusion = "S" object.prevWord1 == "ར་" and object.word == "གདའ" and object.nextWord1 == "།།" : object.conclusion = "S" object.nextWord1 == "ཕུག་རོན་" : object.conclusion = "S" object.nextWord2 == "གྱི་" : object.conclusion = "U" - object.word == "ཡང་" and object.nextTag1 == "S" and object.nextTag2 == "U" : object.conclusion = "S" - object.nextWord2 == "བྱུང་" : object.conclusion = "U" - object.nextWord2 == "ས" : object.conclusion = "U" + object.prevTag1 == "U" and object.word == "ཡང་" and object.nextTag1 == "S" : object.conclusion = "S" + object.word == "ཡང་" and object.nextWord2 == "བྱུང་" : object.conclusion = "U" + object.nextWord1 == "རྗེ་མར་པ" : object.conclusion = "U" object.prevWord1 == "ན་" and object.word == "ཡོད་པ་" : object.conclusion = "S" object.prevWord1 == "དོན་དུ་" and object.nextWord1 == "ལགས་" : object.conclusion = "S" object.prevWord2 == "དོན་དུ་" and object.word == "ལགས་" : object.conclusion = "S" object.word == "རྟོགས་པ་" and object.nextWord1 == "དེ" and object.nextWord2 == "ས" : object.conclusion = "S" object.prevWord1 == "རྟོགས་པ་" and object.nextWord1 == "ས" : object.conclusion = "S" object.prevWord2 == "བཀའ་བརྒྱུད་" : object.conclusion = "S" - object.word == "སངས་རྒྱས་" and object.nextWord2 == "ཞུས་པ་" : object.conclusion = "S" - object.word == "ལ་" and object.nextWord1 == "ཞུས་པ་" and object.nextWord2 == "ལགས" : object.conclusion = "S" - object.prevWord1 == "ལ་" and object.word == "ཞུས་པ་" : object.conclusion = "S" + object.word == "སངས་རྒྱས་" and object.nextWord1 == "ལ་" and object.nextWord2 == "ཞུས་པ་" : object.conclusion = "S" + object.word == "ལ་" and object.nextWord1 == "ཞུས་པ་" : object.conclusion = "S" + object.prevWord1 == "ལ་" and object.word == "ཞུས་པ་" and object.nextWord1 == "ལགས" : object.conclusion = "S" object.prevWord2 == "ལ་" and object.prevWord1 == "ཞུས་པ་" and object.word == "ལགས" : object.conclusion = "S" object.nextWord2 == "མི་ངན་" : object.conclusion = "S" object.nextWord2 == "མེས་སྟོན་" : object.conclusion = "S" @@ -128,20 +129,20 @@ object.word == "ན་" and object.nextWord2 == "ཡིན" : object.conclusion = "S" object.prevWord2 == "ན་" and object.word == "ཡིན" : object.conclusion = "S" object.nextWord2 == "ལ་ལ" : object.conclusion = "S" - object.word == "རྒྱུན་" and object.nextTag1 == "S" : object.conclusion = "B" + object.prevTag1 == "U" and object.word == "རྒྱུན་" and object.nextTag1 == "S" : object.conclusion = "B" object.word == "ཐུགས་" and object.nextWord1 == "ཉམས་" : object.conclusion = "B" object.prevWord1 == "ར་" and object.nextWord1 == "ལས" : object.conclusion = "S" object.word == "།" and object.nextWord2 == "རྟ་" : object.conclusion = "S" object.prevWord2 == "ཞན་" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "བཅས་པ་" : object.conclusion = "S" - object.word == "ད་" and object.nextTag1 == "S" : object.conclusion = "S" + object.prevTag1 == "U" and object.word == "ད་" and object.nextTag1 == "S" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "ཕུལ་བ" : object.conclusion = "S" object.prevWord2 == "ཆགས་པ་" : object.conclusion = "S" object.word == "།" and object.nextWord2 == "མི་" : object.conclusion = "S" object.prevWord1 == "པང་" : object.conclusion = "S" object.prevWord2 == "པང་" : object.conclusion = "S" object.word == "ཅིག་" and object.nextWord1 == "གསུངས" and object.nextWord2 == "།" : object.conclusion = "S" - object.prevTag1 == "U" and object.word == "གསུངས་" and object.nextTag1 == "S" : object.conclusion = "S" + object.word == "གསུངས་" and object.nextTag1 == "S" : object.conclusion = "S" object.prevTag1 == "S" and object.word == "གསུངས" and object.nextTag1 == "U" : object.conclusion = "S" object.prevWord1 == "།" and object.word == "དབུ་" : object.conclusion = "S" object.prevWord1 == "ཕ་ཇོ་" : object.conclusion = "S" @@ -153,8 +154,8 @@ object.prevWord1 == "འཕོས་" : object.conclusion = "S" object.prevWord2 == "འཕོས་" : object.conclusion = "S" object.prevWord1 == "།།" and object.word == "སྙན་བརྒྱུད་" : object.conclusion = "S" - object.prevWord1 == "ད་ལྟ་" and object.word == "གདེངས་" : object.conclusion = "S" - object.prevWord2 == "ད་ལྟ་" and object.word == "དང་" : object.conclusion = "S" + object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "གདེངས་" : object.conclusion = "S" + object.prevWord1 == "གདེངས་" and object.word == "དང་" : object.conclusion = "S" object.prevWord2 == "འི་" and object.word == "འདྲ" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "གསུངས་པ" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "འདུག་" : object.conclusion = "S" @@ -171,37 +172,37 @@ object.prevWord1 == "ལ་" and object.word == "རྨི་ལམ་" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "བྱུང་བ་" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "ཚུལ་" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "དོན་" : object.conclusion = "S" + object.prevWord2 == "སེམས་ཅན་" and object.prevWord1 == "གྱི་" and object.word == "དོན་" : object.conclusion = "S" object.prevWord2 == "ཤིང་" and object.word == "ལ་" : object.conclusion = "S" object.nextWord2 == "གདུང་" : object.conclusion = "S" object.word == "མི་" and object.nextWord1 == "འདུག་པ" and object.nextWord2 == "ས" : object.conclusion = "S" - object.word == "འདུག་པ" and object.nextWord1 == "ས" and object.nextWord2 == "།།" : object.conclusion = "S" + object.prevWord1 == "མི་" and object.word == "འདུག་པ" and object.nextWord1 == "ས" : object.conclusion = "S" object.word == "ཀུན་" and object.nextWord1 == "ལ་" : object.conclusion = "S" object.nextWord2 == "གང་བ་" : object.conclusion = "S" object.word == "འགྲོ་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.word == "མཐའ་" and object.nextWord1 == "ནས་" and object.nextWord2 == "རྒྱས་པ་" : object.conclusion = "S" - object.word == "འི་" and object.nextWord1 == "མཐོངས་" : object.conclusion = "S" + object.word == "མཐའ་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" + object.prevWord1 == "ནམ་མཁ" and object.word == "འི་" and object.nextWord1 == "མཐོངས་" : object.conclusion = "S" object.word == "།།" and object.nextWord2 == "རྨི་ལམ་" : object.conclusion = "S" - object.word == "འདི" and object.nextWord2 == "ཚོགས་" : object.conclusion = "S" - object.word == "ར་" and object.nextWord1 == "ཚོགས་" : object.conclusion = "S" - object.word == "ཚོགས་" and object.nextWord1 == "གྲྭ་པ་" : object.conclusion = "S" - object.word == "གྲྭ་པ་" and object.nextWord1 == "བུ་སློབ་" and object.nextWord2 == "ཀུན" : object.conclusion = "S" - object.prevWord2 == "ཚོགས་" and object.word == "བུ་སློབ་" : object.conclusion = "S" - object.prevWord2 == "གྲྭ་པ་" and object.word == "ཀུན" : object.conclusion = "S" - object.prevWord2 == "བཙུགས་པ་" and object.prevWord1 == "དེ" and object.word == "།།" : object.conclusion = "S" - object.nextWord1 == "ཐེབས་པ་" : object.conclusion = "S" + object.prevWord2 == "བཟང་" and object.word == "འདི" : object.conclusion = "S" + object.word == "ར་" and object.nextWord1 == "ཚོགས་" and object.nextWord2 == "གྲྭ་པ་" : object.conclusion = "S" + object.prevWord1 == "ར་" and object.word == "ཚོགས་" : object.conclusion = "S" + object.prevWord1 == "ཚོགས་" and object.nextWord1 == "བུ་སློབ་" : object.conclusion = "S" + object.word == "བུ་སློབ་" and object.nextWord2 == "།།" : object.conclusion = "S" + object.prevWord1 == "བུ་སློབ་" and object.word == "ཀུན" : object.conclusion = "S" + object.prevWord2 == "བཙུགས་པ་" and object.word == "།།" : object.conclusion = "S" + object.word == "གདམས་ངག་" and object.nextWord1 == "ཐེབས་པ་" : object.conclusion = "S" object.prevWord2 == "དེ" and object.word == "ཐར་པ" : object.conclusion = "S" object.prevWord1 == "ཐར་པ" and object.nextWord1 == "གླིང་" : object.conclusion = "S" - object.prevWord2 == "ཐར་པ" and object.word == "གླིང་" : object.conclusion = "S" + object.word == "གླིང་" and object.nextWord1 == "དུ་" and object.nextWord2 == "གཤེགས་པ་" : object.conclusion = "S" object.word == "།" and object.nextWord2 == "།" : object.conclusion = "S" object.prevWord1 == "དང་" and object.word == "།" : object.conclusion = "U" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "།" : object.conclusion = "B" object.prevWord1 == "ཐུགས་" and object.word == "ཉམས་" : object.conclusion = "I" object.prevWord1 == "ལ་ད" : object.conclusion = "I" object.word == "འགྲོ་" and object.nextWord1 == "ཀུན་" : object.conclusion = "B" - object.word == "རོ་" and object.nextTag1 == "I" : object.conclusion = "B" + object.prevTag1 == "U" and object.word == "རོ་" and object.nextTag1 == "I" : object.conclusion = "B" object.word == "ནང་" and object.nextWord1 == "མཐུན་པ" : object.conclusion = "B" - object.prevTag1 == "U" and object.word == "སྐུ་དྲིན་" and object.nextTag1 == "I" : object.conclusion = "B" + object.word == "སྐུ་དྲིན་" and object.nextWord1 == "ཅན" and object.nextWord2 == "།།" : object.conclusion = "B" object.prevWord1 == "རྗེ་" and object.word == "མི་" : object.conclusion = "B" object.word == "གཅིག་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" object.word == "བར་ཆད་" and object.nextWord2 == "།།" : object.conclusion = "S" @@ -210,41 +211,41 @@ object.prevWord1 == "ལ་" and object.nextWord1 == "དོན་" : object.conclusion = "S" object.suffixL2 == "བ་" : object.conclusion = "S" object.suffixL2 == "མེད་པ" : object.conclusion = "S" - object.prevWord1 == "གསུངས་བ་" : object.conclusion = "S" + object.prevWord1 == "གསུངས་བ་" and object.word == "ལྟར" and object.nextWord1 == "།" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "སོང་བ་" : object.conclusion = "S" - object.prevTag1 == "S" and object.word == "ཙམ་" : object.conclusion = "S" + object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "ཙམ་" : object.conclusion = "S" object.prevWord1 == "།" and object.nextWord1 == "རྟ་" : object.conclusion = "S" object.prevWord1 == "རྟ་" and object.word == "ལ་" : object.conclusion = "S" object.word == "ཡང་" and object.nextWord1 == "།" : object.conclusion = "S" object.nextWord1 == "རྒྱུགས་པ" : object.conclusion = "S" object.prevWord1 == "།" and object.nextWord1 == "སྲས་" : object.conclusion = "S" object.nextWord2 == "རྗེ་བཙུན་མི་" : object.conclusion = "S" - object.prevTag1 == "U" and object.word == "།།" and object.nextTag1 == "U" : object.conclusion = "U" + object.word == "།།" and object.nextWord1 == "དེ་ནས་" and object.nextWord2 == "རྗེ་བཙུན་མི་" : object.conclusion = "U" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "གྱིས་" : object.conclusion = "S" object.word == "ཁྱེད་" and object.nextWord1 == "རང་" and object.nextWord2 == "རྣམས་" : object.conclusion = "S" - object.word == "རང་" and object.nextWord1 == "རྣམས་" : object.conclusion = "S" + object.prevWord1 == "ཁྱེད་" and object.word == "རང་" and object.nextWord1 == "རྣམས་" : object.conclusion = "S" object.prevWord1 == "རང་" and object.word == "རྣམས་" : object.conclusion = "S" - object.word == "སྒྲ་" and object.nextWord2 == "།" : object.conclusion = "S" - object.prevWord1 == "སྒྲ་" and object.word == "དང་" and object.nextWord1 == "།" : object.conclusion = "S" + object.word == "སྒྲ་" and object.nextWord1 == "དང་" and object.nextWord2 == "།" : object.conclusion = "S" + object.prevWord1 == "སྒྲ་" and object.nextWord1 == "།" : object.conclusion = "S" object.nextWord2 == "ཆགདབུ་" : object.conclusion = "S" object.prevWord2 == "ཀླད་" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "ཚེ" : object.conclusion = "S" - object.prevWord1 == "གཟིགས་པ" and object.word == "ས" : object.conclusion = "S" - object.word == "དགོངས་" and object.nextWord1 == "ཏེ" and object.nextWord2 == "།" : object.conclusion = "S" + object.prevWord1 == "གཟིགས་པ" and object.word == "ས" and object.nextWord1 == "།" : object.conclusion = "S" + object.word == "དགོངས་" and object.nextWord1 == "ཏེ" : object.conclusion = "S" object.prevWord2 == "དགོངས་" and object.prevWord1 == "ཏེ" and object.word == "།" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "བཞུགས་" : object.conclusion = "S" - object.word == "བྱུང་" and object.nextWord1 == "སྟེ" and object.nextWord2 == "།" : object.conclusion = "S" + object.word == "བྱུང་" and object.nextWord1 == "སྟེ" : object.conclusion = "S" object.prevWord1 == "ལ་" and object.word == "ནི་" : object.conclusion = "S" object.word == "ཐུགས་" and object.nextWord1 == "དྲན་" : object.conclusion = "S" object.prevWord1 == "ཐུགས་" and object.word == "དྲན་" : object.conclusion = "S" object.word == "ཡོད་པ་" and object.nextWord1 == "ཡིན་" : object.conclusion = "S" object.prevWord1 == "ཡོད་པ་" and object.word == "ཡིན་" : object.conclusion = "S" - object.word == "ཡོད་" and object.nextWord1 == "ཞུས་པ" : object.conclusion = "S" + object.word == "ཡོད་" and object.nextWord1 == "ཞུས་པ" and object.nextWord2 == "ས" : object.conclusion = "S" object.prevWord1 == "ཡོད་" and object.word == "ཞུས་པ" : object.conclusion = "S" object.prevWord2 == "ཡོད་" and object.prevWord1 == "ཞུས་པ" and object.word == "ས" : object.conclusion = "S" object.nextWord2 == "ཨ་ཕོ་" : object.conclusion = "S" object.prevWord1 == "ས" and object.nextWord1 == "བུ་" : object.conclusion = "S" - object.prevWord2 == "གསལ་འདེབས་" and object.prevWord1 == "ཀྱི་" and object.word == "མགུར་" : object.conclusion = "S" + object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "མགུར་" : object.conclusion = "S" object.nextWord2 == "འདུས་བྱས་" : object.conclusion = "S" object.word == "ལ" and object.nextWord2 == "ད་ལྟ་" : object.conclusion = "S" object.word == "ཡོད་པ་" and object.nextWord1 == "དེ་" : object.conclusion = "S" @@ -256,8 +257,8 @@ object.prevWord1 == "ཕ་རོལ་" : object.conclusion = "S" object.prevWord2 == "ཕ་རོལ་" : object.conclusion = "S" object.nextWord1 == "ཐུགས་ཁྲལ་" : object.conclusion = "S" - object.word == "གདམས་ངག་" and object.nextWord1 == "ལ" and object.nextWord2 == "།།" : object.conclusion = "S" - object.prevWord1 == "ལ" and object.word == "།།" and object.nextWord1 == "ད་ལྟ་" : object.conclusion = "S" + object.word == "གདམས་ངག་" and object.nextWord1 == "ལ" : object.conclusion = "S" + object.prevWord2 == "གདམས་ངག་" and object.prevWord1 == "ལ" and object.word == "།།" : object.conclusion = "S" object.word == "།" and object.nextWord2 == "ཀ་" : object.conclusion = "S" object.nextWord2 == "སྲིད་པ་" : object.conclusion = "S" object.word == "བཞི" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" @@ -265,15 +266,15 @@ object.prevWord1 == "ཤི་བ" : object.conclusion = "S" object.nextWord1 == "ལུག་རྫི་" : object.conclusion = "S" object.prevWord2 == "ལུག་རྫི་" : object.conclusion = "S" - object.prevWord1 == "ནོ" : object.conclusion = "S" - object.word == "རྫོགས་རིམ་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" + object.prevWord1 == "ནོ" and object.word == "།།" : object.conclusion = "S" + object.word == "རྫོགས་རིམ་" and object.nextWord2 == "བསྡུས་" : object.conclusion = "S" object.nextWord2 == "ཤོམས་" : object.conclusion = "S" object.word == "མཆོད་པ་" and object.nextWord1 == "ཕུལ་" : object.conclusion = "S" object.prevWord1 == "སྤུར་ཁང་" : object.conclusion = "S" object.word == "།" and object.nextWord2 == "སྣ་ཚོགས་" : object.conclusion = "S" object.prevWord2 == "།" and object.word == "སྣ་ཚོགས་" : object.conclusion = "S" object.nextWord1 == "བུ" : object.conclusion = "S" - object.word == "གི་" and object.nextWord1 == "བུ" : object.conclusion = "U" + object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "གི་" : object.conclusion = "U" object.word == "ལས" and object.nextWord1 == "།" and object.nextWord2 == "སྔར་" : object.conclusion = "S" object.nextWord2 == "རྒན་རྒོན་" : object.conclusion = "S" object.nextWord1 == "རྒན་རྒོན་" : object.conclusion = "S" @@ -283,7 +284,7 @@ object.word == "ལ་" and object.nextWord1 == "རྨི་ལམ་" : object.conclusion = "S" object.prevWord1 == "བདག་ཅག་" and object.nextWord1 == "ཀྱི་" : object.conclusion = "S" object.word == "དྲུག་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.word == "ཡིན་" and object.nextWord1 == "ནོ" and object.nextWord2 == "།།" : object.conclusion = "S" + object.word == "ཡིན་" and object.nextWord1 == "ནོ" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "དུར་ཁྲོད་" : object.conclusion = "S" object.word == "།" and object.nextWord1 == "སྔར་" and object.nextWord2 == "གྱི་" : object.conclusion = "S" object.prevWord1 == "།" and object.word == "སྔར་" and object.nextWord1 == "གྱི་" : object.conclusion = "S" @@ -295,27 +296,27 @@ object.nextWord2 == "ལ་མོ" : object.conclusion = "S" object.prevWord1 == "ཤིང་" and object.nextWord1 == "ལ་" : object.conclusion = "S" object.prevWord1 == "བུ་" and object.word == "དང་" : object.conclusion = "S" - object.prevWord1 == "འདུག་པ" and object.nextWord1 == "།།" : object.conclusion = "S" - object.prevTag1 == "S" and object.word == "འོད་གསལ་" and object.nextTag1 == "U" : object.conclusion = "S" + object.prevWord2 == "མི་" and object.prevWord1 == "འདུག་པ" and object.word == "ས" : object.conclusion = "S" + object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "འོད་གསལ་" : object.conclusion = "S" object.prevWord2 == "རྟོགས་པ་" and object.word == "ས" : object.conclusion = "S" object.prevWord2 == "སུ་" and object.prevWord1 == "གཤེགས" and object.word == "།།" : object.conclusion = "S" object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "སྣང་བ་" : object.conclusion = "S" - object.word == "ནཱ་རོ" and object.nextWord1 == "འི་" and object.nextWord2 == "ལུང་བསྟན་" : object.conclusion = "S" + object.word == "ནཱ་རོ" and object.nextWord2 == "ལུང་བསྟན་" : object.conclusion = "S" object.prevWord1 == "ནཱ་རོ" and object.word == "འི་" and object.nextWord1 == "ལུང་བསྟན་" : object.conclusion = "S" object.nextWord2 == "བརྒྱུད་" : object.conclusion = "S" object.prevWord2 == "རྣམས་" and object.word == "རྨི་ལམ་" : object.conclusion = "S" object.prevWord2 == "ཁྱབ་པ་" and object.word == "།།" : object.conclusion = "S" - object.prevWord2 == "ཞུས་པ་" and object.word == "།།" : object.conclusion = "S" + object.prevWord2 == "ཞུས་པ་" and object.prevWord1 == "ལགས" and object.word == "།།" : object.conclusion = "S" object.word == "བྱས་པ་" and object.nextWord2 == "།།" : object.conclusion = "S" object.prevWord2 == "བྱུང་བ་" and object.word == "།།" : object.conclusion = "S" object.nextWord1 == "བཀའ་བརྒྱུད་" : object.conclusion = "S" object.word == "ཡིན" and object.nextWord2 == "སྤྱན་མིག་" : object.conclusion = "S" object.prevWord2 == "རྨི་ལམ་" and object.prevWord1 == "བཟང་" and object.word == "།།" : object.conclusion = "S" - object.prevWord2 == "བུ་སློབ་" and object.prevWord1 == "ཀུན" and object.word == "།།" : object.conclusion = "S" + object.prevWord2 == "བུ་སློབ་" and object.word == "།།" : object.conclusion = "S" object.nextWord2 == "རྔོག་སྟོན་" : object.conclusion = "S" object.word == "ཀྱིས" and object.nextWord1 == "།" : object.conclusion = "S" - object.prevWord1 == "ལྟ་བུ་" and object.nextWord1 == "ཡོད་པ་" : object.conclusion = "S" - object.word == "དང་" and object.nextWord1 == "།" and object.nextWord2 == "ནཱ་རོ" : object.conclusion = "S" + object.prevWord1 == "ལྟ་བུ་" and object.word == "ཞིག་" and object.nextWord1 == "ཡོད་པ་" : object.conclusion = "S" + object.prevWord2 == "ཡོད་པ་" and object.word == "དང་" : object.conclusion = "S" object.prevWord2 == "དང་" and object.prevWord1 == "།" and object.word == "ནཱ་རོ" : object.conclusion = "S" object.prevWord1 == "།" and object.nextWord1 == "།" : object.conclusion = "S" object.prevWord2 == "དང་" : object.conclusion = "U" @@ -326,37 +327,37 @@ object.prevWord2 == "ལ་ལ" : object.conclusion = "S" object.word == "ཡོད་" and object.nextWord1 == "ན་" : object.conclusion = "S" object.prevWord1 == "བསྒོམས་" : object.conclusion = "S" - object.prevWord2 == "མི་" and object.prevWord1 == "གྲགས་རྒྱུ" and object.word == "།།" : object.conclusion = "S" - object.prevWord1 == "སྙན་པ" and object.word == "ར་" and object.nextWord1 == "མི་" : object.conclusion = "S" + object.prevWord1 == "གྲགས་རྒྱུ" and object.word == "།།" : object.conclusion = "S" + object.nextWord2 == "གྲགས་རྒྱུ" : object.conclusion = "S" object.prevWord1 == "ལ་ལ" : object.conclusion = "S" object.prevWord2 == "དགོས་པ་" and object.prevWord1 == "ཡོད་" and object.word == "དོ" : object.conclusion = "S" object.prevWord2 == "ཡོན་" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "།" : object.conclusion = "U" + object.word == "།" and object.nextTag1 == "U" : object.conclusion = "U" object.prevWord1 == "གདུང་" : object.conclusion = "S" object.prevWord1 == "འགྲོ་" and object.word == "ཀུན་" : object.conclusion = "I" - object.prevWord1 == "ལ་ཆ" and object.word == "ས་" : object.conclusion = "I" - object.prevTag1 == "S" and object.word == "བསྟན་" and object.nextTag1 == "U" : object.conclusion = "I" + object.prevWord1 == "ལ་ཆ" : object.conclusion = "I" + object.prevWord1 == "ལ་ལུང་" and object.word == "བསྟན་" : object.conclusion = "I" object.prevWord2 == "ལ་ད" : object.conclusion = "I" object.tag == "S" : object.conclusion = "S" object.word == "བུ་" and object.nextTag1 == "U" and object.nextTag2 == "U" : object.conclusion = "U" object.word == "བུ་" and object.nextWord1 == "ལ་" : object.conclusion = "S" object.nextWord2 == "བྱུང་བ་" : object.conclusion = "S" object.nextWord1 == "དང་" : object.conclusion = "S" - object.prevWord2 == "ས" : object.conclusion = "S" - object.prevWord2 == "གཉིས་" : object.conclusion = "S" + object.prevWord2 == "ས" and object.word == "བུ་" : object.conclusion = "S" + object.word == "བུ་" and object.nextWord1 == "གཅིག་" and object.nextWord2 == "ཡོད་པ་" : object.conclusion = "S" object.prevTag1 == "U" and object.word == "བཞི་" and object.nextTag1 == "U" : object.conclusion = "U" object.prevWord1 == "གཉིས་" and object.word == "ཀ་" : object.conclusion = "U" - object.word == "ཕྱག་འཚལ་" and object.nextWord1 == "བསྟོད" and object.nextWord2 == "།།" : object.conclusion = "U" + object.word == "ཕྱག་འཚལ་" and object.nextWord1 == "བསྟོད" : object.conclusion = "U" object.prevWord1 == "།།" and object.word == "དུས་གསུམ་" : object.conclusion = "U" object.prevWord1 == "ར་" and object.nextWord1 == "ན་" : object.conclusion = "U" object.word == "སྲས་" and object.nextWord1 == "དར་མ་མདོ་སྡེ་" : object.conclusion = "U" - object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "ནགས་" : object.conclusion = "U" - object.word == "ནགས་" and object.nextWord2 == "།" : object.conclusion = "S" + object.prevTag1 == "U" and object.word == "ནགས་" and object.nextTag1 == "U" : object.conclusion = "U" + object.nextWord2 == "།" : object.conclusion = "S" object.word == "ཡབ་ཡུམ་" and object.nextTag1 == "U" and object.nextTag2 == "U" : object.conclusion = "U" object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "ཡོང་བ་" : object.conclusion = "U" object.prevWord2 == "གནང་བ" : object.conclusion = "U" object.word == "ད་ལྟ་" and object.nextTag1 == "U" : object.conclusion = "U" - object.prevWord2 == "ལ" : object.conclusion = "S" + object.prevWord2 == "ལ" and object.word == "ད་ལྟ་" : object.conclusion = "S" object.prevWord1 == "དེ་" and object.word == "ཀ་" : object.conclusion = "U" object.word == "དཔག་ཏུ་མེད་པ་" and object.nextWord1 == "ཞིག་" : object.conclusion = "U" object.word == "ཕྱི་ཕྱག་" and object.nextTag1 == "U" : object.conclusion = "U" @@ -367,7 +368,7 @@ object.prevWord1 == "དང་" and object.word == "ཕྲིན་ལས་" : object.conclusion = "S" object.word == "འཁོར་བ་" and object.nextTag1 == "U" and object.nextTag2 == "U" : object.conclusion = "U" object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "གཤེགས" : object.conclusion = "U" - object.word == "རྨི" and object.nextWord2 == "ནཱ་རོ་པ་" : object.conclusion = "U" + object.word == "རྨི" and object.nextWord1 == "།།" and object.nextWord2 == "ནཱ་རོ་པ་" : object.conclusion = "U" object.word == "ཕུག་རོན་" and object.nextWord1 == "གྱི་" : object.conclusion = "U" object.word == "སྲས་" and object.nextWord1 == "ཀྱི་" and object.nextWord2 == "ཐུགས་" : object.conclusion = "U" object.prevWord1 == "ནང་" and object.word == "མཐུན་པ" : object.conclusion = "I" diff --git a/tests/test_segmentation_rule_extraction.py b/tests/test_segmentation_rule_extraction.py index 68fba9a..dce6e89 100644 --- a/tests/test_segmentation_rule_extraction.py +++ b/tests/test_segmentation_rule_extraction.py @@ -89,6 +89,7 @@ def test_valid_merge_rule(): if __name__ == "__main__": # input_path = Path('./tests/corpus1/corpus1.txt') - input_path = Path('./tests/marpa/marpa.txt') + # input_path = Path('./tests/marpa/marpa.txt') + input_path = Path('./tests/drokun_test/drokun_test.txt') rules = extract_seg_rule(input_path, type='cql') (input_path.parent / f'{input_path.stem}_rules.txt').write_text(rules, encoding='utf-8') \ No newline at end of file From cefb6c0b8f00e5f0f2913568a09cd7f4aef04c8f Mon Sep 17 00:00:00 2001 From: kaldan007 Date: Tue, 20 Apr 2021 18:35:41 +0530 Subject: [PATCH 2/2] feat(untokenize): feature to detokenize segmented text added --- pybo/segmentation_rule/pipeline.py | 30 +- pybo/untokenize.py | 14 + tests/corpus1/corpus1_bilou_rules.txt | 4 - tests/{ => data}/corpus1/corpus1.txt | 0 tests/data/corpus1/corpus1_bilou_rules.txt | 4 + tests/{ => data}/corpus1/corpus1_hd.txt | 0 .../{ => data}/corpus1/corpus1_pybo_data.txt | 0 tests/{ => data}/corpus1/corpus1_rules.txt | 0 tests/{ => data}/corpus1/corpus1_tr_data.txt | 0 tests/{ => data}/drokun_test/drokun_test.txt | 0 .../drokun_test/drokun_test_bilou_rules.txt | 0 .../{ => data}/drokun_test/drokun_test_hd.txt | 0 .../drokun_test/drokun_test_rules.txt | 0 .../drokun_test/drokun_test_tr_data.txt | 0 tests/{ => data}/marpa/marpa.txt | 0 tests/{ => data}/marpa/marpa_bilou_rules.txt | 0 tests/{ => data}/marpa/marpa_hd.txt | 0 tests/{ => data}/marpa/marpa_pybo_data.txt | 0 tests/{ => data}/marpa/marpa_rules.txt | 0 tests/{ => data}/marpa/marpa_tr_data.txt | 0 tests/marpa/marpa_tr_data.txt.RDR | 377 ------------------ tests/test_cli.py | 10 +- tests/test_segmentation_rule_extraction.py | 2 +- tests/test_untokenize.py | 23 ++ 24 files changed, 61 insertions(+), 403 deletions(-) create mode 100644 pybo/untokenize.py delete mode 100644 tests/corpus1/corpus1_bilou_rules.txt rename tests/{ => data}/corpus1/corpus1.txt (100%) create mode 100644 tests/data/corpus1/corpus1_bilou_rules.txt rename tests/{ => data}/corpus1/corpus1_hd.txt (100%) rename tests/{ => data}/corpus1/corpus1_pybo_data.txt (100%) rename tests/{ => data}/corpus1/corpus1_rules.txt (100%) rename tests/{ => data}/corpus1/corpus1_tr_data.txt (100%) rename tests/{ => data}/drokun_test/drokun_test.txt (100%) rename tests/{ => data}/drokun_test/drokun_test_bilou_rules.txt (100%) rename tests/{ => data}/drokun_test/drokun_test_hd.txt (100%) rename tests/{ => data}/drokun_test/drokun_test_rules.txt (100%) rename tests/{ => data}/drokun_test/drokun_test_tr_data.txt (100%) rename tests/{ => data}/marpa/marpa.txt (100%) rename tests/{ => data}/marpa/marpa_bilou_rules.txt (100%) rename tests/{ => data}/marpa/marpa_hd.txt (100%) rename tests/{ => data}/marpa/marpa_pybo_data.txt (100%) rename tests/{ => data}/marpa/marpa_rules.txt (100%) rename tests/{ => data}/marpa/marpa_tr_data.txt (100%) delete mode 100644 tests/marpa/marpa_tr_data.txt.RDR create mode 100644 tests/test_untokenize.py diff --git a/pybo/segmentation_rule/pipeline.py b/pybo/segmentation_rule/pipeline.py index a60dca4..73edafe 100644 --- a/pybo/segmentation_rule/pipeline.py +++ b/pybo/segmentation_rule/pipeline.py @@ -1,5 +1,6 @@ +import re + from pathlib import Path -from re import T from bordr import rdr as r from botok.tokenizers.wordtokenizer import WordTokenizer @@ -8,6 +9,7 @@ from pybo.hfr_cqlr_converter import cqlr2hfr from pybo.segmentation_rule.make_rule import * +from pybo.untokenize import assemble, pre_processing HOME = Path.home() @@ -143,22 +145,27 @@ def get_bilou_tag_line(human_toks, botok_toks): break return bilou_tag_line -def get_bilou_tag_data(corpus_data, human_data): - """Corpus data get segmented by botok. +def get_detokenized_line(tokenized_line): + tokens = pre_processing(tokenized_line) + detokenized_line = assemble(tokens) + return detokenized_line + +def get_bilou_tag_data(human_data): + """Human data get detokenized. + Detokenized text is tokenized by botok. Bilou tag is given to botok segmented data by comparing with human segmentation Args: - corpus_data (str): corpus data (unsegmented data) human_data (str): segmented corpus data by human Returns: str: botok segmented data with bilou tag """ - botok_data = get_botok_segmentation(corpus_data) human_lines = human_data.splitlines() - botok_lines = botok_data.splitlines() bilou_tag_data = '' - for human_line, botok_line in zip(human_lines, botok_lines): + for human_line in human_lines: + detokenized_line = get_detokenized_line(human_line) + botok_line = get_botok_segmentation(detokenized_line) human_toks = get_toks(human_line) botok_toks = get_toks(botok_line) bilou_tag_data += get_bilou_tag_line(human_toks, botok_toks) + '\n' @@ -375,13 +382,12 @@ def extract_seg_rule(corpus_file_path, dialect_pack_name=DEFAULT_DPACK, type='cq """ new_word_list = [] new_remove_word_list = [] - corpus_file_name = corpus_file_path.stem + corpus_file_name = corpus_file_path.stem[:-2] number_of_segmentation = 1 - human_data = (corpus_file_path.parent / f'{corpus_file_name}_hd.txt').read_text(encoding='utf-8-sig') + human_data = corpus_file_path.read_text(encoding='utf-8-sig') human_data = post_process_human_data(human_data) - corpus_data = corpus_file_path.read_text(encoding='utf-8-sig') while True: - bilou_tag_data = get_bilou_tag_data(corpus_data, human_data) + bilou_tag_data = get_bilou_tag_data(human_data) print(f'[INFO]: SEGMENTATION PHASE {number_of_segmentation} COMPLETED..') new_word_list, new_remove_word_list = filter_seg_errors(bilou_tag_data, human_data) print('[INFO]: FILTER SEGMENTATION ERROR COMPLETED..') @@ -389,7 +395,7 @@ def extract_seg_rule(corpus_file_path, dialect_pack_name=DEFAULT_DPACK, type='cq new_word_list = add_word_2_adjustment(new_word_list, corpus_file_name, dialect_pack_name, type='words') if new_remove_word_list: new_remove_word_list = add_word_2_adjustment(new_remove_word_list, corpus_file_name, dialect_pack_name, type='remove') - bilou_tag_data = get_bilou_tag_data(corpus_data, human_data) + bilou_tag_data = get_bilou_tag_data(human_data) word_list, remove_word_list = filter_seg_errors(bilou_tag_data, human_data) new_remove_word_list = [remove_word for remove_word in remove_word_list if remove_word not in new_remove_word_list] new_word_list = [word for word in word_list if word not in new_word_list] diff --git a/pybo/untokenize.py b/pybo/untokenize.py new file mode 100644 index 0000000..5bc8f8d --- /dev/null +++ b/pybo/untokenize.py @@ -0,0 +1,14 @@ + +def pre_processing(tokenized_text): + tokens = [token for token in tokenized_text.split(' ') if token] + return tokens + +def get_token_text(token): + token_parts = [part for part in token.split('/') if part] + return token_parts[0] + +def assemble(tokens): + detokenized_text = '' + for token in tokens: + detokenized_text += get_token_text(token) + return detokenized_text diff --git a/tests/corpus1/corpus1_bilou_rules.txt b/tests/corpus1/corpus1_bilou_rules.txt deleted file mode 100644 index 7ad5035..0000000 --- a/tests/corpus1/corpus1_bilou_rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[pos="U" & text="གཅིག་"] [text="རེད་"] [text="གོ་བ་"] 1 = [pos="I"] -[pos="U" & text="དོན་"] [text="གཅིག་"] [text="རེད་"] 1 = [pos="B"] -[pos="U"] [text="བྱེད་པ"] 1 = [pos="B"] -[text="ནང་པ་"] [pos="U"] [text="དང་"] 2 = [pos="S"] \ No newline at end of file diff --git a/tests/corpus1/corpus1.txt b/tests/data/corpus1/corpus1.txt similarity index 100% rename from tests/corpus1/corpus1.txt rename to tests/data/corpus1/corpus1.txt diff --git a/tests/data/corpus1/corpus1_bilou_rules.txt b/tests/data/corpus1/corpus1_bilou_rules.txt new file mode 100644 index 0000000..d6d300c --- /dev/null +++ b/tests/data/corpus1/corpus1_bilou_rules.txt @@ -0,0 +1,4 @@ +[text="ཀྱི་"] [text="དོན་"] [pos="U" & text="གཅིག་"] 3 = [pos="I"] +[pos="U" & text="ལས་"] [text="བྱེད་པ"] 1 = [pos="B"] +[pos="U" & text="གོ་བ་"] [text="དང་"] [text="དོན་"] 1 = [pos="S"] +[text="ཀྱི་"] [pos="U"] [text="གཅིག་"] 2 = [pos="B"] \ No newline at end of file diff --git a/tests/corpus1/corpus1_hd.txt b/tests/data/corpus1/corpus1_hd.txt similarity index 100% rename from tests/corpus1/corpus1_hd.txt rename to tests/data/corpus1/corpus1_hd.txt diff --git a/tests/corpus1/corpus1_pybo_data.txt b/tests/data/corpus1/corpus1_pybo_data.txt similarity index 100% rename from tests/corpus1/corpus1_pybo_data.txt rename to tests/data/corpus1/corpus1_pybo_data.txt diff --git a/tests/corpus1/corpus1_rules.txt b/tests/data/corpus1/corpus1_rules.txt similarity index 100% rename from tests/corpus1/corpus1_rules.txt rename to tests/data/corpus1/corpus1_rules.txt diff --git a/tests/corpus1/corpus1_tr_data.txt b/tests/data/corpus1/corpus1_tr_data.txt similarity index 100% rename from tests/corpus1/corpus1_tr_data.txt rename to tests/data/corpus1/corpus1_tr_data.txt diff --git a/tests/drokun_test/drokun_test.txt b/tests/data/drokun_test/drokun_test.txt similarity index 100% rename from tests/drokun_test/drokun_test.txt rename to tests/data/drokun_test/drokun_test.txt diff --git a/tests/drokun_test/drokun_test_bilou_rules.txt b/tests/data/drokun_test/drokun_test_bilou_rules.txt similarity index 100% rename from tests/drokun_test/drokun_test_bilou_rules.txt rename to tests/data/drokun_test/drokun_test_bilou_rules.txt diff --git a/tests/drokun_test/drokun_test_hd.txt b/tests/data/drokun_test/drokun_test_hd.txt similarity index 100% rename from tests/drokun_test/drokun_test_hd.txt rename to tests/data/drokun_test/drokun_test_hd.txt diff --git a/tests/drokun_test/drokun_test_rules.txt b/tests/data/drokun_test/drokun_test_rules.txt similarity index 100% rename from tests/drokun_test/drokun_test_rules.txt rename to tests/data/drokun_test/drokun_test_rules.txt diff --git a/tests/drokun_test/drokun_test_tr_data.txt b/tests/data/drokun_test/drokun_test_tr_data.txt similarity index 100% rename from tests/drokun_test/drokun_test_tr_data.txt rename to tests/data/drokun_test/drokun_test_tr_data.txt diff --git a/tests/marpa/marpa.txt b/tests/data/marpa/marpa.txt similarity index 100% rename from tests/marpa/marpa.txt rename to tests/data/marpa/marpa.txt diff --git a/tests/marpa/marpa_bilou_rules.txt b/tests/data/marpa/marpa_bilou_rules.txt similarity index 100% rename from tests/marpa/marpa_bilou_rules.txt rename to tests/data/marpa/marpa_bilou_rules.txt diff --git a/tests/marpa/marpa_hd.txt b/tests/data/marpa/marpa_hd.txt similarity index 100% rename from tests/marpa/marpa_hd.txt rename to tests/data/marpa/marpa_hd.txt diff --git a/tests/marpa/marpa_pybo_data.txt b/tests/data/marpa/marpa_pybo_data.txt similarity index 100% rename from tests/marpa/marpa_pybo_data.txt rename to tests/data/marpa/marpa_pybo_data.txt diff --git a/tests/marpa/marpa_rules.txt b/tests/data/marpa/marpa_rules.txt similarity index 100% rename from tests/marpa/marpa_rules.txt rename to tests/data/marpa/marpa_rules.txt diff --git a/tests/marpa/marpa_tr_data.txt b/tests/data/marpa/marpa_tr_data.txt similarity index 100% rename from tests/marpa/marpa_tr_data.txt rename to tests/data/marpa/marpa_tr_data.txt diff --git a/tests/marpa/marpa_tr_data.txt.RDR b/tests/marpa/marpa_tr_data.txt.RDR deleted file mode 100644 index d0c4356..0000000 --- a/tests/marpa/marpa_tr_data.txt.RDR +++ /dev/null @@ -1,377 +0,0 @@ -True : object.conclusion = "NN" - object.tag == "U" : object.conclusion = "U" - object.prevTag1 == "S" and object.nextTag1 == "S" : object.conclusion = "S" - object.prevWord1 == "ང་རང་" and object.word == "གི་" : object.conclusion = "U" - object.prevWord2 == "གཉིས་" : object.conclusion = "U" - object.prevWord1 == "བཀྲ་ཤིས་ཤོག" and object.word == "།" : object.conclusion = "U" - object.nextWord1 == "ཁྱུང་" : object.conclusion = "U" - object.nextWord1 == "དུ་མ་" : object.conclusion = "U" - object.word == "ར་" and object.nextWord1 == "ཆད་མེད་པ" : object.conclusion = "I" - object.prevWord2 == "ནས་" and object.word == "ས་" : object.conclusion = "I" - object.prevTag2 == "S" and object.prevTag1 == "S" : object.conclusion = "S" - object.prevWord1 == "རྒྱུ་" : object.conclusion = "U" - object.prevWord2 == "སྒོས་" : object.conclusion = "U" - object.nextWord2 == "དབང་" : object.conclusion = "U" - object.prevWord1 == "མཁར་" : object.conclusion = "U" - object.prevWord1 == "བུ་" and object.nextWord1 == "དང་" : object.conclusion = "U" - object.nextTag1 == "S" and object.nextTag2 == "S" : object.conclusion = "S" - object.nextWord2 == "མཁར་" : object.conclusion = "U" - object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "འི་" : object.conclusion = "U" - object.prevWord2 == "གྱི་" : object.conclusion = "U" - object.word == "བྱོན་" and object.nextTag1 == "S" and object.nextTag2 == "S" : object.conclusion = "U" - object.prevWord2 == "ཕྱག་ལེན་" : object.conclusion = "U" - object.prevWord2 == "འཚལ་བ་" and object.word == "།།" : object.conclusion = "U" - object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "ང་" : object.conclusion = "I" - object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "དེ" : object.conclusion = "S" - object.prevWord2 == "བདག་མེད་མ་" : object.conclusion = "S" - object.prevTag1 == "S" and object.word == "ཡིན" and object.nextTag1 == "U" : object.conclusion = "S" - object.word == "བླ་མ་" and object.nextTag1 == "S" and object.nextTag2 == "U" : object.conclusion = "S" - object.prevWord2 == "དང་" and object.word == "བླ་མ་" : object.conclusion = "U" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "ཀྱི་" : object.conclusion = "S" - object.nextWord2 == "ཡིན་" : object.conclusion = "U" - object.nextWord2 == "བདག་མེད་མ་" : object.conclusion = "S" - object.nextWord1 == "བདག་མེད་མ་" : object.conclusion = "S" - object.prevWord1 == "བུ་ཆེན་" and object.word == "རྣམས་" : object.conclusion = "S" - object.word == "དང་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.word == "དང་" and object.nextWord1 == "དགའ་སྤྲོ་" and object.nextWord2 == "དཔག་ཏུ་མེད་པ་" : object.conclusion = "U" - object.prevWord2 == "གྱི་" and object.word == "དང་" : object.conclusion = "U" - object.prevWord1 == "ཕྱག་ལེན་" : object.conclusion = "U" - object.word == "བར་" and object.nextWord1 == "དུ་" : object.conclusion = "B" - object.prevWord1 == "རྗེ་བཙུན་མི་" : object.conclusion = "S" - object.prevWord1 == "བར་" and object.word == "དུ་" : object.conclusion = "I" - object.word == "དུ་" and object.nextWord2 == "གི་" : object.conclusion = "S" - object.nextWord2 == "བུ་ཆེན་" : object.conclusion = "S" - object.word == "འོག་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "U" - object.prevTag1 == "U" and object.word == "དུ་" and object.nextTag1 == "S" : object.conclusion = "S" - object.nextWord1 == "རྗེ་མར་པ" : object.conclusion = "U" - object.prevWord1 == "ཚུལ་" : object.conclusion = "U" - object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "མི་" : object.conclusion = "S" - object.prevTag1 == "S" and object.nextTag1 == "I" : object.conclusion = "I" - object.suffixL1 == "" : object.conclusion = "S" - object.prevTag1 == "B" and object.word == "མེད་" : object.conclusion = "I" - object.word == "མེད་" and object.nextWord1 == "ཕྱག་རྒྱ་ཆེན་པོ་" and object.nextWord2 == "ལ" : object.conclusion = "S" - object.prevWord1 == "གནང་" and object.word == "བར་" : object.conclusion = "S" - object.nextWord1 == "བུ་ཆེན་" : object.conclusion = "S" - object.prevWord1 == "འོག་" and object.nextWord1 == "བུ་ཆེན་" : object.conclusion = "U" - object.prevWord2 == "བུ་ཆེན་" : object.conclusion = "S" - object.nextTag1 == "S" and object.nextTag2 == "U" : object.conclusion = "U" - object.prevWord2 == "ཐུགས་ཁྲལ་" : object.conclusion = "S" - object.nextWord2 == "ཀ་ཆེན་" : object.conclusion = "S" - object.prevWord1 == "ཀ་" and object.nextWord1 == "ཏུ་" : object.conclusion = "S" - object.prevWord1 == "མེས་སྟོན་" : object.conclusion = "S" - object.prevWord2 == "།" and object.prevWord1 == "མེས་སྟོན་" and object.word == "གྱིས་" : object.conclusion = "U" - object.prevWord1 == "ཀྱི་" and object.word == "ཞལ་" and object.nextWord1 == "ནས" : object.conclusion = "S" - object.prevWord2 == "མཐུ་ཆེན་" : object.conclusion = "S" - object.word == "ཏེ" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.word == "ཀྱི་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.prevWord1 == "ཁྱོད་" : object.conclusion = "U" - object.nextWord1 == "ཡབ་" : object.conclusion = "S" - object.nextWord2 == "ལ་" : object.conclusion = "U" - object.prevTag1 == "S" and object.word == "གཅིག་" and object.nextTag1 == "U" : object.conclusion = "S" - object.word == "གཅིག་" and object.nextWord1 == "ལ་" : object.conclusion = "U" - object.nextWord1 == "བས" : object.conclusion = "B" - object.nextWord2 == "།།" : object.conclusion = "S" - object.word == "གནང་" and object.nextWord1 == "བར་" : object.conclusion = "B" - object.suffixL1 == "པ" : object.conclusion = "S" - object.word == "གཅིག་པ" and object.nextTag1 == "U" : object.conclusion = "U" - object.nextWord1 == "རྗེ་བཙུན་མི་" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" : object.conclusion = "U" - object.word == "ཀྱི་" and object.nextWord1 == "ཞལ་" and object.nextWord2 == "ནས" : object.conclusion = "S" - object.prevWord2 == "ཀྱི་" and object.prevWord1 == "ཞལ་" and object.word == "ནས" : object.conclusion = "S" - object.word == "རྟ་" and object.nextWord1 == "ལ་" : object.conclusion = "S" - object.prevTag1 == "S" and object.word == "ཅིག་" and object.nextTag1 == "U" : object.conclusion = "S" - object.prevWord1 == "བདག་མེད་མ་" : object.conclusion = "S" - object.prevWord1 == "ཅིག་" and object.word == "གསུངས" and object.nextWord1 == "།" : object.conclusion = "S" - object.word == "བླ་མ" and object.nextWord2 == "ཞལ་" : object.conclusion = "S" - object.prevWord1 == "བླ་མ" and object.word == "འི་" and object.nextWord1 == "ཞལ་" : object.conclusion = "S" - object.prevWord2 == "བླ་མ" and object.prevWord1 == "འི་" and object.word == "ཞལ་" : object.conclusion = "S" - object.prevWord1 == "བསྐོར་བ་" : object.conclusion = "S" - object.prevWord1 == "བཀའ་བརྒྱུད་" : object.conclusion = "S" - object.word == "རྨི་ལམ་" and object.nextTag1 == "S" : object.conclusion = "S" - object.word == "རྨི་ལམ་" and object.nextWord1 == "བཟང་" : object.conclusion = "S" - object.prevWord1 == "རྨི་ལམ་" and object.word == "བཟང་" : object.conclusion = "S" - object.nextWord1 == "ལ་ལ" : object.conclusion = "S" - object.nextWord2 == "རྔོག་པ" : object.conclusion = "S" - object.word == "ར་" and object.nextWord2 == "ལས" : object.conclusion = "S" - object.prevWord2 == "ར་" and object.word == "ལས" : object.conclusion = "S" - object.prevTag1 == "U" and object.word == "མི་" and object.nextTag1 == "S" : object.conclusion = "S" - object.nextWord1 == "ང་རང་" : object.conclusion = "U" - object.prevWord2 == "གཟིགས་པ" and object.prevWord1 == "ས" and object.word == "།" : object.conclusion = "S" - object.word == "གསུངས་པ་" and object.nextWord1 == "ལྟར་" : object.conclusion = "S" - object.prevWord1 == "གསུངས་པ་" and object.word == "ལྟར་" : object.conclusion = "S" - object.word == "ནམ་མཁ" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.prevTag1 == "S" and object.word == "གྱི་" : object.conclusion = "S" - object.prevWord1 == "ཕུག་རོན་" : object.conclusion = "U" - object.nextWord2 == "།།" : object.conclusion = "U" - object.nextWord2 == "ཞིག་" : object.conclusion = "U" - object.word == "གྱི་" and object.nextWord2 == "ཡོད" : object.conclusion = "U" - object.word == "རྣམས" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.word == "ར་" and object.nextWord1 == "གདའ" and object.nextWord2 == "།།" : object.conclusion = "S" - object.prevWord1 == "ར་" and object.word == "གདའ" and object.nextWord1 == "།།" : object.conclusion = "S" - object.nextWord1 == "ཕུག་རོན་" : object.conclusion = "S" - object.nextWord2 == "གྱི་" : object.conclusion = "U" - object.prevTag1 == "U" and object.word == "ཡང་" and object.nextTag1 == "S" : object.conclusion = "S" - object.word == "ཡང་" and object.nextWord2 == "བྱུང་" : object.conclusion = "U" - object.nextWord1 == "རྗེ་མར་པ" : object.conclusion = "U" - object.prevWord1 == "ན་" and object.word == "ཡོད་པ་" : object.conclusion = "S" - object.prevWord1 == "དོན་དུ་" and object.nextWord1 == "ལགས་" : object.conclusion = "S" - object.prevWord2 == "དོན་དུ་" and object.word == "ལགས་" : object.conclusion = "S" - object.word == "རྟོགས་པ་" and object.nextWord1 == "དེ" and object.nextWord2 == "ས" : object.conclusion = "S" - object.prevWord1 == "རྟོགས་པ་" and object.nextWord1 == "ས" : object.conclusion = "S" - object.prevWord2 == "བཀའ་བརྒྱུད་" : object.conclusion = "S" - object.word == "སངས་རྒྱས་" and object.nextWord1 == "ལ་" and object.nextWord2 == "ཞུས་པ་" : object.conclusion = "S" - object.word == "ལ་" and object.nextWord1 == "ཞུས་པ་" : object.conclusion = "S" - object.prevWord1 == "ལ་" and object.word == "ཞུས་པ་" and object.nextWord1 == "ལགས" : object.conclusion = "S" - object.prevWord2 == "ལ་" and object.prevWord1 == "ཞུས་པ་" and object.word == "ལགས" : object.conclusion = "S" - object.nextWord2 == "མི་ངན་" : object.conclusion = "S" - object.nextWord2 == "མེས་སྟོན་" : object.conclusion = "S" - object.prevWord2 == "མེས་སྟོན་" : object.conclusion = "S" - object.word == "ན་" and object.nextWord2 == "ཡིན" : object.conclusion = "S" - object.prevWord2 == "ན་" and object.word == "ཡིན" : object.conclusion = "S" - object.nextWord2 == "ལ་ལ" : object.conclusion = "S" - object.prevTag1 == "U" and object.word == "རྒྱུན་" and object.nextTag1 == "S" : object.conclusion = "B" - object.word == "ཐུགས་" and object.nextWord1 == "ཉམས་" : object.conclusion = "B" - object.prevWord1 == "ར་" and object.nextWord1 == "ལས" : object.conclusion = "S" - object.word == "།" and object.nextWord2 == "རྟ་" : object.conclusion = "S" - object.prevWord2 == "ཞན་" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "བཅས་པ་" : object.conclusion = "S" - object.prevTag1 == "U" and object.word == "ད་" and object.nextTag1 == "S" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "ཕུལ་བ" : object.conclusion = "S" - object.prevWord2 == "ཆགས་པ་" : object.conclusion = "S" - object.word == "།" and object.nextWord2 == "མི་" : object.conclusion = "S" - object.prevWord1 == "པང་" : object.conclusion = "S" - object.prevWord2 == "པང་" : object.conclusion = "S" - object.word == "ཅིག་" and object.nextWord1 == "གསུངས" and object.nextWord2 == "།" : object.conclusion = "S" - object.word == "གསུངས་" and object.nextTag1 == "S" : object.conclusion = "S" - object.prevTag1 == "S" and object.word == "གསུངས" and object.nextTag1 == "U" : object.conclusion = "S" - object.prevWord1 == "།" and object.word == "དབུ་" : object.conclusion = "S" - object.prevWord1 == "ཕ་ཇོ་" : object.conclusion = "S" - object.prevWord2 == "ཕ་ཇོ་" : object.conclusion = "S" - object.word == "གང་" and object.nextWord1 == "གི་" : object.conclusion = "S" - object.prevWord1 == "གང་" and object.word == "གི་" : object.conclusion = "S" - object.nextWord2 == "འཕོས་" : object.conclusion = "S" - object.nextWord1 == "འཕོས་" : object.conclusion = "S" - object.prevWord1 == "འཕོས་" : object.conclusion = "S" - object.prevWord2 == "འཕོས་" : object.conclusion = "S" - object.prevWord1 == "།།" and object.word == "སྙན་བརྒྱུད་" : object.conclusion = "S" - object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "གདེངས་" : object.conclusion = "S" - object.prevWord1 == "གདེངས་" and object.word == "དང་" : object.conclusion = "S" - object.prevWord2 == "འི་" and object.word == "འདྲ" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "གསུངས་པ" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "འདུག་" : object.conclusion = "S" - object.prevTag1 == "S" and object.word == "ཡོད་" and object.nextTag1 == "U" : object.conclusion = "S" - object.prevWord1 == "ཕུག་རོན་" : object.conclusion = "S" - object.word == "དགོས་པ་" and object.nextWord1 == "ཡོད་" : object.conclusion = "S" - object.prevWord1 == "དགོས་པ་" and object.word == "ཡོད་" : object.conclusion = "S" - object.prevWord1 == "སྒོས་" : object.conclusion = "S" - object.prevWord2 == "ཕུག་རོན་" : object.conclusion = "S" - object.prevWord1 == "གྱི་" : object.conclusion = "U" - object.prevWord2 == "བསྐོར་བ་" : object.conclusion = "S" - object.prevWord1 == "མཆོད་པ་" and object.word == "ཕུལ་" : object.conclusion = "S" - object.word == "མེ་ཏོག་" and object.nextWord1 == "སྣ་ཚོགས་" : object.conclusion = "S" - object.prevWord1 == "ལ་" and object.word == "རྨི་ལམ་" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "བྱུང་བ་" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "ཚུལ་" : object.conclusion = "S" - object.prevWord2 == "སེམས་ཅན་" and object.prevWord1 == "གྱི་" and object.word == "དོན་" : object.conclusion = "S" - object.prevWord2 == "ཤིང་" and object.word == "ལ་" : object.conclusion = "S" - object.nextWord2 == "གདུང་" : object.conclusion = "S" - object.word == "མི་" and object.nextWord1 == "འདུག་པ" and object.nextWord2 == "ས" : object.conclusion = "S" - object.prevWord1 == "མི་" and object.word == "འདུག་པ" and object.nextWord1 == "ས" : object.conclusion = "S" - object.word == "ཀུན་" and object.nextWord1 == "ལ་" : object.conclusion = "S" - object.nextWord2 == "གང་བ་" : object.conclusion = "S" - object.word == "འགྲོ་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.word == "མཐའ་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.prevWord1 == "ནམ་མཁ" and object.word == "འི་" and object.nextWord1 == "མཐོངས་" : object.conclusion = "S" - object.word == "།།" and object.nextWord2 == "རྨི་ལམ་" : object.conclusion = "S" - object.prevWord2 == "བཟང་" and object.word == "འདི" : object.conclusion = "S" - object.word == "ར་" and object.nextWord1 == "ཚོགས་" and object.nextWord2 == "གྲྭ་པ་" : object.conclusion = "S" - object.prevWord1 == "ར་" and object.word == "ཚོགས་" : object.conclusion = "S" - object.prevWord1 == "ཚོགས་" and object.nextWord1 == "བུ་སློབ་" : object.conclusion = "S" - object.word == "བུ་སློབ་" and object.nextWord2 == "།།" : object.conclusion = "S" - object.prevWord1 == "བུ་སློབ་" and object.word == "ཀུན" : object.conclusion = "S" - object.prevWord2 == "བཙུགས་པ་" and object.word == "།།" : object.conclusion = "S" - object.word == "གདམས་ངག་" and object.nextWord1 == "ཐེབས་པ་" : object.conclusion = "S" - object.prevWord2 == "དེ" and object.word == "ཐར་པ" : object.conclusion = "S" - object.prevWord1 == "ཐར་པ" and object.nextWord1 == "གླིང་" : object.conclusion = "S" - object.word == "གླིང་" and object.nextWord1 == "དུ་" and object.nextWord2 == "གཤེགས་པ་" : object.conclusion = "S" - object.word == "།" and object.nextWord2 == "།" : object.conclusion = "S" - object.prevWord1 == "དང་" and object.word == "།" : object.conclusion = "U" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "།" : object.conclusion = "B" - object.prevWord1 == "ཐུགས་" and object.word == "ཉམས་" : object.conclusion = "I" - object.prevWord1 == "ལ་ད" : object.conclusion = "I" - object.word == "འགྲོ་" and object.nextWord1 == "ཀུན་" : object.conclusion = "B" - object.prevTag1 == "U" and object.word == "རོ་" and object.nextTag1 == "I" : object.conclusion = "B" - object.word == "ནང་" and object.nextWord1 == "མཐུན་པ" : object.conclusion = "B" - object.word == "སྐུ་དྲིན་" and object.nextWord1 == "ཅན" and object.nextWord2 == "།།" : object.conclusion = "B" - object.prevWord1 == "རྗེ་" and object.word == "མི་" : object.conclusion = "B" - object.word == "གཅིག་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.word == "བར་ཆད་" and object.nextWord2 == "།།" : object.conclusion = "S" - object.suffixL1 == "ཁ" : object.conclusion = "S" - object.prevWord1 == "ཉི་མ་" and object.nextWord1 == "ཕྱེད་" : object.conclusion = "S" - object.prevWord1 == "ལ་" and object.nextWord1 == "དོན་" : object.conclusion = "S" - object.suffixL2 == "བ་" : object.conclusion = "S" - object.suffixL2 == "མེད་པ" : object.conclusion = "S" - object.prevWord1 == "གསུངས་བ་" and object.word == "ལྟར" and object.nextWord1 == "།" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "སོང་བ་" : object.conclusion = "S" - object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "ཙམ་" : object.conclusion = "S" - object.prevWord1 == "།" and object.nextWord1 == "རྟ་" : object.conclusion = "S" - object.prevWord1 == "རྟ་" and object.word == "ལ་" : object.conclusion = "S" - object.word == "ཡང་" and object.nextWord1 == "།" : object.conclusion = "S" - object.nextWord1 == "རྒྱུགས་པ" : object.conclusion = "S" - object.prevWord1 == "།" and object.nextWord1 == "སྲས་" : object.conclusion = "S" - object.nextWord2 == "རྗེ་བཙུན་མི་" : object.conclusion = "S" - object.word == "།།" and object.nextWord1 == "དེ་ནས་" and object.nextWord2 == "རྗེ་བཙུན་མི་" : object.conclusion = "U" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "གྱིས་" : object.conclusion = "S" - object.word == "ཁྱེད་" and object.nextWord1 == "རང་" and object.nextWord2 == "རྣམས་" : object.conclusion = "S" - object.prevWord1 == "ཁྱེད་" and object.word == "རང་" and object.nextWord1 == "རྣམས་" : object.conclusion = "S" - object.prevWord1 == "རང་" and object.word == "རྣམས་" : object.conclusion = "S" - object.word == "སྒྲ་" and object.nextWord1 == "དང་" and object.nextWord2 == "།" : object.conclusion = "S" - object.prevWord1 == "སྒྲ་" and object.nextWord1 == "།" : object.conclusion = "S" - object.nextWord2 == "ཆགདབུ་" : object.conclusion = "S" - object.prevWord2 == "ཀླད་" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "ཚེ" : object.conclusion = "S" - object.prevWord1 == "གཟིགས་པ" and object.word == "ས" and object.nextWord1 == "།" : object.conclusion = "S" - object.word == "དགོངས་" and object.nextWord1 == "ཏེ" : object.conclusion = "S" - object.prevWord2 == "དགོངས་" and object.prevWord1 == "ཏེ" and object.word == "།" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "བཞུགས་" : object.conclusion = "S" - object.word == "བྱུང་" and object.nextWord1 == "སྟེ" : object.conclusion = "S" - object.prevWord1 == "ལ་" and object.word == "ནི་" : object.conclusion = "S" - object.word == "ཐུགས་" and object.nextWord1 == "དྲན་" : object.conclusion = "S" - object.prevWord1 == "ཐུགས་" and object.word == "དྲན་" : object.conclusion = "S" - object.word == "ཡོད་པ་" and object.nextWord1 == "ཡིན་" : object.conclusion = "S" - object.prevWord1 == "ཡོད་པ་" and object.word == "ཡིན་" : object.conclusion = "S" - object.word == "ཡོད་" and object.nextWord1 == "ཞུས་པ" and object.nextWord2 == "ས" : object.conclusion = "S" - object.prevWord1 == "ཡོད་" and object.word == "ཞུས་པ" : object.conclusion = "S" - object.prevWord2 == "ཡོད་" and object.prevWord1 == "ཞུས་པ" and object.word == "ས" : object.conclusion = "S" - object.nextWord2 == "ཨ་ཕོ་" : object.conclusion = "S" - object.prevWord1 == "ས" and object.nextWord1 == "བུ་" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "མགུར་" : object.conclusion = "S" - object.nextWord2 == "འདུས་བྱས་" : object.conclusion = "S" - object.word == "ལ" and object.nextWord2 == "ད་ལྟ་" : object.conclusion = "S" - object.word == "ཡོད་པ་" and object.nextWord1 == "དེ་" : object.conclusion = "S" - object.prevWord1 == "ཡོད་པ་" and object.word == "དེ་" : object.conclusion = "S" - object.word == "།" and object.nextWord1 == "དབུ་" : object.conclusion = "S" - object.word == "ཅིང་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.nextWord2 == "ཕ་རོལ་" : object.conclusion = "S" - object.nextWord1 == "ཕ་རོལ་" : object.conclusion = "S" - object.prevWord1 == "ཕ་རོལ་" : object.conclusion = "S" - object.prevWord2 == "ཕ་རོལ་" : object.conclusion = "S" - object.nextWord1 == "ཐུགས་ཁྲལ་" : object.conclusion = "S" - object.word == "གདམས་ངག་" and object.nextWord1 == "ལ" : object.conclusion = "S" - object.prevWord2 == "གདམས་ངག་" and object.prevWord1 == "ལ" and object.word == "།།" : object.conclusion = "S" - object.word == "།" and object.nextWord2 == "ཀ་" : object.conclusion = "S" - object.nextWord2 == "སྲིད་པ་" : object.conclusion = "S" - object.word == "བཞི" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.prevWord2 == "དར་བ" : object.conclusion = "S" - object.prevWord1 == "ཤི་བ" : object.conclusion = "S" - object.nextWord1 == "ལུག་རྫི་" : object.conclusion = "S" - object.prevWord2 == "ལུག་རྫི་" : object.conclusion = "S" - object.prevWord1 == "ནོ" and object.word == "།།" : object.conclusion = "S" - object.word == "རྫོགས་རིམ་" and object.nextWord2 == "བསྡུས་" : object.conclusion = "S" - object.nextWord2 == "ཤོམས་" : object.conclusion = "S" - object.word == "མཆོད་པ་" and object.nextWord1 == "ཕུལ་" : object.conclusion = "S" - object.prevWord1 == "སྤུར་ཁང་" : object.conclusion = "S" - object.word == "།" and object.nextWord2 == "སྣ་ཚོགས་" : object.conclusion = "S" - object.prevWord2 == "།" and object.word == "སྣ་ཚོགས་" : object.conclusion = "S" - object.nextWord1 == "བུ" : object.conclusion = "S" - object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "གི་" : object.conclusion = "U" - object.word == "ལས" and object.nextWord1 == "།" and object.nextWord2 == "སྔར་" : object.conclusion = "S" - object.nextWord2 == "རྒན་རྒོན་" : object.conclusion = "S" - object.nextWord1 == "རྒན་རྒོན་" : object.conclusion = "S" - object.prevWord1 == "རྒན་རྒོན་" : object.conclusion = "S" - object.word == "ཁྱེད་" and object.nextWord1 == "གཉིས་" : object.conclusion = "S" - object.prevWord1 == "ཁྱེད་" and object.word == "གཉིས་" : object.conclusion = "S" - object.word == "ལ་" and object.nextWord1 == "རྨི་ལམ་" : object.conclusion = "S" - object.prevWord1 == "བདག་ཅག་" and object.nextWord1 == "ཀྱི་" : object.conclusion = "S" - object.word == "དྲུག་" and object.nextTag1 == "U" and object.nextTag2 == "S" : object.conclusion = "S" - object.word == "ཡིན་" and object.nextWord1 == "ནོ" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "དུར་ཁྲོད་" : object.conclusion = "S" - object.word == "།" and object.nextWord1 == "སྔར་" and object.nextWord2 == "གྱི་" : object.conclusion = "S" - object.prevWord1 == "།" and object.word == "སྔར་" and object.nextWord1 == "གྱི་" : object.conclusion = "S" - object.prevWord2 == "ཇི་ལྟར་" : object.conclusion = "S" - object.suffixL1 == "" : object.conclusion = "U" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "གསུངས" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "གུས་" : object.conclusion = "S" - object.word == "ཤིང་" and object.nextWord2 == "ལ་" : object.conclusion = "S" - object.nextWord2 == "ལ་མོ" : object.conclusion = "S" - object.prevWord1 == "ཤིང་" and object.nextWord1 == "ལ་" : object.conclusion = "S" - object.prevWord1 == "བུ་" and object.word == "དང་" : object.conclusion = "S" - object.prevWord2 == "མི་" and object.prevWord1 == "འདུག་པ" and object.word == "ས" : object.conclusion = "S" - object.prevTag2 == "U" and object.prevTag1 == "S" and object.word == "འོད་གསལ་" : object.conclusion = "S" - object.prevWord2 == "རྟོགས་པ་" and object.word == "ས" : object.conclusion = "S" - object.prevWord2 == "སུ་" and object.prevWord1 == "གཤེགས" and object.word == "།།" : object.conclusion = "S" - object.prevTag2 == "S" and object.prevTag1 == "U" and object.word == "སྣང་བ་" : object.conclusion = "S" - object.word == "ནཱ་རོ" and object.nextWord2 == "ལུང་བསྟན་" : object.conclusion = "S" - object.prevWord1 == "ནཱ་རོ" and object.word == "འི་" and object.nextWord1 == "ལུང་བསྟན་" : object.conclusion = "S" - object.nextWord2 == "བརྒྱུད་" : object.conclusion = "S" - object.prevWord2 == "རྣམས་" and object.word == "རྨི་ལམ་" : object.conclusion = "S" - object.prevWord2 == "ཁྱབ་པ་" and object.word == "།།" : object.conclusion = "S" - object.prevWord2 == "ཞུས་པ་" and object.prevWord1 == "ལགས" and object.word == "།།" : object.conclusion = "S" - object.word == "བྱས་པ་" and object.nextWord2 == "།།" : object.conclusion = "S" - object.prevWord2 == "བྱུང་བ་" and object.word == "།།" : object.conclusion = "S" - object.nextWord1 == "བཀའ་བརྒྱུད་" : object.conclusion = "S" - object.word == "ཡིན" and object.nextWord2 == "སྤྱན་མིག་" : object.conclusion = "S" - object.prevWord2 == "རྨི་ལམ་" and object.prevWord1 == "བཟང་" and object.word == "།།" : object.conclusion = "S" - object.prevWord2 == "བུ་སློབ་" and object.word == "།།" : object.conclusion = "S" - object.nextWord2 == "རྔོག་སྟོན་" : object.conclusion = "S" - object.word == "ཀྱིས" and object.nextWord1 == "།" : object.conclusion = "S" - object.prevWord1 == "ལྟ་བུ་" and object.word == "ཞིག་" and object.nextWord1 == "ཡོད་པ་" : object.conclusion = "S" - object.prevWord2 == "ཡོད་པ་" and object.word == "དང་" : object.conclusion = "S" - object.prevWord2 == "དང་" and object.prevWord1 == "།" and object.word == "ནཱ་རོ" : object.conclusion = "S" - object.prevWord1 == "།" and object.nextWord1 == "།" : object.conclusion = "S" - object.prevWord2 == "དང་" : object.conclusion = "U" - object.nextWord2 == "གོམས་པ་" : object.conclusion = "S" - object.nextWord1 == "གོམས་པ་" : object.conclusion = "S" - object.prevWord1 == "གོམས་པ་" : object.conclusion = "S" - object.prevWord2 == "གོམས་པ་" : object.conclusion = "S" - object.prevWord2 == "ལ་ལ" : object.conclusion = "S" - object.word == "ཡོད་" and object.nextWord1 == "ན་" : object.conclusion = "S" - object.prevWord1 == "བསྒོམས་" : object.conclusion = "S" - object.prevWord1 == "གྲགས་རྒྱུ" and object.word == "།།" : object.conclusion = "S" - object.nextWord2 == "གྲགས་རྒྱུ" : object.conclusion = "S" - object.prevWord1 == "ལ་ལ" : object.conclusion = "S" - object.prevWord2 == "དགོས་པ་" and object.prevWord1 == "ཡོད་" and object.word == "དོ" : object.conclusion = "S" - object.prevWord2 == "ཡོན་" : object.conclusion = "S" - object.word == "།" and object.nextTag1 == "U" : object.conclusion = "U" - object.prevWord1 == "གདུང་" : object.conclusion = "S" - object.prevWord1 == "འགྲོ་" and object.word == "ཀུན་" : object.conclusion = "I" - object.prevWord1 == "ལ་ཆ" : object.conclusion = "I" - object.prevWord1 == "ལ་ལུང་" and object.word == "བསྟན་" : object.conclusion = "I" - object.prevWord2 == "ལ་ད" : object.conclusion = "I" - object.tag == "S" : object.conclusion = "S" - object.word == "བུ་" and object.nextTag1 == "U" and object.nextTag2 == "U" : object.conclusion = "U" - object.word == "བུ་" and object.nextWord1 == "ལ་" : object.conclusion = "S" - object.nextWord2 == "བྱུང་བ་" : object.conclusion = "S" - object.nextWord1 == "དང་" : object.conclusion = "S" - object.prevWord2 == "ས" and object.word == "བུ་" : object.conclusion = "S" - object.word == "བུ་" and object.nextWord1 == "གཅིག་" and object.nextWord2 == "ཡོད་པ་" : object.conclusion = "S" - object.prevTag1 == "U" and object.word == "བཞི་" and object.nextTag1 == "U" : object.conclusion = "U" - object.prevWord1 == "གཉིས་" and object.word == "ཀ་" : object.conclusion = "U" - object.word == "ཕྱག་འཚལ་" and object.nextWord1 == "བསྟོད" : object.conclusion = "U" - object.prevWord1 == "།།" and object.word == "དུས་གསུམ་" : object.conclusion = "U" - object.prevWord1 == "ར་" and object.nextWord1 == "ན་" : object.conclusion = "U" - object.word == "སྲས་" and object.nextWord1 == "དར་མ་མདོ་སྡེ་" : object.conclusion = "U" - object.prevTag1 == "U" and object.word == "ནགས་" and object.nextTag1 == "U" : object.conclusion = "U" - object.nextWord2 == "།" : object.conclusion = "S" - object.word == "ཡབ་ཡུམ་" and object.nextTag1 == "U" and object.nextTag2 == "U" : object.conclusion = "U" - object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "ཡོང་བ་" : object.conclusion = "U" - object.prevWord2 == "གནང་བ" : object.conclusion = "U" - object.word == "ད་ལྟ་" and object.nextTag1 == "U" : object.conclusion = "U" - object.prevWord2 == "ལ" and object.word == "ད་ལྟ་" : object.conclusion = "S" - object.prevWord1 == "དེ་" and object.word == "ཀ་" : object.conclusion = "U" - object.word == "དཔག་ཏུ་མེད་པ་" and object.nextWord1 == "ཞིག་" : object.conclusion = "U" - object.word == "ཕྱི་ཕྱག་" and object.nextTag1 == "U" : object.conclusion = "U" - object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "དོན་དུ་" : object.conclusion = "U" - object.prevWord2 == "།།" and object.word == "མེ་" : object.conclusion = "U" - object.word == "ཆིབས་" and object.nextWord1 == "ནས་" : object.conclusion = "U" - object.word == "ཕྲིན་ལས་" and object.nextTag1 == "U" and object.nextTag2 == "U" : object.conclusion = "U" - object.prevWord1 == "དང་" and object.word == "ཕྲིན་ལས་" : object.conclusion = "S" - object.word == "འཁོར་བ་" and object.nextTag1 == "U" and object.nextTag2 == "U" : object.conclusion = "U" - object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "གཤེགས" : object.conclusion = "U" - object.word == "རྨི" and object.nextWord1 == "།།" and object.nextWord2 == "ནཱ་རོ་པ་" : object.conclusion = "U" - object.word == "ཕུག་རོན་" and object.nextWord1 == "གྱི་" : object.conclusion = "U" - object.word == "སྲས་" and object.nextWord1 == "ཀྱི་" and object.nextWord2 == "ཐུགས་" : object.conclusion = "U" - object.prevWord1 == "ནང་" and object.word == "མཐུན་པ" : object.conclusion = "I" - object.tag == "I" : object.conclusion = "I" - object.prevTag2 == "U" and object.prevTag1 == "U" and object.word == "ཅན་" : object.conclusion = "U" - object.tag == "B" : object.conclusion = "B" diff --git a/tests/test_cli.py b/tests/test_cli.py index 7599899..85692b6 100755 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -14,12 +14,4 @@ def test_extract_rules(): def test_extract_seg_rules(): runner = CliRunner() - runner.invoke(cli, ["extract-seg-rules", "tests/corpus1/corpus1.txt", "--type", "hfr", "--e", 1]) - -def test_convert_cql2hfr(): - runner = CliRunner() - runner.invoke(cli, ["convert-cql2hfr", "tests/resources/step2/cql_rules.txt"]) - -def test_convert_hfr2cql(): - runner = CliRunner() - runner.invoke(cli, ["convert-hfr2cql", "tests/resources/step2/test_rules.txt"]) \ No newline at end of file + runner.invoke(cli, ["extract-seg-rules", "tests/data/corpus1/corpus1.txt", "--type", "hfr", "--e", 1]) \ No newline at end of file diff --git a/tests/test_segmentation_rule_extraction.py b/tests/test_segmentation_rule_extraction.py index dce6e89..4e04b09 100644 --- a/tests/test_segmentation_rule_extraction.py +++ b/tests/test_segmentation_rule_extraction.py @@ -90,6 +90,6 @@ def test_valid_merge_rule(): if __name__ == "__main__": # input_path = Path('./tests/corpus1/corpus1.txt') # input_path = Path('./tests/marpa/marpa.txt') - input_path = Path('./tests/drokun_test/drokun_test.txt') + input_path = Path('./tests/data/drokun_test/drokun_test_hd.txt') rules = extract_seg_rule(input_path, type='cql') (input_path.parent / f'{input_path.stem}_rules.txt').write_text(rules, encoding='utf-8') \ No newline at end of file diff --git a/tests/test_untokenize.py b/tests/test_untokenize.py new file mode 100644 index 0000000..0c306d9 --- /dev/null +++ b/tests/test_untokenize.py @@ -0,0 +1,23 @@ +import pytest +from pybo.untokenize import * + +def test_untokenize_clean_text(): + tokenized_text = "སྒྲ་བསྒྱུར་ མར་པ་ ལོ་ ཙྪའི་ རྣམ་པར་ ཐར་པ་ མཐོང་བ་ དོན་ཡོད་ བཞུགས་ སོ །། ན་མོ་གུ་རུ་ དེ་ཝ་ཌཱ་ཀི་ནི ། " + tokens = pre_processing(tokenized_text) + detokenized_text = assemble(tokens) + expected_text = "སྒྲ་བསྒྱུར་མར་པ་ལོ་ཙྪའི་རྣམ་པར་ཐར་པ་མཐོང་བ་དོན་ཡོད་བཞུགས་སོ།།ན་མོ་གུ་རུ་དེ་ཝ་ཌཱ་ཀི་ནི།" + assert expected_text == detokenized_text + +def test_untokenize_single_tagged_text(): + tokenized_text = "སྒྲ་བསྒྱུར་/NO_POS མར་པ་/NO_POS ལོ་/NO_POS ཙྪའི་/NO_POS རྣམ་པར་/NO_POS ཐར་པ་/NO_POS མཐོང་བ་/NO_POS དོན་ཡོད་/NO_POS བཞུགས་/NO_POS སོ/NO_POS །།/NO_POS ན་མོ་གུ་རུ་/NO_POS དེ་ཝ་ཌཱ་ཀི་ནི/NO_POS །/NO_POS " + tokens = pre_processing(tokenized_text) + detokenized_text = assemble(tokens) + expected_text = "སྒྲ་བསྒྱུར་མར་པ་ལོ་ཙྪའི་རྣམ་པར་ཐར་པ་མཐོང་བ་དོན་ཡོད་བཞུགས་སོ།།ན་མོ་གུ་རུ་དེ་ཝ་ཌཱ་ཀི་ནི།" + assert expected_text == detokenized_text + +def test_untokenize_multi_tagged_text(): + tokenized_text = "ལས་//// ཞེས་པ་//PART/ཞེས་པ་/ ནི་//PART/ནི་/ ལས་//// བྱེད་པ//VERB/བྱེད་པ་/" + tokens = pre_processing(tokenized_text) + detokenized_text = assemble(tokens) + expected_text = "ལས་ཞེས་པ་ནི་ལས་བྱེད་པ" + assert expected_text == detokenized_text \ No newline at end of file