Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer works with PET #47

Open
goodmami opened this issue Sep 7, 2017 · 1 comment
Open

No longer works with PET #47

goodmami opened this issue Sep 7, 2017 · 1 comment

Comments

@goodmami
Copy link
Member

goodmami commented Sep 7, 2017

There is one line in letypes.tdl (a docstring) that causes flop to segfault. https://github.com/delph-in/jacy/blob/master/letypes.tdl#L1068

Note, I was trying with the 64-bit version of flop in the LOGON distribution, which may not be the same as the 32-bit version. I thought that support for TDL docstrings was added to PET, but I could be wrong.

After fixing the above and flopping the grammar, it still seems broken as cheap is unable to parse a simple sentence:

$ echo "雨 が 降っ た ." | cheap japanese.grm
[...]
(1) `雨 が 降っ た' [0] --- 1 (0.00|0.00s) <15:24> (502.6K) [0.0s]

There's a lot of warnings when parsing that look like this:

   3189602 WARN: Unknown type/instance `adv-p-lex-naadj' in feature #70942

Note: I'm trying to use PET so I can run a JaEn script (see here https://github.com/delph-in/JaEn/blob/master/utils/extr-rules/extr-rule.bash#L49). I'll probably try and rewrite the script to use ACE, so I think an acceptable solution to this issue is to deprecate and remove PET support, but maybe there are others that still use PET with Jacy?

@fcbond
Copy link
Member

fcbond commented Sep 8, 2017 via email

goodmami added a commit that referenced this issue Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants