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

Failing Parse #8

Open
meyersbs opened this issue Apr 7, 2017 · 0 comments
Open

Failing Parse #8

meyersbs opened this issue Apr 7, 2017 · 0 comments

Comments

@meyersbs
Copy link

meyersbs commented Apr 7, 2017

Consider the sentence, "May the odds be ever in your favor" and version 1.7 in this repository:

    # May the odds be ever in your favor
    (())
    # may the odds be ever in your favor
    ( (S (VP (MD may) (NP (DT the) (NNS odds)) (VP (VB be) (PP (ADVP (RB ever)) (IN in) (NP (PRP$ your) (NN favor)))))) )
    # May the odds be ever in your
    (())
    # may the odds be ever in your
    ( (S (VP (MD may) (NP (DT the) (NNS odds)) (VP (VB be) (PP (ADVP (RB ever)) (IN in) (NP (PRP$ your)))))) )
    # May the odds be ever in
    (())
    # may the odds be ever in
    ( (S (VP (MD may) (NP (DT the) (NNS odds)) (VP (VB be) (ADJP (RB ever) (FW in))))) )
    # May the odds be ever
    (())
    # may the odds be ever
    ( (S (VP (MD may) (NP (DT the) (NNS odds)) (VP (VB be) (ADVP (RB ever))))) )
    # May the odds be
    (())
    # may the odds be
    ( (S (VP (MD may) (NP (DT the) (NNS odds)) (VP (VB be)))) )

And now things get interesting...

    # May the odds
    ( (FRAG (NP (NNP May)) (NP (DT the) (NNS odds))) )
    # may the odds
    ( (FRAG (X (MD may)) (NP (DT the) (NNS odds))) )
    # May the
    ( (FRAG (NP (NNP May)) (X (DT the))) )
    # may the
    ( (FRAG (X (MD may)) (NP (DT the))) )
    # May
    ( (NP (NNP May)) )
    # may
    ( (X (MD may)) )

The results are the same when a period is appended to the end of the sentence.

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