首页    期刊浏览 2024年12月05日 星期四
登录注册

文章基本信息

  • 标题:pycdec: A Python Interface to cdec
  • 作者:Victor Chahuneau ; Noah Smith ; Chris Dyer
  • 期刊名称:The Prague Bulletin of Mathematical Linguistics
  • 印刷版ISSN:0032-6585
  • 电子版ISSN:1804-0462
  • 出版年度:2012
  • 卷号:98
  • 期号:1
  • 页码:51-61
  • DOI:10.2478/v10108-012-0008-7
  • 语种:English
  • 出版社:Walter de Gruyter GmbH
  • 摘要:This paper describes pycdec, a Python module for the cdec decoder. It enables Python code to use cdec's fast C++ implementation of core finite-state and context-free inference algorithms for decoding and alignment. The high-level interface allows developers to build integrated MT applications that take advantage of the rich Python ecosystem without sacrificing computational performance. We give examples of how to interact directly with the main cdec data structures (lattices, hypergraphs, sparse feature vectors), evaluate translation quality, and use the suffix-array grammar extraction code. This permits rapid prototyping of new algorithms for training, data visualization, and utilizing MT and related structured prediction tasks.
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有