hama on-device NLP
← Back to blog

3/11/2026

[Release] hama v1.3.5: Display IPA

Version 1.3.5 adds a display-oriented G2P output that preserves punctuation when requested, while leaving canonical IPA unchanged.

  • Added punctuation-preserving display output for G2P in both runtimes:
    • Python: result.display_ipa
    • TypeScript: result.displayIpa
  • Added opt-in punctuation preservation during prediction:
    • Python: preserve_literals="punct"
    • TypeScript: preserveLiterals: "punct"
  • Kept canonical ipa unchanged so downstream code still receives normalized phoneme-only output.
  • Added Python and TypeScript tests for default display parity, punctuation-preserving output, and split-delimiter interaction.
  • Updated README.md and llms.txt for the new G2P result shape.