rankers
pymusas.spacy_api.rankers
spaCy registered functions for creating the following rankers:
contextual_rule_based_rankerβ
@spacy.util.registry.misc('pymusas.rankers.ContextualRuleBasedRanker.v1')
def contextual_rule_based_ranker(
rules: List[Rule]
) -> ContextualRuleBasedRanker
pymusas.rankers.ContextualRuleBasedRanker.v1
is a registered function
under the @misc
function register.
The parameters of this function are passed to the
pymusas.rankers.lexicon_entry.get_construction_arguments
function of which the output of this function is then used as arguments
to the pymusas.rankers.lexicon_entry.ContextualRuleBasedRanker
constructor.
ParametersΒΆβ
- rules :
List[Rule]
AList
ofpymusas.taggers.rules.rule.Rule
.