redpony / cdec

Decoder, aligner, and model optimizer for statistical machine translation and other structured prediction models based on (mostly) context-free formalisms
http://cdec-decoder.org/
Apache License 2.0
183 stars 77 forks source link

a few minor changes to pycdec #51

Closed wilkeraziz closed 9 years ago

wilkeraziz commented 9 years ago
  1. scaling weights on read
  2. sampling returns dot and fmap in addition to string
  3. rule provides an iterator over terminal spans

None of these will crash existing code.