diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2012-10-01 08:33:43 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2012-10-01 08:33:43 +0000 |
| commit | 6daeecb6d9278528266b42e324b136689624914b (patch) | |
| tree | 583ead4ee116351d95e82135af2f360ae369f56b /treebanks/talbanken/State.hs | |
| parent | 00490c07dd13c2efeff44fb88c7d8255e8e5a05a (diff) | |
added the GF version of Talbanken which was imported by Malin
Diffstat (limited to 'treebanks/talbanken/State.hs')
| -rw-r--r-- | treebanks/talbanken/State.hs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/treebanks/talbanken/State.hs b/treebanks/talbanken/State.hs new file mode 100644 index 000000000..badbd6c80 --- /dev/null +++ b/treebanks/talbanken/State.hs @@ -0,0 +1,40 @@ +{-# LANGUAGE TemplateHaskell #-} +module State where +import Structure +import PGF +import Data.Label + +data State = State { + _isExist :: Bool + , _iquant :: Bool + , _passive :: Bool + , _sentenceType :: SentenceType + , _vform :: [VPForm] + , _complement :: (VPForm,[Maybe Expr],[Bool]) + , _object :: Maybe Expr -- for objects not within the VP 'vilka äpplen äter han' + , _tmp :: Maybe (VForm CId) + , _anter :: Bool + , _pol :: Maybe Bool + , _subj :: Maybe Expr + , _nptype :: NPType + } + +$(mkLabels [''State]) + +startState :: State +startState = State { + _isExist = False + ,_passive = False + ,_iquant = False + ,_vform = [] + ,_complement = (V,[],[]) + ,_sentenceType = Dir + ,_object = Nothing + ,_tmp = Nothing + ,_anter = False + ,_pol = Nothing + ,_subj = Nothing + ,_nptype = Normal} + + + |
