I ran convert-arpa.lua on macOS 10.13.5 and got the following error:
zcat: can't stat: 3-gram.pruned.3e-7.arpa.gz (3-gram.pruned.3e-7.arpa.gz.Z): No such file or directory.
I found the solution in another github thread. It seems that zcat on macOS always appends .Z to all filenames. The proposed solution is to use gunzip -c.
Changing line 67 in convert-arpa.lua to the following fixed the issue:
ifarpa = io.popen(string.format('gunzip -c %s', opt.arpasrc))
Closing as we do not support the lua version of wav2letter anymore.
@juancq gunzip -c worked like a champ for me. You're a gentleman and a scholar. 馃檪
Most helpful comment
@juancq
gunzip -cworked like a champ for me. You're a gentleman and a scholar. 馃檪