framenet_tools.role_identification package

Submodules

framenet_tools.role_identification.roleidentifier module

class framenet_tools.role_identification.roleidentifier.RoleIdentifier(cM: framenet_tools.config.ConfigManager)

Bases: object

predict_roles(annotation: framenet_tools.data_handler.annotation.Annotation)

Predict roles for all spans contained in the given annotation object

NOTE: Manipulates the given annotation object!

Parameters:annotation – The annotation object to predict the roles for
Returns:

Module contents