hist-pl-lexicon-0.3.0: A binary representation of the historical dictionary of Polish

Safe HaskellNone

NLP.HistPL.Types

Description

A data type hierarchy provided by this module mirrors the hierarchy of structures kept in the original, LMF representation of the historical dictionary of Polish.

Synopsis

Documentation

data Repr Source

Form or text representation.

Constructors

Repr 

class HasRepr t whereSource

A class of objects with a written representation.

Methods

repr :: t -> [Repr]Source

text :: HasRepr t => t -> [Text]Source

Get textual representations of an object.

newtype Lemma Source

A lemma (base) form.

Constructors

Lemma [Repr] 

data RelForm Source

A related form.

Constructors

RelForm 

Fields

relRepr :: [Repr]
 
relTo :: Text
 

newtype Definition Source

A definition of the lexeme sense.

Constructors

Definition [Repr] 

newtype Context Source

A context in which a given sense is illustrated.

Constructors

Context [Repr] 

data SynBehaviour Source

A description of a syntactic behaviour.

Constructors

SynBehaviour 

Fields

synRepr :: [Repr]
 
synSenseIds :: [Text]
 

data Sense Source

A potential sense of a given lexeme.

Constructors

Sense 

Fields

senseId :: Maybe Text
 
style :: [Text]
 
defs :: [Definition]
 
cxts :: [Context]
 

data LexEntry Source

A description of a lexeme.

Constructors

LexEntry 

Fields

lexId :: Text

An ID of the lexical entry.

lineRef :: Maybe Text

A line reference number. Provisional field.

status :: Maybe Text

A status of the lexeme. Provisional field.

pos :: [Text]

Potential parts of speech.

lemma :: Lemma

A base form.

forms :: [WordForm]

Word forms of the lexeme.

components :: [Text]

A list of components (only when the entry represent a compound lexeme).

syntactic :: [SynBehaviour]

A list of potential syntactic behaviours of the lexeme.

senses :: [Sense]

A list of potential semantic descriptions.

related :: [RelForm]

Forma related to the lexeme.