3 ms·
Some programs work around this by prepending a global error ID to the localized, such as "E300: Ascorbic Acid Error", but this is harder to manage on the develo
by Piskvorrr 6y ago
Some programs work around this by prepending a global error ID to the localized, such as "E300: Ascorbic Acid Error", but this is harder to manage on the development side.
- polm23 6y agospaCy doesn't localize errors, but it does do a beautiful job of managing that kind of error codes. https://github.com/explosion/spaCy/blob/master/spacy/errors.py https://github.com/explosion/spaCy/blob/master/spacy/errors....