View Single Post
  #1 (permalink)  
Old September 2nd, 2003, 05:11 AM
meshteb meshteb is offline
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
ê
fš
fs
f
g
hl
h
i
j
kg
kh
k
l
m
ng
ny
n
o
ô
pšh
pš
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