From 22b5b12a2a80835eb5792f3687106084eb95bd0d Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 23 Jun 2005 13:32:43 +0000 Subject: finnish vowel harmony unlexer ; optimizations and mcfg --- src/GF/UseGrammar/Linear.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/GF/UseGrammar/Linear.hs') diff --git a/src/GF/UseGrammar/Linear.hs b/src/GF/UseGrammar/Linear.hs index 4df459ec6..3899aa48f 100644 --- a/src/GF/UseGrammar/Linear.hs +++ b/src/GF/UseGrammar/Linear.hs @@ -5,9 +5,9 @@ -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date: 2005/06/23 09:43:40 $ --- > CVS $Author: peb $ --- > CVS $Revision: 1.16 $ +-- > CVS $Date: 2005/06/23 14:32:44 $ +-- > CVS $Author: aarne $ +-- > CVS $Revision: 1.17 $ -- -- Linearization for canonical GF. AR 7\/6\/2003 ----------------------------------------------------------------------------- @@ -93,6 +93,7 @@ linearizeNoMark gr = linearizeToRecord gr noMark -- | expand tables in linearized term to full, normal-order tables -- -- NB expand from inside-out so that values are not looked up in copies of branches + expandLinTables :: CanonGrammar -> Term -> Err Term expandLinTables gr t = case t of R rs -> liftM (R . map (uncurry Ass)) $ mapPairsM exp [(l,r) | Ass l r <- rs] -- cgit v1.2.3