1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-14 12:42:27 +00:00
senpy/docs/schema.rst

75 lines
1.5 KiB
ReStructuredText
Raw Normal View History

Schema
------
All the examples in this page use the :download:`the main schema <_static/schemas/definitions.json>`.
2016-03-31 09:56:32 +00:00
Simple NIF annotation
.....................
2016-03-31 09:56:32 +00:00
Description
,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
This example covers the basic example in the NIF documentation: `<http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core/nif-core.html>`_.
Representation
,,,,,,,,,,,,,,
.. literalinclude:: examples/results/example-basic.json
2016-03-31 09:56:32 +00:00
:language: json-ld
Sentiment Analysis
.....................
2016-03-31 09:56:32 +00:00
Description
,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
Representation
,,,,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
.. literalinclude:: examples/results/example-sentiment.json
2016-03-31 09:56:32 +00:00
:emphasize-lines: 5-10,25-33
:language: json-ld
Suggestion Mining
.................
2016-03-31 09:56:32 +00:00
Description
,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
Representation
,,,,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
.. literalinclude:: examples/results/example-suggestion.json
2016-03-31 09:56:32 +00:00
:emphasize-lines: 5-8,22-27
:language: json-ld
Emotion Analysis
................
2016-03-31 09:56:32 +00:00
Description
,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
Representation
,,,,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
.. literalinclude:: examples/results/example-emotion.json
2016-03-31 09:56:32 +00:00
:language: json-ld
:emphasize-lines: 5-8,25-37
Named Entity Recognition
........................
2016-03-31 09:56:32 +00:00
Description
,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
Representation
,,,,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
.. literalinclude:: examples/results/example-ner.json
2016-03-31 09:56:32 +00:00
:emphasize-lines: 5-8,19-34
:language: json-ld
Complete example
................
2016-03-31 09:56:32 +00:00
Description
,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
This example covers all of the above cases, integrating all the annotations in the same document.
Representation
,,,,,,,,,,,,,,
2016-03-31 09:56:32 +00:00
.. literalinclude:: examples/results/example-complete.json
2016-03-31 09:56:32 +00:00
:language: json-ld