jadooman / phonetisaurus

Automatically exported from code.google.com/p/phonetisaurus
0 stars 0 forks source link

efst file left behind in current directory #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run phonetisaurus-g2p, eg.

phonetisaurus-g2p -m 
/data/src/sphinx/sphinxdata/phonetidata/cmudict.0.7a/cmudict.0.7a.fst -w X-RAY

13.063  EH1 K S R EY2

2.
3.

What is the expected output? What do you see instead?

A file named "efst" is created and left behind the current directory. It should 
really get created somewhere else (e.g. a safe known temp directory or /tmp/ or 
something) and cleaned up on exit.

What version of the product are you using? On what operating system?

changeset:   33:f3c62a829cee
tag:         tip
user:        Josef Novak <josef.robert.novak@gmail.com>
date:        Sat Apr 16 17:33:44 2011 +0900
summary:     Added swapped+reversed test set, completing the full range of 
options in this regard.

MacOS X Snow Leopard 10.6.7

uname -a

Darwin stephen-marquards-macbook-pro.local 10.7.0 Darwin Kernel Version 10.7.0: 
Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386

Please provide any additional information below.

Original issue reported on code.google.com by smarqu...@gmail.com on 20 May 2011 at 12:30

GoogleCodeExporter commented 9 years ago
I'll clean this up as well.

Original comment by Josef.Ro...@gmail.com on 25 May 2011 at 3:15

GoogleCodeExporter commented 9 years ago
Fixed.  Maybe this will speed things up a bit as well...?  When I wrote that 
line it was intended as a diagnostic, but it will have been printing the input 
word fst for every input... not very bright.

Original comment by Josef.Ro...@gmail.com on 28 May 2011 at 8:38