diff --git a/spacy/senses.pxd b/spacy/senses.pxd new file mode 100644 index 000000000..89f1f1a26 --- /dev/null +++ b/spacy/senses.pxd @@ -0,0 +1,56 @@ +# Enum of Wordnet supersenses + +cpdef enum: + A_behavior + A_body + A_feeling + A_mind + A_motion + A_perception + A_quantity + A_relation + A_social + A_spatial + A_substance + A_time + A_weather + N_act + N_animal + N_artifact + N_attribute + N_body + N_cognition + N_communication + 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 diff --git a/spacy/senses.pyx b/spacy/senses.pyx new file mode 100644 index 000000000..c4189659a --- /dev/null +++ b/spacy/senses.pyx @@ -0,0 +1,57 @@ +from __future__ import unicode_literals + +STRINGS = ( + 'A_behavior', + 'A_body', + 'A_feeling', + 'A_mind', + 'A_motion', + 'A_perception', + 'A_quantity', + 'A_relation', + 'A_social', + 'A_spatial', + 'A_substance', + 'A_time', + 'A_weather', + 'N_act', + 'N_animal', + 'N_artifact', + 'N_attribute', + 'N_body', + 'N_cognition', + 'N_communication', + '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' +)