There is a newer version of the record available.

Published August 2, 2016 | Version v0.1.40
Software Open

cltk: v0.1.40

  • 1. Archimedes Digital
  • 2. IIIT Hyderabad
  • 3. Indian Institute of Technology Roorkee
  • 4. Universidad de Buenos Aires
  • 5. University of Washington
  • 6. IIT Kharagpur
  • 7. Cerner
  • 8. Shiv Nadar University
  • 9. Landscape
  • 10. Endless Mobile
  • 11. Gitter
  • 12. Columbia University

Description

The release is for Tyler Kirby's ( @TylerKirby ) Latin macronizer. Use example:

In [1]: from cltk.prosody.latin.macronizer import Macronizer In [2]: macronizer = Macronizer('tag_ngram_123_backoff') In [3]: text = 'Quo usque tandem, O Catilina, abutere nostra patientia?' In [4]: macronizer.macronize_text(text) Out[4]: 'quō usque tandem , ō catilīnā , abūtēre nostrā patientia ? In [5]: macronizer.macronize_tags(text) Out[5]: [('quo', 'd--------', 'quō'), ('usque', 'd--------', 'usque'), ('tandem', 'd--------', 'tandem'), (',', 'u--------', ','), ('o', 'e--------', 'ō'), ('catilina', 'n-s---mb-', 'catilīnā'), (',', 'u--------', ','), ('abutere', 'v2sfip---', 'abūtēre'), ('nostra', 'a-s---fb-', 'nostrā'), ('patientia', 'n-s---fn-', 'patientia'), ('?', None, '?')]

Files

cltk-v0.1.40.zip

Files (645.5 kB)

Name Size Download all
md5:73cf4fe0d2d025d131881d36043ffb9c
645.5 kB Preview Download

Additional details

Related works