diff --git a/lib/compiled.tgz b/lib/compiled.tgz deleted file mode 100644 index fb3427bf9..000000000 Binary files a/lib/compiled.tgz and /dev/null differ diff --git a/lib/resource-1.0/doc/clt2006.html b/lib/resource-1.0/doc/clt2006.html index b7e180545..85bca136f 100644 --- a/lib/resource-1.0/doc/clt2006.html +++ b/lib/resource-1.0/doc/clt2006.html @@ -7,7 +7,7 @@

The GF Resource Grammar Library Version 1.0

Author: Aarne Ranta <aarne (at) cs.chalmers.se>
-Last update: Tue Mar 7 16:01:46 2006 +Last update: Tue Mar 7 21:50:28 2006

@@ -145,6 +145,7 @@ Linguistics

+

+ +

+

Slightly less related work

LinGO Grammar Matrix

@@ -315,7 +322,7 @@ Basic lexicon

@@ -341,7 +348,7 @@ declaratives, questions, imperatives, vocatives

Tense, mood, and polarity: -present, past, future, conditional ; similtaneous, anterior ; positive, negative +present, past, future, conditional ; simultaneous, anterior ; positive, negative

Questions: @@ -373,10 +380,10 @@ proper names, pronouns, determiners, possessives, cardinals and ordinals 100 structural words

-350 content words in a test lexicon +340 content words in a test lexicon

-Lines of source code (4/3/2006): +35 kLines of source code (4/3/2006):

     abstract     1131
@@ -407,20 +414,20 @@ Lines of source code (4/3/2006):
 
   John walks.
   
