mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-25 10:48:54 -06:00
extending English coverage by verbs
This commit is contained in:
File diff suppressed because it is too large
Load Diff
1
lib/resource/exper/Irreg.cf
Normal file
1
lib/resource/exper/Irreg.cf
Normal file
File diff suppressed because one or more lines are too long
@@ -19,23 +19,24 @@ A ::= "marvellous" ;
|
|||||||
-- AQ ::= "independent" ;
|
-- AQ ::= "independent" ;
|
||||||
A2 ::= "independent" ;
|
A2 ::= "independent" ;
|
||||||
|
|
||||||
V0 ::= "rain" | "rains" ;
|
V0 ::= "rain" | "rains" | "rained" ;
|
||||||
V ::= "sleeps" | "sleep" ;
|
V ::= "sleeps" | "sleep" | "slept" ;
|
||||||
V2 ::= "loves" | "love" ;
|
V2 ::= "loves" | "love" | "loved" ;
|
||||||
V3 ::= "sends" | "send" ;
|
V3 ::= "sends" | "send" | "sent" ;
|
||||||
VV ::= "wants" | "want" ;
|
VV ::= "wants" | "want" | "wanted" ;
|
||||||
|
|
||||||
V2 ::= "says" | "say" ;
|
V2 ::= "says" | "say" | "said" ;
|
||||||
V2 ::= "asks" | "ask" ;
|
V2 ::= "asks" | "ask" | "asked" ;
|
||||||
|
|
||||||
Adv ::= "here" | "there" ;
|
Adv ::= "here" | "there" ;
|
||||||
|
Adv ::= "from" "here" | "from" "there" ;
|
||||||
|
Adv ::= "today" | "tomorrow" | "yesterday" ;
|
||||||
AdA ::= "very" | "too" | "quite" | "much" "too" ;
|
AdA ::= "very" | "too" | "quite" | "much" "too" ;
|
||||||
AdV ::= "always" | "almost" ;
|
AdV ::= "always" | "almost" | "just" ;
|
||||||
AdN ::= "less" "than" | "more" "than" | "almost" | "exactly" | "about" ;
|
AdN ::= "less" "than" | "more" "than" | "almost" | "exactly" | "about" ;
|
||||||
|
|
||||||
-- a bigger lexicon
|
|
||||||
|
|
||||||
N ::= "car" | "house" | "flight" | "aircraft" ;
|
--- does this give too much?
|
||||||
N_Pl ::= "cars" | "houses" | "flights" | "aircraft" ;
|
Adv ::= "last" N | "next" N ;
|
||||||
|
|
||||||
PN ::= "Boston" | "New" "York" | "Baltimore" ;
|
PN ::= "Boston" | "New" "York" | "Baltimore" ;
|
||||||
|
|||||||
3
lib/resource/exper/Participle.cf
Normal file
3
lib/resource/exper/Participle.cf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
-- to recognize passives and present participles; overgen now
|
||||||
|
Comp ::= VP ;
|
||||||
|
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
-- include Noun.cf Adj.cf Verb.cf Sent.cf Adverb.cf Phrase.cf Numeral.cf Structural.cf Lex.cf Biglex.cf Coord.cf
|
-- include Noun.cf Adj.cf Verb.cf Sent.cf Adverb.cf Phrase.cf Numeral.cf Structural.cf Lex.cf Biglex.cf Coord.cf Tense.cf Irreg.cf Participle.cf
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ Pron ::= "me" | "him" | "her" | "us" | "them" ;
|
|||||||
Poss ::= "my" | "your" | "his" | "her" | "our" | "their" | "its" ;
|
Poss ::= "my" | "your" | "his" | "her" | "our" | "their" | "its" ;
|
||||||
|
|
||||||
Prep ::= "about" | "at" | "by" | "for" | "from" | "in" | "of" | "on" | "to" | "with" ;
|
Prep ::= "about" | "at" | "by" | "for" | "from" | "in" | "of" | "on" | "to" | "with" ;
|
||||||
|
Prep ::= "after" | "before" | "despite" | "during" ;
|
||||||
|
|
||||||
IAdv ::= "why" | "where" | "when" | "how" ;
|
IAdv ::= "why" | "where" | "when" | "how" ;
|
||||||
|
|
||||||
@@ -29,6 +30,7 @@ NP ::= "this" | "that" | "those" | "these" ;
|
|||||||
Conj ::= "and" | "or" ;
|
Conj ::= "and" | "or" ;
|
||||||
|
|
||||||
Subj ::= "if" | "when" | "although" | "though" ;
|
Subj ::= "if" | "when" | "although" | "though" ;
|
||||||
|
Subj ::= "before" | "after" | "while" | "because" ;
|
||||||
|
|
||||||
-- these may be eliminated in gf
|
-- these may be eliminated in gf
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ V ::= V0 ;
|
|||||||
UseV. VP ::= V ;
|
UseV. VP ::= V ;
|
||||||
ComplV2. VP ::= V2 NP ;
|
ComplV2. VP ::= V2 NP ;
|
||||||
|
|
||||||
|
VP ::= VP SC ;
|
||||||
|
|
||||||
-- ComplV3. VP ::= V3 NP NP ;
|
-- ComplV3. VP ::= V3 NP NP ;
|
||||||
V2 ::= V3 ; -- via pp's
|
V2 ::= V3 ; -- via pp's
|
||||||
|
|
||||||
@@ -19,3 +21,5 @@ Comp ::= AP_post ; -- not needed in gf
|
|||||||
Mod ::= Do ;
|
Mod ::= Do ;
|
||||||
|
|
||||||
-- partial saturation
|
-- partial saturation
|
||||||
|
|
||||||
|
V ::= V2 ;
|
||||||
|
|||||||
Reference in New Issue
Block a user