From 6451377a8d041ebfc6977523ac020b08105d7613 Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 1 Jun 2006 14:07:21 +0000 Subject: [PATCH] Grammar for rest of the languages --- resource-1.0/finnish/GrammarFin.gf | 21 +++++++++++++++++++++ resource-1.0/french/GrammarFre.gf | 21 +++++++++++++++++++++ resource-1.0/italian/GrammarIta.gf | 22 ++++++++++++++++++++++ resource-1.0/russian/GrammarRus.gf | 17 +++++++++++++++++ resource-1.0/spanish/GrammarSpa.gf | 22 ++++++++++++++++++++++ 5 files changed, 103 insertions(+) create mode 100644 resource-1.0/finnish/GrammarFin.gf create mode 100644 resource-1.0/french/GrammarFre.gf create mode 100644 resource-1.0/italian/GrammarIta.gf create mode 100644 resource-1.0/russian/GrammarRus.gf create mode 100644 resource-1.0/spanish/GrammarSpa.gf diff --git a/resource-1.0/finnish/GrammarFin.gf b/resource-1.0/finnish/GrammarFin.gf new file mode 100644 index 00000000..6ae2ee9e --- /dev/null +++ b/resource-1.0/finnish/GrammarFin.gf @@ -0,0 +1,21 @@ +--# -path=.:../abstract:../common:prelude + +concrete GrammarFin of Grammar = + NounFin, + VerbFin, + AdjectiveFin, + AdverbFin, + NumeralFin, + SentenceFin, + QuestionFin, + RelativeFin, + ConjunctionFin, + PhraseFin, + TextX, + IdiomFin, + StructuralFin + ** { + +flags startcat = Phr ; unlexer = finnish ; lexer = text ; + +} ; diff --git a/resource-1.0/french/GrammarFre.gf b/resource-1.0/french/GrammarFre.gf new file mode 100644 index 00000000..fb21f05a --- /dev/null +++ b/resource-1.0/french/GrammarFre.gf @@ -0,0 +1,21 @@ +--# -path=.:../romance:../abstract:../common:prelude + +concrete GrammarFre of Grammar = + NounFre, + VerbFre, + AdjectiveFre, + AdverbFre, + NumeralFre, + SentenceFre, + QuestionFre, + RelativeFre, + ConjunctionFre, + PhraseFre, + TextX, + IdiomFre, + StructuralFre + ** { + +flags startcat = Phr ; unlexer = text ; lexer = text ; + +} ; diff --git a/resource-1.0/italian/GrammarIta.gf b/resource-1.0/italian/GrammarIta.gf new file mode 100644 index 00000000..5f5f315e --- /dev/null +++ b/resource-1.0/italian/GrammarIta.gf @@ -0,0 +1,22 @@ +--# -path=.:../romance:../abstract:../common:prelude + +concrete GrammarIta of Grammar = + NounIta, + VerbIta, + AdjectiveIta, + AdverbIta, + NumeralIta, + SentenceIta, + QuestionIta, + RelativeIta, + ConjunctionIta, + PhraseIta, + TextX, + IdiomIta, + StructuralIta + + ** { + +flags startcat = Phr ; unlexer = text ; lexer = text ; + +} ; diff --git a/resource-1.0/russian/GrammarRus.gf b/resource-1.0/russian/GrammarRus.gf new file mode 100644 index 00000000..31b505a3 --- /dev/null +++ b/resource-1.0/russian/GrammarRus.gf @@ -0,0 +1,17 @@ +--# -path=.:../abstract:../common:../../prelude + +concrete GrammarRus of Grammar = + NounRus, + VerbRus, + AdjectiveRus, + AdverbRus, + NumeralRus, + SentenceRus, + QuestionRus, + RelativeRus, + ConjunctionRus, + PhraseRus, + TextX, + StructuralRus, + IdiomRus + ** { flags startcat = Phr ; unlexer = text ; lexer = text ;} ; diff --git a/resource-1.0/spanish/GrammarSpa.gf b/resource-1.0/spanish/GrammarSpa.gf new file mode 100644 index 00000000..68c8b275 --- /dev/null +++ b/resource-1.0/spanish/GrammarSpa.gf @@ -0,0 +1,22 @@ +--# -path=.:../romance:../abstract:../common:prelude + +concrete GrammarSpa of Grammar = + NounSpa, + VerbSpa, + AdjectiveSpa, + AdverbSpa, + NumeralSpa, + SentenceSpa, + QuestionSpa, + RelativeSpa, + ConjunctionSpa, + PhraseSpa, + TextSpa, -- special punctuation + IdiomSpa, + StructuralSpa + + ** { + +flags startcat = Phr ; unlexer = text ; lexer = text ; + +} ;