Skip to content

module__OBOReader

Robert Bossy edited this page Jul 27, 2017 · 1 revision

#org.bibliome.alvisnlp.modules.OBOReader

Synopsis

Reads terms in OBO files as documents.

Description

org.bibliome.alvisnlp.modules.OBOReader reads files specified by oboFiles in OBO format. Each term is loaded as a distinct document with the term identifier as the document identifier. Each document contains a section (nameSectionName) containing the term name, and one section for each term synonym (synonymSectionName). Optionally org.bibliome.alvisnlp.modules.OBOReader also sets features on the document with the term path from the root (pathFeature), the identifier of the parent term (parentFeature), the identifiers of each ancestor (ancestorsFeature), of the identifiers of each child term (childrenFeature).

Parameters

Optional

Type: String[]]

OBO files to read.

Optional

Type: String

Name of the feature that contains the term ancestors ids.

Optional

Type: String

Name of the feature that contains the term children ids.

Optional

Type: Mapping

Constant features to add to each document created by this module

Optional

Type: Mapping

Constant features to add to each section created by this module

Default value: true

Type: Boolean

Either to exclude builtin OBO terms.

Default value: ``

Type: String

Prefix to prepend to each Term identifier.

Default value: name

Type: String

Name of the section that contains the term name.

Default value: is_a

Type: String

Name of the feature that contains the term parents.

Default value: path

Type: String

Name of the feature that contains the term paths.

Default value: synonym

Type: String

Name of the sections that contains the term synonyms.

Clone this wiki locally