completed StructuralTha (almost)

This commit is contained in:
aarne
2011-12-03 10:08:00 +00:00
parent 4e748a4371
commit fbd12b72d5
2 changed files with 29 additions and 29 deletions

View File

@@ -35,7 +35,7 @@ lin
black_A = mkA (thword "ดำ") ; black_A = mkA (thword "ดำ") ;
blood_N = mkN (thword "เลือด") ; blood_N = mkN (thword "เลือด") ;
blow_V = mkV (thword "พัด") ; blow_V = mkV (thword "พัด") ;
-- blue_A = regADeg "blue" ; blue_A = mkA (thword "สี" "น้ำ" "เงิน") ;
-- boat_N = regN "boat" ; -- boat_N = regN "boat" ;
bone_N = mkN (thword "กระดูก") ; bone_N = mkN (thword "กระดูก") ;
book_N = mkN (thword nag_s svv_s) lem_s ; book_N = mkN (thword nag_s svv_s) lem_s ;
@@ -124,7 +124,7 @@ lin
-- forget_V2 = dirV2 (irregDuplV "forget" "forgot" "forgotten") ; -- forget_V2 = dirV2 (irregDuplV "forget" "forgot" "forgotten") ;
freeze_V = mkV (thword "แข็ง") ; freeze_V = mkV (thword "แข็ง") ;
-- fridge_N = regN "fridge" ; -- fridge_N = regN "fridge" ;
-- friend_N = regN "friend" ; friend_N = personN "เพี่อน" ;
-- fromP = mkPrep "from" ; -- fromP = mkPrep "from" ;
fruit_N = mkN (thword "หมาก") ; fruit_N = mkN (thword "หมาก") ;
full_A = mkA (thword "เต็ม") ; full_A = mkA (thword "เต็ม") ;
@@ -150,7 +150,7 @@ lin
hear_V2 = mkV2 (thword "ยิน") ; hear_V2 = mkV2 (thword "ยิน") ;
heart_N = mkN (thword "ใจ") ; heart_N = mkN (thword "ใจ") ;
heavy_A = mkA (thword "หนัก") ; heavy_A = mkA (thword "หนัก") ;
-- hill_N = regN "hill" ; hill_N = placeN (thword "เนิน" "เขา") ;
hit_V2 = mkV2 (thword "ตี") ; hit_V2 = mkV2 (thword "ตี") ;
hold_V2 = mkV2 (thword "อุ้ม") ; hold_V2 = mkV2 (thword "อุ้ม") ;
-- hope_VS = mkVS (regV "hope") ; -- hope_VS = mkVS (regV "hope") ;

View File

