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

"everybody's" not expanded but only in certain sentences #1128

Closed
roschler opened this issue Jul 23, 2024 · 1 comment
Closed

"everybody's" not expanded but only in certain sentences #1128

roschler opened this issue Jul 23, 2024 · 1 comment

Comments

@roschler
Copy link

I managed to isolate a reproducible test case (at least I hope you can reproduce it), where "everybody" does not get expanded to "everybody has". There may be other words in this category and when I find them, I will post further:

  const str = `We're somewhere now with everything that everybody's creating, and we're trying to get the question answered: What's next?`

  const doc = nlp(str);
  doc.debug();

I get this as output for the debug() command:

┌─────────
 '[we]'     - Noun, Pronoun
 '[are]'    - Verb, Copula, PresentTense
 'somewhere'  - Adverb
 'now'      - Conjunction
 'with'     - Preposition
 'everything'  - Noun, Uncountable
 'that'     - Determiner
 'everybody's'  - Noun, Uncountable
│ 'creating'  - Verb, PresentTense, Gerund
│ 'and'      - Conjunction
│ '[we]'     - Noun, Pronoun
│ '[are]'    - Verb, Copula, Auxiliary
│ 'trying'   - Verb, PresentTense, Gerund
│ 'to'       - Conjunction
│ 'get'      - Verb, PresentTense, Infinitive
│ 'the'      - Determiner
│ 'question'  - Noun, Singular
│ 'answered'  - Verb, PastTense
│ '[what]'   - ProperNoun, Noun
│ '[is]'     - Verb, Copula, PresentTense
│ 'next'     - Adjective

As you can see "everybody's" is not expanded. I have tested other sentences and that word does get expanded, but I have not figured out what it is about sentences like the one above that are the source of the problem.

@spencermountain
Copy link
Owner

fixed on 14.14.0 - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants