Running MOR
Leonid Spektor
spektor at andrew.cmu.edu
Sat Dec 4 17:33:28 UTC 2010
Kevin,
The DEPDIR does not tell mor the location of eng lexicon. That location has to be specified with +l option. The Unix version of mor and other CLAN programs, unfortunately, does not fully comply with Unix command line convention. In your case the proper command line is:
./mor +xi -l../../lib/eng
Notice, there is no space between "-l" and the directory path. Also, any words listed at the end of command line will be ignored. Instead mor will enter interactive mode giving you prompt:
mor (:h help)>
At this point you can type any word or words you want mor to analyze.
Leonid.
On Dec 4, 2010, at 08:45, Kevin Donnelly wrote:
> Hi
>
> I have compiled unix-clan, and adjusted the DEPDIR line to give the full path
> to the install location of the lib dir, in this case:
> /home/kevin/downloads/siarad/unix-clan/lib/
>
> I have placed the unzipped MOR grammar for English in the lib dir (CLAN
> manual, p138), so that it's location is lib/eng.
>
> Going into the unix/bin dir and running:
> ./mor +xi walking
> or
> ./mor +xi -l ../../lib walking
> or
> ./mor +xi -l ../../lib/eng walking
> or ./
> ./mor +xi -l /home/kevin/downloads/siarad/unix-clan/lib/eng/ walking
> gives the following error:
> ===
> Can't open either "ar.cut" file or any file in folder
> "/home/kevin/downloads/siarad/unix-clan/unix/bin/ar/".
> Please use -l option to specify lexicon libary path.
> ===
>
> Any suggestions?
>
> --
> Pob hwyl / Best wishes
>
> Kevin Donnelly
> kevindonnelly.org.uk
>
> --
> You received this message because you are subscribed to the Google Groups "chibolts" group.
> To post to this group, send email to chibolts at googlegroups.com.
> To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chibolts at googlegroups.com.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.
More information about the Chibolts
mailing list