mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Draft API for morphological analysis class
This commit is contained in:
parent
fc1cc4c529
commit
21008ad2d8
57
spacy/tokens/morphanalysis.pyx
Normal file
57
spacy/tokens/morphanalysis.pyx
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
cdef class Morphanalysis:
|
||||||
|
"""Control access to morphological features for a token."""
|
||||||
|
def __init__(self, Vocab vocab, features=None):
|
||||||
|
pass
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def from_id(self, Vocab vocab, hash_t key):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def __contains__(self, feature):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def __iter__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def __len__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def __repr__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def __hash__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
@property
|
||||||
|
def is_base_form(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
@property
|
||||||
|
def pos(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
@property
|
||||||
|
def pos_(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
@property
|
||||||
|
def id(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def get(self, name):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def set(self, name, value):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def add(self, feature):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def remove(self, feature):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def to_json(self):
|
||||||
|
pass
|
Loading…
Reference in New Issue
Block a user