MCPcopy
hub / github.com/nltk/nltk / _items

Method _items

nltk/featstruct.py:216–220  ·  view source on GitHub ↗

Return an iterable of (fid,fval) pairs, where fid is a feature identifier and fval is the corresponding feature value, for all features defined by this FeatStruct.

(self)

Source from the content-addressed store, hash-verified

214 raise NotImplementedError() # Implemented by subclasses.
215
216 def _items(self):
217 """Return an iterable of (fid,fval) pairs, where fid is a
218 feature identifier and fval is the corresponding feature
219 value, for all features defined by this FeatStruct."""
220 raise NotImplementedError() # Implemented by subclasses.
221
222 ##////////////////////////////////////////////////////////////
223 # { Equality & Hashing

Callers 3

_equalMethod · 0.95
_calculate_hashvalueMethod · 0.95
_freezeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected