Skip to content
Snippets Groups Projects
Commit caf789dc authored by Alice Brenon's avatar Alice Brenon
Browse files

Adding subCorpus to contrastive metadata

parent 73015dea
No related branches found
No related tags found
No related merge requests found
...@@ -36,10 +36,11 @@ instance ToField MultiText where ...@@ -36,10 +36,11 @@ instance ToField MultiText where
data Contrastive = Contrastive data Contrastive = Contrastive
{ authors :: MultiText { authors :: MultiText
, domains :: MultiText } deriving (Generic, Show) , domains :: MultiText
, subCorpus :: MultiText } deriving (Generic, Show)
instance FromNamedRecord Contrastive instance FromNamedRecord Contrastive
instance ToNamedRecord Contrastive instance ToNamedRecord Contrastive
instance HasDefaultHeader Contrastive where instance HasDefaultHeader Contrastive where
defaultFields = DefaultFields [ "authors", "domains" ] defaultFields = DefaultFields [ "authors", "domains", "subCorpus" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment