Skip to content

Commit b99f0fd

Browse files
committed
Docs: Move note further up page
1 parent a930a80 commit b99f0fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/source/explanation/postprocessing.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ Iterate over the extract NAME labels and group consecutive labels of the same ty
8686

8787
When grouping the token together, we store the index and label of the tokens.
8888

89+
.. note::
90+
91+
The indices here are the indices of elements from the extracted NAME labels i.e. an index of 0 here is the first element of the extracted NAME labels which refers to the token at index 2 of the whole sentence.
92+
8993
For the example sentence, we get the following groups:
9094

9195
.. code:: python
@@ -109,10 +113,6 @@ This is more easily done by iterating in reverse over the groups and applying th
109113

110114
The output from this construction step are groups of indices, where each group represents an ingredient name.
111115

112-
.. note::
113-
114-
The indices here are the indices of elements from the extracted NAME labels i.e. an index of 0 here is the first element of the extracted NAME labels which refers to the token at index 2 of the whole sentence.
115-
116116
For the example sentence, the constructed groups of indices are:
117117

118118
.. code:: python

0 commit comments

Comments
 (0)