#1169·compromise

Capitalization affects gerund tagging

Author: jjshao-msCreated Feb 10, 2025Updated Feb 13, 2025
Labelsbug
javascript
nlp('Tutorial: creating a cake').debug()
nlp('Tutorial: Creating a cake').debug()

result:

  ┌─────────
  │ 'Tutorial'  - Expression
  │ 'creating'  - Verb, PresentTense, Gerund
  │ 'a'        - Determiner
  │ 'cake'     - Noun, Singular



  ┌─────────
  │ 'Tutorial'  - Expression
  │ 'Creating'  - ProperNoun, Noun
  │ 'a'        - Determiner
  │ 'cake'     - Noun, Singular

When capitalized, "creating" isn't being recognized as gerund, is this as expect?

Source: spencermountain/compromise