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