# Package hnscnvt

This package implements the processing of HamNoSys 4 sign data in various input formats to give the corresponding HamNoSysML (HML) and gestural SiGML representations.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  HNSSignsHandler | Handler interface for the generation of an `HNSSign` sequence.

- Class Summary
  Class | Description
  --- | ---
  HMLToSiGML | Supports conversion of an HML sign to a SiGML sign, with input and results in several convenient formats.
  hnscnvtTest | Quick and dirty test for classes in the `hnscnvt` package.
  HNSInputAsSignSequence | Driver for the scanning of a sign sequence text in one of our legacy non-XML input formats (HNS and HNST) in order to generate a pair of arrays, one containing the corresponding `HNSSign`s and the other containing the corresponding <hns_sign> element strings; this sign generation process also records the signs' gloss names and any input data format error messages.
  HNSInputToHandler | An instance of this class supports the scanning of an HNS or HNST data stream to generate a sequence of `HNSSign`s which are passed to an `HNSSignsHandler`.
  HNSManualConverter | Supports the conversion of a string of manual HNS to the corresponding `<hamnosys_manual>` HNS-SiGML element.
  HNSNonManualConverter | Supports the conversion of a string of HNST non-manual tags to the corresponding `<hamnosys_nonmanual>` HNS-SiGML element.
  HNSSign | The data defining a single HamNoSys 4 sign.
  HNSSignElementToHNS | Supports the conversion of an HNS-SiGML `<hns_sign>` element to an `HNSSign` object, containing the corresponding manual, non-manual and gloss strings.
  HNSSignSAXHandler | SAX handler for a SiGML `<hns_sign>` element, for which the handler generates an `HNSSign`.
  HNSSignToElementText | Supports the conversion of an `HNSSign` to the corresponding SiGML `&lt;hns_sign&gt;` element.
  HNSStdAsSignSequence | Driver for the generation of a sequence of `HNSSign`s from an input text containing HamNoSys signs in the standard legacy format, with each sign represented on a single line containing its gloss, manual and non-manual parts.
  HNSTAsSignSequence | Driver for the generation of a sequence of `HNSSign`s from an input text containing a sign sequence in the legacy HNST ("Tokenized HamNoSys) format.
  HNSToHML | Converter that generates the HML `<sign>` element for any given given `HNSSign`, using the ANTLR-based parsing and AST-generation support provided in packages `hamnewlex`, `hamparse`, and `hamwalk`.

- Exception Summary
  Exception | Description
  --- | ---
  HMLToSiGML.HMLToSiGMLException | Exception class for `HMLToSiGML`.
  HNSToHML.HNSToHMLException | Exception class for HNS-to-HML conversion.

## Package hnscnvt Description

This package implements the processing of HamNoSys 4 sign data in various input formats to give the corresponding HamNoSysML (HML) and gestural SiGML representations.