How do I get the raw unit? I'd like to get the M/L. Instead, with quants[0].unit.name I get metre per litre.
from quantulum3 import parser
quants = parser.parse('solubility is 2 M/L')
Also, is there a way to find the span of value and unit quantities seperately?
How do I get the raw unit? I'd like to get the
M/L. Instead, withquants[0].unit.nameI getmetre per litre.Also, is there a way to find the span of value and unit quantities seperately?