forked from GitHub/gf-core
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/NDPredSwe.gf
Normal file
5
lib/src/experimental/NDPredSwe.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
concrete NDPredSwe of Pred =
|
||||
CatSwe [Ant,NP,Utt,IP,IAdv,Conj] **
|
||||
NDPredFunctor with
|
||||
(PredInterface = PredInstanceSwe),
|
||||
(Pred = PredSwe) ;
|
||||
Reference in New Issue
Block a user