You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should we add Parser and Formatter classes, so that users can instantiate these functions with state?
I can see the utility: instantiate a formatter, specify once that you prefer: commas for decimal points, French for the language, do NOT fall back on English, 24 hour clock.
The text was updated successfully, but these errors were encountered:
In fact, it might be helpful for Mycroft skill developers. We'd have to start documenting more thoroughly (which somehow excites me, rather than horrifying me) but Mycroft could just instantiate one parser. Skill authors would wind up doing stuff like, self.parser.extract_number(). The library as such would still be showcasing itself, as the objects would just be a stateful frontend for the same functions.
Which, come to think of it, even live in "the same place" (Parser.extract_number() == lingua_franca.parse.extract_number())
Should we add Parser and Formatter classes, so that users can instantiate these functions with state?
I can see the utility: instantiate a formatter, specify once that you prefer: commas for decimal points, French for the language, do NOT fall back on English, 24 hour clock.
The text was updated successfully, but these errors were encountered: