mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 23:32:51 -06:00
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:
5
lib/src/experimental/NDPredEng.gf
Normal file
5
lib/src/experimental/NDPredEng.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
concrete NDPredEng of Pred =
|
||||
CatEng [Ant,NP,Utt,IP,IAdv,Conj] **
|
||||
NDPredFunctor with
|
||||
(PredInterface = PredInstanceEng),
|
||||
(Pred = PredEng) ;
|
||||
Reference in New Issue
Block a user