data.py

Data resources.

class malti.data.data.Data

Bases: object

Singleton class for lazily loading and caching data from files.

static get_tokens_with_dash_end() set[str]

Get a set of common Maltese tokens that end with a dash.

Returns:

The set of tokens.

Return type:

set[str]