Skip to content

Commit

Permalink
adding issue #45 to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ebenaissa committed Sep 1, 2017
1 parent 7ff0da9 commit 5e258b9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions doc/guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,19 @@ If the quantity is expressed only in term of range (without base) it can be impl
::
<measure type="interval">± <num type="range">10</num><measure type="TIME" unit="year">years</measure></measure>

Interval markers
^^^^^^^^^^^^^^^^
Notes about intervals
^^^^^^^^^^^^^^^^^^^^^

Interval markers such as ``more than``, ``less than``, and so on, are left outside the annotation when it's possible.
• Interval markers such as ``more than``, ``less than``, and so on, are left outside the annotation when it's possible (see issue `#35 <https://github.com/kermitt2/grobid-quantities/issues/35>`_).
Example:
::
more than <measure type="interval"> <num atLeast="2">2</num> </measure>

See issue `#35 <https://github.com/kermitt2/grobid-quantities/issues/35>`_
• An interval can be bounded with quantities expressed in different unit multiples (see issue `#45 <https://github.com/kermitt2/grobid-quantities/issues/45>`_).
For the sentence ``radii between 10 µm and 1 cm`` the result will be:
::
grains with radii between <measure type="interval"><num atLeast="10">10</num> <measure type="LENGTH" unit="µm">µm</measure> and <num atMost="1">1</num> <measure type="LENGTH" unit="cm">cm</measure></measure>


Lists
~~~~~
Expand Down

0 comments on commit 5e258b9

Please sign in to comment.