mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
commented out the import of Phrasebook in App with --P; the idea is that application grammar parsing is done in a separate phase, which is faster and more flexible. Also re-enabled ComplV3 and ComplV2V, after testing that they don't reduce the parsing speed too much.
This commit is contained in:
@@ -22,7 +22,7 @@ abstract App =
|
||||
-- Extensions
|
||||
PassVPSlash, PassAgentVPSlash -- not reachable anyway
|
||||
]
|
||||
,Phrasebook
|
||||
--P ,Phrasebook
|
||||
|
||||
** {
|
||||
flags
|
||||
@@ -30,19 +30,17 @@ flags
|
||||
heuristic_search_factor=0.80; -- doesn't seem to affect speed or quality much
|
||||
|
||||
fun
|
||||
PhrasePhr : Phrase -> Phr ;
|
||||
Phrase_Chunk : Phrase -> Chunk ;
|
||||
--P PhrasePhr : Phrase -> Phr ;
|
||||
--P Phrase_Chunk : Phrase -> Chunk ;
|
||||
|
||||
ComplV2 : V2 -> NP -> VP ;
|
||||
PassV2 : V2 -> VP ;
|
||||
|
||||
|
||||
{-
|
||||
ComplV2V : V2V -> NP -> VP -> VP ;
|
||||
ComplV2A : V2A -> NP -> AP -> VP ;
|
||||
ComplV2Q : V2Q -> NP -> QS -> VP ;
|
||||
ComplV2S : V2S -> NP -> S -> VP ;
|
||||
-- ComplV2A : V2A -> NP -> AP -> VP ;
|
||||
-- ComplV2Q : V2Q -> NP -> QS -> VP ;
|
||||
-- ComplV2S : V2S -> NP -> S -> VP ;
|
||||
|
||||
ComplV3 : V3 -> NP -> NP -> VP ;
|
||||
-}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user