forked from GitHub/gf-core
minimal template files for extending the Translate grammar with e.g. new words
This commit is contained in:
@@ -34392,7 +34392,7 @@ lin unfermented_A = mkA "新鲜" | mkA "未发酵" | mkA "淡" ; -- open-multili
|
|||||||
lin unfettered_A = mkA "不受约束" ;
|
lin unfettered_A = mkA "不受约束" ;
|
||||||
lin unfilled_A = mkA "空" ;
|
lin unfilled_A = mkA "空" ;
|
||||||
lin unfinished_A = mkA "未完成" ;
|
lin unfinished_A = mkA "未完成" ;
|
||||||
lin unfit_A = mkA "不" ;
|
----lin unfit_A = mkA "不" ;
|
||||||
lin unflagging_A = mkA "不屈不挠" ;
|
lin unflagging_A = mkA "不屈不挠" ;
|
||||||
lin unflavored_A = mkA "不加调料" ; -- open-multilingual-wordnet
|
lin unflavored_A = mkA "不加调料" ; -- open-multilingual-wordnet
|
||||||
lin unfold_V = mkV "展开" ;
|
lin unfold_V = mkV "展开" ;
|
||||||
|
|||||||
7
lib/src/translator/MyTranslator.gf
Normal file
7
lib/src/translator/MyTranslator.gf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
abstract MyTranslator = Translate -- - [gfsg]
|
||||||
|
|
||||||
|
** {
|
||||||
|
|
||||||
|
fun google_V2 : V2 ;
|
||||||
|
|
||||||
|
}
|
||||||
9
lib/src/translator/MyTranslatorSwe.gf
Normal file
9
lib/src/translator/MyTranslatorSwe.gf
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
--# -path=.:../chunk:alltenses
|
||||||
|
|
||||||
|
concrete MyTranslatorSwe of MyTranslator = TranslateSwe -- - [gfsg]
|
||||||
|
|
||||||
|
** open ParadigmsSwe in {
|
||||||
|
|
||||||
|
lin google_V2 = mkV2 (mkV "googla") (mkPrep "efter") ;
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user