Hi,

I have a new set of LTS rules (based on some new phones and words
containing the new phone). They work correctly for some test words used. I
now want to be able to use lts_predict without going into the festival
command line. I figure using SIOD (its binary), with the necessary commands
in a file, invoked in binary mode might help. Here is the list of commands,
on the festival prompt, to get the CART tree to guess the phonetic
composition of a word not in the lexicon:

festival> (require 'lts)
festival> (load "<absolute path to new lts rules>")
festival> (lts_predict "bhabhi" cmu_lts_rules)

I want to get the same functionality without invoking festival (batch mode
or otherwise).

The commands.scm I wrote looks like:

(format t "Getting into the LTS predict function\n")
(require "/home/sriram/tts_festival/festival/lib/lts.scm")
(load "/home/sriram/tts_festival/festival/lib/dicts/cmu/cmu_lts_rules.scm")
(lts_predict "bhabhi" cmu_lts_rules)

SIOD is invoked like so:
~/tts_festival/speech_tools/main/siod -b commands.scm

The error obtained:
Getting into the LTS predict function
SIOD ERROR: unbound variable : require
closing a file left open: cmu_us_kal_diphone/scheme/commands.scm

My questions:
1. Is this way of using SIOD to call functions without invoking Festival
possible?
2. If so, where am I going wrong and what do I do to correct it?

P.S: The above commands can be executed by using Festival in batch mode,
but it takes a little longer. I am trying to figure out if it is possible
to use SIOD to shorten the time.

Regards,
Sriram Shankar
_______________________________________________
Festlang-talk mailing list
Festlang-talk@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/festlang-talk

Reply via email to