Errors¶
Deepparse raises the following exceptions, in addition to the standard Python ones (e.g. ValueError).
DataError¶
Raised by the dataset containers and the parser when the addresses or the tags are not
valid (e.g. None, empty or whitespace-only addresses).
FastTextModelError¶
Raised by AddressParser when an operation is not supported with a FastText Light
("fasttext-light") model, namely retraining or testing such a model, or using data loading workers (num_workers > 0) with it on Windows.