How to get a list of all ent_type
and pos
integers for a model
#13377
-
I want to get a list of all possible values |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi!
Builtin components in spaCy typically support the
Which will give you
The latter list are the
Which gives you output like
Basically telling you that a
These conversions are done by the StringStore:
You can query it directly:
or loop through all its items:
|
Beta Was this translation helpful? Give feedback.
Hi!
Builtin components in spaCy typically support the
labels
property, so you can do:Which will give you