Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: [Shoebox] More interlinear

From:Jeff Sheets <wickedbob@...>
Date:Monday, July 31, 2000, 18:48
It would probablybe easier to simply add a space after each occurance in your
interlinears yourself.  I've been trying to get Shoebox to do it on the
sample project you sent, and all it has been doing is crashing reliably.  The
general concept is to make a Rule File for a generate process.
Unfortunately, Shoebox seems to me to not like Generate steps before Parse
Steps.  Every once in a while it will crash for no good reason, and you have
to rebuild your interlinear setup from scratch to get it working again.  To
lead you on the way to headaches yourself anyways, here is the rule file I
created for the project you sent:

\id Generate Rules to add spaces after - and '

\def SpC
A a Á á Â â À à B b Å å D d E e É é Ê ê È è F f Õ õ G g G± g± H h ¡ ± I i Í í
Î î Ì ì Ie ie J j K k L l M m N n O o Ó ó Ô ô Ò ò P p Q q R r S s T t U u Ú ú
Û û Ù ù V v W w X x Z z ¯ ¿ '

\ru '[SpC]

\ru -[SpC]

Its purpose is to add morpheme breaks in between text characters and ' and -.
 I got it to work precisely one time, and not properly.  It added the needed
space, but after another attempt it crashed instead.  When dealing with rule
files, be careful.  Recursive rules are a primary source of Shoebox crashes,
although they are the easiest to fix.  I would suggest creating a completely
new database type, with a record marker of \id for your rule files.  Keeps
everything else nice and neat.  I have no idea if this helps any, but my
honest suggestion is to simply manually add the spaces when it is needed to
parse correctly.  Ultimately this will probably be the easiest, if not the
most correct, solution for you.

Jeff Sheets

"On two occasions I have been asked by members of Parliament, `Pray, Mr.
Babbage, if you put into the machine wrong figures, will the right answers
come out?'  I am not able rightly to apprehend the kind of confusion of ideas
that could provoke such a question." -- Charles Babbage