mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
working on CLT sem
This commit is contained in:
BIN
lib/compiled.tgz
BIN
lib/compiled.tgz
Binary file not shown.
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1>The GF Resource Grammar Library Version 1.0</H1>
|
<P ALIGN="center"><CENTER><H1>The GF Resource Grammar Library Version 1.0</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: Aarne Ranta <aarne (at) cs.chalmers.se></I><BR>
|
<I>Author: Aarne Ranta <aarne (at) cs.chalmers.se></I><BR>
|
||||||
Last update: Tue Mar 7 16:01:46 2006
|
Last update: Tue Mar 7 21:50:28 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@@ -145,6 +145,7 @@ Linguistics
|
|||||||
</P>
|
</P>
|
||||||
<UL>
|
<UL>
|
||||||
<LI>definition of linguistic ontology
|
<LI>definition of linguistic ontology
|
||||||
|
<LI>describing language on this level of abstraction
|
||||||
<LI>coping with different problems in different languages
|
<LI>coping with different problems in different languages
|
||||||
<LI>sharing concrete-syntax code between languages
|
<LI>sharing concrete-syntax code between languages
|
||||||
<LI>creating a resource for other NLP applications
|
<LI>creating a resource for other NLP applications
|
||||||
@@ -207,6 +208,8 @@ Computer science
|
|||||||
<P>
|
<P>
|
||||||
Janna Khegai (Russian modules, forthcoming),
|
Janna Khegai (Russian modules, forthcoming),
|
||||||
Bjorn Bringert (many Swadesh lexica),
|
Bjorn Bringert (many Swadesh lexica),
|
||||||
|
Inger Andersson and Therese Söderberg (Spanish morphology),
|
||||||
|
Ludmilla Bogavac (Russian morphology),
|
||||||
Carlos Gonzalia (Spanish cardinals),
|
Carlos Gonzalia (Spanish cardinals),
|
||||||
Partik Jansson (Swedish cardinals),
|
Partik Jansson (Swedish cardinals),
|
||||||
Aarne Ranta.
|
Aarne Ranta.
|
||||||
@@ -242,6 +245,10 @@ CLE (Core Language Engine,
|
|||||||
<LI>grammar specialization via explanation-based learning
|
<LI>grammar specialization via explanation-based learning
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
|
<P>
|
||||||
|
<!-- NEW -->
|
||||||
|
</P>
|
||||||
|
<H3>Slightly less related work</H3>
|
||||||
<P>
|
<P>
|
||||||
<A HREF="http://www.delph-in.net/matrix/">LinGO Grammar Matrix</A>
|
<A HREF="http://www.delph-in.net/matrix/">LinGO Grammar Matrix</A>
|
||||||
</P>
|
</P>
|
||||||
@@ -315,7 +322,7 @@ Basic lexicon
|
|||||||
</P>
|
</P>
|
||||||
<UL>
|
<UL>
|
||||||
<LI>100 structural words
|
<LI>100 structural words
|
||||||
<LI>350 content words, mainly for testing
|
<LI>340 content words, mainly for testing
|
||||||
<LI>these include the 207 <A HREF="http://en.wiktionary.org/wiki/Swadesh_List">Swadesh words</A>
|
<LI>these include the 207 <A HREF="http://en.wiktionary.org/wiki/Swadesh_List">Swadesh words</A>
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
@@ -341,7 +348,7 @@ declaratives, questions, imperatives, vocatives
|
|||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Tense, mood, and polarity:
|
Tense, mood, and polarity:
|
||||||
present, past, future, conditional ; similtaneous, anterior ; positive, negative
|
present, past, future, conditional ; simultaneous, anterior ; positive, negative
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Questions:
|
Questions:
|
||||||
@@ -373,10 +380,10 @@ proper names, pronouns, determiners, possessives, cardinals and ordinals
|
|||||||
100 structural words
|
100 structural words
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
350 content words in a test lexicon
|
340 content words in a test lexicon
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Lines of source code (4/3/2006):
|
35 kLines of source code (4/3/2006):
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract 1131
|
abstract 1131
|
||||||
@@ -407,20 +414,20 @@ Lines of source code (4/3/2006):
|
|||||||
<PRE>
|
<PRE>
|
||||||
John walks.
|
John walks.
|
||||||
|
|
||||||
TFullStop : Phr -> Text -> Text
|
TFullStop : Phr -> Text -> Text | TQuestMark, TExclMark
|
||||||
(PhrUtt : PConj -> Utt -> Voc -> Phr
|
(PhrUtt : PConj -> Utt -> Voc -> Phr | PhrYes, PhrNo, ...
|
||||||
NoPConj
|
NoPConj | but_PConj, ...
|
||||||
(UttS : S -> Utt
|
(UttS : S -> Utt | UttQS, UttImp, UttNP, ...
|
||||||
(UseCl : Tense -> Anter -> Pol -> Cl -> S
|
(UseCl : Tense -> Anter -> Pol -> Cl -> S
|
||||||
TPres
|
TPres
|
||||||
ASimul
|
ASimul
|
||||||
PPos
|
PPos
|
||||||
(PredVP : NP -> VP -> Cl
|
(PredVP : NP -> VP -> Cl | ImpersNP, ExistNP, ...
|
||||||
(UsePN : PN -> NP
|
(UsePN : PN -> NP
|
||||||
john_PN)
|
john_PN)
|
||||||
(UseV : V -> VP
|
(UseV : V -> VP | ComplV2, UseComp, ...
|
||||||
walk_V))))
|
walk_V))))
|
||||||
NoVoc)
|
NoVoc) | VocNP, please_Voc, ...
|
||||||
TEmpty
|
TEmpty
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -519,10 +526,6 @@ Goal: eliminate the user's need of worst-case functions.
|
|||||||
</P>
|
</P>
|
||||||
<H3>Language-dependent syntax extensions</H3>
|
<H3>Language-dependent syntax extensions</H3>
|
||||||
<P>
|
<P>
|
||||||
<!-- NEW -->
|
|
||||||
</P>
|
|
||||||
<H3>Special-purpose APIs</H3>
|
|
||||||
<P>
|
|
||||||
Syntactic structures that are not shared by all languages.
|
Syntactic structures that are not shared by all languages.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
@@ -539,10 +542,26 @@ Candidates:
|
|||||||
<P>
|
<P>
|
||||||
<!-- NEW -->
|
<!-- NEW -->
|
||||||
</P>
|
</P>
|
||||||
<H3>How to use as top-level grammar</H3>
|
<H3>Special-purpose APIs</H3>
|
||||||
|
<P>
|
||||||
|
Mathematical
|
||||||
|
</P>
|
||||||
|
<P>
|
||||||
|
Multimodal
|
||||||
|
</P>
|
||||||
|
<P>
|
||||||
|
Present
|
||||||
|
</P>
|
||||||
|
<P>
|
||||||
|
Minimal
|
||||||
|
</P>
|
||||||
|
<P>
|
||||||
|
Shallow
|
||||||
|
</P>
|
||||||
<P>
|
<P>
|
||||||
<!-- NEW -->
|
<!-- NEW -->
|
||||||
</P>
|
</P>
|
||||||
|
<H3>How to use the resource as top-level grammar</H3>
|
||||||
<H3>Compiling</H3>
|
<H3>Compiling</H3>
|
||||||
<P>
|
<P>
|
||||||
It is a good idea to compile the library, so that it can be opened faster
|
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=LangEng -cat=S "I would see her"
|
||||||
|
|
||||||
p -mcfg -lang=LangSwe -cat=S "jag skulle se henne"
|
p -mcfg -lang=LangSwe -cat=S "jag skulle se henne"
|
||||||
|
|
||||||
p -mcfg -lang=LangNor -cat=S "jeg ville se henne"
|
|
||||||
|
|
||||||
</PRE>
|
</PRE>
|
||||||
<P>
|
<P>
|
||||||
Parsing in <CODE>present/</CODE> versions is quicker.
|
Parsing in <CODE>present/</CODE> versions is quicker.
|
||||||
@@ -727,6 +743,6 @@ We start a demo by
|
|||||||
</P>
|
</P>
|
||||||
<H3>Extend old modules or add a new one?</H3>
|
<H3>Extend old modules or add a new one?</H3>
|
||||||
|
|
||||||
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
|
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||||
<!-- cmdline: txt2tags clt2006.txt -->
|
<!-- cmdline: txt2tags clt2006.txt -->
|
||||||
</BODY></HTML>
|
</BODY></HTML>
|
||||||
|
|||||||
@@ -114,6 +114,7 @@ Example-based grammar writing
|
|||||||
|
|
||||||
Linguistics
|
Linguistics
|
||||||
- definition of linguistic ontology
|
- definition of linguistic ontology
|
||||||
|
- describing language on this level of abstraction
|
||||||
- coping with different problems in different languages
|
- coping with different problems in different languages
|
||||||
- sharing concrete-syntax code between languages
|
- sharing concrete-syntax code between languages
|
||||||
- creating a resource for other NLP applications
|
- creating a resource for other NLP applications
|
||||||
@@ -162,6 +163,8 @@ Computer science
|
|||||||
|
|
||||||
Janna Khegai (Russian modules, forthcoming),
|
Janna Khegai (Russian modules, forthcoming),
|
||||||
Bjorn Bringert (many Swadesh lexica),
|
Bjorn Bringert (many Swadesh lexica),
|
||||||
|
Inger Andersson and Therese Söderberg (Spanish morphology),
|
||||||
|
Ludmilla Bogavac (Russian morphology),
|
||||||
Carlos Gonzalia (Spanish cardinals),
|
Carlos Gonzalia (Spanish cardinals),
|
||||||
Partik Jansson (Swedish cardinals),
|
Partik Jansson (Swedish cardinals),
|
||||||
Aarne Ranta.
|
Aarne Ranta.
|
||||||
@@ -194,6 +197,10 @@ CLE (Core Language Engine,
|
|||||||
- grammar specialization via explanation-based learning
|
- grammar specialization via explanation-based learning
|
||||||
|
|
||||||
|
|
||||||
|
#NEW
|
||||||
|
|
||||||
|
===Slightly less related work===
|
||||||
|
|
||||||
[LinGO Grammar Matrix http://www.delph-in.net/matrix/]
|
[LinGO Grammar Matrix http://www.delph-in.net/matrix/]
|
||||||
- English, German, Japanese, Spanish, ...
|
- English, German, Japanese, Spanish, ...
|
||||||
- uses HPSG, implementation in LKB
|
- uses HPSG, implementation in LKB
|
||||||
@@ -250,7 +257,7 @@ Complete inflection engine
|
|||||||
|
|
||||||
Basic lexicon
|
Basic lexicon
|
||||||
- 100 structural words
|
- 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]
|
- these include the 207 [Swadesh words http://en.wiktionary.org/wiki/Swadesh_List]
|
||||||
|
|
||||||
|
|
||||||
@@ -273,7 +280,7 @@ Phrases:
|
|||||||
declaratives, questions, imperatives, vocatives
|
declaratives, questions, imperatives, vocatives
|
||||||
|
|
||||||
Tense, mood, and polarity:
|
Tense, mood, and polarity:
|
||||||
present, past, future, conditional ; similtaneous, anterior ; positive, negative
|
present, past, future, conditional ; simultaneous, anterior ; positive, negative
|
||||||
|
|
||||||
Questions:
|
Questions:
|
||||||
yes-no, "wh" ; direct, indirect
|
yes-no, "wh" ; direct, indirect
|
||||||
@@ -300,9 +307,9 @@ proper names, pronouns, determiners, possessives, cardinals and ordinals
|
|||||||
|
|
||||||
100 structural words
|
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
|
abstract 1131
|
||||||
english 2344
|
english 2344
|
||||||
@@ -334,20 +341,20 @@ Lines of source code (4/3/2006):
|
|||||||
```
|
```
|
||||||
John walks.
|
John walks.
|
||||||
|
|
||||||
TFullStop : Phr -> Text -> Text
|
TFullStop : Phr -> Text -> Text | TQuestMark, TExclMark
|
||||||
(PhrUtt : PConj -> Utt -> Voc -> Phr
|
(PhrUtt : PConj -> Utt -> Voc -> Phr | PhrYes, PhrNo, ...
|
||||||
NoPConj
|
NoPConj | but_PConj, ...
|
||||||
(UttS : S -> Utt
|
(UttS : S -> Utt | UttQS, UttImp, UttNP, ...
|
||||||
(UseCl : Tense -> Anter -> Pol -> Cl -> S
|
(UseCl : Tense -> Anter -> Pol -> Cl -> S
|
||||||
TPres
|
TPres
|
||||||
ASimul
|
ASimul
|
||||||
PPos
|
PPos
|
||||||
(PredVP : NP -> VP -> Cl
|
(PredVP : NP -> VP -> Cl | ImpersNP, ExistNP, ...
|
||||||
(UsePN : PN -> NP
|
(UsePN : PN -> NP
|
||||||
john_PN)
|
john_PN)
|
||||||
(UseV : V -> VP
|
(UseV : V -> VP | ComplV2, UseComp, ...
|
||||||
walk_V))))
|
walk_V))))
|
||||||
NoVoc)
|
NoVoc) | VocNP, please_Voc, ...
|
||||||
TEmpty
|
TEmpty
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -435,10 +442,6 @@ Goal: eliminate the user's need of worst-case functions.
|
|||||||
|
|
||||||
===Language-dependent syntax extensions===
|
===Language-dependent syntax extensions===
|
||||||
|
|
||||||
#NEW
|
|
||||||
|
|
||||||
===Special-purpose APIs===
|
|
||||||
|
|
||||||
Syntactic structures that are not shared by all languages.
|
Syntactic structures that are not shared by all languages.
|
||||||
|
|
||||||
Not implemented yet.
|
Not implemented yet.
|
||||||
@@ -448,12 +451,24 @@ Candidates:
|
|||||||
- ``Fre`` question forms: ``est-ce que tu dors ?``
|
- ``Fre`` question forms: ``est-ce que tu dors ?``
|
||||||
|
|
||||||
|
|
||||||
|
#NEW
|
||||||
|
|
||||||
|
===Special-purpose APIs===
|
||||||
|
|
||||||
|
Mathematical
|
||||||
|
|
||||||
|
Multimodal
|
||||||
|
|
||||||
|
Present
|
||||||
|
|
||||||
|
Minimal
|
||||||
|
|
||||||
|
Shallow
|
||||||
|
|
||||||
|
|
||||||
#NEW
|
#NEW
|
||||||
|
|
||||||
===How to use as top-level grammar===
|
===How to use the resource as top-level grammar===
|
||||||
|
|
||||||
#NEW
|
|
||||||
|
|
||||||
===Compiling===
|
===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=LangEng -cat=S "I would see her"
|
||||||
|
|
||||||
p -mcfg -lang=LangSwe -cat=S "jag skulle se henne"
|
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.
|
Parsing in ``present/`` versions is quicker.
|
||||||
|
|
||||||
@@ -559,8 +571,6 @@ Try out inflection patterns
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
#NEW
|
|
||||||
|
|
||||||
|
|
||||||
#NEW
|
#NEW
|
||||||
|
|
||||||
@@ -576,6 +586,9 @@ We start a demo by
|
|||||||
|
|
||||||
===Efficient parsing via application grammar===
|
===Efficient parsing via application grammar===
|
||||||
|
|
||||||
|
Get rid of discontinuous constituents
|
||||||
|
|
||||||
|
Examples: ``mathematical/Predication``, ``examples/bronzeage``
|
||||||
|
|
||||||
|
|
||||||
#NEW
|
#NEW
|
||||||
@@ -584,19 +597,38 @@ We start a demo by
|
|||||||
|
|
||||||
===Specialization through parametrized modules===
|
===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
|
#NEW
|
||||||
|
|
||||||
===Compile-time transfer===
|
===Compile-time transfer===
|
||||||
|
|
||||||
|
Instead of parametrized modules:
|
||||||
|
|
||||||
|
select resource functions differently for different languages
|
||||||
|
|
||||||
|
Example: imperative vs. infinitive in mathematical exercises
|
||||||
|
|
||||||
|
|
||||||
#NEW
|
#NEW
|
||||||
|
|
||||||
===A natural division into modules===
|
===A natural division into modules===
|
||||||
|
|
||||||
|
Lexicon in language-dependent moduls
|
||||||
|
|
||||||
|
Combination rules in a parametrized module
|
||||||
|
|
||||||
#NEW
|
#NEW
|
||||||
|
|
||||||
===Example-based grammar writing===
|
===Example-based grammar writing===
|
||||||
|
|
||||||
|
Example: [animal ../../examples/animal/QuestionsI.gfe]
|
||||||
|
|
||||||
#NEW
|
#NEW
|
||||||
|
|
||||||
|
|||||||
@@ -348,5 +348,9 @@ lin
|
|||||||
wash_V2 = dirV2 (regV "laver") ;
|
wash_V2 = dirV2 (regV "laver") ;
|
||||||
wipe_V2 = dirV2 (regV "essuyer") ;
|
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 ;
|
||||||
|
|
||||||
} ;
|
} ;
|
||||||
|
|||||||
Reference in New Issue
Block a user