chatter-0.3.0.0: A library of simple NLP algorithms.

Safe HaskellNone
LanguageHaskell2010

NLP.Types.Tags

Synopsis

Documentation

class (Ord a, Eq a, Read a, Show a, Generic a, Serialize a) => ChunkTag a where Source

Methods

fromChunk :: a -> Text Source

class (Ord a, Eq a, Read a, Show a, Generic a, Serialize a) => Tag a where Source

Methods

fromTag :: a -> Text Source

parseTag :: Text -> a Source

tagUNK :: a Source

tagTerm :: a -> Text Source

Instances

Tag RawTag

Tag instance for unknown tagsets.

Tag Tag 

newtype RawTag Source

Constructors

RawTag Text 

Instances

Eq RawTag 
Ord RawTag 
Read RawTag 
Show RawTag 
Generic RawTag 
Serialize RawTag 
Arbitrary RawTag 
Tag RawTag

Tag instance for unknown tagsets.

type Rep RawTag