-  TFullStop              : Phr -> Text -> Text
-    (PhrUtt              : PConj -> Utt -> Voc -> Phr
-      NoPConj
-      (UttS              : S -> Utt
+  TFullStop              : Phr -> Text -> Text              | TQuestMark, TExclMark
+    (PhrUtt              : PConj -> Utt -> Voc -> Phr       | PhrYes, PhrNo, ...
+      NoPConj                                               | but_PConj, ...
+      (UttS              : S -> Utt                         | UttQS, UttImp, UttNP, ...
         (UseCl           : Tense -> Anter -> Pol -> Cl -> S
           TPres              
           ASimul 
           PPos 
-          (PredVP        : NP -> VP -> Cl
+          (PredVP        : NP -> VP -> Cl                   | ImpersNP, ExistNP, ...
             (UsePN       : PN -> NP 
               john_PN) 
-            (UseV        : V  -> VP
+            (UseV        : V  -> VP                         | ComplV2, UseComp, ...
               walk_V)))) 
-      NoVoc) 
+      NoVoc)                                                | VocNP, please_Voc, ...
     TEmpty
 

@@ -519,10 +526,6 @@ Goal: eliminate the user's need of worst-case functions.

Language-dependent syntax extensions

- -

-

Special-purpose APIs

-

Syntactic structures that are not shared by all languages.

@@ -539,10 +542,26 @@ Candidates:

-

How to use as top-level grammar

+

Special-purpose APIs

+

+Mathematical +

+

+Multimodal +

+

+Present +

+

+Minimal +

+

+Shallow +

+

How to use the resource as top-level grammar

Compiling

It is a good idea to compile the library, so that it can be opened faster @@ -580,9 +599,6 @@ The MCFG parser works in some languages, after waiting appr. 20 seconds p -mcfg -lang=LangEng -cat=S "I would see her" p -mcfg -lang=LangSwe -cat=S "jag skulle se henne" - - p -mcfg -lang=LangNor -cat=S "jeg ville se henne" -

Parsing in present/ versions is quicker. @@ -727,6 +743,6 @@ We start a demo by

Extend old modules or add a new one?

- + diff --git a/lib/resource-1.0/doc/clt2006.txt b/lib/resource-1.0/doc/clt2006.txt index dd348b2da..7a7f82dc2 100644 --- a/lib/resource-1.0/doc/clt2006.txt +++ b/lib/resource-1.0/doc/clt2006.txt @@ -114,6 +114,7 @@ Example-based grammar writing Linguistics - definition of linguistic ontology +- describing language on this level of abstraction - coping with different problems in different languages - sharing concrete-syntax code between languages - creating a resource for other NLP applications @@ -162,6 +163,8 @@ Computer science Janna Khegai (Russian modules, forthcoming), Bjorn Bringert (many Swadesh lexica), +Inger Andersson and Therese Söderberg (Spanish morphology), +Ludmilla Bogavac (Russian morphology), Carlos Gonzalia (Spanish cardinals), Partik Jansson (Swedish cardinals), Aarne Ranta. @@ -194,6 +197,10 @@ CLE (Core Language Engine, - grammar specialization via explanation-based learning +#NEW + +===Slightly less related work=== + [LinGO Grammar Matrix http://www.delph-in.net/matrix/] - English, German, Japanese, Spanish, ... - uses HPSG, implementation in LKB @@ -250,7 +257,7 @@ Complete inflection engine Basic lexicon - 100 structural words -- 350 content words, mainly for testing +- 340 content words, mainly for testing - these include the 207 [Swadesh words http://en.wiktionary.org/wiki/Swadesh_List] @@ -273,7 +280,7 @@ Phrases: declaratives, questions, imperatives, vocatives Tense, mood, and polarity: -present, past, future, conditional ; similtaneous, anterior ; positive, negative +present, past, future, conditional ; simultaneous, anterior ; positive, negative Questions: yes-no, "wh" ; direct, indirect @@ -300,9 +307,9 @@ proper names, pronouns, determiners, possessives, cardinals and ordinals 100 structural words -350 content words in a test lexicon +340 content words in a test lexicon -Lines of source code (4/3/2006): +35 kLines of source code (4/3/2006): ``` abstract 1131 english 2344 @@ -334,20 +341,20 @@ Lines of source code (4/3/2006): ``` John walks. -TFullStop : Phr -> Text -> Text - (PhrUtt : PConj -> Utt -> Voc -> Phr - NoPConj - (UttS : S -> Utt +TFullStop : Phr -> Text -> Text | TQuestMark, TExclMark + (PhrUtt : PConj -> Utt -> Voc -> Phr | PhrYes, PhrNo, ... + NoPConj | but_PConj, ... + (UttS : S -> Utt | UttQS, UttImp, UttNP, ... (UseCl : Tense -> Anter -> Pol -> Cl -> S TPres ASimul PPos - (PredVP : NP -> VP -> Cl + (PredVP : NP -> VP -> Cl | ImpersNP, ExistNP, ... (UsePN : PN -> NP john_PN) - (UseV : V -> VP + (UseV : V -> VP | ComplV2, UseComp, ... walk_V)))) - NoVoc) + NoVoc) | VocNP, please_Voc, ... TEmpty ``` @@ -435,10 +442,6 @@ Goal: eliminate the user's need of worst-case functions. ===Language-dependent syntax extensions=== -#NEW - -===Special-purpose APIs=== - Syntactic structures that are not shared by all languages. Not implemented yet. @@ -448,12 +451,24 @@ Candidates: - ``Fre`` question forms: ``est-ce que tu dors ?`` +#NEW + +===Special-purpose APIs=== + +Mathematical + +Multimodal + +Present + +Minimal + +Shallow + #NEW -===How to use as top-level grammar=== - -#NEW +===How to use the resource as top-level grammar=== ===Compiling=== @@ -487,9 +502,6 @@ The MCFG parser works in some languages, after waiting appr. 20 seconds p -mcfg -lang=LangEng -cat=S "I would see her" p -mcfg -lang=LangSwe -cat=S "jag skulle se henne" - - p -mcfg -lang=LangNor -cat=S "jeg ville se henne" - ``` Parsing in ``present/`` versions is quicker. @@ -559,8 +571,6 @@ Try out inflection patterns ``` -#NEW - #NEW @@ -576,6 +586,9 @@ We start a demo by ===Efficient parsing via application grammar=== +Get rid of discontinuous constituents + +Examples: ``mathematical/Predication``, ``examples/bronzeage`` #NEW @@ -584,19 +597,38 @@ We start a demo by ===Specialization through parametrized modules=== +The application grammar is implemented with reference to +the resource API + +Individual languages are instantiations + +Example: [tram ../../examples/tram/TramI.gfe] + + #NEW ===Compile-time transfer=== +Instead of parametrized modules: + +select resource functions differently for different languages + +Example: imperative vs. infinitive in mathematical exercises + + #NEW ===A natural division into modules=== +Lexicon in language-dependent moduls + +Combination rules in a parametrized module + #NEW ===Example-based grammar writing=== - +Example: [animal ../../examples/animal/QuestionsI.gfe] #NEW diff --git a/lib/resource-1.0/french/LexiconFre.gf b/lib/resource-1.0/french/LexiconFre.gf index 0467041f3..3889c95ce 100644 --- a/lib/resource-1.0/french/LexiconFre.gf +++ b/lib/resource-1.0/french/LexiconFre.gf @@ -348,5 +348,9 @@ lin wash_V2 = dirV2 (regV "laver") ; wipe_V2 = dirV2 (regV "essuyer") ; + hold_V2 = dirV2 tenir_V2 ; + split_V2 = dirV2 fendre_V2 ; + lie_V = reflV étendre_V2 ; + sit_V = reflV asseoir_V2 ; } ;