Skip to content

Commit

Permalink
fixed typo and explained how to extract all dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricedoepke committed Feb 28, 2019
1 parent cf4b439 commit a66ba4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/components.rst
Original file line number Diff line number Diff line change
Expand Up @@ -531,13 +531,14 @@ ner_spacy
Configure which dimensions, i.e. entity types, the spacy component
should extract. A full list of available dimensions can be found in
the `spacy documentation <https://spacy.io/api/annotation#section-named-entities>`_.
If the dimension option is not specified or set to None, all dimensions will be extracted.

.. code-block:: yaml
pipeline:
- name: "ner_spacy"
# dimensions to extract
dimensions: ["PERSON", "LOG", "ORG", "PRODUCT"]
dimensions: ["PERSON", "LOC", "ORG", "PRODUCT"]
ner_synonyms
Expand Down Expand Up @@ -677,6 +678,7 @@ ner_duckling_http
Configure which dimensions, i.e. entity types, the duckling component
should extract. A full list of available dimensions can be found in
the `duckling documentation <https://duckling.wit.ai/>`_.
If the dimension option is not specified or set to None, all dimensions will be extracted.

.. code-block:: yaml
Expand Down

0 comments on commit a66ba4b

Please sign in to comment.