spaCy/spacy/senses.pxd

56 lines
805 B
Cython
Raw Normal View History

2015-07-01 19:49:44 +03:00
# Enum of Wordnet supersenses
cimport parts_of_speech
from .typedefs cimport flags_t
2015-07-01 19:49:44 +03:00
cpdef enum:
NO_SENSE
2015-07-03 16:25:41 +03:00
J_all
J_pert
A_all
N_Tops
2015-07-01 19:49:44 +03:00
N_act
N_animal
N_artifact
N_attribute
N_body
N_cognition
2015-07-03 16:25:41 +03:00
N_communication
2015-07-01 19:49:44 +03:00
N_event
N_feeling
N_food
N_group
N_location
N_motive
N_object
N_person
N_phenomenon
N_plant
N_possession
N_process
N_quantity
N_relation
N_shape
N_state
N_substance
N_time
V_body
V_change
V_cognition
V_communication
V_competition
V_consumption
V_contact
V_creation
V_emotion
V_motion
V_perception
V_possession
V_social
V_stative
V_weather
2015-07-03 16:25:41 +03:00
J_ppl
2015-07-02 01:54:06 +03:00
N_SENSES
cdef flags_t encode_sense_strs(sense_names) except 0