05.11.2012 Views

Uyo Ibibio Dictionary - Computational Linguistics and Spoken ...

Uyo Ibibio Dictionary - Computational Linguistics and Spoken ...

Uyo Ibibio Dictionary - Computational Linguistics and Spoken ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

\begin{document}<br />

\input{frontmatter}<br />

<strong>Uyo</strong>–Bielefeld <strong>Ibibio</strong> <strong>Dictionary</strong> (Urua, Ekpenyong, Gibbon)<br />

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br />

\clearpage\newpage<br />

% \thispagestyle{empty}<br />

\section{Alphabetic <strong>Dictionary</strong>}<br />

% \footnotesize<br />

\ \\<br />

\noindent<br />

\ \\<br />

’ > $TEXFILE<br />

cat $CSVFILE |<br />

# head -4049 |<br />

gawk -F"\t" ’<br />

{<br />

# Repair substitutions:<br />

orth=$1;<br />

phon=$1;<br />

tones=$2;<br />

pos=$3;<br />

definition=$4;<br />

comment=$5;<br />

gsub("\"","",orth);<br />

gsub("\\(1\\)","",orth);<br />

gsub("\\(2\\)","",orth);<br />

gsub("udVk2\\)","udVk",orth);<br />

gsub("\\(3\\)","",orth);<br />

gsub("\\(4\\)","",orth);<br />

gsub("\\(5\\)","",orth);<br />

phon=orth;<br />

sampa=orth;<br />

# Phoneme to grapheme:<br />

gsub("I","\\idot ",orth);<br />

gsub("O","\\odot ",orth);<br />

gsub("V","\\invv ",orth);<br />

gsub("@","\\schwa ",orth);<br />

gsub("N","\\enbar ",orth);<br />

gsub("R","gh",orth);<br />

gsub("R","h",orth);<br />

gsub("J","ny",orth);<br />

gsub("j","y",orth);<br />

# SAMPA to IPA:<br />

gsub("O","\\openo ",phon);<br />

gsub("I","\\sci ",phon);<br />

gsub("@","\\schwa ",phon);<br />

gsub("V","\\invv ",phon);<br />

gsub("N","\\eng ",phon);<br />

gsub("R","\\scr ",phon);<br />

gsub("J","\nj ",phon);<br />

7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!