[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Punctuation Level Structure
From: |
Steve Holmes |
Subject: |
Punctuation Level Structure |
Date: |
Sun, 25 Feb 2007 18:12:17 -0700 |
I'm about to test the punctuation level enhancements for espeak-generic.
I'm really not sure which punct characters I ot to add to the definition
in the provided espeak-generic.conf file. I can stick some in there for
now to test tonight and check something in. So far, the only modules
changed by me should be generic.c and espeak-generic.conf and I will be
adding some stuff to ChangeLog in the src/modules directory. I haven't
had a chance to add anything to the docs yet; be glad to do that next
week some time if that helps.
I'm a bit unclear about CVS here. When I check in my changes in the
next day or so and then do some work on another file such as
documentation later on, should I check out the whole thing again at that
time to avoid stomping on other changes? I recall that happening to a
guy several times while working on Speakup changes and their CVS tree.
Thanks for any help. Hope this works:).
On Sat, Feb 17, 2007 at 01:34:43PM +0100, Hynek Hanke wrote:
> Steve Holmes p???e v ??t 15. 02. 2007 v 14:28 -0700:
> > I have a question concerning punctuation levels used in other modules
> > like festival.c. I run into what looks to me like a typedef of
> > EPunctMode and conversion routines to go from this def to str and back
> > again. When I grepped for the EPunctMode2str and str2EPunctMode I had
> > trouble finding their original definitions. What can you tell me about
> > this EPunctMode definition?
>
> These are functions used not only in output modules. They are defined
> in speechd/intl/fdsetconv.c,h . The variables are defined in
> speechd/intl/fdset.h .
>
> > In my punctuation setting routine for the
> > generic module, I thought of just using character strings strait across.
> > I could do that probably, but am wondering about this other stuff in
> > case it is necessary to conform to that other approach.
>
> You can safely use strings in this case. UPDATE_STRING_PARAMETER
> will get you a string and you need to check it against some settings
> table from the configuration file and substitute some variable in the
> execute string by this new value. Converting to EPunctMode in the middle
> of the process would have no point.
>
> Thank you very much & please forgive my late reply. I've had a lot of
> non-programming work in the last month. I'm very happy we have found
> someone who wants to help.
>
> With regards,
> Hynek Hanke
>
--
HolmesGrown Solutions
The best solutions for the best price!
http://holmesgrown.ld.net/