.. ---------------------------------------------------------------------------
.. Copyright 2017-2018 Intel Corporation
..
.. Licensed under the Apache License, Version 2.0 (the "License");
.. you may not use this file except in compliance with the License.
.. You may obtain a copy of the License at
..
..      http://www.apache.org/licenses/LICENSE-2.0
..
.. Unless required by applicable law or agreed to in writing, software
.. distributed under the License is distributed on an "AS IS" BASIS,
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
.. See the License for the specific language governing permissions and
.. limitations under the License.
.. ---------------------------------------------------------------------------

Jupyter Tutorials
=================

Getting Started
---------------

To get started and familiarized quickly with the models and solutions NLP Architect has, we provide several tutorials as notebook in the well known Jupyter framework.

If you don't have Jupyter installed, follow these instructions to install:

- Install jupyter

    .. code:: python

        pip3 install jupyter

    .. note::
        Make sure your virtual environment is activated with NLP Architect installed.

- Once Jupyter is installed, go to NLP Architect root dir and start Jupyter Notebook:

    .. code:: python

        cd <NLP Architect root>
        jupyter notebook

- Open your browser and go to http://localhost:8888/
- Select a tutorial and start learning

List of tutorials
-----------------
- `Natural Language Question/Answering Systems <https://github.com/NervanaSystems/nlp-architect/blob/master/tutorials/Question_Answering/Natural_Language_Question_Answer_Systems.ipynb>`_
- `Intent Extraction <https://github.com/NervanaSystems/nlp-architect/blob/master/tutorials/intent_extraction/intent_extraction_demo.ipynb>`_
- `Named Entity Recognition <https://github.com/NervanaSystems/nlp-architect/blob/master/tutorials/ner/ner_demo.ipynb>`_
- `NP Semantic Segmentation <https://github.com/NervanaSystems/nlp-architect/blob/master/tutorials/np_semantic_segmentation/np_semantic_segmentation_demo.ipynb>`_
- `Sentiment Analysis <https://github.com/NervanaSystems/nlp-architect/blob/master/tutorials/sentiment/Deep_Learning_Sentiment_Demo.ipynb>`_
- `NP2Vec <https://github.com/NervanaSystems/nlp-architect/blob/master/tutorials/NP2vec/NP2vec_training.ipynb>`_
- `Term set expansion <https://github.com/NervanaSystems/private-nlp-architect/blob/master/tutorials/Term_Set_Expansion/term_set_expansion.ipynb>`_
