diff --git a/docs/components.html b/docs/components.html index d191942d012412..0e1b70c89c1def 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1055,7 +1055,8 @@
+ Assigns an assertion status to a target within a sentence. For example, in the sentence "there's no intention to evacuate the area", considering "intention to evacuate the area" as a target, a possible status could be "Negated". This annotator allows you to specify a text, a target, and a set of possible labels describing the assertion status.
+ Type: assertion
+ Requires: Document, Token
+ Functions:
+
+assertion_status = AssertionStatusApproach() \
+.setLabelCol("label") \
+ .setInputCols("document") \
+ .setOutputCol("assertion") \
+ .setBefore(11) \
+ .setAfter(13) \
+ .setEmbeddingsSource(embeddingsFile, 200, 3)
+
+ Assigns an assertion status to a target within a sentence. For example, in the sentence "there's no intention to evacuate the area", considering "intention to evacuate the area" as a target, a possible status could be "Negated". This annotator allows you to specify a text, a target, and a set of possible labels describing the assertion status.
+ Type: assertion
+ Requires: Document, Token
+ Functions:
+
+val assertionStatus = new AssertionStatusApproach()
+.setLabelCol("label")
+ .setInputCols("document")
+ .setOutputCol("assertion")
+ .setBefore(11)
+ .setAfter(13)
+ .setEmbeddingsSource(embeddingsFile, 200, WordEmbeddingsFormat.Binary)
+ Once we have our NLP pipeline ready to go, we might want to use our annotation results somewhere else where it is easy to use. The Finisher outputs annotation(s) values into string. @@ -1153,7 +1246,7 @@