From 64bcd53451c0b0d3eb76b7f55a8f7ee73f0c274f 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 --- lib/resource-1.0/finnish/GrammarFin.gf | 21 +++++++++++++++++++++ lib/resource-1.0/french/GrammarFre.gf | 21 +++++++++++++++++++++ lib/resource-1.0/italian/GrammarIta.gf | 22 ++++++++++++++++++++++ lib/resource-1.0/russian/GrammarRus.gf | 17 +++++++++++++++++ lib/resource-1.0/spanish/GrammarSpa.gf | 22 ++++++++++++++++++++++ 5 files changed, 103 insertions(+) create mode 100644 lib/resource-1.0/finnish/GrammarFin.gf create mode 100644 lib/resource-1.0/french/GrammarFre.gf create mode 100644 lib/resource-1.0/italian/GrammarIta.gf create mode 100644 lib/resource-1.0/russian/GrammarRus.gf create mode 100644 lib/resource-1.0/spanish/GrammarSpa.gf diff --git a/lib/resource-1.0/finnish/GrammarFin.gf b/lib/resource-1.0/finnish/GrammarFin.gf new file mode 100644 index 000000000..6ae2ee9ea --- /dev/null +++ b/lib/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/lib/resource-1.0/french/GrammarFre.gf b/lib/resource-1.0/french/GrammarFre.gf new file mode 100644 index 000000000..fb21f05ab --- /dev/null +++ b/lib/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/lib/resource-1.0/italian/GrammarIta.gf b/lib/resource-1.0/italian/GrammarIta.gf new file mode 100644 index 000000000..5f5f315e9 --- /dev/null +++ b/lib/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/lib/resource-1.0/russian/GrammarRus.gf b/lib/resource-1.0/russian/GrammarRus.gf new file mode 100644 index 000000000..31b505a3a --- /dev/null +++ b/lib/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/lib/resource-1.0/spanish/GrammarSpa.gf b/lib/resource-1.0/spanish/GrammarSpa.gf new file mode 100644 index 000000000..68c8b2758 --- /dev/null +++ b/lib/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 ; + +} ;