Research V3 development
[unix-history] / man / man1 / speak.1
CommitLineData
7b19bcba
DM
1.pa 1
2.he 'SPEAK (I)'2/1/73'SPEAK (I)'
3.ti 0
4NAME speak -- word to voice translator
5.sp
6.ti 0
7SYNOPSIS speak\b\b\b\b\b_____ [ -\b_ ] [ vocabulary ]
8.sp
9.ti 0
10DESCRIPTION speak\b\b\b\b\b_____
11turns a stream of ascii words
12into utterances and outputs them to a voice synthesizer.
13It has facilities for maintaining a vocabulary.
14It receives, from the standard input
15
16.in +2
17.ti -2
18- working lines - text of words separated by blanks
19.ti -2
20- phonetic lines - strings of phonemes for one word preceded
21and separated by commas.
22The phonetic code is given in vsp\b\b\b___(VII).
23.ti -2
24- empty lines
25.ti -2
26- command lines - beginning with !\b_. The following forms
27are recognized:
28.in+1
29.in+8
30
31.ti-8
32!\b_r\b_ file replace coded vocabulary from file
33.ti-8
34!\b_w\b_ file write coded vocabulary on file
35.ti-8
36!\b_p\b_ print phonetics for working word
37.ti-8
38!\b_l\b_ list vocabulary on standard output with phonetics
39.ti-8
40!c\b\b__ word copy phonetics from working word to
41specified word
42.ti-8
43!s\b\b__ file (save) append working word and phonetics to file
44in style of !l\b\b__
45.in-8
46
47.in-3
48Each working line replaces its predecessor.
49Its first word is the "working word".
50Each phonetic line replaces the phonetics stored for the
51working word.
52Each working line, phonetic line or empty line
53causes the working line to be uttered.
54The process terminates at the end of input.
55
56Unknown words are spelled
57as strings of one-letter words.
58Unknown one-letter words burp.
59
60A phonetic line of comma only will delete the
61entry for the working word.
62
63speak\b\b\b\b\b_____ is initialized with a coded vocabulary stored in file
64.ul
65/etc/speak.m.
66The vocabulary option substitutes a different file for speak.m\b\b\b\b\b\b\b_______.
67.sp
68The -\b_ option suppresses all utterances.
69.sp
70.ti 0
71FILES /etc/speak.m
72.sp
73.ti 0
74SEE ALSO vsp(VII), speakm(V), vt(IV)
75.sp
76.ti 0
77BUGS Vocabulary overflow is unchecked.
78Excessively long words cause dumps.
79Space is not reclaimed from deleted entries.