p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   All Other Wrox Books (http://p2p.wrox.com/forumdisplay.php?f=116)
-   -   Pls help:breaking my language words into its phone (http://p2p.wrox.com/showthread.php?t=3405)

meshteb September 2nd, 2003 05:11 AM

Pls help:breaking my language words into its phone
 
Can you please help me with a tiny program that will break my language words into phonemes [as the output file looks i.e phonemes.doc], after reading those words from a certain file [words.doc].The manner in which it should break those words is done with reference (or looking up) to the monophones file [ monophone.doc].

That is the word: sekgololo should be broken like this:
             sekgololo s e kg o l o l o

Here are those files' contents:

1. words.doc

sekgololo
bjala
kholofelo
hlala
pshahla


2.monophone
a
aa
bj
b
d
e
ê

fs
f
g
hl
h
i
j
kg
kh
k
l
m
ng
ny
n
o
ô
pšh

psh
ph
r
s
š
t

3. output.doc

sekgololo s e kg o l o l o
bjala bj a l a
kholofelo kh o l o f e l o
hlala hl a l a
pshahla psh a hl a


All times are GMT -4. The time now is 04:10 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.