Provides classes modelling HMT editions of texts.
Provides classes modelling HMT editions of texts.
The starting point is the factory object TeiReader, that can read data in the OHCO2 model from a two-column file or a Corpus object to produce a Vector of TokenAnalysis objects. The TokenAnalysis pairs a CtsUrn for the citable text node with a fully analyzed HmtToken. Example:
val tokenPairs = TeiReader.fromCorpus(CORPUS_OBJECT)
The HmtToken captures everything known about a token from an HMT edition. See its documentation for more details.