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
Currently temperature parsing isn't implemented. This implements the temperature dimension.
Check the documentation here for more information on creating a custom dimension.
Examples (if relevant)
This should be used as follows:
frommaha.parsers.functionsimportparse_dimensionsample_text="٣٤ °C, اربعون درجة مئوية او 50 فهرنهايت او 120 سليزيوس"result=parse_dimension(sample_text, temperature=True)
assertlen(result) ==4
Definition of Done
It must adhere to the coding style used in the defined dimensions, preferably duration/time dimension.
The implementation should cover most use cases.
The value of each result should be an instance of ValueUnit.
The text was updated successfully, but these errors were encountered:
What problem are you trying to solve?
Currently temperature parsing isn't implemented. This implements the temperature dimension.
Check the documentation here for more information on creating a custom dimension.
Examples (if relevant)
This should be used as follows:
Definition of Done
duration
/time
dimension.ValueUnit
.The text was updated successfully, but these errors were encountered: