2020-07-22 23:18:46 +03:00
|
|
|
from ..tokenizer_exceptions import BASE_EXCEPTIONS
|
2020-07-23 00:09:01 +03:00
|
|
|
from ...symbols import ORTH, NORM
|
2020-07-22 23:18:46 +03:00
|
|
|
from ...util import update_exc
|
2018-12-18 15:08:38 +03:00
|
|
|
|
|
|
|
|
|
|
|
_exc = {
|
2020-07-23 00:09:01 +03:00
|
|
|
"tayo'y": [{ORTH: "tayo"}, {ORTH: "'y", NORM: "ay"}],
|
|
|
|
"isa'y": [{ORTH: "isa"}, {ORTH: "'y", NORM: "ay"}],
|
|
|
|
"baya'y": [{ORTH: "baya"}, {ORTH: "'y", NORM: "ay"}],
|
|
|
|
"sa'yo": [{ORTH: "sa"}, {ORTH: "'yo", NORM: "iyo"}],
|
|
|
|
"ano'ng": [{ORTH: "ano"}, {ORTH: "'ng", NORM: "ang"}],
|
|
|
|
"siya'y": [{ORTH: "siya"}, {ORTH: "'y", NORM: "ay"}],
|
|
|
|
"nawa'y": [{ORTH: "nawa"}, {ORTH: "'y", NORM: "ay"}],
|
|
|
|
"papa'no": [{ORTH: "papa'no", NORM: "papaano"}],
|
|
|
|
"'di": [{ORTH: "'di", NORM: "hindi"}],
|
2018-12-18 15:08:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-07-22 23:18:46 +03:00
|
|
|
TOKENIZER_EXCEPTIONS = update_exc(BASE_EXCEPTIONS, _exc)
|