Package org.opensextant.data
Class Taxon
java.lang.Object
org.opensextant.data.Taxon
A Taxon is an entry in a taxonomy, which could be as simple as a flat word
list
or something with lots of structure. The name attribute represents the
hierarchical path for the Taxon.
-
"terms" are the phrases you wish to find in free text. This is the common
vernacular that implies this taxon or concept.
e.g., "la piƱa" may be a term that we want to file under
"fruits.tropical.pineapple"
- "tags" are any metadata items associated with the terms or the taxon, e.g., source of terms, database identifier, language of terms, contributing staff
- Author:
- ubaldino
-
Field Summary
Modifier and TypeFieldDescriptionCatalog, for example "fruit"Nod OID: 1.2.3boolean
Acronyms are assumed to be ALL UPPER CASE; granted this does not always apply.Node name: citrus.tropicalNode root: citrusTerms: "pineapple", "mango", ... -
Constructor Summary
-
Method Summary
-
Field Details
-
catalog
Catalog, for example "fruit" -
name
Node name: citrus.tropical -
id
Nod OID: 1.2.3 -
rootid
Node root: citrus -
termset
Terms: "pineapple", "mango", ... -
tagset
-
isAcronym
public boolean isAcronymAcronyms are assumed to be ALL UPPER CASE; granted this does not always apply. But this is used to inform post-processing if a match, such as 'abc' matched 'ABC' incorrectly. If the match is lower case, but the Taxon is Acronym, then you have a mismatch of case and semantics likley.
-
-
Constructor Details
-
Taxon
public Taxon()
-
-
Method Details