@hackage data-named0.6.2
Data types for named entities
Categories
License
BSD-3-Clause
Maintainer
waszczuk.kuba@gmail.com
Links
Versions
Installation
Dependencies (5)
- attoparsec >=0.12 && <0.14
- base >=4.8 && <5
- binary >=0.7 && <0.9
- containers >=0.5 && <0.7
- text >=1.1 && <1.3 Show all…
Dependents (3)
@hackage/nkjp, @hackage/acme-everything, @hackage/nerf
Data-named
The library provides data types which can be used to represent forest structures with labels stored in internal nodes and words kept in leaves. In particular, those types are well suited for representing the layer of named entities (NEs).
The IOB method is implemented in the Data.Named.IOB module and can be used to
translate between a forest of entities and a sequence of compound IOB labels.
This method can be used together with a sequence classifier to indirectly model
forest structures.
The Data.Named.Graph module can be used to represent more general, graph
structures of entities. The module provides also a lossy conversion from a DAG
to a disjoint forest of entities.