Skip to content

Commit

Permalink
add more magnetic units definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Jan 16, 2023
1 parent 08b9dcc commit 51d55ee
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/grobid/core/utilities/UnitUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public enum Unit_Type {
ELECTRIC_CONDUCTANCE("electric conductance"),
ELECTRIC_FIELD("electric field"),
MAGNETIC_FLUX("magnetic flux"),
MAGNETIC_FLUX_DENSITY("magnetic flux density"),
MAGNETIC_INDUCTION("magnetic induction"),
MAGNETIC_FIELD_STRENGTH("magnetic field strength"),
INDUCTANCE("inductance"),
Expand Down
74 changes: 74 additions & 0 deletions src/main/resources/lexicon/en/units.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,24 @@
"notations": [
{
"raw": "Wb"
},
{
"raw": "Vs"
},
{
"raw": "V*s"
},
{
"raw": "V•s"
},
{
"raw": "T*s^2"
},
{
"raw": "T•s^2"
},
{
"raw": "T•s"
}
],
"type": "MAGNETIC_FLUX",
Expand All @@ -1123,6 +1141,32 @@
"inflections": [
"webers"
]
},
{
"lemma": "Volt per second",
"inflections": [
"Volt per seconds",
"Volts per second",
"Volts per seconds"
]
}
]
},
{
"notations": [
{
"raw": "G"
},
{
"raw": "Gs"
}
],
"type": "MAGNETIC_FLUX_DENSITY",
"system": "CGS",
"supportsPrefixes": true,
"names": [
{
"lemma": "Gauss"
}
]
},
Expand Down Expand Up @@ -2264,6 +2308,24 @@
}
]
},
{
"notations": [
{
"raw": "MGOe"
}
],
"type": "MAXIMUM_ENERGY_PRODUCT",
"system": "CGS",
"supportsPrefixes": false,
"names": [
{
"lemma": "mega-gauss-oersted"
},
{
"lemma": "Mega Gauss Oersted"
}
]
},
{
"notations": [
{
Expand Down Expand Up @@ -2357,6 +2419,15 @@
},
{
"raw": "J/(K*m³)"
},
{
"raw": "J/K•m-3"
},
{
"raw": "J/(K•m^3)"
},
{
"raw": "J/(K•m³)"
}
],
"type": "VOLUMETRIC_HEAT_CAPACITY",
Expand All @@ -2376,6 +2447,9 @@
{
"raw": "J*m^-3"
},
{
"raw": "J•m^-3"
},
{
"raw": "J/m^3"
},
Expand Down

0 comments on commit 51d55ee

Please sign in to comment.