@@ -13,69 +13,69 @@ concrete StructuralTha of Structural = CatTha **
and_Conj = {s1 = [] ; s2 = "และ"} ; and_Conj = {s1 = [] ; s2 = "และ"} ;
because_Subj = ss (thword "เพ" "ราะ") ; because_Subj = ss (thword "เพ" "ราะ") ;
before_Prep = ss "ก่อน" ; before_Prep = ss "ก่อน" ;
-- behind_Prep = ss "behind" ; behind_Prep = ss "หลัง" ;
-- between_Prep = ss "between" ; between_Prep = ss (thword "ระ" "หวา่ง") ;
-- both7and_DConj = sd2 "both" "and" ** {n = Pl} ; -- both7and_DConj = sd2 "both" "and" ** {n = Pl} ;
-- but_PConj = ss "but" ; but_PConj = ss "แต่" ;
by8agent_Prep = ss [] ; by8agent_Prep = ss [] ;
by8means_Prep = ss "ผ่าน" ; by8means_Prep = ss "ผ่าน" ;
can8know_VV = {s = pen_s ; typ = VVPost} ; can8know_VV = {s = pen_s ; typ = VVPost} ;
can_VV = {s = "ได้" ; typ = VVPost} ; can_VV = {s = "ได้" ; typ = VVPost} ;
-- during_Prep = ss "during" ; during_Prep = ss "ที" ;
-- either7or_DConj = sd2 "either" "or" ** {n = Sg} ; -- either7or_DConj = sd2 "either" "or" ** {n = Sg} ;
-- everybody_NP = regNP "everybody" Sg ; everybody_NP = mkNP (thword "ทัว" "ห้นา") ;
every_Det = quantDet "ทุก" ; every_Det = quantDet "ทุก" ;
-- everything_NP = regNP "everything" Sg ; everything_NP = mkNP (thword "ทุก" "สิ่ง") ;
-- everywhere_Adv = ss "everywhere" ; everywhere_Adv = ss (thword "ทุก" "ที") ;
few_Det = quantDet (thword "สอง" "สาม") ; few_Det = quantDet (thword "สอง" "สาม") ;
for_Prep = ss "ให้" ; for_Prep = ss "ให้" ;
from_Prep = ss "จาก" ; from_Prep = ss "จาก" ;
have_V2 = mkV2 "มี" ; have_V2 = mkV2 "มี" ;
he_Pron = ss khaw_s ; he_Pron = ss khaw_s ;
here_Adv = ss (thword "ที่นี่") ; here_Adv = ss (thword "ที่" "นี่") ;
-- here7to_Adv = ss ["to here"] ; here7to_Adv = ss "ที่นี่" ; ----
-- here7from_Adv = ss ["from here"] ; here7from_Adv = ss (thword "จาก" "นี่") ; ----
how_IAdv = ss (thword "อย่าง" "ไร") ; how_IAdv = ss (thword "อย่าง" "ไร") ;
how8many_IDet = quantDet "กี่" ; how8many_IDet = quantDet "กี่" ;
how8much_IAdv = ss (thword "เท่า" "ไร") ; how8much_IAdv = ss (thword "เท่า" "ไร") ;
-- in8front_Prep = ss ["in front of"] ; in8front_Prep = ss "หน้า" ;
i_Pron = ss chan_s ; i_Pron = ss chan_s ;
if_Subj = ss (thword "ถ้า") ; if_Subj = ss (thword "ถ้า") ;
in_Prep = ss (thword "ใน") ; in_Prep = ss (thword "ใน") ;
it_Pron = ss "มัน" ; it_Pron = ss "มัน" ;
-- less_CAdv = ss "less" ; less_CAdv = {s = "น้อย" ; p = "กว่า"} ; ----
many_Det = quantDet "หลาย" ; many_Det = quantDet "หลาย" ;
more_CAdv = {s = thword "มาก" "กว่า" ; p = []} ; ---- more_CAdv = {s = "มาก" ; p = "กว่า"} ; ----
-- most_Predet = ss "most" ; most_Predet = ss (thword "มาก" "ที่" "สุด") ;
much_Det = quantDet "มาก" ; much_Det = quantDet "มาก" ;
must_VV = {s = tog_s ; typ = VVPre} ; must_VV = {s = tog_s ; typ = VVPre} ;
no_Utt = ss may_s ; no_Utt = ss may_s ;
on_Prep = ss "บน" ; on_Prep = ss "บน" ;
only_Predet = ss (thword "เฑา" "นั้น") ; only_Predet = ss (thword "เฑา" "นั้น") ;
or_Conj = {s1 = [] ; s2 = "หริอ"} ; or_Conj = {s1 = [] ; s2 = "หริอ"} ;
-- otherwise_PConj = ss "otherwise" ; otherwise_PConj = ss (thword "ไม่" "งัน") ;
-- part_Prep = ss "of" ; part_Prep = ss "" ; ----
please_Voc = ss "ขอ" ; please_Voc = ss "ขอ" ;
possess_Prep = ss "ของ" ; possess_Prep = ss "ของ" ;
-- quite_Adv = ss "quite" ; quite_Adv = ss (thword "คอน" "ข้าง") ;
she_Pron = ss khaw_s ; she_Pron = ss khaw_s ;
-- so_AdA = ss "so" ; so_AdA = ss (thword "เท่า" "กัน") ; ----
-- somebody_NP = regNP "somebody" Sg ; somebody_NP = mkNP (thword "บาง" "คน") ;
somePl_Det = quantDet ("บ้าง") ; somePl_Det = quantDet ("บ้าง") ;
someSg_Det = quantDet ("บ้าง") ; someSg_Det = quantDet ("บ้าง") ;
-- something_NP = regNP "something" Sg ; something_NP = mkNP (thword "บาง" "สิ่ง") ;
-- somewhere_Adv = ss "somewhere" ; somewhere_Adv = mkAdv (thword "บาง" "แห่ง") ;
that_Quant = demDet nan_s ; that_Quant = demDet nan_s ;
there_Adv = ss (thword "ที่" "นั่น") ; there_Adv = ss (thword "ที่" "นั่น") ;
-- there7to_Adv = ss "there" ; there7to_Adv = ss (thword "ที่" "นั่น") ; ----
-- there7from_Adv = ss ["from there"] ; there7from_Adv = ss (thword "จาก" "นั่น") ; ----
-- therefore_PConj = ss "therefore" ; therefore_PConj = ss (thword "เพราะ" "ฉะ" "นั้น") ;
they_Pron = mkNP khaw_s ; they_Pron = mkNP khaw_s ;
this_Quant = demDet nii_s ; this_Quant = demDet nii_s ;
-- through_Prep = ss "through" ; through_Prep = ss "ผ่าน" ;
too_AdA = ss (thword "เกิน" "ไป") ; too_AdA = ss (thword "เกิน" "ไป") ;
to_Prep = ss "ถืง" ; to_Prep = ss "ถืง" ;
-- under_Prep = ss "under" ; under_Prep = ss "ใต้" ;
very_AdA = ss "มาก" ; very_AdA = ss "มาก" ;
want_VV = {s = yaak_s ; typ = VVMid} ; want_VV = {s = yaak_s ; typ = VVMid} ;
we_Pron = ss raw_s ; we_Pron = ss raw_s ;