-
Notifications
You must be signed in to change notification settings - Fork 6
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
Some codes don't parse correctly #4
Comments
@scruffian Can you note where you've found these? |
I found these here: https://github.com/openscriptures/morphhb, for example: https://github.com/openscriptures/morphhb/blob/master/wlc/1Chr.xml |
Any thoughts on why this is and what we can do to fix it? |
@scruffian I'm taking a look at this, but I'm not following you when you say that "the codes don't parse correctly." Can you explain the problem a little more specifically? |
Sure, I'm using the parsing code in this repo, and calling this: parser.Parse(HVqrmsa) and it returns undefined for part of the morphology. For example:
|
OK, I think I understand. This is not a problem with the parsing data itself (i.e. where Hebrew forms are incorrectly parsed in the OSHB). This is a problem in the programming code that displays itself when trying to manipulate certain aspects of the parsing data. Have I understood you correctly, @scruffian ? |
I'm not sure where the problem is, which is why I haven't submitted a patch. It could be that the parsing code needs updating to accommodate these forms, or it could be that the forms themselves are incorrect. For example |
@scruffian Ah, I understand what you're saying. The HVqrmsa form is a participle, and participles do not indicate person. Likewise, finite verbs do not indicate construct/absolute state, nouns do not indicate stem formation, etc. Not all morphological forms have the same parsing elements, so we need to change the code to allow it to parse forms according to the specific elements that are applicable. |
@jag3773 has indicated to me that he thinks this is David Troidl's code. |
Makes sense. I'll work up a fix if I have time :) |
Some example codes from the morphhb repo that don't parse correctly:
I'll add more as I find them
The text was updated successfully, but these errors were encountered: