hydra.utils.constants

String constants used throughout the code.

hydra.utils.constants.EAGER: Literal['eager'] = 'eager'

Eager (naïve) dependency tree decoding. Not very useful.

hydra.utils.constants.FIRST: Literal['first'] = 'first'

Align input word labels with first corresponding language model token.

hydra.utils.constants.LAST: Literal['last'] = 'last'

Align input word labels with last corresponding language model token.

hydra.utils.constants.MST: Literal['mst'] = 'mst'

Single-Root Maximum Spanning Tree (using Tarjan’s algorithm).