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

Smart lemma/POS tournament #12

Open
frankier opened this issue Dec 16, 2018 · 0 comments
Open

Smart lemma/POS tournament #12

frankier opened this issue Dec 16, 2018 · 0 comments

Comments

@frankier
Copy link
Owner

frankier commented Dec 16, 2018

@filter.command("finnpos-smart-lemma-pos-dom")
@click.argument("inf", type=click.File("rb"))
@click.argument("outf", type=click.File("wb"))
def finnpos_smart_lemma_pos_dom(inf, outf, level):
    """
    FinnPOS Dominance filter: Use FinnPOS annotations to support certain
    annotations over others, in terms of POS or lemma.

    Smart lemma + POS filter: Either the lemma and POS matches

    Two things:

     * Either lemma and pos agrees with FinnPOS analysis (lemma can be
       generated from part of segmentation matching FinnPOS analysis, and POS
       either matches WordNet lemma or is idiomatic word form POS)
     * Or agreement between OMorFi analysis and WordNet POS is taken into account
     * Could take into account also whether FinnWN entry is idiomatic POS

    """
    pass
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

1 participant