Adding new words to the directory

61 views
Skip to first unread message

Sophie Brook

unread,
Feb 12, 2024, 11:53:10 AMFeb 12
to chibolts
Hello :)

Does anyone know how to add words in the directory that will stick after re-running the [mor -xb] command?

CLAN didn't like someone saying "gramophone" so it gave me the {[scat?]} error in cex. output.

I added "gramophone" to my MOR / eng /0allwords file. Then closed CLAN and reopened. I also deselected the "eng folder" to try and "refresh" the directory my CLAN was using but it still gives me {[scat?]} and the cex. file after running the [mor - xb] command.

Thank you! :) 

Leonid Spektor

unread,
Feb 12, 2024, 1:02:25 PMFeb 12
to chib...@googlegroups.com
Hi,

You need to create file "0allwords.cut" in MOR / eng / lex directory, if it does not already exist, or choose any other .cut file in that directory. Then add line "gramophone  {[scat n]}" to that file, assuming the gramophone is a noun, otherwise use another better suited part of speech instead of "n". MOR command should work now, if not then quit CLAN and restart it again.



Leonid.

--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/f97ce198-cc7f-4c90-af53-8a45b00546bfn%40googlegroups.com.

Brian Macwhinney

unread,
Feb 12, 2024, 4:23:05 PMFeb 12
to ChiBolts, Leonid Spektor
Sophie,

Just to clarify a bit. I create the allwords.cut file as a guide for people who are trying to figure out the spelling of words like doughnut or donut and such. It is placed outside the /lex folder in MOR and is not used by the program. I create a new version every 3-4 months or so.

If you find that a word like “gramophone” is missing from the lexicon, then you can create a new file with a name such as 0add.cut with a line for that one word and place it into the /lex folder and, if you use the correct format such as this

gramophone {[scat n]}

then MOR will pick it up and treat it like a noun. But calling that file 0allwords.cut would be a bit confusing, since it definitely doesn’t contain “all words”,

— Brian MacWhinney
Teresa Heinz Professor of Cognitive Psychology,
Language Technologies and Modern Languages, CMU
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/39DB5777-AF65-49E7-8337-B141C153A993%40andrew.cmu.edu.

Sophie Brook

unread,
Feb 13, 2024, 3:55:07 AMFeb 13
to chibolts
Thank you both, it worked! Many many thanks :)
Reply all
Reply to author
Forward
0 new messages