mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-05 17:22:51 -06:00
another doubling of parsing speed for Fin by using stems inside VP as well. Now just 10% of the time before these optimizations.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--# -coding=latin1
|
||||
concrete QuestionFin of Question = CatFin ** open ResFin, Prelude in {
|
||||
concrete QuestionFin of Question = CatFin ** open ResFin, StemFin, Prelude in {
|
||||
|
||||
flags optimize=all_subs ;
|
||||
|
||||
@@ -32,7 +32,7 @@ concrete QuestionFin of Question = CatFin ** open ResFin, Prelude in {
|
||||
QuestIComp icomp np = {
|
||||
s = \\t,a,p =>
|
||||
let
|
||||
vp = predV (verbOlla ** {sc = NPCase Nom ; h = Back ; p = []}) ;
|
||||
vp = predV vpVerbOlla ;
|
||||
cl = mkClause (subjForm np vp.s.sc) np.a vp ;
|
||||
in
|
||||
icomp.s ! np.a ++ cl.s ! t ! a ! p ! SDecl
|
||||
|
||||
Reference in New Issue
Block a user