mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 09:32:53 -06:00
structure document for 1.0
This commit is contained in:
@@ -1,3 +1,15 @@
|
|||||||
|
--1 A Basic Lexicon
|
||||||
|
|
||||||
|
-- This files gives a list of words whose purpose is to test the GF
|
||||||
|
-- resource grammar. It covers all lexical categories of [Cat Cat.html].
|
||||||
|
-- By containing some of the most common words,
|
||||||
|
-- it is aimed to cover, with high probability, all morphological
|
||||||
|
-- patterns in the different languages.
|
||||||
|
|
||||||
|
-- Using this lexicon for translation is not recommended. The linearizations
|
||||||
|
-- of the words in different languages are not guaranteed to be translation
|
||||||
|
-- equivalents.
|
||||||
|
|
||||||
abstract Basic = Cat ** {
|
abstract Basic = Cat ** {
|
||||||
fun
|
fun
|
||||||
add_V3 : V3 ;
|
add_V3 : V3 ;
|
||||||
@@ -129,6 +141,7 @@ abstract Basic = Cat ** {
|
|||||||
open_V2 : V2 ;
|
open_V2 : V2 ;
|
||||||
paint_V2A : V2A ;
|
paint_V2A : V2A ;
|
||||||
paper_N : N ;
|
paper_N : N ;
|
||||||
|
paris_PN : PN ;
|
||||||
peace_N : N ;
|
peace_N : N ;
|
||||||
pen_N : N ;
|
pen_N : N ;
|
||||||
planet_N : N ;
|
planet_N : N ;
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
-- - distributed conjunction: both X,...,X and X
|
-- - distributed conjunction: both X,...,X and X
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
|
-- *Note*. This module uses right-recursive lists. If backward
|
||||||
|
-- compatibility with API 0.9 is needed, use
|
||||||
|
-- [SeqConjunction SeqConjunction.html].
|
||||||
|
|
||||||
abstract Conjunction = Cat ** {
|
abstract Conjunction = Cat ** {
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
--1 The Main Module of the Resource Grammar
|
||||||
|
|
||||||
|
-- This grammar is just a collection of the different modules,
|
||||||
|
-- and the one that can be imported when one wants to test the
|
||||||
|
-- grammar. A smaller top module is [Test Test.html].
|
||||||
|
|
||||||
abstract Lang =
|
abstract Lang =
|
||||||
Noun,
|
Noun,
|
||||||
Verb,
|
Verb,
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
|
--1 Test lexicon
|
||||||
|
|
||||||
|
-- This lexicon is used when developing a grammar, and called by
|
||||||
|
-- [Test Test.html]. The full lexicon is divided between
|
||||||
|
-- [Structural Structural.html], [Basic Basic.html], and [Numeral Numeral.html].
|
||||||
|
|
||||||
abstract Lex = Cat ** {
|
abstract Lex = Cat ** {
|
||||||
|
|
||||||
|
-- Words of open classes
|
||||||
|
|
||||||
fun
|
fun
|
||||||
walk_V : V ;
|
walk_V : V ;
|
||||||
help_V2 : V2 ;
|
help_V2 : V2 ;
|
||||||
@@ -15,7 +23,7 @@ abstract Lex = Cat ** {
|
|||||||
warm_A : A ;
|
warm_A : A ;
|
||||||
close_A2 : A2 ;
|
close_A2 : A2 ;
|
||||||
|
|
||||||
-- structural
|
-- Structural words
|
||||||
|
|
||||||
|
|
||||||
only_Predet, all_Predet : Predet ;
|
only_Predet, all_Predet : Predet ;
|
||||||
|
|||||||
@@ -1,15 +1,20 @@
|
|||||||
|
--1 Symbolic expressions
|
||||||
|
|
||||||
|
-- *Note*. This module is not automatically included in the main
|
||||||
|
-- grammar [Lang Lang.html].
|
||||||
|
|
||||||
abstract Math = Cat ** {
|
abstract Math = Cat ** {
|
||||||
|
|
||||||
--3 Noun phrases with symbols
|
--2 Noun phrases with symbols
|
||||||
|
|
||||||
fun
|
fun
|
||||||
|
|
||||||
SymbPN : Symb -> PN ; -- "x"
|
SymbPN : Symb -> PN ; -- x
|
||||||
IntPN : Int -> PN ; -- "27"
|
IntPN : Int -> PN ; -- 27
|
||||||
CNIntNP : CN -> Int -> NP ; -- "level 53"
|
CNIntNP : CN -> Int -> NP ; -- level 53
|
||||||
CNSymbNP : Det -> CN -> [Symb] -> NP ; -- "(the) (2) numbers x and y"
|
CNSymbNP : Det -> CN -> [Symb] -> NP ; -- (the) (2) numbers x and y
|
||||||
|
|
||||||
--3 Symbol lists
|
--2 Symbol lists
|
||||||
|
|
||||||
-- A symbol list has at least two elements. The last two are separated
|
-- A symbol list has at least two elements. The last two are separated
|
||||||
-- by a conjunction ("and" in English), the others by commas.
|
-- by a conjunction ("and" in English), the others by commas.
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
|
--1 Conjunctions of left-recursive lists
|
||||||
|
|
||||||
abstract SeqConjunction = Cat ** {
|
abstract SeqConjunction = Cat ** {
|
||||||
|
|
||||||
-- This module is for backward compatibility with API 0.9.
|
-- This module is for backward compatibility with API 0.9.
|
||||||
-- To be used instead of Conjunction.
|
-- To be used instead of [Conjunction Conjunction.html].
|
||||||
|
|
||||||
fun
|
fun
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
--1 Tense, Polarity, and Anteriority
|
||||||
|
|
||||||
|
-- This module defines the abstract parameters of tense, polarity, and
|
||||||
|
-- anteriority, which are used in [Tensed Tensed.html] to generate different
|
||||||
|
-- forms of sentences. Together they give 2 x 4 x 4 = 16 sentence forms.
|
||||||
|
|
||||||
|
-- These tenses are defined for all languages in the library. More tenses
|
||||||
|
-- can be defined in the language extensions, e.g. the "passé simple" of
|
||||||
|
-- Romance languages.
|
||||||
|
|
||||||
abstract Tense = {
|
abstract Tense = {
|
||||||
|
|
||||||
cat
|
cat
|
||||||
@@ -6,8 +16,8 @@ abstract Tense = {
|
|||||||
Ant ;
|
Ant ;
|
||||||
|
|
||||||
fun
|
fun
|
||||||
PPos, PNeg : Pol ;
|
PPos, PNeg : Pol ; -- I sleep/don't sleep
|
||||||
TPres, TPast, TFut, TCond : Tense ;
|
TPres, TPast, TFut, TCond : Tense ; -- I sleep/slept/will sleep/would sleep
|
||||||
ASimul, AAnter : Ant ;
|
ASimul, AAnter : Ant ; -- I sleep/have slept
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
--1 Tensed forms of sentences, questions, and relative clauses
|
||||||
|
|
||||||
|
-- This module defines the 2 x 4 x 4 = 16 forms generated by different
|
||||||
|
-- combinations of tense, polarity, and
|
||||||
|
-- anteriority, which are defined in [Tense Tense.html].
|
||||||
|
-- A variant with just the polarity variation is given in
|
||||||
|
-- [Untensed Untensed.html].
|
||||||
|
|
||||||
abstract Tensed = Cat, Tense ** {
|
abstract Tensed = Cat, Tense ** {
|
||||||
|
|
||||||
fun
|
fun
|
||||||
@@ -6,3 +14,23 @@ abstract Tensed = Cat, Tense ** {
|
|||||||
UseRCl : Tense -> Ant -> Pol -> RCl -> RS ;
|
UseRCl : Tense -> Ant -> Pol -> RCl -> RS ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Examples for English $S$:
|
||||||
|
{-
|
||||||
|
Pres Simul Pos ODir : he sleeps
|
||||||
|
Pres Simul Neg ODir : he doesn't sleep
|
||||||
|
Pres Anter Pos ODir : he has slept
|
||||||
|
Pres Anter Neg ODir : he hasn't slept
|
||||||
|
Past Simul Pos ODir : he slept
|
||||||
|
Past Simul Neg ODir : he didn't sleep
|
||||||
|
Past Anter Pos ODir : he had slept
|
||||||
|
Past Anter Neg ODir : he hadn't slept
|
||||||
|
Fut Simul Pos ODir : he will sleep
|
||||||
|
Fut Simul Neg ODir : he won't sleep
|
||||||
|
Fut Anter Pos ODir : he will have slept
|
||||||
|
Fut Anter Neg ODir : he won't have slept
|
||||||
|
Cond Simul Pos ODir : he would sleep
|
||||||
|
Cond Simul Neg ODir : he wouldn't sleep
|
||||||
|
Cond Anter Pos ODir : he would have slept
|
||||||
|
Cond Anter Neg ODir : he wouldn't have slept
|
||||||
|
-}
|
||||||
@@ -1,9 +1,17 @@
|
|||||||
|
--1 The Reduced Top Module of the Resource Grammar
|
||||||
|
|
||||||
|
-- This grammar is just a collection of the different modules,
|
||||||
|
-- and one that can be imported when one wants to test a reduced version
|
||||||
|
-- of the grammar. The complete top module is [Lang Lang.html].
|
||||||
|
|
||||||
|
-- The main constructs missing are tenses of sentences, numerals, and
|
||||||
|
-- comprehensive lexicon.
|
||||||
|
|
||||||
abstract Test =
|
abstract Test =
|
||||||
Noun,
|
Noun,
|
||||||
Verb,
|
Verb,
|
||||||
Adjective,
|
Adjective,
|
||||||
Adverb,
|
Adverb,
|
||||||
-- Numeral,
|
|
||||||
Sentence,
|
Sentence,
|
||||||
Question,
|
Question,
|
||||||
Relative,
|
Relative,
|
||||||
@@ -11,5 +19,8 @@ abstract Test =
|
|||||||
Phrase,
|
Phrase,
|
||||||
Untensed,
|
Untensed,
|
||||||
-- Tensed,
|
-- Tensed,
|
||||||
|
-- Structural,
|
||||||
|
-- Basic,
|
||||||
|
-- Numeral,
|
||||||
Lex
|
Lex
|
||||||
** {} ;
|
** {} ;
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
--1 Untensed forms of sentences, questions, and relative clauses
|
||||||
|
|
||||||
|
-- This module defines just positive and negative present tense forms.
|
||||||
|
-- Am alternative with full variation in polarity, tense, and anteriority is
|
||||||
|
-- given in [Untensed Untensed.html].
|
||||||
|
|
||||||
abstract Untensed = Cat ** {
|
abstract Untensed = Cat ** {
|
||||||
|
|
||||||
fun
|
fun
|
||||||
|
|||||||
72
lib/resource-1.0/doc/gf-resource-lib.html
Normal file
72
lib/resource-1.0/doc/gf-resource-lib.html
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<HTML>
|
||||||
|
<HEAD>
|
||||||
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||||
|
<TITLE>GF Resource Grammar Library v. 1.0</TITLE>
|
||||||
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
|
<P ALIGN="center"><CENTER><H1>GF Resource Grammar Library v. 1.0</H1>
|
||||||
|
<FONT SIZE="4">
|
||||||
|
<I>Author: Aarne Ranta <aarne (at) cs.chalmers.se></I><BR>
|
||||||
|
Last update: Wed Jan 18 19:19:12 2006
|
||||||
|
</FONT></CENTER>
|
||||||
|
|
||||||
|
<P></P>
|
||||||
|
<HR NOSHADE SIZE=1>
|
||||||
|
<P></P>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="#toc1">The language independent API</A>
|
||||||
|
<LI><A HREF="#toc2">The language-dependent APIs</A>
|
||||||
|
</UL>
|
||||||
|
|
||||||
|
<P></P>
|
||||||
|
<HR NOSHADE SIZE=1>
|
||||||
|
<P></P>
|
||||||
|
<P>
|
||||||
|
<B>Notice</B>. This document concerns the API v. 1.0 which has not
|
||||||
|
yet been "officially" released. You can find the beginnings of it
|
||||||
|
in <A HREF=".."><CODE>GF/lib/resource-1.0/</CODE></A>. See the
|
||||||
|
<A HREF="../README"><CODE>resource-1.0/README</CODE></A> for
|
||||||
|
details on how it differs from previous versions
|
||||||
|
and how much has been implemented
|
||||||
|
</P>
|
||||||
|
<A NAME="toc1"></A>
|
||||||
|
<H2>The language independent API</H2>
|
||||||
|
<P>
|
||||||
|
The API is divided into a bunch of <CODE>abstract</CODE> modules.
|
||||||
|
The following figure gives the dependencies of these modules.
|
||||||
|
</P>
|
||||||
|
<P>
|
||||||
|
<IMG ALIGN="left" SRC="Lang.png" BORDER="0" ALT="">
|
||||||
|
</P>
|
||||||
|
<P>
|
||||||
|
The documentation of the individual modules:
|
||||||
|
</P>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="gfdoc/Cat.html">Cat</A>: the category system
|
||||||
|
<LI><A HREF="gfdoc/Noun.html">Noun</A>: construction of nouns and noun phrases
|
||||||
|
<LI><A HREF="gfdoc/Adjective.html">Adjective</A>: construction of adjectival phrases
|
||||||
|
<LI><A HREF="gfdoc/Verb.html">Verb</A>: construction of verb phrases
|
||||||
|
<LI><A HREF="gfdoc/Adverb.html">Adverb</A>: construction of adverbial phrases
|
||||||
|
<LI><A HREF="gfdoc/Numeral.html">Numeral</A>: construction of cardinal and ordinal numerals
|
||||||
|
<LI><A HREF="gfdoc/Sentence.html">Sentence</A>: construction of sentences and imperatives
|
||||||
|
<LI><A HREF="gfdoc/Question.html">Question</A>: construction of questions
|
||||||
|
<LI><A HREF="gfdoc/Relative.html">Relative</A>: construction of relative clauses
|
||||||
|
<LI><A HREF="gfdoc/Conjunction.html">Conjunction</A>: coordination of phrases
|
||||||
|
<LI><A HREF="gfdoc/Phrase.html">Phrase</A>: construction of the major units of text and speech
|
||||||
|
<LI><A HREF="gfdoc/Structural.html">Structural</A>: a lexicon of structural words
|
||||||
|
<LI><A HREF="gfdoc/Basic.html">Basic</A>: a lexicon of other common words, for test purposes
|
||||||
|
<LI><A HREF="gfdoc/Lang.html">Lang</A>: the main module comprising all the others
|
||||||
|
</UL>
|
||||||
|
|
||||||
|
<A NAME="toc2"></A>
|
||||||
|
<H2>The language-dependent APIs</H2>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="english/ParadigmsEng.html">ParadigmsEng</A>: English lexical paradigms
|
||||||
|
<LI><A HREF="german/ParadigmsGer.html">ParadigmsGer</A>: German lexical paradigms
|
||||||
|
<LI><A HREF="swedish/ParadigmsSwe.html">ParadigmsSwe</A>: Swedish lexical paradigms
|
||||||
|
</UL>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
|
||||||
|
<!-- cmdline: txt2tags -\-toc -thtml gf-resource-lib.txt -->
|
||||||
|
</BODY></HTML>
|
||||||
50
lib/resource-1.0/doc/gf-resource-lib.txt
Normal file
50
lib/resource-1.0/doc/gf-resource-lib.txt
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
GF Resource Grammar Library v. 1.0
|
||||||
|
Author: Aarne Ranta <aarne (at) cs.chalmers.se>
|
||||||
|
Last update: %%date(%c)
|
||||||
|
|
||||||
|
% NOTE: this is a txt2tags file.
|
||||||
|
% Create an html file from this file using:
|
||||||
|
% txt2tags --toc -thtml gf-resource-lib.txt
|
||||||
|
|
||||||
|
%!target:html
|
||||||
|
|
||||||
|
|
||||||
|
**Notice**. This document concerns the API v. 1.0 which has not
|
||||||
|
yet been "officially" released. You can find the beginnings of it
|
||||||
|
in [``GF/lib/resource-1.0/`` ..]. See the
|
||||||
|
[``resource-1.0/README`` ../README] for
|
||||||
|
details on how it differs from previous versions
|
||||||
|
and how much has been implemented
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
==The language independent API==
|
||||||
|
|
||||||
|
The API is divided into a bunch of ``abstract`` modules.
|
||||||
|
The following figure gives the dependencies of these modules.
|
||||||
|
|
||||||
|
[Lang.png]
|
||||||
|
|
||||||
|
The documentation of the individual modules:
|
||||||
|
|
||||||
|
- [Cat gfdoc/Cat.html]: the category system
|
||||||
|
- [Noun gfdoc/Noun.html]: construction of nouns and noun phrases
|
||||||
|
- [Adjective gfdoc/Adjective.html]: construction of adjectival phrases
|
||||||
|
- [Verb gfdoc/Verb.html]: construction of verb phrases
|
||||||
|
- [Adverb gfdoc/Adverb.html]: construction of adverbial phrases
|
||||||
|
- [Numeral gfdoc/Numeral.html]: construction of cardinal and ordinal numerals
|
||||||
|
- [Sentence gfdoc/Sentence.html]: construction of sentences and imperatives
|
||||||
|
- [Question gfdoc/Question.html]: construction of questions
|
||||||
|
- [Relative gfdoc/Relative.html]: construction of relative clauses
|
||||||
|
- [Conjunction gfdoc/Conjunction.html]: coordination of phrases
|
||||||
|
- [Phrase gfdoc/Phrase.html]: construction of the major units of text and speech
|
||||||
|
- [Structural gfdoc/Structural.html]: a lexicon of structural words
|
||||||
|
- [Basic gfdoc/Basic.html]: a lexicon of other common words, for test purposes
|
||||||
|
- [Lang gfdoc/Lang.html]: the main module comprising all the others
|
||||||
|
|
||||||
|
|
||||||
|
==The language-dependent APIs==
|
||||||
|
|
||||||
|
- [ParadigmsEng english/ParadigmsEng.html]: English lexical paradigms
|
||||||
|
- [ParadigmsGer german/ParadigmsGer.html]: German lexical paradigms
|
||||||
|
- [ParadigmsSwe swedish/ParadigmsSwe.html]: Swedish lexical paradigms
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> Adjectives and adjectival phrases</H1>
|
<P ALIGN="center"><CENTER><H1> Adjectives and adjectival phrases</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:07 2006
|
Last update: Wed Jan 18 19:07:58 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> Adverbs and adverbial phrases</H1>
|
<P ALIGN="center"><CENTER><H1> Adverbs and adverbial phrases</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:07 2006
|
Last update: Wed Jan 18 19:07:59 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -2,27 +2,40 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||||
|
<TITLE> A Basic Lexicon</TITLE>
|
||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
|
<P ALIGN="center"><CENTER><H1> A Basic Lexicon</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
|
<I>Author: </I><BR>
|
||||||
|
Last update: Wed Jan 18 19:07:59 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="#toc1">A Basic Lexicon</A>
|
||||||
|
</UL>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
|
||||||
Last update: Tue Jan 17 15:29:08 2006
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
Produced by
|
Produced by
|
||||||
gfdoc - a rudimentary GF document generator.
|
gfdoc - a rudimentary GF document generator.
|
||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
|
<A NAME="toc1"></A>
|
||||||
|
<H1>A Basic Lexicon</H1>
|
||||||
<P>
|
<P>
|
||||||
==
|
This files gives a list of words whose purpose is to test the GF
|
||||||
|
resource grammar. It covers all lexical categories of <A HREF="Cat.html">Cat</A>.
|
||||||
|
By containing some of the most common words,
|
||||||
|
it is aimed to cover, with high probability, all morphological
|
||||||
|
patterns in the different languages.
|
||||||
|
Using this lexicon for translation is not recommended. The linearizations
|
||||||
|
of the words in different languages are not guaranteed to be translation
|
||||||
|
equivalents.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Basic = Cat ** {
|
abstract Basic = Cat ** {
|
||||||
@@ -156,6 +169,7 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
open_V2 : V2 ;
|
open_V2 : V2 ;
|
||||||
paint_V2A : V2A ;
|
paint_V2A : V2A ;
|
||||||
paper_N : N ;
|
paper_N : N ;
|
||||||
|
paris_PN : PN ;
|
||||||
peace_N : N ;
|
peace_N : N ;
|
||||||
pen_N : N ;
|
pen_N : N ;
|
||||||
planet_N : N ;
|
planet_N : N ;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> The category system</H1>
|
<P ALIGN="center"><CENTER><H1> The category system</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:08 2006
|
Last update: Wed Jan 18 19:07:59 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> Coordination</H1>
|
<P ALIGN="center"><CENTER><H1> Coordination</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:08 2006
|
Last update: Wed Jan 18 19:07:59 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -42,6 +42,11 @@ and define two general patterns:
|
|||||||
<LI>distributed conjunction: both X,...,X and X
|
<LI>distributed conjunction: both X,...,X and X
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
|
<P>
|
||||||
|
<B>Note</B>. This module uses right-recursive lists. If backward
|
||||||
|
compatibility with API 0.9 is needed, use
|
||||||
|
<A HREF="SeqConjunction.html">SeqConjunction</A>.
|
||||||
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Conjunction = Cat ** {
|
abstract Conjunction = Cat ** {
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|||||||
@@ -2,27 +2,35 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||||
|
<TITLE> The Main Module of the Resource Grammar</TITLE>
|
||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
|
<P ALIGN="center"><CENTER><H1> The Main Module of the Resource Grammar</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
|
<I>Author: </I><BR>
|
||||||
|
Last update: Wed Jan 18 19:07:59 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="#toc1">The Main Module of the Resource Grammar</A>
|
||||||
|
</UL>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
|
||||||
Last update: Tue Jan 17 15:29:08 2006
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
Produced by
|
Produced by
|
||||||
gfdoc - a rudimentary GF document generator.
|
gfdoc - a rudimentary GF document generator.
|
||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
|
<A NAME="toc1"></A>
|
||||||
|
<H1>The Main Module of the Resource Grammar</H1>
|
||||||
<P>
|
<P>
|
||||||
==
|
This grammar is just a collection of the different modules,
|
||||||
|
and the one that can be imported when one wants to test the
|
||||||
|
grammar. A smaller top module is <A HREF="Test.html">Test</A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Lang =
|
abstract Lang =
|
||||||
|
|||||||
@@ -2,31 +2,44 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||||
|
<TITLE> Test lexicon</TITLE>
|
||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
|
<P ALIGN="center"><CENTER><H1> Test lexicon</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
|
<I>Author: </I><BR>
|
||||||
|
Last update: Wed Jan 18 19:07:59 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="#toc1">Test lexicon</A>
|
||||||
|
</UL>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
|
||||||
Last update: Tue Jan 17 15:29:08 2006
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
Produced by
|
Produced by
|
||||||
gfdoc - a rudimentary GF document generator.
|
gfdoc - a rudimentary GF document generator.
|
||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
|
<A NAME="toc1"></A>
|
||||||
|
<H1>Test lexicon</H1>
|
||||||
<P>
|
<P>
|
||||||
==
|
This lexicon is used when developing a grammar, and called by
|
||||||
|
<A HREF="Test.html">Test</A>. The full lexicon is divided between
|
||||||
|
<A HREF="Structural.html">Structural</A>, <A HREF="Basic.html">Basic</A>, and <A HREF="Numeral.html">Numeral</A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Lex = Cat ** {
|
abstract Lex = Cat ** {
|
||||||
|
</PRE>
|
||||||
|
<P></P>
|
||||||
|
<P>
|
||||||
|
Words of open classes
|
||||||
|
</P>
|
||||||
|
<PRE>
|
||||||
fun
|
fun
|
||||||
walk_V : V ;
|
walk_V : V ;
|
||||||
help_V2 : V2 ;
|
help_V2 : V2 ;
|
||||||
@@ -44,7 +57,7 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
structural
|
Structural words
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
only_Predet, all_Predet : Predet ;
|
only_Predet, all_Predet : Predet ;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
Author:
|
||||||
Last update: Tue Jan 17 15:29:08 2006
|
Last update: Wed Jan 18 19:08:00 2006
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Produced by
|
Produced by
|
||||||
|
|||||||
@@ -2,50 +2,56 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||||
|
<TITLE> Symbolic expressions</TITLE>
|
||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
|
<P ALIGN="center"><CENTER><H1> Symbolic expressions</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
|
<I>Author: </I><BR>
|
||||||
|
Last update: Wed Jan 18 19:08:00 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<UL>
|
<UL>
|
||||||
<LI><A HREF="#toc1">Noun phrases with symbols</A>
|
<LI><A HREF="#toc1">Symbolic expressions</A>
|
||||||
<LI><A HREF="#toc2">Symbol lists</A>
|
<UL>
|
||||||
|
<LI><A HREF="#toc2">Noun phrases with symbols</A>
|
||||||
|
<LI><A HREF="#toc3">Symbol lists</A>
|
||||||
|
</UL>
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
|
||||||
Last update: Tue Jan 17 15:29:08 2006
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
Produced by
|
Produced by
|
||||||
gfdoc - a rudimentary GF document generator.
|
gfdoc - a rudimentary GF document generator.
|
||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
|
<A NAME="toc1"></A>
|
||||||
|
<H1>Symbolic expressions</H1>
|
||||||
<P>
|
<P>
|
||||||
==
|
<B>Note</B>. This module is not automatically included in the main
|
||||||
|
grammar <A HREF="Lang.html">Lang</A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Math = Cat ** {
|
abstract Math = Cat ** {
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc1"></A>
|
<A NAME="toc2"></A>
|
||||||
<H3>Noun phrases with symbols</H3>
|
<H2>Noun phrases with symbols</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
fun
|
fun
|
||||||
|
|
||||||
SymbPN : Symb -> PN ; -- "x"
|
SymbPN : Symb -> PN ; -- x
|
||||||
IntPN : Int -> PN ; -- "27"
|
IntPN : Int -> PN ; -- 27
|
||||||
CNIntNP : CN -> Int -> NP ; -- "level 53"
|
CNIntNP : CN -> Int -> NP ; -- level 53
|
||||||
CNSymbNP : Det -> CN -> [Symb] -> NP ; -- "(the) (2) numbers x and y"
|
CNSymbNP : Det -> CN -> [Symb] -> NP ; -- (the) (2) numbers x and y
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc2"></A>
|
<A NAME="toc3"></A>
|
||||||
<H3>Symbol lists</H3>
|
<H2>Symbol lists</H2>
|
||||||
<P>
|
<P>
|
||||||
A symbol list has at least two elements. The last two are separated
|
A symbol list has at least two elements. The last two are separated
|
||||||
by a conjunction (<I>and</I> in English), the others by commas.
|
by a conjunction (<I>and</I> in English), the others by commas.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> The construction of nouns, noun phrases, and determiners</H1>
|
<P ALIGN="center"><CENTER><H1> The construction of nouns, noun phrases, and determiners</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:09 2006
|
Last update: Wed Jan 18 19:08:00 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -178,11 +178,14 @@ The semantics is typically derivative of the relational meaning.
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Nouns can be modified by adjectives and relative clauses.
|
Nouns can be modified by adjectives, relative clauses, and adverbs
|
||||||
|
(the last rule will give rise to many 'PP attachement' ambiguities
|
||||||
|
when used in connection with verb phrases).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
AdjCN : AP -> CN -> CN ; -- big house
|
AdjCN : AP -> CN -> CN ; -- big house
|
||||||
RelCN : CN -> RS -> CN ; -- house that John owns
|
RelCN : CN -> RS -> CN ; -- house that John owns
|
||||||
|
AdvCN : CN -> Adv -> CN ; -- house on the hill
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> Numerals</H1>
|
<P ALIGN="center"><CENTER><H1> Numerals</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:09 2006
|
Last update: Wed Jan 18 19:08:00 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
Author:
|
||||||
Last update: Tue Jan 17 15:29:11 2006
|
Last update: Wed Jan 18 19:08:02 2006
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Produced by
|
Produced by
|
||||||
|
|||||||
@@ -18,14 +18,15 @@
|
|||||||
<LI><A HREF="#toc4">Proper names and noun phrases</A>
|
<LI><A HREF="#toc4">Proper names and noun phrases</A>
|
||||||
</UL>
|
</UL>
|
||||||
<LI><A HREF="#toc5">Adjectives</A>
|
<LI><A HREF="#toc5">Adjectives</A>
|
||||||
<LI><A HREF="#toc6">Prepositions</A>
|
<LI><A HREF="#toc6">Adverbs</A>
|
||||||
<LI><A HREF="#toc7">Verbs</A>
|
<LI><A HREF="#toc7">Prepositions</A>
|
||||||
|
<LI><A HREF="#toc8">Verbs</A>
|
||||||
<UL>
|
<UL>
|
||||||
<LI><A HREF="#toc8">Two-place verbs</A>
|
<LI><A HREF="#toc9">Two-place verbs</A>
|
||||||
<LI><A HREF="#toc9">Three-place verbs</A>
|
<LI><A HREF="#toc10">Three-place verbs</A>
|
||||||
<LI><A HREF="#toc10">Other complement patterns</A>
|
<LI><A HREF="#toc11">Other complement patterns</A>
|
||||||
</UL>
|
</UL>
|
||||||
<LI><A HREF="#toc11">Definitions of paradigms</A>
|
<LI><A HREF="#toc12">Definitions of paradigms</A>
|
||||||
</UL>
|
</UL>
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
@@ -34,7 +35,7 @@
|
|||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
Author:
|
||||||
Last update: Tue Jan 17 15:29:11 2006
|
Last update: Wed Jan 18 19:08:02 2006
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Produced by
|
Produced by
|
||||||
@@ -185,10 +186,10 @@ The regular genitive is <I>s</I>, omitted after <I>s</I>.
|
|||||||
<A NAME="toc5"></A>
|
<A NAME="toc5"></A>
|
||||||
<H2>Adjectives</H2>
|
<H2>Adjectives</H2>
|
||||||
<P>
|
<P>
|
||||||
Adjectives need four forms: two for the positive and one for the other degrees.
|
Adjectives need three forms, one for each degree.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkA : (x1,_,_,x4 : Str) -> A ; -- gut,gut,besser,best
|
mkA : (x1,_,x3 : Str) -> A ; -- gut,besser,beste
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -214,6 +215,15 @@ Two-place adjectives are formed by adding a preposition to an adjective.
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc6"></A>
|
<A NAME="toc6"></A>
|
||||||
|
<H2>Adverbs</H2>
|
||||||
|
<P>
|
||||||
|
Adverbs are just strings.
|
||||||
|
</P>
|
||||||
|
<PRE>
|
||||||
|
mkAdv : Str -> Adv ;
|
||||||
|
</PRE>
|
||||||
|
<P></P>
|
||||||
|
<A NAME="toc7"></A>
|
||||||
<H2>Prepositions</H2>
|
<H2>Prepositions</H2>
|
||||||
<P>
|
<P>
|
||||||
A preposition is formed from a string and a case.
|
A preposition is formed from a string and a case.
|
||||||
@@ -239,7 +249,7 @@ A couple of common prepositions (always with the dative).
|
|||||||
zu_Prep : Prep ;
|
zu_Prep : Prep ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc7"></A>
|
<A NAME="toc8"></A>
|
||||||
<H2>Verbs</H2>
|
<H2>Verbs</H2>
|
||||||
<P>
|
<P>
|
||||||
The worst-case constructor needs six forms:
|
The worst-case constructor needs six forms:
|
||||||
@@ -302,7 +312,7 @@ Reflexive verbs can take reflexive pronouns of different cases.
|
|||||||
reflV : V -> Case -> V ;
|
reflV : V -> Case -> V ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc8"></A>
|
<A NAME="toc9"></A>
|
||||||
<H3>Two-place verbs</H3>
|
<H3>Two-place verbs</H3>
|
||||||
<P>
|
<P>
|
||||||
Two-place verbs need a preposition, except the special case with direct object
|
Two-place verbs need a preposition, except the special case with direct object
|
||||||
@@ -315,7 +325,7 @@ Two-place verbs need a preposition, except the special case with direct object
|
|||||||
datV2 : V -> V2 ;
|
datV2 : V -> V2 ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc9"></A>
|
<A NAME="toc10"></A>
|
||||||
<H3>Three-place verbs</H3>
|
<H3>Three-place verbs</H3>
|
||||||
<P>
|
<P>
|
||||||
Three-place (ditransitive) verbs need two prepositions, of which
|
Three-place (ditransitive) verbs need two prepositions, of which
|
||||||
@@ -327,7 +337,7 @@ the first one or both can be absent.
|
|||||||
accdatV3 : V -> V3 ; -- give,_,_
|
accdatV3 : V -> V3 ; -- give,_,_
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc10"></A>
|
<A NAME="toc11"></A>
|
||||||
<H3>Other complement patterns</H3>
|
<H3>Other complement patterns</H3>
|
||||||
<P>
|
<P>
|
||||||
Verbs and adjectives can take complements such as sentences,
|
Verbs and adjectives can take complements such as sentences,
|
||||||
@@ -338,7 +348,7 @@ questions, verb phrases, and adjectives.
|
|||||||
mkVS : V -> VS ;
|
mkVS : V -> VS ;
|
||||||
mkV2S : V -> Prep -> V2S ;
|
mkV2S : V -> Prep -> V2S ;
|
||||||
mkVV : V -> VV ;
|
mkVV : V -> VV ;
|
||||||
mkV2V : V -> Prep -> Prep -> V2V ;
|
mkV2V : V -> Prep -> V2V ;
|
||||||
mkVA : V -> VA ;
|
mkVA : V -> VA ;
|
||||||
mkV2A : V -> Prep -> V2A ;
|
mkV2A : V -> Prep -> V2A ;
|
||||||
mkVQ : V -> VQ ;
|
mkVQ : V -> VQ ;
|
||||||
@@ -361,7 +371,7 @@ as an adverb. Likewise <CODE>AS, A2S, AV, A2V</CODE> are just <CODE>A</CODE>.
|
|||||||
AS, A2S, AV, A2V : Type ;
|
AS, A2S, AV, A2V : Type ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc11"></A>
|
<A NAME="toc12"></A>
|
||||||
<H2>Definitions of paradigms</H2>
|
<H2>Definitions of paradigms</H2>
|
||||||
<P>
|
<P>
|
||||||
The definitions should not bother the user of the API. So they are
|
The definitions should not bother the user of the API. So they are
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
Author:
|
||||||
Last update: Tue Jan 17 15:29:11 2006
|
Last update: Wed Jan 18 19:08:02 2006
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Produced by
|
Produced by
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> Phrases and utterances</H1>
|
<P ALIGN="center"><CENTER><H1> Phrases and utterances</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:09 2006
|
Last update: Wed Jan 18 19:08:00 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> Questions and interrogative pronouns</H1>
|
<P ALIGN="center"><CENTER><H1> Questions and interrogative pronouns</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:09 2006
|
Last update: Wed Jan 18 19:08:00 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> Relative clauses and pronouns</H1>
|
<P ALIGN="center"><CENTER><H1> Relative clauses and pronouns</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:09 2006
|
Last update: Wed Jan 18 19:08:01 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> Clauses, imperatives, and sentential complements</H1>
|
<P ALIGN="center"><CENTER><H1> Clauses, imperatives, and sentential complements</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:09 2006
|
Last update: Wed Jan 18 19:08:01 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -2,35 +2,38 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||||
|
<TITLE> Conjunctions of left-recursive lists</TITLE>
|
||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
|
<P ALIGN="center"><CENTER><H1> Conjunctions of left-recursive lists</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
|
<I>Author: </I><BR>
|
||||||
|
Last update: Wed Jan 18 19:08:01 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="#toc1">Conjunctions of left-recursive lists</A>
|
||||||
|
</UL>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
|
||||||
Last update: Tue Jan 17 15:29:10 2006
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
Produced by
|
Produced by
|
||||||
gfdoc - a rudimentary GF document generator.
|
gfdoc - a rudimentary GF document generator.
|
||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<A NAME="toc1"></A>
|
||||||
==
|
<H1>Conjunctions of left-recursive lists</H1>
|
||||||
</P>
|
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract SeqConjunction = Cat ** {
|
abstract SeqConjunction = Cat ** {
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
This module is for backward compatibility with API 0.9.
|
This module is for backward compatibility with API 0.9.
|
||||||
To be used instead of Conjunction.
|
To be used instead of <A HREF="Conjunction.html">Conjunction</A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
fun
|
fun
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> GF Resource Grammar API for Structural Words</H1>
|
<P ALIGN="center"><CENTER><H1> GF Resource Grammar API for Structural Words</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:10 2006
|
Last update: Wed Jan 18 19:08:01 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -2,27 +2,38 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||||
|
<TITLE> Tense, Polarity, and Anteriority</TITLE>
|
||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
|
<P ALIGN="center"><CENTER><H1> Tense, Polarity, and Anteriority</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
|
<I>Author: </I><BR>
|
||||||
|
Last update: Wed Jan 18 19:08:01 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="#toc1">Tense, Polarity, and Anteriority</A>
|
||||||
|
</UL>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
|
||||||
Last update: Tue Jan 17 15:29:10 2006
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
Produced by
|
Produced by
|
||||||
gfdoc - a rudimentary GF document generator.
|
gfdoc - a rudimentary GF document generator.
|
||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
|
<A NAME="toc1"></A>
|
||||||
|
<H1>Tense, Polarity, and Anteriority</H1>
|
||||||
<P>
|
<P>
|
||||||
==
|
This module defines the abstract parameters of tense, polarity, and
|
||||||
|
anteriority, which are used in <A HREF="Tensed.html">Tensed</A> to generate different
|
||||||
|
forms of sentences. Together they give 2 x 4 x 4 = 16 sentence forms.
|
||||||
|
These tenses are defined for all languages in the library. More tenses
|
||||||
|
can be defined in the language extensions, e.g. the <I>passé simple</I> of
|
||||||
|
Romance languages.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Tense = {
|
abstract Tense = {
|
||||||
@@ -33,9 +44,9 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
Ant ;
|
Ant ;
|
||||||
|
|
||||||
fun
|
fun
|
||||||
PPos, PNeg : Pol ;
|
PPos, PNeg : Pol ; -- I sleep/don't sleep
|
||||||
TPres, TPast, TFut, TCond : Tense ;
|
TPres, TPast, TFut, TCond : Tense ; -- I sleep/slept/will sleep/would sleep
|
||||||
ASimul, AAnter : Ant ;
|
ASimul, AAnter : Ant ; -- I sleep/have slept
|
||||||
|
|
||||||
}
|
}
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|||||||
@@ -2,27 +2,37 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||||
|
<TITLE> Tensed forms of sentences, questions, and relative clauses</TITLE>
|
||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
|
<P ALIGN="center"><CENTER><H1> Tensed forms of sentences, questions, and relative clauses</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
|
<I>Author: </I><BR>
|
||||||
|
Last update: Wed Jan 18 19:08:01 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="#toc1">Tensed forms of sentences, questions, and relative clauses</A>
|
||||||
|
</UL>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
|
||||||
Last update: Tue Jan 17 15:29:10 2006
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
Produced by
|
Produced by
|
||||||
gfdoc - a rudimentary GF document generator.
|
gfdoc - a rudimentary GF document generator.
|
||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
|
<A NAME="toc1"></A>
|
||||||
|
<H1>Tensed forms of sentences, questions, and relative clauses</H1>
|
||||||
<P>
|
<P>
|
||||||
==
|
This module defines the 2 x 4 x 4 = 16 forms generated by different
|
||||||
|
combinations of tense, polarity, and
|
||||||
|
anteriority, which are defined in <A HREF="Tense.html">Tense</A>.
|
||||||
|
A variant with just the polarity variation is given in
|
||||||
|
<A HREF="Untensed.html">Untensed</A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Tensed = Cat, Tense ** {
|
abstract Tensed = Cat, Tense ** {
|
||||||
@@ -35,6 +45,27 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
}
|
}
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<P>
|
||||||
|
Examples for English <CODE>S</CODE>:
|
||||||
|
</P>
|
||||||
|
<P>
|
||||||
|
Pres Simul Pos ODir : he sleeps
|
||||||
|
Pres Simul Neg ODir : he doesn't sleep
|
||||||
|
Pres Anter Pos ODir : he has slept
|
||||||
|
Pres Anter Neg ODir : he hasn't slept
|
||||||
|
Past Simul Pos ODir : he slept
|
||||||
|
Past Simul Neg ODir : he didn't sleep
|
||||||
|
Past Anter Pos ODir : he had slept
|
||||||
|
Past Anter Neg ODir : he hadn't slept
|
||||||
|
Fut Simul Pos ODir : he will sleep
|
||||||
|
Fut Simul Neg ODir : he won't sleep
|
||||||
|
Fut Anter Pos ODir : he will have slept
|
||||||
|
Fut Anter Neg ODir : he won't have slept
|
||||||
|
Cond Simul Pos ODir : he would sleep
|
||||||
|
Cond Simul Neg ODir : he wouldn't sleep
|
||||||
|
Cond Anter Pos ODir : he would have slept
|
||||||
|
Cond Anter Neg ODir : he wouldn't have slept
|
||||||
|
</P>
|
||||||
|
|
||||||
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
|
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
|
||||||
<!-- cmdline: txt2tags -thtml -\-toc abstract/Tensed.txt -->
|
<!-- cmdline: txt2tags -thtml -\-toc abstract/Tensed.txt -->
|
||||||
|
|||||||
@@ -2,27 +2,37 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||||
|
<TITLE> The Reduced Top Module of the Resource Grammar</TITLE>
|
||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
|
<P ALIGN="center"><CENTER><H1> The Reduced Top Module of the Resource Grammar</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
|
<I>Author: </I><BR>
|
||||||
|
Last update: Wed Jan 18 19:08:02 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="#toc1">The Reduced Top Module of the Resource Grammar</A>
|
||||||
|
</UL>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
|
||||||
Last update: Tue Jan 17 15:29:10 2006
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
Produced by
|
Produced by
|
||||||
gfdoc - a rudimentary GF document generator.
|
gfdoc - a rudimentary GF document generator.
|
||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
|
<A NAME="toc1"></A>
|
||||||
|
<H1>The Reduced Top Module of the Resource Grammar</H1>
|
||||||
<P>
|
<P>
|
||||||
==
|
This grammar is just a collection of the different modules,
|
||||||
|
and one that can be imported when one wants to test a reduced version
|
||||||
|
of the grammar. The complete top module is <A HREF="Lang.html">Lang</A>.
|
||||||
|
The main constructs missing are tenses of sentences, numerals, and
|
||||||
|
comprehensive lexicon.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Test =
|
abstract Test =
|
||||||
@@ -30,7 +40,6 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
Verb,
|
Verb,
|
||||||
Adjective,
|
Adjective,
|
||||||
Adverb,
|
Adverb,
|
||||||
-- Numeral,
|
|
||||||
Sentence,
|
Sentence,
|
||||||
Question,
|
Question,
|
||||||
Relative,
|
Relative,
|
||||||
@@ -38,6 +47,9 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
Phrase,
|
Phrase,
|
||||||
Untensed,
|
Untensed,
|
||||||
-- Tensed,
|
-- Tensed,
|
||||||
|
-- Structural,
|
||||||
|
-- Basic,
|
||||||
|
-- Numeral,
|
||||||
Lex
|
Lex
|
||||||
** {} ;
|
** {} ;
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|||||||
@@ -2,27 +2,35 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||||
|
<TITLE> Untensed forms of sentences, questions, and relative clauses</TITLE>
|
||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
|
<P ALIGN="center"><CENTER><H1> Untensed forms of sentences, questions, and relative clauses</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
|
<I>Author: </I><BR>
|
||||||
|
Last update: Wed Jan 18 19:08:02 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="#toc1">Untensed forms of sentences, questions, and relative clauses</A>
|
||||||
|
</UL>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Author:
|
|
||||||
Last update: Tue Jan 17 15:29:10 2006
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
Produced by
|
Produced by
|
||||||
gfdoc - a rudimentary GF document generator.
|
gfdoc - a rudimentary GF document generator.
|
||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
|
<A NAME="toc1"></A>
|
||||||
|
<H1>Untensed forms of sentences, questions, and relative clauses</H1>
|
||||||
<P>
|
<P>
|
||||||
==
|
This module defines just positive and negative present tense forms.
|
||||||
|
Am alternative with full variation in polarity, tense, and anteriority is
|
||||||
|
given in <A HREF="Untensed.html">Untensed</A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Untensed = Cat ** {
|
abstract Untensed = Cat ** {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1> The construction of verb phrases</H1>
|
<P ALIGN="center"><CENTER><H1> The construction of verb phrases</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: </I><BR>
|
<I>Author: </I><BR>
|
||||||
Last update: Tue Jan 17 15:29:10 2006
|
Last update: Wed Jan 18 19:08:02 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ lin
|
|||||||
open_V2 = dirV2 (regV "open") ;
|
open_V2 = dirV2 (regV "open") ;
|
||||||
paint_V2A = mkV2A (regV "paint") [] ;
|
paint_V2A = mkV2A (regV "paint") [] ;
|
||||||
paper_N = regN "paper" ;
|
paper_N = regN "paper" ;
|
||||||
|
paris_PN = regPN "Paris" nonhuman ;
|
||||||
peace_N = regN "peace" ;
|
peace_N = regN "peace" ;
|
||||||
pen_N = regN "pen" ;
|
pen_N = regN "pen" ;
|
||||||
planet_N = regN "planet" ;
|
planet_N = regN "planet" ;
|
||||||
|
|||||||
@@ -136,6 +136,7 @@ lin
|
|||||||
open_V2 = dirV2 (regV "öffnen") ;
|
open_V2 = dirV2 (regV "öffnen") ;
|
||||||
paint_V2A = mkV2A (regV "malen") accPrep ;
|
paint_V2A = mkV2A (regV "malen") accPrep ;
|
||||||
paper_N = reg2N "Papier" "Papiere" neuter ;
|
paper_N = reg2N "Papier" "Papiere" neuter ;
|
||||||
|
paris_PN = mkPN "Paris" "Paris" ;
|
||||||
peace_N = mkN "Friede" "Frieden" "Frieden" "Friedens" "Frieden" "Frieden" masculine ;
|
peace_N = mkN "Friede" "Frieden" "Frieden" "Friedens" "Frieden" "Frieden" masculine ;
|
||||||
pen_N = regN "Bleistift" ; ----
|
pen_N = regN "Bleistift" ; ----
|
||||||
planet_N = reg2N "Planet" "Planeten" masculine ;
|
planet_N = reg2N "Planet" "Planeten" masculine ;
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ lin
|
|||||||
open_V2 = dirV2 (regV "öppna") ;
|
open_V2 = dirV2 (regV "öppna") ;
|
||||||
paint_V2A = mkV2A (regV "måla") [] ;
|
paint_V2A = mkV2A (regV "måla") [] ;
|
||||||
paper_N = mkN "papper" "pappret" "papper" "pappren" ;
|
paper_N = mkN "papper" "pappret" "papper" "pappren" ;
|
||||||
|
paris_PN = regPN "Paris" neutrum ;
|
||||||
peace_N = regN "fred" utrum ; ---- ar?
|
peace_N = regN "fred" utrum ; ---- ar?
|
||||||
pen_N = regN "penna" utrum ;
|
pen_N = regN "penna" utrum ;
|
||||||
planet_N = mk2N "planet" "planeter" ;
|
planet_N = mk2N "planet" "planeter" ;
|
||||||
|
|||||||
Reference in New Issue
Block a user