Data
Some data resources for the Maltese language that are loaded and cached lazily when first called.
The Data class
This class provides static methods for lazily loading requested data available in malti:
1import malti.data
2
3tokens_with_dash_end = malti.data.Data.get_tokens_with_dash_end()
4print(tokens_with_dash_end)
{'l-', 'il-', 'ċ-', 'iċ-', ...}
Available data
The following data sets are available:
malti.data.Data.get_tokens_with_dash_end()(data.py): A set of common Maltese tokens that end with a dash.