jadooman / phonetisaurus

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

Different results using STLPort #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have build the Phonetisaurs code using STLport instead of the default STL.
2. I realized results were slightly different.
3. After investigation I found a tiny bug in PhonetisaurusE2F::entry_to_fst_m 
around line 285 in my version (latest stable release) as 
vector<string>::iterator it_j was not initialized to tokens->begin() but was 
used in the 
while( it_j != tokens->end() ){
that follows. 

As it happened on my version a non initialized iterator happened to had the 
same value as end so it would never do any of the //Add any cluster arcs 
section.

Just wanted to let you know to prevent others from debugging this.

Thank you.

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

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

Please provide any additional information below.

Original issue reported on code.google.com by sorin.io...@sovo-tech.com on 27 Jan 2015 at 10:01