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

SparseSpacyFeaturizer #29

Open
koaning opened this issue Sep 2, 2020 · 2 comments
Open

SparseSpacyFeaturizer #29

koaning opened this issue Sep 2, 2020 · 2 comments
Assignees

Comments

@koaning
Copy link
Contributor

koaning commented Sep 2, 2020

If you have a look at all the attributes that spaCy generates for their tokens then you can imagine that some of these features can be useful for machine learning pipelines. To name a few:

  • is_oov: is the token part of the vocabulary/does it have a vector?
  • is_stop: is the token a stopword?
  • lemma_: what is the lemma of the token
  • pos/tag coarse/fine-grained part of speech information
  • morphological features
  • grammatical dependency

These can all have a discrete representation and could be added in general to a Rasa pipeline.

@koaning
Copy link
Contributor Author

koaning commented Oct 21, 2020

It's probably best to wait until spaCy 3.0 before adding this one.

@koaning
Copy link
Contributor Author

koaning commented Jan 21, 2021

We might also just start with is_oov, is_stop and is_numeric.

@koaning koaning self-assigned this Apr 20, 2021
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