nondependent versions of Pred grammars, implemented by a functor over the dependent version so that no new concrete syntax code is needed. This is at the moment the grammar of choice for translation: NDTransEng is several times faster than TransEng and even faster than the old TranslateEng. The next step is to make sure that all coverage is preserved; some new coverage is already there.

This commit is contained in:
aarne
2014-02-08 14:28:58 +00:00
parent b1aec70571
commit 3c97dc4ed3
8 changed files with 579 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
concrete NDPredEng of Pred =
CatEng [Ant,NP,Utt,IP,IAdv,Conj] **
NDPredFunctor with
(PredInterface = PredInstanceEng),
(Pred = PredEng) ;