Skip to content

Commit

Permalink
add atomic ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Jan 13, 2023
1 parent 298e4c0 commit 73ad6c4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/grobid/core/utilities/UnitUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ public enum Unit_Type {
MAGNETIC_MOMENT("magnetic moment"),
ATOM_MASS_UNIT("atom mass unit"),
PACE("pace"),
MAXIMUM_ENERGY_PRODUCT("maximum energy product");
MAXIMUM_ENERGY_PRODUCT("maximum energy product"),
ATOMIC_RATIO("atomic ratio");

private String name;

Expand Down
27 changes: 27 additions & 0 deletions src/main/resources/lexicon/en/units.json
Original file line number Diff line number Diff line change
Expand Up @@ -2392,6 +2392,33 @@
"inflection": "Maximum energy products"
}
]
},
{
"notations": [
{
"raw": "at. %"
},
{
"raw": "at %"
},
{
"raw": "at%"
},
{
"raw": "at.%"
}
],
"type": "ATOMIC_RATIO",
"system": "NON_SI",
"supportsPrefixes": false,
"names": [
{
"lemma": "atomic ratio"
},
{
"lemma": "atomic percentage"
}
]
}
]
}

0 comments on commit 73ad6c4

Please sign in to comment.