Differences in MOR output using macOS and Linux

已查看 11 次
跳至第一个未读帖子

Leandro Garber

未读,
2021年12月28日 11:47:162021/12/28
收件人 chibolts
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.

Brian Macwhinney

未读,
2021年12月28日 11:57:542021/12/28
收件人 ChiBolts
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
> --
> 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/42301bf1-b37f-42bd-b142-14b0ab00555en%40googlegroups.com.

Leandro Garber

未读,
2021年12月28日 12:34:012021/12/28
收件人 chib...@googlegroups.com
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.


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...@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.

Leandro Garber

未读,
2021年12月28日 12:57:262021/12/28
收件人 chib...@googlegroups.com
Dear Brian,

I'm reading the manual and now I understand there is no prepost binary.

I could find a prepost.cut file that I understand is a set of rules that should be run before POST. I'm trying to learn how to run these rules. Any help would be much appreciated.

Best regards,
Leandro.

Brian Macwhinney

未读,
2021年12月28日 13:17:562021/12/28
收件人 ChiBolts
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
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/CANsQED9kQV-p4nVJz4L%2BPjbkj6%2BT45-8waKj9%2BNsSzx935krvw%40mail.gmail.com.

Leonid Spektor

未读,
2021年12月28日 13:21:422021/12/28
收件人 chib...@googlegroups.com
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.
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/02A45247-056C-4B66-9003-9C487C4468C4%40andrew.cmu.edu.

Leandro Garber

未读,
2021年12月28日 13:39:362021/12/28
收件人 chib...@googlegroups.com
Thanks Brian and Leonid for your time, I hope I didn't spoil your holidays !

Best,
Leandro.


Leonid Spektor

未读,
2021年12月28日 13:47:052021/12/28
收件人 chib...@googlegroups.com
The Unix bug has been fixed. New UNIX code is on the web.


Leonid.

Leandro Garber

未读,
2021年12月28日 14:29:282021/12/28
收件人 chib...@googlegroups.com
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.


回复全部
回复作者
转发
0 个新帖子