mirror of
https://github.com/gsi-upm/senpy
synced 2024-12-04 13:22:29 +00:00
Small tweaks in docs
This commit is contained in:
parent
7aa69e3d02
commit
45421f4613
@ -6,10 +6,10 @@ services:
|
|||||||
language: python
|
language: python
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- PYV=3.3
|
|
||||||
- PYV=3.4
|
- PYV=3.4
|
||||||
- PYV=3.5
|
- PYV=3.5
|
||||||
- PYV=3.6
|
- PYV=3.6
|
||||||
- PYV=3.7
|
- PYV=3.7
|
||||||
|
# - PYV=3.3 # Apt fails in this docker image
|
||||||
# run nosetests - Tests
|
# run nosetests - Tests
|
||||||
script: make test-$PYV
|
script: make test-$PYV
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 3,
|
"execution_count": 4,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
@ -168,7 +168,7 @@
|
|||||||
" <span class=\"p\">{</span>\n",
|
" <span class=\"p\">{</span>\n",
|
||||||
" <span class=\"nd\">"@type"</span><span class=\"p\">:</span> <span class=\"s2\">"Sentiment"</span><span class=\"p\">,</span>\n",
|
" <span class=\"nd\">"@type"</span><span class=\"p\">:</span> <span class=\"s2\">"Sentiment"</span><span class=\"p\">,</span>\n",
|
||||||
" <span class=\"nt\">"marl:hasPolarity"</span><span class=\"p\">:</span> <span class=\"s2\">"marl:Positive"</span><span class=\"p\">,</span>\n",
|
" <span class=\"nt\">"marl:hasPolarity"</span><span class=\"p\">:</span> <span class=\"s2\">"marl:Positive"</span><span class=\"p\">,</span>\n",
|
||||||
" <span class=\"nt\">"prov:wasGeneratedBy"</span><span class=\"p\">:</span> <span class=\"s2\">"prefix:Analysis_1554391718.7649393"</span>\n",
|
" <span class=\"nt\">"prov:wasGeneratedBy"</span><span class=\"p\">:</span> <span class=\"s2\">"prefix:Analysis_1554396807.629645"</span>\n",
|
||||||
" <span class=\"p\">}</span>\n",
|
" <span class=\"p\">}</span>\n",
|
||||||
" <span class=\"p\">],</span>\n",
|
" <span class=\"p\">],</span>\n",
|
||||||
" <span class=\"nt\">"nif:isString"</span><span class=\"p\">:</span> <span class=\"s2\">"Senpy is awesome"</span><span class=\"p\">,</span>\n",
|
" <span class=\"nt\">"nif:isString"</span><span class=\"p\">:</span> <span class=\"s2\">"Senpy is awesome"</span><span class=\"p\">,</span>\n",
|
||||||
@ -191,7 +191,7 @@
|
|||||||
" \\PY{p}{\\PYZob{}}\n",
|
" \\PY{p}{\\PYZob{}}\n",
|
||||||
" \\PY{n+nd}{\\PYZdq{}@type\\PYZdq{}}\\PY{p}{:} \\PY{l+s+s2}{\\PYZdq{}Sentiment\\PYZdq{}}\\PY{p}{,}\n",
|
" \\PY{n+nd}{\\PYZdq{}@type\\PYZdq{}}\\PY{p}{:} \\PY{l+s+s2}{\\PYZdq{}Sentiment\\PYZdq{}}\\PY{p}{,}\n",
|
||||||
" \\PY{n+nt}{\\PYZdq{}marl:hasPolarity\\PYZdq{}}\\PY{p}{:} \\PY{l+s+s2}{\\PYZdq{}marl:Positive\\PYZdq{}}\\PY{p}{,}\n",
|
" \\PY{n+nt}{\\PYZdq{}marl:hasPolarity\\PYZdq{}}\\PY{p}{:} \\PY{l+s+s2}{\\PYZdq{}marl:Positive\\PYZdq{}}\\PY{p}{,}\n",
|
||||||
" \\PY{n+nt}{\\PYZdq{}prov:wasGeneratedBy\\PYZdq{}}\\PY{p}{:} \\PY{l+s+s2}{\\PYZdq{}prefix:Analysis\\PYZus{}1554391718.7649393\\PYZdq{}}\n",
|
" \\PY{n+nt}{\\PYZdq{}prov:wasGeneratedBy\\PYZdq{}}\\PY{p}{:} \\PY{l+s+s2}{\\PYZdq{}prefix:Analysis\\PYZus{}1554396807.629645\\PYZdq{}}\n",
|
||||||
" \\PY{p}{\\PYZcb{}}\n",
|
" \\PY{p}{\\PYZcb{}}\n",
|
||||||
" \\PY{p}{]}\\PY{p}{,}\n",
|
" \\PY{p}{]}\\PY{p}{,}\n",
|
||||||
" \\PY{n+nt}{\\PYZdq{}nif:isString\\PYZdq{}}\\PY{p}{:} \\PY{l+s+s2}{\\PYZdq{}Senpy is awesome\\PYZdq{}}\\PY{p}{,}\n",
|
" \\PY{n+nt}{\\PYZdq{}nif:isString\\PYZdq{}}\\PY{p}{:} \\PY{l+s+s2}{\\PYZdq{}Senpy is awesome\\PYZdq{}}\\PY{p}{,}\n",
|
||||||
@ -213,7 +213,7 @@
|
|||||||
" {\n",
|
" {\n",
|
||||||
" \"@type\": \"Sentiment\",\n",
|
" \"@type\": \"Sentiment\",\n",
|
||||||
" \"marl:hasPolarity\": \"marl:Positive\",\n",
|
" \"marl:hasPolarity\": \"marl:Positive\",\n",
|
||||||
" \"prov:wasGeneratedBy\": \"prefix:Analysis_1554391718.7649393\"\n",
|
" \"prov:wasGeneratedBy\": \"prefix:Analysis_1554396807.629645\"\n",
|
||||||
" }\n",
|
" }\n",
|
||||||
" ],\n",
|
" ],\n",
|
||||||
" \"nif:isString\": \"Senpy is awesome\",\n",
|
" \"nif:isString\": \"Senpy is awesome\",\n",
|
||||||
@ -223,7 +223,7 @@
|
|||||||
"}"
|
"}"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"execution_count": 3,
|
"execution_count": 4,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"output_type": "execute_result"
|
"output_type": "execute_result"
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# Senpy in 1 minute\n",
|
"# Senpy in 1 minute\n",
|
||||||
"\n",
|
"\n",
|
||||||
"This mini-tutorial is the first in the series of senpy tutorials. It only shows how to annotate with a service.\n",
|
"This mini-tutorial only shows how to annotate with a service.\n",
|
||||||
"In this first tutorial, we will use the [demo server](http://senpy.gsi.upm.es), which runs some open source plugins for sentiment and emotion analysis."
|
"We will use the [demo server](http://senpy.gsi.upm.es), which runs some open source plugins for sentiment and emotion analysis."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -57,7 +57,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"Congratulations, you've used your first senpy service!"
|
"**Congratulations**, you've used your first senpy service!"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -83,6 +83,8 @@ language = None
|
|||||||
# directories to ignore when looking for source files.
|
# directories to ignore when looking for source files.
|
||||||
exclude_patterns = ['_build', '**.ipynb_checkpoints']
|
exclude_patterns = ['_build', '**.ipynb_checkpoints']
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The reST default role (used for this markup: `text`) to use for all
|
# The reST default role (used for this markup: `text`) to use for all
|
||||||
# documents.
|
# documents.
|
||||||
#default_role = None
|
#default_role = None
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
Welcome to Senpy's documentation!
|
Welcome to Senpy's documentation!
|
||||||
=================================
|
=================================
|
||||||
|
|
||||||
.. image:: https://readthedocs.org/projects/senpy/badge/?version=latest
|
.. image:: https://readthedocs.org/projects/senpy/badge/?version=latest
|
||||||
:target: http://senpy.readthedocs.io/en/latest/
|
:target: http://senpy.readthedocs.io/en/latest/
|
||||||
.. image:: https://badge.fury.io/py/senpy.svg
|
.. image:: https://badge.fury.io/py/senpy.svg
|
||||||
@ -12,7 +13,6 @@ Welcome to Senpy's documentation!
|
|||||||
:target: https://lab.gsi.upm.es/senpy/senpy/
|
:target: https://lab.gsi.upm.es/senpy/senpy/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Senpy is a framework for sentiment and emotion analysis services.
|
Senpy is a framework for sentiment and emotion analysis services.
|
||||||
Senpy services are interchangeable and easy to use because they share a common semantic :doc:`apischema`.
|
Senpy services are interchangeable and easy to use because they share a common semantic :doc:`apischema`.
|
||||||
|
|
||||||
@ -20,6 +20,7 @@ If you interested in consuming Senpy services, read :doc:`Quickstart`.
|
|||||||
To get familiar with the concepts behind Senpy, and what it can offer for service developers, check out :doc:`development`.
|
To get familiar with the concepts behind Senpy, and what it can offer for service developers, check out :doc:`development`.
|
||||||
:doc:`apischema` contains information about the semantic models and vocabularies used by Senpy.
|
:doc:`apischema` contains information about the semantic models and vocabularies used by Senpy.
|
||||||
|
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:caption: Learn more about senpy:
|
:caption: Learn more about senpy:
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
@ -31,3 +32,4 @@ To get familiar with the concepts behind Senpy, and what it can offer for servic
|
|||||||
apischema
|
apischema
|
||||||
advanced
|
advanced
|
||||||
publications
|
publications
|
||||||
|
|
||||||
|
@ -18,10 +18,10 @@ And higher level features can be built on top of these services, such as automat
|
|||||||
|
|
||||||
These benefits are not limited to new services.
|
These benefits are not limited to new services.
|
||||||
The community has developed wrappers for some proprietary and commercial services (such as sentiment140 and Meaning Cloud), so you can consult them as.
|
The community has developed wrappers for some proprietary and commercial services (such as sentiment140 and Meaning Cloud), so you can consult them as.
|
||||||
Senpy comes with a :ref:`built-in client`.
|
Senpy comes with a built-in client in the client package.
|
||||||
|
|
||||||
|
|
||||||
To achieve this goal, Senpy uses a Linked Data principled approach, based on the NIF (NLP Interchange Format) specification, and open vocabularies such as Marl and Onyx.
|
To achieve this goal, Senpy uses a Linked Data principled approach, based on the NIF (NLP Interchange Format) specification, and open vocabularies such as Marl and Onyx.
|
||||||
You can learn more about this in :doc:`vocabularies`.
|
You can learn more about this in :doc:`vocabularies`.
|
||||||
|
|
||||||
Check out :doc:`plugins` if you have developed an analysis algorithm (e.g. sentiment analysis) and you want to publish it as a service.
|
Check out :doc:`development` if you have developed an analysis algorithm (e.g. sentiment analysis) and you want to publish it as a service.
|
||||||
|
Loading…
Reference in New Issue
Block a user