Skip to content

lemmatization of numbers is confusing #7

Description

@nateGeorge

I had cleaned and lemmatized a document, but it turns out the default lemmatization for the word 'second' is '2'. Not only is this confusing, but it is incorrect in some situations. Usually we are removing numbers in preprocessing, then when you see a number in your results it's very confusing.

What if the word 'second' is in the text but being used as a measure of time?

I know this is using the lexicon package and a lemmatization table from Mechura, but I think this package might be the right place to correct this mistake.

There are a bunch of number conversions in the lemmatization table. Again, I think this is confusing for most use cases where removing numbers is probably the norm. Perhaps there should be an option for using these number conversions or not. At the very least, 'second' should be fixed somehow I think -- you would need the POS tag to properly lemmatize it.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions