diff --git a/.gitignore b/.gitignore
index 2a827386..7b96deef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,14 +8,12 @@
.styleenv
.coverage
flake8.txt
-/build/
+**/build/*
generated
/dist/
*.hdf5
*.h5
-#!nlp_architect/server/angular-ui/dist/angular-ui/*.html
-#*.html
-docs-sources/build/**
+docs-source/_build/**
!nlp_architect/solutions/set_expansion/ui/templates/*.html
.vscode
!tests/fixtures/data/server/*.gz
diff --git a/README.md b/README.md
index 1fce530e..8482e875 100644
--- a/README.md
+++ b/README.md
@@ -41,10 +41,11 @@ Features:
* Core NLP models used in many NLP tasks and useful in many NLP applications
* Novel NLU models showcasing novel topologies and techniques
* Optimized NLP/NLU models showcasing different optimization algorithms on neural NLP/NLU models
-* Simple REST API server ([doc](http://nlp_architect.nervanasys.com/service.html)):
- * serving trained models (for inference)
- * plug-in system for adding your own model
-* 4 Demos of models (pre-trained by us) showcasing NLP Architect (Dependency parser, NER, Intent Extraction, Q&A)
+* Model-oriented design:
+ * Train and run models from command-line.
+ * API for using models for inference in python.
+ * Procedures to define custom processes for training, inference or anything related to processing.
+ * CLI sub-system for running procedures
* Based on optimized Deep Learning frameworks:
* [TensorFlow]
@@ -52,13 +53,21 @@ Features:
* [Intel-Optimized TensorFlow with MKL-DNN]
* [Dynet]
-* Documentation [website](http://nlp_architect.nervanasys.com/) and [tutorials](http://nlp_architect.nervanasys.com/tutorials.html)
* Essential utilities for working with NLP models - Text/String pre-processing, IO, data-manipulation, metrics, embeddings.
+* Plug-able REST API server to serve models via REST API
## Installing NLP Architect
We recommend to install NLP Architect in a new python environment, to use python 3.6+ with up-to-date `pip`, `setuptools` and `h5py`.
+### Install using `pip`
+
+Includes only core library (without `examples/` directory)
+
+```sh
+pip install nlp-architect
+```
+
### Install from source (Github)
Includes core library and all content (example scripts, datasets, tutorials)
@@ -76,14 +85,6 @@ Install (in develop mode)
pip install -e .
```
-### Install from pypi (using `pip install`)
-
-Includes only core library
-
-```sh
-pip install nlp-architect
-```
-
### Further installation options
Refer to our full [installation instructions](http://nlp_architect.nervanasys.com/installation.html) page on our website for complete details on how to install NLP Architect and other backend installations such as MKL-DNN or GPU backends.
@@ -93,40 +94,30 @@ Users can install any deep learning backends manually before/after they install
NLP models that provide best (or near) in class performance:
-* [Word chunking](http://nlp_architect.nervanasys.com/chunker.html)
-* [Named Entity Recognition](http://nlp_architect.nervanasys.com/ner_crf.html)
+* [Word chunking](http://nlp_architect.nervanasys.com/tagging/sequence_tagging.html#word-chunker)
+* [Named Entity Recognition](http://nlp_architect.nervanasys.com/tagging/sequence_tagging.html#named-entity-recognition)
* [Dependency parsing](http://nlp_architect.nervanasys.com/bist_parser.html)
* [Intent Extraction](http://nlp_architect.nervanasys.com/intent.html)
-* [Sentiment classification](http://nlp_architect.nervanasys.com/supervised_sentiment.html)
-* [Language models](http://nlp_architect.nervanasys.com/tcn.html)
-* [Transformers](http://nlp_architect.nervanasys.com/) (for most NLP tasks)
+* [Sentiment classification](http://nlp_architect.nervanasys.com/sentiment.html#supervised-sentiment)
+* [Language models](http://nlp_architect.nervanasys.com/lm.html#language-modeling-with-tcn)
+* [Transformers](http://nlp_architect.nervanasys.com/transformers.html) (for NLP tasks)
Natural Language Understanding (NLU) models that address semantic understanding:
* [Aspect Based Sentiment Analysis (ABSA)](http://nlp_architect.nervanasys.com/absa.html)
+* [Joint intent detection and slot tagging](http://nlp_architect.nervanasys.com/intent.html)
* [Noun phrase embedding representation (NP2Vec)](http://nlp_architect.nervanasys.com/np2vec.html)
* [Most common word sense detection](http://nlp_architect.nervanasys.com/word_sense.html)
* [Relation identification](http://nlp_architect.nervanasys.com/identifying_semantic_relation.html)
* [Cross document coreference](http://nlp_architect.nervanasys.com/cross_doc_coref.html)
* [Noun phrase semantic segmentation](http://nlp_architect.nervanasys.com/np_segmentation.html)
-Components instrumental for conversational AI:
-
-* [Joint intent detection and slot tagging](http://nlp_architect.nervanasys.com/intent.html)
-* [Memory Networks for goal oriented dialog](http://nlp_architect.nervanasys.com/memn2n.html)
-
Optimizing NLP/NLU models and misc. optimization techniques:
-* [Quantized BERT (8bit)](http://nlp_architect.nervanasys.com/)
-* [Knowledge Distillation using BERT](http://nlp_architect.nervanasys.com/)
+* [Quantized BERT (8bit)](http://nlp_architect.nervanasys.com/quantized_bert.html)
+* [Knowledge Distillation using Transformers](http://nlp_architect.nervanasys.com/transformers_distillation.html)
* [Sparse and Quantized Neural Machine Translation (GNMT)](http://nlp_architect.nervanasys.com/sparse_gnmt.html)
-End-to-end Deep Learning-based NLP models:
-
-* [Reading comprehension](http://nlp_architect.nervanasys.com/reading_comprehension.html)
-* [Language Modeling using Temporal Convolution Network (TCN)](http://nlp_architect.nervanasys.com/tcn.html)
-* [Unsupervised Cross-lingual embeddings](http://nlp_architect.nervanasys.com/crosslingual_emb.html)
-
Solutions (End-to-end applications) using one or more models:
* [Term Set expansion](http://nlp_architect.nervanasys.com/term_set_expansion.html) - uses the included word chunker as a noun phrase extractor and NP2Vec to create semantic term sets
@@ -155,34 +146,8 @@ The main design guidelines are:
* REST API servers with ability to serve trained models via HTTP
* Extensive model documentation and tutorials
-## Demo UI examples
-
-Dependency parser
-
-
-
-Intent Extraction
-
-
-
-
-## Packages
-
-| Package | Description |
-|------------------------- |------------------------------------------------------ |
-| `nlp_architect.api` | Model API interfaces |
-| `nlp_architect.common` | Common packages |
-| `nlp_architect.cli` | Command line module |
-| `nlp_architect.data` | Datasets, loaders and data processors |
-| `nlp_architect.models` | NLP, NLU and End-to-End models |
-| `nlp_architect.nn` | Topology related models and additions (per framework) |
-| `nlp_architect.pipelines` | End-to-end NLP apps |
-| `nlp_architect.procedures`| Procedure scripts |
-| `nlp_architect.server` | API Server and demos UI |
-| `nlp_architect.solutions` | Solution applications |
-| `nlp_architect.utils` | Misc. I/O, metric, pre-processing and text utilities |
-
### Note
+
NLP Architect is an active space of research and development; Throughout future
releases new models, solutions, topologies and framework additions and changes
will be made. We aim to make sure all models run with Python 3.6+. We
@@ -191,7 +156,7 @@ encourage researchers and developers to contribute their work into the library.
## Citing
If you use NLP Architect in your research, please use the following citation:
-```
+
@misc{izsak_peter_2018_1477518,
title = {NLP Architect by Intel AI Lab},
month = nov,
@@ -199,9 +164,9 @@ If you use NLP Architect in your research, please use the following citation:
doi = {10.5281/zenodo.1477518},
url = {https://doi.org/10.5281/zenodo.1477518}
}
-```
## Disclaimer
+
The NLP Architect is released as reference code for research purposes. It is
not an official Intel product, and the level of quality and support may not be
as expected from an official product. NLP Architect is intended to be used
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 6148f87d..8ef6db14 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -1,4 +1,4 @@
-sphinx
+sphinx==1.8.5
sphinx_rtd_theme
flake8-html
pep8
diff --git a/docs-source/source/CONTRIBUTING.rst b/docs-source/source/CONTRIBUTING.rst
index 3bc6a8b3..67625145 100644
--- a/docs-source/source/CONTRIBUTING.rst
+++ b/docs-source/source/CONTRIBUTING.rst
@@ -22,8 +22,9 @@ Contribution Process
* Create an issue on GitHub:
https://github.com/NervanaSystems/nlp-architect/issues
-2. Clone and/or update your checked out copy of nlp-architect to ensure you have the
- most recent commits from the master branch:
+2. Fork NLP Architect and/or update your checked out copy of
+ nlp-architect to ensure you have the
+ most recent commits from the master branch, for example:
.. code-block:: bash
@@ -48,8 +49,8 @@ Contribution Process
.. code-block:: bash
- nlp_architect test # ensure all are OK
- nlp_architect style # ensure there are no style related issues
+ ./scripts/run_tests.sh # ensure all are OK
+ ./scripts/check_style.sh # ensure there are no style related issues
5. If necessary you may want to update and/or rebuild the documentation.
This all exists under docs-source/source and is in
@@ -57,8 +58,7 @@ Contribution Process
.. code-block:: bash
- cd scripts/
- sh create_docs.sh # builds the doc and starts a local server directly
+ ./scripts/create_docs.sh # builds the doc and starts a local server directly
6. Commit your changes and push your feature branch to your GitHub fork. Be
sure to add a descriptive message and reference the GitHub issue associated
@@ -71,23 +71,10 @@ Contribution Process
git commit -m "Added new awesome functionality. Closes issue #1"
git push origin my_new_feature_branch
-7. Create a new pull request to get your feature branch merged into master for
- others to use. You'll first need to ensure your feature branch contains the
- latest changes from master. Furthermore, internal devs will need to assign
- the request to someone else for a code review. You must also ensure there
- are no errors when run through the items defined in step 4.
-
- .. code-block:: bash
-
- # (external contribs): make a new pull request:
- https://github.com/NervanaSystems/nlp-architect/pulls
-
- # merge latest master changes into your feature branch
- git fetch origin
- git checkout master
- git pull origin master
- git checkout my_new_feature_branch
- git merge master # you may need to manually resolve any merge conflicts
+7. Create a new `pull request `_
+ to get your feature branch merged into master for others to use.
+ You'll first need to ensure your feature branch contains the latest changes from
+ master.
8. If there are issues you can continue to push commits to your feature branch
by following step 6. They will automatically be added to this same merge
diff --git a/docs-source/source/api.rst b/docs-source/source/api.rst
deleted file mode 100644
index 80581c1e..00000000
--- a/docs-source/source/api.rst
+++ /dev/null
@@ -1,138 +0,0 @@
-.. ---------------------------------------------------------------------------
-.. 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.
-.. ---------------------------------------------------------------------------
-
-API
-###
-
-This API documentation covers each model within NLP Architect. Most modules have a
-corresponding user guide section that introduces the main concepts. See this
-API for specific function definitions.
-
-.. .. csv-table::
-.. :header: "Module API", "Description"
-.. :widths: 20, 40
-.. :delim: |
-..
-.. :py:mod:`nlp_architect.models` | Model architecture
-.. :py:mod:`nlp_architect.layers` | Model layers
-.. :py:mod:`nlp_architect.data` | Data loading and handling
-
-``nlp_architect.models``
-------------------------
-.. currentmodule:: nlp_architect.models
-
-Model classes stores a list of layers describing the model. Methods are provided
-to train the model weights, perform inference, and save/load the model.
-
-.. autosummary::
- :toctree: generated/
- :nosignatures:
-
- nlp_architect.models.bist_parser.BISTModel
- nlp_architect.models.chunker.SequenceChunker
- nlp_architect.models.intent_extraction.Seq2SeqIntentModel
- nlp_architect.models.intent_extraction.MultiTaskIntentModel
- nlp_architect.models.matchlstm_ansptr.MatchLSTMAnswerPointer
- nlp_architect.models.memn2n_dialogue.MemN2N_Dialog
- nlp_architect.models.most_common_word_sense.MostCommonWordSense
- nlp_architect.models.ner_crf.NERCRF
- nlp_architect.models.np2vec.NP2vec
- nlp_architect.models.np_semantic_segmentation.NpSemanticSegClassifier
- nlp_architect.models.temporal_convolutional_network.TCN
- nlp_architect.models.crossling_emb.WordTranslator
- nlp_architect.models.cross_doc_sieves
- nlp_architect.models.cross_doc_coref.sieves_config.EventSievesConfiguration
- nlp_architect.models.cross_doc_coref.sieves_config.EntitySievesConfiguration
- nlp_architect.models.cross_doc_coref.sieves_resource.SievesResources
- nlp_architect.models.gnmt_model.GNMTModel
-
-
-``nlp_architect.data``
-----------------------
-.. currentmodule:: nlp_architect.data
-
-Dataset implementations and data loaders (check deep learning framework compatibility of dataset/loader in documentation)
-
-.. autosummary::
- :toctree: generated/
- :nosignatures:
-
- nlp_architect.data.amazon_reviews.Amazon_Reviews
- nlp_architect.data.babi_dialog.BABI_Dialog
- nlp_architect.data.conll.ConllEntry
- nlp_architect.data.intent_datasets.IntentDataset
- nlp_architect.data.intent_datasets.TabularIntentDataset
- nlp_architect.data.intent_datasets.SNIPS
- nlp_architect.data.ptb.PTBDataLoader
- nlp_architect.data.sequential_tagging.CONLL2000
- nlp_architect.data.sequential_tagging.SequentialTaggingDataset
- nlp_architect.data.fasttext_emb.FastTextEmb
- nlp_architect.data.cdc_resources.relations.computed_relation_extraction.ComputedRelationExtraction
- nlp_architect.data.cdc_resources.relations.referent_dict_relation_extraction.ReferentDictRelationExtraction
- nlp_architect.data.cdc_resources.relations.verbocean_relation_extraction.VerboceanRelationExtraction
- nlp_architect.data.cdc_resources.relations.wikipedia_relation_extraction.WikipediaRelationExtraction
- nlp_architect.data.cdc_resources.relations.within_doc_coref_extraction.WithinDocCoref
- nlp_architect.data.cdc_resources.relations.word_embedding_relation_extraction.WordEmbeddingRelationExtraction
- nlp_architect.data.cdc_resources.relations.wordnet_relation_extraction.WordnetRelationExtraction
- nlp_architect.data.cdc_resources.relations.relation_types_enums.RelationType
-
-
-``nlp_architect.pipelines``
----------------------------
-.. currentmodule:: nlp_architect.pipelines
-
-NLP pipelines modules using NLP Architect models
-
-.. autosummary::
- :toctree: generated/
- :nosignatures:
-
- nlp_architect.pipelines.spacy_bist.SpacyBISTParser
- nlp_architect.pipelines.spacy_np_annotator.NPAnnotator
- nlp_architect.pipelines.spacy_np_annotator.SpacyNPAnnotator
-
-
-``nlp_architect.nn``
--------------------------
-.. currentmodule:: nlp_architect.nn
-
-In addition to imported layers, the library also contains its own set of network layers and additions.
-These are currently stored in the various models or related to which DL frameworks it was based on.
-
-.. autosummary::
- :toctree: generated/
- :nosignatures:
-
- nlp_architect.nn.tensorflow.python.keras.layers.crf.CRF
- nlp_architect.nn.tensorflow.python.keras.utils.layer_utils.save_model
- nlp_architect.nn.tensorflow.python.keras.utils.layer_utils.load_model
- nlp_architect.nn.tensorflow.python.keras.callbacks.ConllCallback
-
-
-``nlp_architect.common``
-------------------------
-.. currentmodule:: nlp_architect.common
-
-Common types of data structures used by NLP models
-
-.. autosummary::
- :toctree: generated/
- :nosignatures:
-
- nlp_architect.common.core_nlp_doc.CoreNLPDoc
- nlp_architect.common.high_level_doc.HighLevelDoc
- nlp_architect.common.cdc.mention_data.MentionDataLight
- nlp_architect.common.cdc.mention_data.MentionData
diff --git a/docs-source/source/archived/additional.rst b/docs-source/source/archived/additional.rst
new file mode 100644
index 00000000..b9eb03bd
--- /dev/null
+++ b/docs-source/source/archived/additional.rst
@@ -0,0 +1,30 @@
+.. ---------------------------------------------------------------------------
+.. 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.
+.. ---------------------------------------------------------------------------
+
+=================
+Additional Models
+=================
+
+
+.. include:: crosslingual_emb.rst
+
+----
+
+.. include:: memn2n.rst
+
+----
+
+.. include:: reading_comprehension.rst
diff --git a/docs-source/source/crosslingual_emb.rst b/docs-source/source/archived/crosslingual_emb.rst
similarity index 98%
rename from docs-source/source/crosslingual_emb.rst
rename to docs-source/source/archived/crosslingual_emb.rst
index 6a5367e7..dda1e822 100755
--- a/docs-source/source/crosslingual_emb.rst
+++ b/docs-source/source/archived/crosslingual_emb.rst
@@ -5,7 +5,7 @@ Overview
========
This model uses a GAN to learn mapping between two language embeddings without supervision as demonstrated in Word Translation Without Parallel Data [1]_.
-.. image:: assets/w2w.png
+.. image:: ../assets/w2w.png
Files
diff --git a/docs-source/source/memn2n.rst b/docs-source/source/archived/memn2n.rst
similarity index 100%
rename from docs-source/source/memn2n.rst
rename to docs-source/source/archived/memn2n.rst
diff --git a/docs-source/source/reading_comprehension.rst b/docs-source/source/archived/reading_comprehension.rst
similarity index 98%
rename from docs-source/source/reading_comprehension.rst
rename to docs-source/source/archived/reading_comprehension.rst
index 1e8bcdd0..d97c772a 100755
--- a/docs-source/source/reading_comprehension.rst
+++ b/docs-source/source/archived/reading_comprehension.rst
@@ -27,7 +27,7 @@ input to the pointer network which identifies the start and end indices of the a
Model Architecture
------------------
-.. image:: ../../examples/reading_comprehension/MatchLSTM_Model.png
+.. image:: ../../../examples/reading_comprehension/MatchLSTM_Model.png
Files
diff --git a/docs-source/source/assets/cnn-lstm-fig.png b/docs-source/source/assets/cnn-lstm-fig.png
new file mode 100644
index 00000000..d1a82ed1
Binary files /dev/null and b/docs-source/source/assets/cnn-lstm-fig.png differ
diff --git a/docs-source/source/assets/idcnn-fig.png b/docs-source/source/assets/idcnn-fig.png
new file mode 100644
index 00000000..47d2e77f
Binary files /dev/null and b/docs-source/source/assets/idcnn-fig.png differ
diff --git a/docs-source/source/assets/logo.png b/docs-source/source/assets/logo.png
new file mode 100644
index 00000000..60b4f407
Binary files /dev/null and b/docs-source/source/assets/logo.png differ
diff --git a/docs-source/source/conf.py b/docs-source/source/conf.py
index e7575a58..f0f66fba 100644
--- a/docs-source/source/conf.py
+++ b/docs-source/source/conf.py
@@ -18,10 +18,16 @@
import os
import sys
+import sphinx_rtd_theme # noqa: E402
+from sphinx.ext import apidoc
+
+from nlp_architect.version import NLP_ARCHITECT_VERSION
+
+# -- Options for HTML output ----------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
-from nlp_architect.version import NLP_ARCHITECT_VERSION
+
sys.path.insert(0, os.path.abspath('../..'))
@@ -39,16 +45,16 @@
'sphinx.ext.autosummary',
'sphinx.ext.napoleon',
'sphinx.ext.doctest',
- 'sphinx.ext.intersphinx',
- 'sphinx.ext.todo',
- 'sphinx.ext.coverage',
+ # 'sphinx.ext.intersphinx',
+ # 'sphinx.ext.todo',
+ # 'sphinx.ext.coverage',
'sphinx.ext.mathjax',
- 'sphinx.ext.ifconfig',
+ # 'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
+ 'sphinx_rtd_theme',
]
-
# Autodoc settings
-autodoc_default_flags = ['members', 'undoc-members', 'inherited-members']
+# autodoc_default_flags = ['members', 'undoc-members', 'inherited-members']
# Autosummary settings
autosummary_generate = True
@@ -122,7 +128,7 @@
# show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'tango'
+pygments_style = 'default'
# A list of ignored prefixes for module index sorting.
# modindex_common_prefix = []
@@ -131,14 +137,12 @@
# keep_warnings = False
-# -- Options for HTML output ----------------------------------------------
-import sphinx_rtd_theme # noqa: E402
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
-html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+# html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme_options = {
# 'canonical_url': '',
# 'analytics_id': '',
@@ -165,7 +169,7 @@
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
-html_logo = '../../assets/nlp_architect_logo_white.png'
+html_logo = 'assets/logo.png'
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
@@ -176,10 +180,17 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['static/']
+html_css_files = [
+ 'nlp_arch_theme.css',
+ # 'https://fonts.googleapis.com/css?family=Lato',
+ # 'https://fonts.googleapis.com/css?family=Oswald',
+ 'https://fonts.googleapis.com/css?family=Roboto+Mono',
+ 'https://fonts.googleapis.com/css?family=Open+Sans:100,900'
+]
-def setup(app):
- app.add_stylesheet('https://fonts.googleapis.com/css?family=Lato')
- app.add_stylesheet('theme.css')
+html_js_files = [
+ 'install.js'
+]
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
@@ -277,3 +288,13 @@ def setup(app):
.. |Geon| replace:: Nervana Graph
.. |TF| replace:: TensorFlow\ |trade|
"""
+def run_apidoc(_):
+ api_docs = os.path.join(os.path.abspath("./source/"), "generated_api")
+ argv = ["-f", "-o", api_docs, os.path.abspath("../nlp_architect/")]
+
+ apidoc.main(argv)
+ os.remove(os.path.join(api_docs, "modules.rst"))
+ os.remove(os.path.join(api_docs, "nlp_architect.rst"))
+
+def setup(app):
+ app.connect("builder-inited", run_apidoc)
diff --git a/docs-source/source/developer_guide.rst b/docs-source/source/developer_guide.rst
index 87d6ec5e..dcfca8d4 100644
--- a/docs-source/source/developer_guide.rst
+++ b/docs-source/source/developer_guide.rst
@@ -14,15 +14,18 @@
.. limitations under the License.
.. ---------------------------------------------------------------------------
+===============
Developer Guide
-###############
+===============
-The following sections describe how to set up a development environment, how to contribute your code and what are our contribution standards.
+The following sections describe how to set up a development environment,
+how to contribute your code and what are our contribution standards.
Prepare Environment
===================
-Install NLP Architect from source (Github) and install supplemental development packages:
+Install NLP Architect from source (Github) and install supplemental
+development packages:
.. code:: bash
@@ -58,11 +61,19 @@ Documentation Conventions
* Limit your docs to 2-3 levels of headings.
-* New .rst files will show up in the sidebar, and any first and second level headings will also show up in the menu. Keep the sidebar short and only add essentials items there. Otherwise, add your documentation to the pre-existing files. You can add to the toctree manually, but please don't add or create pages unless absolutely necessary!
+* New .rst files will show up in the sidebar, and any first and second level
+ headings will also show up in the menu. Keep the sidebar short and only
+ add essentials items there. Otherwise, add your documentation to the
+ pre-existing files. You can add to the toctree manually, but please don't
+ add or create pages unless absolutely necessary!
-* If you created a new class, add it to the API by creating a new section in api.rst and create an autosummary_. Anytime you add an autosummary, please remember to add :nosignatures: to keep things consistent with the rest of our docs.
+* If you created a new class, add it to the API by creating a new section in
+ api.rst and create an autosummary_. Anytime you add an autosummary, please
+ remember to add :nosignatures: to keep things consistent with the rest of
+ our docs.
-* Every time you make a significant contribution, add a short description of it in the relevant document.
+* Every time you make a significant contribution, add a short description
+ of it in the relevant document.
.. include:: writing_tests.rst
diff --git a/docs-source/source/generated_api/nlp_architect.api.rst b/docs-source/source/generated_api/nlp_architect.api.rst
new file mode 100644
index 00000000..5bcc03ea
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.api.rst
@@ -0,0 +1,62 @@
+nlp\_architect.api package
+==========================
+
+Submodules
+----------
+
+nlp\_architect.api.abstract\_api module
+---------------------------------------
+
+.. automodule:: nlp_architect.api.abstract_api
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.api.base module
+------------------------------
+
+.. automodule:: nlp_architect.api.base
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.api.bist\_parser\_api module
+-------------------------------------------
+
+.. automodule:: nlp_architect.api.bist_parser_api
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.api.intent\_extraction\_api module
+-------------------------------------------------
+
+.. automodule:: nlp_architect.api.intent_extraction_api
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.api.machine\_comprehension\_api module
+-----------------------------------------------------
+
+.. automodule:: nlp_architect.api.machine_comprehension_api
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.api.ner\_api module
+----------------------------------
+
+.. automodule:: nlp_architect.api.ner_api
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.api
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.cli.rst b/docs-source/source/generated_api/nlp_architect.cli.rst
new file mode 100644
index 00000000..894bca2a
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.cli.rst
@@ -0,0 +1,30 @@
+nlp\_architect.cli package
+==========================
+
+Submodules
+----------
+
+nlp\_architect.cli.cli\_commands module
+---------------------------------------
+
+.. automodule:: nlp_architect.cli.cli_commands
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.cli.cmd\_registry module
+---------------------------------------
+
+.. automodule:: nlp_architect.cli.cmd_registry
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.cli
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.common.cdc.rst b/docs-source/source/generated_api/nlp_architect.common.cdc.rst
new file mode 100644
index 00000000..1d525718
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.common.cdc.rst
@@ -0,0 +1,38 @@
+nlp\_architect.common.cdc package
+=================================
+
+Submodules
+----------
+
+nlp\_architect.common.cdc.cluster module
+----------------------------------------
+
+.. automodule:: nlp_architect.common.cdc.cluster
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.common.cdc.mention\_data module
+----------------------------------------------
+
+.. automodule:: nlp_architect.common.cdc.mention_data
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.common.cdc.topics module
+---------------------------------------
+
+.. automodule:: nlp_architect.common.cdc.topics
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.common.cdc
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.common.rst b/docs-source/source/generated_api/nlp_architect.common.rst
new file mode 100644
index 00000000..d844e061
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.common.rst
@@ -0,0 +1,37 @@
+nlp\_architect.common package
+=============================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.common.cdc
+
+Submodules
+----------
+
+nlp\_architect.common.core\_nlp\_doc module
+-------------------------------------------
+
+.. automodule:: nlp_architect.common.core_nlp_doc
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.common.high\_level\_doc module
+---------------------------------------------
+
+.. automodule:: nlp_architect.common.high_level_doc
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.common
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.data.cdc_resources.data_types.rst b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.data_types.rst
new file mode 100644
index 00000000..f2c185c5
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.data_types.rst
@@ -0,0 +1,18 @@
+nlp\_architect.data.cdc\_resources.data\_types package
+======================================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.data.cdc_resources.data_types.wiki
+ nlp_architect.data.cdc_resources.data_types.wn
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.data.cdc_resources.data_types
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.data.cdc_resources.data_types.wiki.rst b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.data_types.wiki.rst
new file mode 100644
index 00000000..870cf318
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.data_types.wiki.rst
@@ -0,0 +1,38 @@
+nlp\_architect.data.cdc\_resources.data\_types.wiki package
+===========================================================
+
+Submodules
+----------
+
+nlp\_architect.data.cdc\_resources.data\_types.wiki.wikipedia\_page module
+--------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.data\_types.wiki.wikipedia\_page\_extracted\_relations module
+------------------------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page_extracted_relations
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.data\_types.wiki.wikipedia\_pages module
+---------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_pages
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.data.cdc_resources.data_types.wiki
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.data.cdc_resources.data_types.wn.rst b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.data_types.wn.rst
new file mode 100644
index 00000000..178013d5
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.data_types.wn.rst
@@ -0,0 +1,22 @@
+nlp\_architect.data.cdc\_resources.data\_types.wn package
+=========================================================
+
+Submodules
+----------
+
+nlp\_architect.data.cdc\_resources.data\_types.wn.wordnet\_page module
+----------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.data_types.wn.wordnet_page
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.data.cdc_resources.data_types.wn
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.data.cdc_resources.embedding.rst b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.embedding.rst
new file mode 100644
index 00000000..8769f3c5
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.embedding.rst
@@ -0,0 +1,30 @@
+nlp\_architect.data.cdc\_resources.embedding package
+====================================================
+
+Submodules
+----------
+
+nlp\_architect.data.cdc\_resources.embedding.embed\_elmo module
+---------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.embedding.embed_elmo
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.embedding.embed\_glove module
+----------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.embedding.embed_glove
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.data.cdc_resources.embedding
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.data.cdc_resources.gen_scripts.rst b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.gen_scripts.rst
new file mode 100644
index 00000000..95c0f869
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.gen_scripts.rst
@@ -0,0 +1,62 @@
+nlp\_architect.data.cdc\_resources.gen\_scripts package
+=======================================================
+
+Submodules
+----------
+
+nlp\_architect.data.cdc\_resources.gen\_scripts.create\_reference\_dict\_dump module
+------------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.gen_scripts.create_reference_dict_dump
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.gen\_scripts.create\_verbocean\_dump module
+------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.gen_scripts.create_verbocean_dump
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.gen\_scripts.create\_wiki\_dump module
+-------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.gen_scripts.create_wiki_dump
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.gen\_scripts.create\_word\_embed\_elmo\_dump module
+--------------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.gen_scripts.create_word_embed_elmo_dump
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.gen\_scripts.create\_word\_embed\_glove\_dump module
+---------------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.gen_scripts.create_word_embed_glove_dump
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.gen\_scripts.create\_wordnet\_dump module
+----------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.gen_scripts.create_wordnet_dump
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.data.cdc_resources.gen_scripts
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.data.cdc_resources.relations.rst b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.relations.rst
new file mode 100644
index 00000000..18eff729
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.relations.rst
@@ -0,0 +1,86 @@
+nlp\_architect.data.cdc\_resources.relations package
+====================================================
+
+Submodules
+----------
+
+nlp\_architect.data.cdc\_resources.relations.computed\_relation\_extraction module
+----------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.relations.computed_relation_extraction
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.relations.referent\_dict\_relation\_extraction module
+----------------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.relations.referent_dict_relation_extraction
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.relations.relation\_extraction module
+------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.relations.relation_extraction
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.relations.relation\_types\_enums module
+--------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.relations.relation_types_enums
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.relations.verbocean\_relation\_extraction module
+-----------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.relations.verbocean_relation_extraction
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.relations.wikipedia\_relation\_extraction module
+-----------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.relations.wikipedia_relation_extraction
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.relations.within\_doc\_coref\_extraction module
+----------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.relations.within_doc_coref_extraction
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.relations.word\_embedding\_relation\_extraction module
+-----------------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.relations.word_embedding_relation_extraction
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.relations.wordnet\_relation\_extraction module
+---------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.relations.wordnet_relation_extraction
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.data.cdc_resources.relations
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.data.cdc_resources.rst b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.rst
new file mode 100644
index 00000000..c8e5e12f
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.rst
@@ -0,0 +1,22 @@
+nlp\_architect.data.cdc\_resources package
+==========================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.data.cdc_resources.data_types
+ nlp_architect.data.cdc_resources.embedding
+ nlp_architect.data.cdc_resources.gen_scripts
+ nlp_architect.data.cdc_resources.relations
+ nlp_architect.data.cdc_resources.wikipedia
+ nlp_architect.data.cdc_resources.wordnet
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.data.cdc_resources
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.data.cdc_resources.wikipedia.rst b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.wikipedia.rst
new file mode 100644
index 00000000..fe7604bf
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.wikipedia.rst
@@ -0,0 +1,46 @@
+nlp\_architect.data.cdc\_resources.wikipedia package
+====================================================
+
+Submodules
+----------
+
+nlp\_architect.data.cdc\_resources.wikipedia.wiki\_elastic module
+-----------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.wikipedia.wiki_elastic
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.wikipedia.wiki\_offline module
+-----------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.wikipedia.wiki_offline
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.wikipedia.wiki\_online module
+----------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.wikipedia.wiki_online
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.wikipedia.wiki\_search\_page\_result module
+------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.wikipedia.wiki_search_page_result
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.data.cdc_resources.wikipedia
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.data.cdc_resources.wordnet.rst b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.wordnet.rst
new file mode 100644
index 00000000..f1376d9d
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.data.cdc_resources.wordnet.rst
@@ -0,0 +1,30 @@
+nlp\_architect.data.cdc\_resources.wordnet package
+==================================================
+
+Submodules
+----------
+
+nlp\_architect.data.cdc\_resources.wordnet.wordnet\_offline module
+------------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.wordnet.wordnet_offline
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.cdc\_resources.wordnet.wordnet\_online module
+-----------------------------------------------------------------
+
+.. automodule:: nlp_architect.data.cdc_resources.wordnet.wordnet_online
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.data.cdc_resources.wordnet
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.data.rst b/docs-source/source/generated_api/nlp_architect.data.rst
new file mode 100644
index 00000000..6fa4c35c
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.data.rst
@@ -0,0 +1,101 @@
+nlp\_architect.data package
+===========================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.data.cdc_resources
+
+Submodules
+----------
+
+nlp\_architect.data.amazon\_reviews module
+------------------------------------------
+
+.. automodule:: nlp_architect.data.amazon_reviews
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.babi\_dialog module
+---------------------------------------
+
+.. automodule:: nlp_architect.data.babi_dialog
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.conll module
+--------------------------------
+
+.. automodule:: nlp_architect.data.conll
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.fasttext\_emb module
+----------------------------------------
+
+.. automodule:: nlp_architect.data.fasttext_emb
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.glue\_tasks module
+--------------------------------------
+
+.. automodule:: nlp_architect.data.glue_tasks
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.intent\_datasets module
+-------------------------------------------
+
+.. automodule:: nlp_architect.data.intent_datasets
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.ptb module
+------------------------------
+
+.. automodule:: nlp_architect.data.ptb
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.sequence\_classification module
+---------------------------------------------------
+
+.. automodule:: nlp_architect.data.sequence_classification
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.sequential\_tagging module
+----------------------------------------------
+
+.. automodule:: nlp_architect.data.sequential_tagging
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.data.utils module
+--------------------------------
+
+.. automodule:: nlp_architect.data.utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.data
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.absa.inference.rst b/docs-source/source/generated_api/nlp_architect.models.absa.inference.rst
new file mode 100644
index 00000000..19163af2
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.absa.inference.rst
@@ -0,0 +1,30 @@
+nlp\_architect.models.absa.inference package
+============================================
+
+Submodules
+----------
+
+nlp\_architect.models.absa.inference.data\_types module
+-------------------------------------------------------
+
+.. automodule:: nlp_architect.models.absa.inference.data_types
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.absa.inference.inference module
+-----------------------------------------------------
+
+.. automodule:: nlp_architect.models.absa.inference.inference
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.absa.inference
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.absa.rst b/docs-source/source/generated_api/nlp_architect.models.absa.rst
new file mode 100644
index 00000000..574d1c23
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.absa.rst
@@ -0,0 +1,30 @@
+nlp\_architect.models.absa package
+==================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.models.absa.inference
+ nlp_architect.models.absa.train
+
+Submodules
+----------
+
+nlp\_architect.models.absa.utils module
+---------------------------------------
+
+.. automodule:: nlp_architect.models.absa.utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.absa
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.absa.train.rst b/docs-source/source/generated_api/nlp_architect.models.absa.train.rst
new file mode 100644
index 00000000..0c6a92f6
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.absa.train.rst
@@ -0,0 +1,62 @@
+nlp\_architect.models.absa.train package
+========================================
+
+Submodules
+----------
+
+nlp\_architect.models.absa.train.acquire\_terms module
+------------------------------------------------------
+
+.. automodule:: nlp_architect.models.absa.train.acquire_terms
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.absa.train.data\_types module
+---------------------------------------------------
+
+.. automodule:: nlp_architect.models.absa.train.data_types
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.absa.train.generate\_lexicons module
+----------------------------------------------------------
+
+.. automodule:: nlp_architect.models.absa.train.generate_lexicons
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.absa.train.rerank\_terms module
+-----------------------------------------------------
+
+.. automodule:: nlp_architect.models.absa.train.rerank_terms
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.absa.train.rules module
+---------------------------------------------
+
+.. automodule:: nlp_architect.models.absa.train.rules
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.absa.train.train module
+---------------------------------------------
+
+.. automodule:: nlp_architect.models.absa.train.train
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.absa.train
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.bist.eval.conllu.rst b/docs-source/source/generated_api/nlp_architect.models.bist.eval.conllu.rst
new file mode 100644
index 00000000..38233155
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.bist.eval.conllu.rst
@@ -0,0 +1,22 @@
+nlp\_architect.models.bist.eval.conllu package
+==============================================
+
+Submodules
+----------
+
+nlp\_architect.models.bist.eval.conllu.conll17\_ud\_eval module
+---------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.bist.eval.conllu.conll17_ud_eval
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.bist.eval.conllu
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.bist.eval.rst b/docs-source/source/generated_api/nlp_architect.models.bist.eval.rst
new file mode 100644
index 00000000..88f2d155
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.bist.eval.rst
@@ -0,0 +1,17 @@
+nlp\_architect.models.bist.eval package
+=======================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.models.bist.eval.conllu
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.bist.eval
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.bist.rst b/docs-source/source/generated_api/nlp_architect.models.bist.rst
new file mode 100644
index 00000000..c86e8d1e
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.bist.rst
@@ -0,0 +1,45 @@
+nlp\_architect.models.bist package
+==================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.models.bist.eval
+
+Submodules
+----------
+
+nlp\_architect.models.bist.decoder module
+-----------------------------------------
+
+.. automodule:: nlp_architect.models.bist.decoder
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.bist.mstlstm module
+-----------------------------------------
+
+.. automodule:: nlp_architect.models.bist.mstlstm
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.bist.utils module
+---------------------------------------
+
+.. automodule:: nlp_architect.models.bist.utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.bist
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.cross_doc_coref.rst b/docs-source/source/generated_api/nlp_architect.models.cross_doc_coref.rst
new file mode 100644
index 00000000..5e3e21db
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.cross_doc_coref.rst
@@ -0,0 +1,37 @@
+nlp\_architect.models.cross\_doc\_coref package
+===============================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.models.cross_doc_coref.system
+
+Submodules
+----------
+
+nlp\_architect.models.cross\_doc\_coref.sieves\_config module
+-------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.cross_doc_coref.sieves_config
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.cross\_doc\_coref.sieves\_resource module
+---------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.cross_doc_coref.sieves_resource
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.cross_doc_coref
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.cross_doc_coref.system.rst b/docs-source/source/generated_api/nlp_architect.models.cross_doc_coref.system.rst
new file mode 100644
index 00000000..02701f81
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.cross_doc_coref.system.rst
@@ -0,0 +1,37 @@
+nlp\_architect.models.cross\_doc\_coref.system package
+======================================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.models.cross_doc_coref.system.sieves
+
+Submodules
+----------
+
+nlp\_architect.models.cross\_doc\_coref.system.cdc\_utils module
+----------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.cross_doc_coref.system.cdc_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.cross\_doc\_coref.system.sieves\_container\_init module
+-----------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.cross_doc_coref.system.sieves_container_init
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.cross_doc_coref.system
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.cross_doc_coref.system.sieves.rst b/docs-source/source/generated_api/nlp_architect.models.cross_doc_coref.system.sieves.rst
new file mode 100644
index 00000000..0fcac38a
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.cross_doc_coref.system.sieves.rst
@@ -0,0 +1,30 @@
+nlp\_architect.models.cross\_doc\_coref.system.sieves package
+=============================================================
+
+Submodules
+----------
+
+nlp\_architect.models.cross\_doc\_coref.system.sieves.run\_sieve\_system module
+-------------------------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.cross_doc_coref.system.sieves.run_sieve_system
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.cross\_doc\_coref.system.sieves.sieves module
+-------------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.cross_doc_coref.system.sieves.sieves
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.cross_doc_coref.system.sieves
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.gnmt.rst b/docs-source/source/generated_api/nlp_architect.models.gnmt.rst
new file mode 100644
index 00000000..5f7c93b5
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.gnmt.rst
@@ -0,0 +1,46 @@
+nlp\_architect.models.gnmt package
+==================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.models.gnmt.scripts
+ nlp_architect.models.gnmt.utils
+
+Submodules
+----------
+
+nlp\_architect.models.gnmt.attention\_model module
+--------------------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.attention_model
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.gnmt.model module
+---------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.model
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.gnmt.model\_helper module
+-----------------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.model_helper
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.gnmt
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.gnmt.scripts.rst b/docs-source/source/generated_api/nlp_architect.models.gnmt.scripts.rst
new file mode 100644
index 00000000..6a3787cc
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.gnmt.scripts.rst
@@ -0,0 +1,30 @@
+nlp\_architect.models.gnmt.scripts package
+==========================================
+
+Submodules
+----------
+
+nlp\_architect.models.gnmt.scripts.bleu module
+----------------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.scripts.bleu
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.gnmt.scripts.rouge module
+-----------------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.scripts.rouge
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.gnmt.scripts
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.gnmt.utils.rst b/docs-source/source/generated_api/nlp_architect.models.gnmt.utils.rst
new file mode 100644
index 00000000..b23b909b
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.gnmt.utils.rst
@@ -0,0 +1,62 @@
+nlp\_architect.models.gnmt.utils package
+========================================
+
+Submodules
+----------
+
+nlp\_architect.models.gnmt.utils.evaluation\_utils module
+---------------------------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.utils.evaluation_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.gnmt.utils.iterator\_utils module
+-------------------------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.utils.iterator_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.gnmt.utils.misc\_utils module
+---------------------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.utils.misc_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.gnmt.utils.nmt\_utils module
+--------------------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.utils.nmt_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.gnmt.utils.standard\_hparams\_utils module
+----------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.utils.standard_hparams_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.gnmt.utils.vocab\_utils module
+----------------------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt.utils.vocab_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.gnmt.utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.rst b/docs-source/source/generated_api/nlp_architect.models.rst
new file mode 100644
index 00000000..bc30e2fc
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.rst
@@ -0,0 +1,145 @@
+nlp\_architect.models package
+=============================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.models.absa
+ nlp_architect.models.bist
+ nlp_architect.models.cross_doc_coref
+ nlp_architect.models.gnmt
+ nlp_architect.models.transformers
+
+Submodules
+----------
+
+nlp\_architect.models.bist\_parser module
+-----------------------------------------
+
+.. automodule:: nlp_architect.models.bist_parser
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.chunker module
+------------------------------------
+
+.. automodule:: nlp_architect.models.chunker
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.cross\_doc\_sieves module
+-----------------------------------------------
+
+.. automodule:: nlp_architect.models.cross_doc_sieves
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.crossling\_emb module
+-------------------------------------------
+
+.. automodule:: nlp_architect.models.crossling_emb
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.gnmt\_model module
+----------------------------------------
+
+.. automodule:: nlp_architect.models.gnmt_model
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.intent\_extraction module
+-----------------------------------------------
+
+.. automodule:: nlp_architect.models.intent_extraction
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.matchlstm\_ansptr module
+----------------------------------------------
+
+.. automodule:: nlp_architect.models.matchlstm_ansptr
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.memn2n\_dialogue module
+---------------------------------------------
+
+.. automodule:: nlp_architect.models.memn2n_dialogue
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.most\_common\_word\_sense module
+------------------------------------------------------
+
+.. automodule:: nlp_architect.models.most_common_word_sense
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.ner\_crf module
+-------------------------------------
+
+.. automodule:: nlp_architect.models.ner_crf
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.np2vec module
+-----------------------------------
+
+.. automodule:: nlp_architect.models.np2vec
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.np\_semantic\_segmentation module
+-------------------------------------------------------
+
+.. automodule:: nlp_architect.models.np_semantic_segmentation
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.supervised\_sentiment module
+--------------------------------------------------
+
+.. automodule:: nlp_architect.models.supervised_sentiment
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.tagging module
+------------------------------------
+
+.. automodule:: nlp_architect.models.tagging
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.temporal\_convolutional\_network module
+-------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.temporal_convolutional_network
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.models.transformers.rst b/docs-source/source/generated_api/nlp_architect.models.transformers.rst
new file mode 100644
index 00000000..195ca9e7
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.models.transformers.rst
@@ -0,0 +1,46 @@
+nlp\_architect.models.transformers package
+==========================================
+
+Submodules
+----------
+
+nlp\_architect.models.transformers.base\_model module
+-----------------------------------------------------
+
+.. automodule:: nlp_architect.models.transformers.base_model
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.transformers.quantized\_bert module
+---------------------------------------------------------
+
+.. automodule:: nlp_architect.models.transformers.quantized_bert
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.transformers.sequence\_classification module
+------------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.transformers.sequence_classification
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.models.transformers.token\_classification module
+---------------------------------------------------------------
+
+.. automodule:: nlp_architect.models.transformers.token_classification
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.models.transformers
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nlp.rst b/docs-source/source/generated_api/nlp_architect.nlp.rst
new file mode 100644
index 00000000..0f6b6be3
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nlp.rst
@@ -0,0 +1,10 @@
+nlp\_architect.nlp package
+==========================
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nlp
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nn.rst b/docs-source/source/generated_api/nlp_architect.nn.rst
new file mode 100644
index 00000000..f745db92
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nn.rst
@@ -0,0 +1,18 @@
+nlp\_architect.nn package
+=========================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.nn.tensorflow
+ nlp_architect.nn.torch
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nn
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.keras.layers.rst b/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.keras.layers.rst
new file mode 100644
index 00000000..8933c35c
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.keras.layers.rst
@@ -0,0 +1,22 @@
+nlp\_architect.nn.tensorflow.python.keras.layers package
+========================================================
+
+Submodules
+----------
+
+nlp\_architect.nn.tensorflow.python.keras.layers.crf module
+-----------------------------------------------------------
+
+.. automodule:: nlp_architect.nn.tensorflow.python.keras.layers.crf
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nn.tensorflow.python.keras.layers
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.keras.rst b/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.keras.rst
new file mode 100644
index 00000000..4c64094d
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.keras.rst
@@ -0,0 +1,30 @@
+nlp\_architect.nn.tensorflow.python.keras package
+=================================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.nn.tensorflow.python.keras.layers
+ nlp_architect.nn.tensorflow.python.keras.utils
+
+Submodules
+----------
+
+nlp\_architect.nn.tensorflow.python.keras.callbacks module
+----------------------------------------------------------
+
+.. automodule:: nlp_architect.nn.tensorflow.python.keras.callbacks
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nn.tensorflow.python.keras
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.keras.utils.rst b/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.keras.utils.rst
new file mode 100644
index 00000000..accdae8e
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.keras.utils.rst
@@ -0,0 +1,22 @@
+nlp\_architect.nn.tensorflow.python.keras.utils package
+=======================================================
+
+Submodules
+----------
+
+nlp\_architect.nn.tensorflow.python.keras.utils.layer\_utils module
+-------------------------------------------------------------------
+
+.. automodule:: nlp_architect.nn.tensorflow.python.keras.utils.layer_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nn.tensorflow.python.keras.utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.rst b/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.rst
new file mode 100644
index 00000000..5f868bac
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nn.tensorflow.python.rst
@@ -0,0 +1,17 @@
+nlp\_architect.nn.tensorflow.python package
+===========================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.nn.tensorflow.python.keras
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nn.tensorflow.python
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nn.tensorflow.rst b/docs-source/source/generated_api/nlp_architect.nn.tensorflow.rst
new file mode 100644
index 00000000..3b1921c3
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nn.tensorflow.rst
@@ -0,0 +1,17 @@
+nlp\_architect.nn.tensorflow package
+====================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.nn.tensorflow.python
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nn.tensorflow
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nn.torch.data.rst b/docs-source/source/generated_api/nlp_architect.nn.torch.data.rst
new file mode 100644
index 00000000..29e6a077
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nn.torch.data.rst
@@ -0,0 +1,22 @@
+nlp\_architect.nn.torch.data package
+====================================
+
+Submodules
+----------
+
+nlp\_architect.nn.torch.data.dataset module
+-------------------------------------------
+
+.. automodule:: nlp_architect.nn.torch.data.dataset
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nn.torch.data
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nn.torch.layers.rst b/docs-source/source/generated_api/nlp_architect.nn.torch.layers.rst
new file mode 100644
index 00000000..302c64dc
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nn.torch.layers.rst
@@ -0,0 +1,22 @@
+nlp\_architect.nn.torch.layers package
+======================================
+
+Submodules
+----------
+
+nlp\_architect.nn.torch.layers.crf module
+-----------------------------------------
+
+.. automodule:: nlp_architect.nn.torch.layers.crf
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nn.torch.layers
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nn.torch.modules.rst b/docs-source/source/generated_api/nlp_architect.nn.torch.modules.rst
new file mode 100644
index 00000000..31702a61
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nn.torch.modules.rst
@@ -0,0 +1,22 @@
+nlp\_architect.nn.torch.modules package
+=======================================
+
+Submodules
+----------
+
+nlp\_architect.nn.torch.modules.embedders module
+------------------------------------------------
+
+.. automodule:: nlp_architect.nn.torch.modules.embedders
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nn.torch.modules
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.nn.torch.rst b/docs-source/source/generated_api/nlp_architect.nn.torch.rst
new file mode 100644
index 00000000..e7bd6d02
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.nn.torch.rst
@@ -0,0 +1,39 @@
+nlp\_architect.nn.torch package
+===============================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.nn.torch.data
+ nlp_architect.nn.torch.layers
+ nlp_architect.nn.torch.modules
+
+Submodules
+----------
+
+nlp\_architect.nn.torch.distillation module
+-------------------------------------------
+
+.. automodule:: nlp_architect.nn.torch.distillation
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.nn.torch.quantization module
+-------------------------------------------
+
+.. automodule:: nlp_architect.nn.torch.quantization
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.nn.torch
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.pipelines.rst b/docs-source/source/generated_api/nlp_architect.pipelines.rst
new file mode 100644
index 00000000..ff11f869
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.pipelines.rst
@@ -0,0 +1,30 @@
+nlp\_architect.pipelines package
+================================
+
+Submodules
+----------
+
+nlp\_architect.pipelines.spacy\_bist module
+-------------------------------------------
+
+.. automodule:: nlp_architect.pipelines.spacy_bist
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.pipelines.spacy\_np\_annotator module
+----------------------------------------------------
+
+.. automodule:: nlp_architect.pipelines.spacy_np_annotator
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.pipelines
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.procedures.rst b/docs-source/source/generated_api/nlp_architect.procedures.rst
new file mode 100644
index 00000000..433ee8f0
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.procedures.rst
@@ -0,0 +1,45 @@
+nlp\_architect.procedures package
+=================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.procedures.transformers
+
+Submodules
+----------
+
+nlp\_architect.procedures.procedure module
+------------------------------------------
+
+.. automodule:: nlp_architect.procedures.procedure
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.procedures.registry module
+-----------------------------------------
+
+.. automodule:: nlp_architect.procedures.registry
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.procedures.token\_tagging module
+-----------------------------------------------
+
+.. automodule:: nlp_architect.procedures.token_tagging
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.procedures
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.procedures.transformers.rst b/docs-source/source/generated_api/nlp_architect.procedures.transformers.rst
new file mode 100644
index 00000000..39ae7dbd
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.procedures.transformers.rst
@@ -0,0 +1,38 @@
+nlp\_architect.procedures.transformers package
+==============================================
+
+Submodules
+----------
+
+nlp\_architect.procedures.transformers.base module
+--------------------------------------------------
+
+.. automodule:: nlp_architect.procedures.transformers.base
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.procedures.transformers.glue module
+--------------------------------------------------
+
+.. automodule:: nlp_architect.procedures.transformers.glue
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.procedures.transformers.seq\_tag module
+------------------------------------------------------
+
+.. automodule:: nlp_architect.procedures.transformers.seq_tag
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.procedures.transformers
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.server.angular-ui.rst b/docs-source/source/generated_api/nlp_architect.server.angular-ui.rst
new file mode 100644
index 00000000..91608085
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.server.angular-ui.rst
@@ -0,0 +1,10 @@
+nlp\_architect.server.angular\-ui package
+=========================================
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.server.angular-ui
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.server.rst b/docs-source/source/generated_api/nlp_architect.server.rst
new file mode 100644
index 00000000..ceee75a0
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.server.rst
@@ -0,0 +1,37 @@
+nlp\_architect.server package
+=============================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.server.angular-ui
+
+Submodules
+----------
+
+nlp\_architect.server.serve module
+----------------------------------
+
+.. automodule:: nlp_architect.server.serve
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.server.service module
+------------------------------------
+
+.. automodule:: nlp_architect.server.service
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.server
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.solutions.absa_solution.rst b/docs-source/source/generated_api/nlp_architect.solutions.absa_solution.rst
new file mode 100644
index 00000000..70e800e8
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.solutions.absa_solution.rst
@@ -0,0 +1,38 @@
+nlp\_architect.solutions.absa\_solution package
+===============================================
+
+Submodules
+----------
+
+nlp\_architect.solutions.absa\_solution.sentiment\_solution module
+------------------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.absa_solution.sentiment_solution
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.solutions.absa\_solution.ui module
+-------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.absa_solution.ui
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.solutions.absa\_solution.utils module
+----------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.absa_solution.utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.solutions.absa_solution
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.solutions.rst b/docs-source/source/generated_api/nlp_architect.solutions.rst
new file mode 100644
index 00000000..aa23b440
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.solutions.rst
@@ -0,0 +1,31 @@
+nlp\_architect.solutions package
+================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.solutions.absa_solution
+ nlp_architect.solutions.set_expansion
+ nlp_architect.solutions.trend_analysis
+
+Submodules
+----------
+
+nlp\_architect.solutions.start\_ui module
+-----------------------------------------
+
+.. automodule:: nlp_architect.solutions.start_ui
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.solutions
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.solutions.set_expansion.rst b/docs-source/source/generated_api/nlp_architect.solutions.set_expansion.rst
new file mode 100644
index 00000000..4bed0a22
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.solutions.set_expansion.rst
@@ -0,0 +1,45 @@
+nlp\_architect.solutions.set\_expansion package
+===============================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.solutions.set_expansion.ui
+
+Submodules
+----------
+
+nlp\_architect.solutions.set\_expansion.expand\_server module
+-------------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.set_expansion.expand_server
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.solutions.set\_expansion.prepare\_data module
+------------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.set_expansion.prepare_data
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.solutions.set\_expansion.set\_expand module
+----------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.set_expansion.set_expand
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.solutions.set_expansion
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.solutions.set_expansion.ui.rst b/docs-source/source/generated_api/nlp_architect.solutions.set_expansion.ui.rst
new file mode 100644
index 00000000..569776bb
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.solutions.set_expansion.ui.rst
@@ -0,0 +1,30 @@
+nlp\_architect.solutions.set\_expansion.ui package
+==================================================
+
+Submodules
+----------
+
+nlp\_architect.solutions.set\_expansion.ui.main module
+------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.set_expansion.ui.main
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.solutions.set\_expansion.ui.settings module
+----------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.set_expansion.ui.settings
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.solutions.set_expansion.ui
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.solutions.trend_analysis.rst b/docs-source/source/generated_api/nlp_architect.solutions.trend_analysis.rst
new file mode 100644
index 00000000..e920a0b1
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.solutions.trend_analysis.rst
@@ -0,0 +1,53 @@
+nlp\_architect.solutions.trend\_analysis package
+================================================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.solutions.trend_analysis.ui
+
+Submodules
+----------
+
+nlp\_architect.solutions.trend\_analysis.np\_scorer module
+----------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.trend_analysis.np_scorer
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.solutions.trend\_analysis.scoring\_utils module
+--------------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.trend_analysis.scoring_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.solutions.trend\_analysis.topic\_extraction module
+-----------------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.trend_analysis.topic_extraction
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.solutions.trend\_analysis.trend\_analysis module
+---------------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.trend_analysis.trend_analysis
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.solutions.trend_analysis
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.solutions.trend_analysis.ui.rst b/docs-source/source/generated_api/nlp_architect.solutions.trend_analysis.ui.rst
new file mode 100644
index 00000000..cd79a479
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.solutions.trend_analysis.ui.rst
@@ -0,0 +1,22 @@
+nlp\_architect.solutions.trend\_analysis.ui package
+===================================================
+
+Submodules
+----------
+
+nlp\_architect.solutions.trend\_analysis.ui.main module
+-------------------------------------------------------
+
+.. automodule:: nlp_architect.solutions.trend_analysis.ui.main
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.solutions.trend_analysis.ui
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.utils.resources.rst b/docs-source/source/generated_api/nlp_architect.utils.resources.rst
new file mode 100644
index 00000000..e3718b5a
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.utils.resources.rst
@@ -0,0 +1,10 @@
+nlp\_architect.utils.resources package
+======================================
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.utils.resources
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect.utils.rst b/docs-source/source/generated_api/nlp_architect.utils.rst
new file mode 100644
index 00000000..8b505bdc
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect.utils.rst
@@ -0,0 +1,101 @@
+nlp\_architect.utils package
+============================
+
+Subpackages
+-----------
+
+.. toctree::
+
+ nlp_architect.utils.resources
+
+Submodules
+----------
+
+nlp\_architect.utils.ansi2html module
+-------------------------------------
+
+.. automodule:: nlp_architect.utils.ansi2html
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.utils.embedding module
+-------------------------------------
+
+.. automodule:: nlp_architect.utils.embedding
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.utils.ensembler module
+-------------------------------------
+
+.. automodule:: nlp_architect.utils.ensembler
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.utils.generic module
+-----------------------------------
+
+.. automodule:: nlp_architect.utils.generic
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.utils.io module
+------------------------------
+
+.. automodule:: nlp_architect.utils.io
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.utils.metrics module
+-----------------------------------
+
+.. automodule:: nlp_architect.utils.metrics
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.utils.mrc\_utils module
+--------------------------------------
+
+.. automodule:: nlp_architect.utils.mrc_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.utils.string\_utils module
+-----------------------------------------
+
+.. automodule:: nlp_architect.utils.string_utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.utils.testing module
+-----------------------------------
+
+.. automodule:: nlp_architect.utils.testing
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+nlp\_architect.utils.text module
+--------------------------------
+
+.. automodule:: nlp_architect.utils.text
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+
+Module contents
+---------------
+
+.. automodule:: nlp_architect.utils
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/docs-source/source/generated_api/nlp_architect_api_index.rst b/docs-source/source/generated_api/nlp_architect_api_index.rst
new file mode 100644
index 00000000..5111f2a0
--- /dev/null
+++ b/docs-source/source/generated_api/nlp_architect_api_index.rst
@@ -0,0 +1,17 @@
+``nlp\_architect`` package
+==========================
+
+.. toctree::
+
+ nlp_architect.api
+ nlp_architect.cli
+ nlp_architect.common
+ nlp_architect.data
+ nlp_architect.models
+ nlp_architect.nlp
+ nlp_architect.nn
+ nlp_architect.pipelines
+ nlp_architect.procedures
+ nlp_architect.server
+ nlp_architect.solutions
+ nlp_architect.utils
diff --git a/docs-source/source/index.rst b/docs-source/source/index.rst
index 5dc71b21..2e9ea0c8 100755
--- a/docs-source/source/index.rst
+++ b/docs-source/source/index.rst
@@ -21,12 +21,10 @@
:hidden:
:maxdepth: 1
- Home
+ quick_start.rst
installation.rst
publications.rst
Jupyter Tutorials
- developer_guide.rst
- REST Server
Model Zoo
.. toctree::
@@ -34,23 +32,23 @@
:maxdepth: 1
:caption: NLP/NLU Models
- Aspect Based Sentiment Analysis
- chunker.rst
- ner_crf.rst
- intent.rst
- np_segmentation.rst
- bist_parser.rst
- word_sense.rst
- np2vec.rst
- supervised_sentiment.rst
- reading_comprehension.rst
- memn2n.rst
- TCN Language Model
- Unsupervised Crosslingual Embeddings
- Cross Document Co-Reference
- Semantic Relation Identification
- Sparse Neural Machine Translation
+ Sequence Tagging
+ Sentiment Analysis
+ Dependency Parsing
+ Intent Extraction
+ Language Models
+ Information Extraction
+ Transformers
+ Additional Models
+
+.. toctree::
+ :hidden:
+ :maxdepth: 1
+ :caption: Optimized Models
+
Quantized BERT
+ Transformers Distillation
+ Sparse Neural Machine Translation
.. toctree::
:hidden:
@@ -61,19 +59,21 @@
Set Expansion
Trend Analysis
-.. toctree::
- :hidden:
- :maxdepth: 1
- :caption: Pipelines
+.. .. toctree::
+.. :hidden:
+.. :maxdepth: 1
+.. :caption: Pipelines
- spacy_bist.rst
- spacy_np_annotator.rst
+.. spacy_bist.rst
+.. spacy_np_annotator.rst
.. toctree::
:hidden:
:maxdepth: 1
:caption: For Developers
- api.rst
+ nlp_architect API
+ REST Server
+ developer_guide.rst
.. _https://github.com/NervanaSystems/nlp-architect: https://github.com/NervanaSystems/nlp-architect
diff --git a/docs-source/source/information_extraction.rst b/docs-source/source/information_extraction.rst
new file mode 100644
index 00000000..deb30d08
--- /dev/null
+++ b/docs-source/source/information_extraction.rst
@@ -0,0 +1,37 @@
+.. ---------------------------------------------------------------------------
+.. 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.
+.. ---------------------------------------------------------------------------
+
+======================
+Information Extraction
+======================
+
+.. include:: np2vec.rst
+
+----
+
+.. include:: cross_doc_coref.rst
+
+----
+
+.. include:: identifying_semantic_relation.rst
+
+----
+
+.. include:: np_segmentation.rst
+
+----
+
+.. include:: word_sense.rst
diff --git a/docs-source/source/installation.rst b/docs-source/source/installation.rst
index f913d795..0cf0626f 100644
--- a/docs-source/source/installation.rst
+++ b/docs-source/source/installation.rst
@@ -35,11 +35,16 @@ Before installing the library make sure you has the most recent packages listed
pkg-config, pkg-config, Retrieves information about installed libraries
.. note::
- The default installation of NLP Architect use CPU-based binaries of all deep learning frameworks. Intel Optimized MKL-DNN binaries will be installed if a Linux is detected. GPU backed is supported online on Linux and if a GPU is present. See details below for instructions on how to install each backend.
+ The default installation of NLP Architect use CPU-based binaries of all deep learning frameworks. Intel Optimized MKL-DNN binaries will be installed if a Linux is detected. GPU backend on Linux will install Tensorflow with MKL-DNN and if a GPU is present. See details below for instructions on how to install each backend.
+
+.. note::
+
+ For specific installation of backends of Tensorflow or PyTorch (CPU/MKL/GPU) we recommend installing NLP Architect and then installing the desired package of framework.
Installation
============
+
Prerequisites
-------------
@@ -121,47 +126,3 @@ Using `pip`
.. code:: bash
pip install -U nlp-architect
-
-======
-
-Compiling Intel® optimized Tensorflow with MKL-DNN
-==================================================
-
-NLP Architect supports MKL-DNN flavor of Tensorflow out of the box, however, if the user wishes to compile Tensorflow we provide instructions below.
-
-Tensorflow has a guide `guide `_ for compiling and installing Tensorflow with with MKL-DNN optimization. Make sure to install all required tools: bazel and python development dependencies.
-
-Alternatively, follow the instructions below to compile and install the latest version of Tensorflow with MKL-DNN:
-
-* Clone Tensorflow repository from GitHub:
-
- .. code::
-
- git clone https://github.com/tensorflow/tensorflow
- cd tensorflow
-
-* Configure Tensorflow for compilation:
-
- .. code::
-
- ./configure
-
-* Compile Tensorflow with MKL-DNN:
-
- .. code::
-
- bazel build --config=mkl --config=opt //tensorflow/tools/pip_package:build_pip_package
-
-* Create pip package in ``/tmp/tensorflow_pkg``:
-
- .. code::
-
- bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
-
-* Install Tensorflow pip package:
-
- .. code::
-
- pip install .whl
-
-* Refer to `this `_ guide for specific configuration to get optimal performance when running your model.
diff --git a/docs-source/source/lm.rst b/docs-source/source/lm.rst
new file mode 100644
index 00000000..fe897635
--- /dev/null
+++ b/docs-source/source/lm.rst
@@ -0,0 +1,21 @@
+.. ---------------------------------------------------------------------------
+.. 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.
+.. ---------------------------------------------------------------------------
+
+===============
+Language Models
+===============
+
+.. include:: tcn.rst
\ No newline at end of file
diff --git a/docs-source/source/main.rst b/docs-source/source/main.rst
index d5335a7e..e04bdc6b 100644
--- a/docs-source/source/main.rst
+++ b/docs-source/source/main.rst
@@ -14,69 +14,65 @@
.. limitations under the License.
.. ---------------------------------------------------------------------------
+==============================
NLP Architect by Intel® AI Lab
-###############################
+==============================
-NLP Architect is an open-source Python library for exploring the state-of-the-art deep learning topologies and techniques for natural language processing and natural
-language understanding. It is intended to be a platform for future research and
-collaboration.
+NLP Architect is an open source Python library for exploring state-of-the-art deep learning topologies and techniques for optimizing Natural Language Processing and Natural Language Understanding neural network.
The library includes our past and ongoing NLP research and development efforts as part of Intel AI Lab.
NLP Architect can be downloaded from Github: https://github.com/NervanaSystems/nlp-architect
-Library Overview
-================
-
-Research driven NLP/NLU models
-------------------------------
-The library contains state-of-art and novel NLP and NLU models in a variety of topics:
-
-- Dependency parsing
-- Intent detection and Slot tagging model for Intent based applications
-- Memory Networks for goal-oriented dialog
-- Noun phrase embedding vectors model
-- Noun phrase semantic segmentation
-- Named Entity Recognition
-- Word Chunking
-- Reading comprehension
-- Language modeling using Temporal Convolution Network
-- Unsupervised Crosslingual Word Embedding
-- Aspect Based Sentiment Analysis
-- Supervised sentiment analysis
-- Sparse and quantized neural machine translation
-- Relation Identification and cross document coreference
-
-.. include:: _quick_install.rst
-
-How can NLP Architect be used
-=============================
-
-- Train models using provided algorithms, reference datasets and configurations
-- Train models using your own data
-- Create new/extend models based on existing models or topologies
-- Explore how deep learning models tackle various NLP tasks
-- Experiment and optimize state-of-the-art deep learning algorithms
-- integrate modules and utilities from the library to solutions
-
-Deep Learning frameworks
-------------------------
-Because of the current research nature of the library, several open source deep learning frameworks are used in this repository including:
-
-- Tensorflow_ or `Intel-Optimized TensorFlow`_
-- Dynet_
-
-Overtime the list of models and frameworks included in this space will change, though all generally run with Python 3.6+
-
-Using the Models
-----------------
-Each of the models includes a comprehensive description on algorithms, network topologies, reference dataset descriptions and loader, and evaluation results. Overtime the list of models included in this space will grow.
-
-Contributing to the library
----------------------------
-We welcome collaboration, suggestions, and critiques. For information on how to become a developer
-on this project, please see the :doc:`developer guide `.
+Overview
+========
+NLP Architect is designed to be flexible for adding new models, neural network components, data handling methods and for easy training and running models.
+
+Features:
+
+* Core NLP models used in many NLP tasks and useful in many NLP applications
+* Novel NLU models showcasing novel *topologies* and *techniques*
+* **Optimized NLP/NLU models** showcasing different optimization algorithms on neural NLP/NLU models
+* Model-oriented design:
+
+ * Train and run models from command-line.
+ * API for using models for inference in python.
+ * Procedures to define custom processes for training, inference or anything related to processing.
+ * CLI sub-system for running procedures
+
+* Based on the following Deep Learning frameworks:
+
+ * TensorFlow
+ * PyTorch
+ * Intel-Optimized TensorFlow with MKL-DNN
+ * Dynet
+
+* Essential utilities for working with NLP models - Text/String pre-processing, IO, data-manipulation, metrics, embeddings.
+* Plug-able REST API server to serve models via REST API
+
+
+Library design philosophy
+=========================
+
+NLP Architect is a model-oriented library designed to showcase novel and different neural network optimizations. The library contains NLP/NLU related models per task, different neural network topologies (which are used in models), procedures for simplifying workflows in the library, pre-defined data processors and dataset loaders and misc utilities. The library is designed to be a tool for model development: data pre-process, build model, train, validate, infer, save or load a model.
+
+The main design guidelines are:
+
+* Deep Learning framework agnostic
+* NLP/NLU models per task
+* Different topologies (moduels) implementations that can be used with models
+* Showcase End-to-End applications (Solutions) utilizing one or more NLP Architect model
+* Generic dataset loaders, textual data processing utilities, and miscellaneous utilities that support NLP model development (loaders, text processors, io, metrics, etc.)
+* ``Procedures`` for defining processes for training, inference, optimization or any kind of elaborate script.
+* Pythonic API for using models for inference
+* REST API servers with ability to serve trained models via HTTP
+* Extensive model documentation and tutorials
+
+Disclaimer
+==========
+
+NLP Architect is an active space of research and development; Throughout future releases new models, solutions, topologies and framework additions and changes will be made. We aim to make sure all models run with Python 3.6+. We encourage researchers and developers to contribute their work into the library.
.. _Tensorflow: https://www.tensorflow.org/
.. _Intel-Optimized TensorFlow: https://software.intel.com/en-us/articles/intel-optimized-tensorflow-wheel-now-available
diff --git a/docs-source/source/model_zoo.rst b/docs-source/source/model_zoo.rst
index a5b04b2a..e435323b 100644
--- a/docs-source/source/model_zoo.rst
+++ b/docs-source/source/model_zoo.rst
@@ -14,8 +14,9 @@
.. limitations under the License.
.. ---------------------------------------------------------------------------
+=======================
NLP Architect Model Zoo
-#######################
+=======================
.. list-table::
:widths: 10 30 10
@@ -25,7 +26,7 @@ NLP Architect Model Zoo
- Description
- Links
* - :doc:`Sparse GNMT `
- - 90% sparse GNMT model and a 2x2 block sparse translating German to English trained on Europarl-v7 [1]_ , Common Crawl and News Commentary 11 datasets
+ - 90% sparse GNMT model and a 2x2 block sparse translating German to English trained on Europarl-v7 [#]_ , Common Crawl and News Commentary 11 datasets
- | `model `_
| `2x2 block sparse model `_
* - :doc:`Intent Extraction `
@@ -49,5 +50,6 @@ NLP Architect Model Zoo
| `params `_
References
-==========
-.. [1] Europarl-v7: A Parallel Corpus for Statistical Machine Translation, Philipp Koehn, MT Summit 2005
\ No newline at end of file
+----------
+
+.. [#] Europarl-v7: A Parallel Corpus for Statistical Machine Translation, Philipp Koehn, MT Summit 2005
diff --git a/docs-source/source/publications.rst b/docs-source/source/publications.rst
index 1bd15483..ec194f76 100644
--- a/docs-source/source/publications.rst
+++ b/docs-source/source/publications.rst
@@ -30,6 +30,8 @@ Blog posts
- `Exploring Term Set Expansion with NLP Architect `_
- `Extracting Semantic Relations using External Knowledge Resources with NLP Architect `_
- `Future Directions for NLP in Commercial Environments `_
+- `Introducing Aspect-Based Sentiment Analysis in NLP Architect `_
+- `Advances in Cross-document Entity and Event Coreference Resolution for NLP `_
Conference Proceedings
diff --git a/docs/_sources/quantized_bert.rst b/docs-source/source/quantized_bert.rst
similarity index 97%
rename from docs/_sources/quantized_bert.rst
rename to docs-source/source/quantized_bert.rst
index ef1b240b..d931810e 100644
--- a/docs/_sources/quantized_bert.rst
+++ b/docs-source/source/quantized_bert.rst
@@ -14,8 +14,9 @@
.. limitations under the License.
.. ---------------------------------------------------------------------------
+==============================================
Quantize BERT with Quantization Aware Training
-##############################################
+==============================================
Overview
========
@@ -38,7 +39,7 @@ to overcome this error. \
In this work we use the quantization scheme and method offered by Jacob et
al [2]_. At the forward pass we use fake quantization to simulate the
quantization error during the forward pass and at the backward pass we estimate
-the fake quantization gradients using Straigh-Through Estimator [3]_.
+the fake quantization gradients using Straight-Through Estimator [3]_.
Results
=======
@@ -121,6 +122,3 @@ References
.. _`Microsoft Research Paraphrase Corpus (MRPC)`: https://www.microsoft.com/en-us/download/details.aspx?id=52398
.. _`GLUE benchmark`: https://gluebenchmark.com/
-
-
-
diff --git a/docs-source/source/quick_start.rst b/docs-source/source/quick_start.rst
new file mode 100644
index 00000000..024e3d97
--- /dev/null
+++ b/docs-source/source/quick_start.rst
@@ -0,0 +1,100 @@
+.. ---------------------------------------------------------------------------
+.. 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.
+.. ---------------------------------------------------------------------------
+
+===========
+Quick start
+===========
+
+Installation
+------------
+
+Make sure to use **Python 3.6+** and a virtual environment.
+
+Using ``pip``
+~~~~~~~~~~~~~
+
+.. code:: bash
+
+ pip install nlp_architect
+
+From source
+~~~~~~~~~~~
+
+.. code:: bash
+
+ git clone https://github.com/NervanaSystems/nlp-architect.git
+ cd nlp-architect
+ pip install -e . # install in development mode
+
+.. note::
+
+ For specific installation of backends of Tensorflow or PyTorch (CPU/MKL/GPU) we recommend installing NLP Architect and then installing the desired package of framework.
+
+Usage
+-----
+
+NLP Architect has the following packages:
+
++---------------------------+-------------------------------------------------------+
+| Package | Description |
++===========================+=======================================================+
+| `nlp_architect.api` | Model API interfaces |
++---------------------------+-------------------------------------------------------+
+| `nlp_architect.common` | Common packages |
++---------------------------+-------------------------------------------------------+
+| `nlp_architect.cli` | Command line module |
++---------------------------+-------------------------------------------------------+
+| `nlp_architect.data` | Datasets, loaders and data processors |
++---------------------------+-------------------------------------------------------+
+| `nlp_architect.models` | NLP, NLU and End-to-End models |
++---------------------------+-------------------------------------------------------+
+| `nlp_architect.nn` | Topology related models and additions (per framework) |
++---------------------------+-------------------------------------------------------+
+| `nlp_architect.pipelines` | End-to-end NLP apps |
++---------------------------+-------------------------------------------------------+
+| `nlp_architect.procedures`| Procedure scripts |
++---------------------------+-------------------------------------------------------+
+| `nlp_architect.server` | API Server and demos UI |
++---------------------------+-------------------------------------------------------+
+| `nlp_architect.solutions` | Solution applications |
++---------------------------+-------------------------------------------------------+
+| `nlp_architect.utils` | Misc. I/O, metric, pre-processing and text utilities |
++---------------------------+-------------------------------------------------------+
+
+
+CLI
+---
+
+NLP Architect comes with a CLI application that helps users run procedures and processes from the library.
+
+.. warning::
+
+ The CLI is in development and some functionality is not complete
+ and will be added in future versions
+
+The list of possible options can be obtained by ``nlp_architect -h``:
+
+``nlp_architect`` commands:
+
+.. code-block:: text
+
+ train Train a model from the library
+ run Run a model from the library
+ process Run a data processor from the library
+ solution Run a solution process from the library
+ serve Server a trained model using REST service
+
+Use ``nlp_architect -h`` for per command usage instructions.
\ No newline at end of file
diff --git a/docs-source/source/sentiment.rst b/docs-source/source/sentiment.rst
new file mode 100644
index 00000000..d9cdc5ad
--- /dev/null
+++ b/docs-source/source/sentiment.rst
@@ -0,0 +1,26 @@
+.. ---------------------------------------------------------------------------
+.. 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.
+.. ---------------------------------------------------------------------------
+
+==================
+Sentiment Analysis
+==================
+
+.. include:: supervised_sentiment.rst
+
+------
+
+.. include:: absa.rst
+
diff --git a/docs-source/source/service.rst b/docs-source/source/service.rst
index 08556f9f..a386c446 100644
--- a/docs-source/source/service.rst
+++ b/docs-source/source/service.rst
@@ -191,5 +191,4 @@ In order to add a new service to the server you need to go over 3 steps:
"" : {"file_name": "", "type": <"core"/"high_level>"}
-
-.. include:: service_deploy.rst
\ No newline at end of file
+.. .. include:: service_deploy.rst
\ No newline at end of file
diff --git a/docs-source/source/static/nlp_arch_theme.css b/docs-source/source/static/nlp_arch_theme.css
new file mode 100644
index 00000000..3bdf2ea3
--- /dev/null
+++ b/docs-source/source/static/nlp_arch_theme.css
@@ -0,0 +1,85 @@
+.rst-content div[class^='highlight'] pre {
+ border: none;
+ background: none;
+ font-family: "Roboto Mono", "Consolas", "Menlo", "Andale Mono WT", "Andale Mono", "Lucida Console", "monospace";
+ }
+
+body, h1, h2, h3, h4, h5, h6, legend {
+ font-family: 'Open Sans', sans-serif;
+ /* background: #ffffff; */
+ font-weight: 400;
+}
+.wy-menu-vertical header, .wy-menu-vertical p.caption {
+ color: #EF4C23;
+ font-weight: 400;
+ font-size: 100%;
+}
+
+.rst-content .toctree-wrapper p.caption {
+ font-family: 'Open Sans', sans-serif;
+ /* background: #ffffff; */
+ font-weight: 300;
+}
+.wy-menu-vertical {
+ font-weight: 300;
+}
+
+.wy-menu-vertical a {
+ color: #d9d9d9;
+}
+
+.wy-menu-vertical li ul li a {
+ font-weight: 300;
+}
+
+.wy-menu-vertical li.on a, .wy-menu-vertical li.current>a {
+ font-weight: 400;
+}
+
+.installation_table label {
+ display: inline;
+}
+
+.wy-table-responsive table td, .wy-table-responsive table th {
+ white-space: inherit;
+}
+
+.wy-nav-content {
+ padding: 1.618em 3.236em;
+ height: 100%;
+ /* max-width: 1000px !important; */
+ margin: 0;
+}
+
+@media screen and (min-width: 767px) {
+
+ .wy-table-responsive table td {
+ /* !important prevents the common CSS stylesheets from overriding
+ this as on RTD they are loaded after this stylesheet */
+ white-space: normal !important;
+ }
+
+ .wy-table-responsive {
+ overflow: visible !important;
+ }
+ }
+
+ .wy-side-nav-search {
+ background-color: #EF4C23;
+ }
+
+ .wy-side-nav-search input[type=text] {
+ border-color: #555;
+ }
+
+ .wy-nav-side {
+ background: #231F20;
+ }
+
+ .wy-menu-vertical a:active {
+ background: #EF4C23;
+ }
+
+.rst-content a:link, .rst-content a:visited, .rst-content a:hover, .rst-content a:active {
+ color: #EF4C23;
+ }
\ No newline at end of file
diff --git a/docs-source/source/static/theme.css b/docs-source/source/static/theme.css
deleted file mode 100644
index d7f92cf1..00000000
--- a/docs-source/source/static/theme.css
+++ /dev/null
@@ -1,55 +0,0 @@
-@media screen and (min-width: 767px) {
-
- .wy-table-responsive table td {
- /* !important prevents the common CSS stylesheets from overriding
- this as on RTD they are loaded after this stylesheet */
- white-space: normal !important;
- }
-
- .wy-table-responsive {
- overflow: visible !important;
- }
-}
-
-.wy-side-nav-search {
- background-color: #0071c5;
-}
-
-.wy-nav-content-wrap {
- background: #ffffff;
-}
-
-.wy-nav-content {
- padding: 1.618em 3.236em;
- height: 100%;
- max-width: 1000px !important;
- margin: 0;
- background: #ffffff;
-}
-
-.wy-nav-side {
- background: #343131;
-}
-
-.rst-content div[class^='highlight'] pre {
- border: none;
- background: none;
- font-family: "Monaco", "Consolas", "Menlo", "Andale Mono WT", "Andale Mono", "Lucida Console", "monospace";
-}
-
-body, h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend {
- font-family: "Lato", "Menlo", "Andale Mono WT", "Andale Mono", "Lucida Console", "monospace";
- background: #ffffff;
-}
-
-.wy-nav-top {
- background: #0071c5;
-}
-
-.installation_table label {
- display: inline;
-}
-
-.wy-table-responsive table td, .wy-table-responsive table th {
- white-space: inherit;
-}
diff --git a/docs-source/source/chunker.rst b/docs-source/source/tagging/chunker.rst
similarity index 98%
rename from docs-source/source/chunker.rst
rename to docs-source/source/tagging/chunker.rst
index 9d3f5e30..b48718dc 100755
--- a/docs-source/source/chunker.rst
+++ b/docs-source/source/tagging/chunker.rst
@@ -14,11 +14,11 @@
.. limitations under the License.
.. ---------------------------------------------------------------------------
-Sequence Chunker
-################
+Word Chunker
+================
Overview
-========
+--------
Phrase chunking is a basic NLP task that consists of tagging parts of a sentence (1 or more tokens)
syntactically, i.e. POS tagging.
@@ -33,7 +33,7 @@ In this example the sentence can be divided into 4 phrases, ``The quick brown fo
are noun phrases, ``jumped`` is a verb phrase and ``over`` is a prepositional phrase.
Dataset
-=======
+-------
We used the CONLL2000_ shared task dataset in our example for training a phrase chunker. More info about the CONLL2000_ shared task can be found here: https://www.clips.uantwerpen.be/conll2000/chunking/. The terms and conditions of the data set license apply. Intel does not grant any rights to the data files. The annotation of the data has been derived from the WSJ corpus by a program written by Sabine Buchholz from Tilburg University, The Netherlands.
@@ -56,7 +56,7 @@ To get the dataset follow these steps:
3. provide ``CONLL2000`` data loader or ``train.py`` sample below the directory containing the files.
Model
-=====
+-----
The sequence chunker is a Tensorflow-keras based model and it is implemented in :py:class:`SequenceChunker ` and comes with several options for creating the topology depending on what input is given (tokens, external word embedding model, topology parameters).
@@ -72,7 +72,7 @@ The model has additional improvements to the model presented in the paper:
The model's embedding vector size and LSTM layer hidden state have equal sizes, the default training optimizer is Adam with default parameters.
Running Modalities
-==================
+------------------
We provide a simple example for training and running inference using the :py:class:`SequenceChunker ` model.
@@ -81,7 +81,8 @@ We provide a simple example for training and running inference using the :py:cla
``examples/chunker/inference.py`` will load a saved model and a given text file with sentences and print the chunks found on the stdout.
Training
---------
+~~~~~~~~
+
Quick train
^^^^^^^^^^^
Train a model with default parameters (use sentence words and default network settings):
@@ -120,7 +121,7 @@ Saving the model after training is done automatically by specifying a model name
* ``chunker_model.params`` - model parameter files (topology parameters, vocabs)
Inference
----------
+~~~~~~~~~
Running inference on a trained model using an input file (text based, each line is a document):
diff --git a/docs-source/source/tagging/ner.rst b/docs-source/source/tagging/ner.rst
new file mode 100644
index 00000000..3fd539a0
--- /dev/null
+++ b/docs-source/source/tagging/ner.rst
@@ -0,0 +1,139 @@
+.. ---------------------------------------------------------------------------
+.. 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.
+.. ---------------------------------------------------------------------------
+
+Named Entity Recognition
+========================
+``NeuralTagger``
+----------------
+
+A model for training token tagging tasks, such as NER or POS. ``NeuralTagger`` requires an **embedder** for
+extracting the contextual features of the data, see embedders below.
+The model uses either a *Softmax* or a *Conditional Random Field* classifier to classify the words into
+correct labels. Implemented in PyTorch and support only PyTorch based embedders.
+
+See :py:class:`NeuralTagger ` for complete documentation of model methods.
+
+
+.. autoclass:: nlp_architect.models.tagging.NeuralTagger
+
+``CNNLSTM``
+-----------
+
+This module is a embedder based on `End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRF`_ by Ma and Hovy (2016).
+The model uses CNNs to embed character representation of words in a sentence and stacked bi-direction LSTM layers to embed the context of words and characters.
+
+.. figure:: ../assets/cnn-lstm-fig.png
+
+ CNN-LSTM topology (taken from original paper)
+
+
+**Usage**
+
+Use :py:class:`TokenClsProcessor ` for parsing input files for the model. :py:class:`NeuralTagger ` for training/loading a trained model.
+
+Training a model::
+
+ nlp_architect train tagger --model_type cnn-lstm --data_dir --output_dir
+
+See ```nlp_architect train tagger -h``` for full list of options for training.
+
+Running inference on trained model::
+
+ nlp_architect run tagger --data_file --model_dir --output_dir