grobid-quantities
grobid-quantities copied to clipboard
Interval describing shifting quantities
reversed intervals are not extracted in the right way as quantity least/most values.
example taken from hal-00924047
:
the emission maxima shifted from 345 nm to 325 nm
Gives this :
"measurements": [
{
"type": "interval",
"quantityLeast": {
"type": "length",
"rawValue": "345",
"rawUnit": {
"name": "nm",
"offsetStart": 47,
"offsetEnd": 49
},
"parsedValue": 345,
"normalizedQuantity": 3.45e-7,
"normalizedUnit": {
"name": "m",
"type": "length",
"system": "SI base"
},
"offsetStart": 33,
"offsetEnd": 36,
"quantified": {
"rawName": "nm",
"normalizedName": "nm",
"offsetStart": 37,
"offsetEnd": 39
}
},
"quantityMost": {
"type": "length",
"rawValue": "325",
"rawUnit": {
"name": "nm",
"offsetStart": 47,
"offsetEnd": 49
},
"parsedValue": 325,
"normalizedQuantity": 3.25e-7,
"normalizedUnit": {
"name": "m",
"type": "length",
"system": "SI base"
},
"offsetStart": 43,
"offsetEnd": 46,
"quantified": {
"rawName": "nm",
"normalizedName": "nm",
"offsetStart": 37,
"offsetEnd": 39
}
},
"quantified": {
"rawName": "nm",
"normalizedName": "nm",
"offsetStart": 37,
"offsetEnd": 39
}
}
Well in this case looks like the from->to is not expressing an interval but a behaviour?
We could add an additional check that the least
is actually smaller than the most
extreme. I'm wondering