Skip to content

edsnlp.utils.resources

get_verbs [source]

Extract verbs from the resources, as a pandas dataframe.

Parameters

PARAMETER DESCRIPTION
verbs

List of verbs to keep. Returns all verbs by default.

TYPE: List[str] DEFAULT: None

check_contains

Whether to check that no verb is missing if a list of verbs was provided. By default True

TYPE: bool DEFAULT: True

RETURNS DESCRIPTION
DataFrame

DataFrame containing conjugated verbs.

get_adicap_dict cached

RETURNS DESCRIPTION
Dict