Differences in MOR output using macOS and Linux

Leandro Garber leandrogarber at gmail.com
Thu Jan 23 21:31:38 UTC 2025


Hi Leonid, thank you very much for your reply.

I think you are on the right track, I recall the differences could be
caused by something like that. I don't know the technical details about
lexicon implementations but I can check it out as well and see if I
discover something.
I can send you examples next Tuesday that I'll be on my office computer.

Right now I just remember there were problems with some diminutives (i.e
perro (dog) -> perrito (little dog)) (not all)

I'm glad you have the time to work on this.
Best,
L.



--
leandrogarber.info



El jue, 23 ene 2025 a la(s) 6:22 p.m., Leonid Spektor (
spektor at andrew.cmu.edu) escribió:

> Hi Leandro,
>
> I am still trying to figure out why Mac/Windows and Unix outputs are
> different. I noticed that on Mac/Windows words with accents like "móntale"
> and striped of accents and are converted to stem "monta". The word
> "móntale" is not in the lexicon, so striping accents occurs before the word
> is looked up in the lexicon list. On Unix the accents are not striped, so
> MOR can't find "móntale" word anywhere in the Spanish lexicon. I did not
> create Spanish grammar, so it takes a long time for me to figure out where
> the conversion occurs.
>
> Is this the difference in Windows and Linux you are noticing? Or can you
> give me an example of the difference in outputs that you are referring to
> in your email?
>
> I just wanted to let you know that I am still working on this.
>
>
> Leonid.
>
> On Jan 22, 2025, at 12:21, Leandro Garber <leandrogarber at gmail.com> wrote:
>
> Hi everyone, I hope you are starting 2025 great.
>
> Just wanted to report that I've just downloaded the latest Linux version
> and I'm getting different outputs on Linux compared to Windows (not Mac
> this time as the title suggests). I've been able to run Windows version
> with Wine emulator in order to do the comparison.
>
> On linux I'm running:
>
> /path/to/mor -L/path/to/lib/spa my_cha_file.cha
> /path/to/post +d/path/to/lib/spa/post.db my_cha_file.cha
> /path/to/postmortem -L/path/to/lib/spa my_cha_file.cha
> /path/to/megrasp -L/path/to/lib/spa my_cha_file.cha
>
> Am I missing something?
>
> Thanks in advance
> L.
> El Tuesday, December 28, 2021 a la(s) 4:29:28 PM UTC-3, Leandro Garber
> escribió:
>
>> That was fast.
>>
>> I've just downloaded it, compiled it, and yes, it works like a charm.
>> Files are identical now.
>>
>> Thanks for your help and happy new year.
>>
>>
>> --
>> leandrogarber.info
>>
>>
>>
>> El mar, 28 dic 2021 a las 15:47, Leonid Spektor (<spe... at andrew.cmu.edu>)
>> escribió:
>>
>>> The Unix bug has been fixed. New UNIX code is on the web.
>>>
>>>
>>> Leonid.
>>>
>>> On Dec 28, 2021, at 13:38, Leandro Garber <leandr... at gmail.com> wrote:
>>>
>>> Thanks Brian and Leonid for your time, I hope I didn't spoil your
>>> holidays !
>>>
>>> Best,
>>> Leandro.
>>>
>>>
>>> --
>>> leandrogarber.info
>>>
>>>
>>>
>>> El mar, 28 dic 2021 a las 15:21, Leonid Spektor (<spe... at andrew.cmu.edu>)
>>> escribió:
>>>
>>>> Apparently there is a bug in Unix MOR code that fails to read pre-post
>>>> rules file. I am working on this right now and I will let everyone know
>>>> when it is fixed.
>>>>
>>>>
>>>> Leonid.
>>>>
>>>> > On Dec 28, 2021, at 13:17, Brian Macwhinney <ma... at andrew.cmu.edu>
>>>> wrote:
>>>> >
>>>> > I guess Leonid didn’t include PREPOST in the Unix distribution.  We
>>>> are all on vacation this week and next.  Any chance you could rely on Mac
>>>> OS instead?
>>>> >
>>>> > — Brian
>>>> >
>>>> >> On Dec 28, 2021, at 12:33 PM, Leandro Garber <leandr... at gmail.com>
>>>> wrote:
>>>> >>
>>>> >> Dear Brian,
>>>> >>
>>>> >> Thanks for your quick response. I can't find a "prepost" binary in
>>>> my bin folder, is it named something different ?
>>>> >>
>>>> >> Best Regards,
>>>> >> Leandro.
>>>> >>
>>>> >>
>>>> >> --
>>>> >> leandrogarber.info
>>>> >>
>>>> >>
>>>> >>
>>>> >> El mar, 28 dic 2021 a las 13:57, Brian Macwhinney (<
>>>> ma... at andrew.cmu.edu>) escribió:
>>>> >> Dear Leandro,
>>>> >>    It appears that on Linux, you are not running the PREPOST
>>>> program, which is a step in the MOR-PREPOST-POST-POSTMORTEM-MEGRASP chain
>>>> on Mac.  For your two examples, I think that the Mac version is better.
>>>> So, I would recommend either relying on that or else running PREPOST on
>>>> Linux also.
>>>> >>
>>>> >> — Brian MacWhinney
>>>> >> Teresa Heinz Professor of Cognitive Psychology,
>>>> >> Language Technologies and Modern Languages, CMU
>>>> >>
>>>> >>
>>>> >>
>>>> >>> On Dec 28, 2021, at 11:47 AM, Leandro Garber <leandr... at gmail.com>
>>>> wrote:
>>>> >>>
>>>> >>> Hi everyone,
>>>> >>>
>>>> >>> We are processing some CHA files with MOR and we are finding
>>>> differences between the same files processed on Linux and on MacOS.
>>>> >>>
>>>> >>> Both using the latest version of MOR for english downloaded from
>>>> https://talkbank.org/morgrams/
>>>> >>>
>>>> >>> Some examples:
>>>> >>> -------------------
>>>> >>> *FA1:        well it ended up there in your pile
>>>> >>>
>>>> >>> MacOS:
>>>> >>> %mor:        co|well pro:per|it v|end-PAST prep|up n|there prep|in
>>>> det:poss|your
>>>> >>>        n|pile .
>>>> >>> Linux:
>>>> >>> %mor:        co|well pro:per|it v|end-PAST adv|up adv|there prep|in
>>>> >>>        det:poss|your n|pile .
>>>> >>> ------------------------------
>>>> >>> *MA1:        Morgan doesn't bite .
>>>> >>>
>>>> >>> MacOS:
>>>> >>> %mor:        n:prop|Morgan mod|do&3S~neg|not v|bite .
>>>> >>> Linux:
>>>> >>> %mor:        n:prop|Morgan mod|do&3S~neg|not n|bite .
>>>> >>> -------------------------------
>>>> >>>
>>>> >>> We are using CLAN from the UI in macOS and on Linux we are using:
>>>> >>> mor +L/path/to/lib/eng [chaFilePath]
>>>> >>> post +d/path/to/lib/eng/post.db [chaFilePath]
>>>> >>> postmortem +L/path/to/lib/eng $1
>>>> >>> megrasp +L/path/to/lib/eng $1
>>>> >>>
>>>> >>> We found that on Linux post, postmortem and megrasp don't
>>>> automatically run so we manually do it.
>>>> >>>
>>>> >>> Am I missing something ? Shouldn't the output be the same ?
>>>> >>>
>>>> >>> Thanks in advance,
>>>> >>> Leandro.
>>>> >>>
>>>> >>> --
>>>> >>> 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... at googlegroups.com.
>>>> >>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/chibolts/42301bf1-b37f-42bd-b142-14b0ab00555en%40googlegroups.com
>>>> .
>>>> >>
>>>> >> --
>>>> >> You received this message because you are subscribed to a topic in
>>>> the Google Groups "chibolts" group.
>>>> >> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/chibolts/7e0ZMlz-T5Y/unsubscribe.
>>>> >> To unsubscribe from this group and all its topics, send an email to
>>>> chibolts+u... at googlegroups.com.
>>>> >> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/chibolts/67331DBC-DE32-4D1F-8DF8-50733431B0BD%40andrew.cmu.edu
>>>> .
>>>> >>
>>>> >> --
>>>> >> 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... at googlegroups.com.
>>>> >> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/chibolts/CANsQED9kQV-p4nVJz4L%2BPjbkj6%2BT45-8waKj9%2BNsSzx935krvw%40mail.gmail.com
>>>> .
>>>> >
>>>> > --
>>>> > 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... at googlegroups.com.
>>>> > To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/chibolts/02A45247-056C-4B66-9003-9C487C4468C4%40andrew.cmu.edu
>>>> .
>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "chibolts" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/chibolts/7e0ZMlz-T5Y/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> chibolts+u... at googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/chibolts/361FDB2B-5AEF-465E-A3E2-06EF12E50E53%40andrew.cmu.edu
>>>> .
>>>>
>>>
>>> --
>>> 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... at googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/chibolts/CANsQED-DfjbepUiEFq8TPXJTa7OB2pCRA%2BAX8uVXy1LRKnHL2g%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/chibolts/CANsQED-DfjbepUiEFq8TPXJTa7OB2pCRA%2BAX8uVXy1LRKnHL2g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "chibolts" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/chibolts/7e0ZMlz-T5Y/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> chibolts+u... at googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/chibolts/DE5A675E-EB95-4081-937B-346148E4EE33%40andrew.cmu.edu
>>> <https://groups.google.com/d/msgid/chibolts/DE5A675E-EB95-4081-937B-346148E4EE33%40andrew.cmu.edu?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
> --
> 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+unsubscribe at googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/chibolts/b4c4e277-c29e-4bdf-b2bf-4a8abac2ecbfn%40googlegroups.com
> <https://groups.google.com/d/msgid/chibolts/b4c4e277-c29e-4bdf-b2bf-4a8abac2ecbfn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "chibolts" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/chibolts/7e0ZMlz-T5Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> chibolts+unsubscribe at googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/chibolts/68E3883C-9976-4A11-B42B-C9CD6FB1B9E7%40andrew.cmu.edu
> <https://groups.google.com/d/msgid/chibolts/68E3883C-9976-4A11-B42B-C9CD6FB1B9E7%40andrew.cmu.edu?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/chibolts/CANsQED8DezUa2t%3Drb5Mbdqn7wWOZTUBPsg1FfqU%3DFh4teDO96Q%40mail.gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20250123/4f830be1/attachment-0001.htm>


More information about the Chibolts mailing list