MCPcopy Create free account
hub / github.com/debjitpaul/refiner / PhraseConfig

Class PhraseConfig

data_preprocessing/utils.py:193–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192@dataclass(kw_only=True)
193class PhraseConfig:
194 longest_only: bool = True
195 include_dobj: bool = True
196 include_prt: bool = True
197 include_prep: bool = True
198 include_attr: bool = True
199 include_acomp: bool = True
200 include_det: bool = True
201 include_amod: bool = True
202 include_compound: bool = True
203
204def _enabled(phrase_config, attr):
205 return not phrase_config or getattr(phrase_config, attr)

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected