mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 16:42:51 -06:00
started to move have_V2 from Lexicon to Structural ; fixes in Hindi translit table
This commit is contained in:
@@ -137,7 +137,6 @@ fun
|
|||||||
harbour_N : N ;
|
harbour_N : N ;
|
||||||
hate_V2 : V2 ;
|
hate_V2 : V2 ;
|
||||||
hat_N : N ;
|
hat_N : N ;
|
||||||
have_V2 : V2 ;
|
|
||||||
head_N : N ;
|
head_N : N ;
|
||||||
heart_N : N ;
|
heart_N : N ;
|
||||||
hear_V2 : V2 ;
|
hear_V2 : V2 ;
|
||||||
|
|||||||
@@ -119,4 +119,5 @@ abstract Structural = Cat ** {
|
|||||||
|
|
||||||
as_CAdv : CAdv ;
|
as_CAdv : CAdv ;
|
||||||
|
|
||||||
|
have_V2 : V2 ;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,7 +90,6 @@ lin
|
|||||||
harbour_N = regN "harbour" ;
|
harbour_N = regN "harbour" ;
|
||||||
hate_V2 = dirV2 (regV "hate") ;
|
hate_V2 = dirV2 (regV "hate") ;
|
||||||
hat_N = regN "hat" ;
|
hat_N = regN "hat" ;
|
||||||
have_V2 = dirV2 (mk5V "have" "has" "had" "had" "having") ;
|
|
||||||
hear_V2 = dirV2 (irregV "hear" "heard" "heard") ;
|
hear_V2 = dirV2 (irregV "hear" "heard" "heard") ;
|
||||||
hill_N = regN "hill" ;
|
hill_N = regN "hill" ;
|
||||||
hope_VS = mkVS (regV "hope") ;
|
hope_VS = mkVS (regV "hope") ;
|
||||||
|
|||||||
@@ -135,5 +135,7 @@ concrete StructuralEng of Structural = CatEng **
|
|||||||
|
|
||||||
as_CAdv = C.mkCAdv "as" "as" ;
|
as_CAdv = C.mkCAdv "as" "as" ;
|
||||||
|
|
||||||
|
have_V2 = dirV2 (mk5V "have" "has" "had" "had" "having") ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,6 @@ lin
|
|||||||
harbour_N = mkN "satama" "sataman" "satamia" ;
|
harbour_N = mkN "satama" "sataman" "satamia" ;
|
||||||
hate_V2 = mkV2 (mkV "vihata") cpartitive ;
|
hate_V2 = mkV2 (mkV "vihata") cpartitive ;
|
||||||
hat_N = mkN "hattu" ;
|
hat_N = mkN "hattu" ;
|
||||||
have_V2 = mkV2 (caseV adessive vOlla) ;
|
|
||||||
hear_V2 = mkV2 (mkV "kuulla") ;
|
hear_V2 = mkV2 (mkV "kuulla") ;
|
||||||
hill_N = mkN "kukkula" ;
|
hill_N = mkN "kukkula" ;
|
||||||
hope_VS = mkVS (mkV "toivoa") ;
|
hope_VS = mkVS (mkV "toivoa") ;
|
||||||
|
|||||||
@@ -305,5 +305,8 @@ lin
|
|||||||
as_CAdv = X.mkCAdv "yhtä" "kuin" ;
|
as_CAdv = X.mkCAdv "yhtä" "kuin" ;
|
||||||
|
|
||||||
except_Prep = postPrep partitive "lukuunottamatta" ;
|
except_Prep = postPrep partitive "lukuunottamatta" ;
|
||||||
|
|
||||||
|
have_V2 = mkV2 (caseV adessive vOlla) ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ lin
|
|||||||
harbour_N = regN "porto" ;
|
harbour_N = regN "porto" ;
|
||||||
hate_V2 = dirV2 (regV "odiare") ;
|
hate_V2 = dirV2 (regV "odiare") ;
|
||||||
hat_N = regN "capello" ;
|
hat_N = regN "capello" ;
|
||||||
have_V2 = dirV2 (verboV (avere_2 "avere")) ;
|
|
||||||
hear_V2 = dirV2 (verboV (sentire_99 "sentire")) ;
|
hear_V2 = dirV2 (verboV (sentire_99 "sentire")) ;
|
||||||
hill_N = regN "collina" ;
|
hill_N = regN "collina" ;
|
||||||
hope_VS = mkVS (regV "sperare") ;
|
hope_VS = mkVS (regV "sperare") ;
|
||||||
|
|||||||
@@ -176,5 +176,8 @@ lin
|
|||||||
|
|
||||||
as_CAdv = X.mkCAdv "così" conjThan ;
|
as_CAdv = X.mkCAdv "così" conjThan ;
|
||||||
except_Prep = mkPrep "eccetto" ;
|
except_Prep = mkPrep "eccetto" ;
|
||||||
|
|
||||||
|
have_V2 = dirV2 (verboV (avere_2 "avere")) ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -93,20 +93,20 @@ transThai = mkTransliteration allTrans allCodes where
|
|||||||
transDevanagari :: Transliteration
|
transDevanagari :: Transliteration
|
||||||
transDevanagari =
|
transDevanagari =
|
||||||
(mkTransliteration allTransUrduHindi allCodes){invisible_chars = ["a"]} where
|
(mkTransliteration allTransUrduHindi allCodes){invisible_chars = ["a"]} where
|
||||||
allCodes = [0x0901 .. 0x094c]
|
allCodes = [0x0900 .. 0x095f]
|
||||||
|
|
||||||
allTransUrduHindi = words $
|
allTransUrduHindi = words $
|
||||||
"M N - - " ++
|
"- M N - - a- A- i- I- u- U- R- - - - e- " ++
|
||||||
"a- A- i- I- u- U- R- - - - e- E- - - o- O- " ++
|
"E- - - o- O- k K g G N: c C j J n: t. " ++
|
||||||
"k K g G N: c C j J n: t. T. d. D. n. t " ++
|
"T. d. D. n. t T d D n - p P b B m y " ++
|
||||||
"T d D n - p P b B m y r - l - - v " ++
|
"r - l - - v S s. s h - - r: - A i " ++
|
||||||
"S s. s h - - r. - A i I u U R - - " ++
|
"I u U R - - - e E o O - - - - - " ++
|
||||||
"- e E o O "
|
"- - - - - - - - - - - z r. - - - "
|
||||||
|
|
||||||
transUrdu :: Transliteration
|
transUrdu :: Transliteration
|
||||||
transUrdu =
|
transUrdu =
|
||||||
(mkTransliteration allTransUrduHindi allCodes){invisible_chars = ["a"]} where
|
(mkTransliteration allTransUrduHindi allCodes){invisible_chars = ["a"]} where
|
||||||
allCodes = [0x0901 .. 0x094c] ---- TODO: this is devanagari
|
allCodes = [0x0900 .. 0x095f] ---- TODO: this is devanagari
|
||||||
|
|
||||||
transArabic :: Transliteration
|
transArabic :: Transliteration
|
||||||
transArabic = mkTransliteration allTrans allCodes where
|
transArabic = mkTransliteration allTrans allCodes where
|
||||||
|
|||||||
Reference in New Issue
Block a user