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

Tokenization status error #89

Open
kleag opened this issue Nov 5, 2019 · 0 comments
Open

Tokenization status error #89

kleag opened this issue Nov 5, 2019 · 0 comments
Assignees
Labels

Comments

@kleag
Copy link
Contributor

kleag commented Nov 5, 2019

The following Modex rule does not match "Independent JPEG Group" while it should:
@organizationKey:(t_capital_1st|t_capital|t_capital_small|\&){1-5}::ORGANIZATION:

Instead, it matches only "JPEG Group".

This is due to the fact that the tokenzation status of "Independent" is wrongly set to

    <t_status>
        <t_alpha>
          <t_alpha_capital></t_alpha_capital>
          <t_alpha_roman>t_not_roman</t_alpha_roman>
        </t_alpha>
        <t_default>t_alphanumeric</t_default>
    </t_status>

instead of

    <t_status>
        <t_alpha>
          <t_alpha_capital>t_capital_1st</t_alpha_capital>
          <t_alpha_possessive/>
        </t_alpha>
        <t_default>t_capital_1st</t_default>
    </t_status>

The problem comes probably from the tokenizer starting to identify "I" as part of a roman number and then wrongly backtracking.

@kleag kleag added the bug label Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants