vchahun/pyfst — pull request #1 by wilkeraziz (2012-11-12 12:00:29+00:00)
Title: few bugs, few operations, few algorithms...

Hi Victor,

great job with the templates, I was trying to solve that and I was missing pystache.
Hey, I've made a few changes and added a few methods so that I could abstract a little more about the weight types in a few algorithms.

(Not for this pull request, but...) I wanted to ask you, if I organized the code in packages (including changing the setup.py, and changing the algorithms to pyx) would you feel like accepting another pull request?
I've tested here and it works, it is basically something like the following:

pyfst/
__init__.py
cfst.pxd
fst.pyx
...
algorithm/
__init__.py

Then we would have a structure like:
from pyfst.fst import LogVectorFst
from pyfst.algorithm.sampling import sample