Skip to content

Commit

Permalink
Merge 558ae18 into a39bc32
Browse files Browse the repository at this point in the history
  • Loading branch information
tabergma committed Mar 20, 2020
2 parents a39bc32 + 558ae18 commit 811c3fb
Show file tree
Hide file tree
Showing 8 changed files with 993 additions and 933 deletions.
15 changes: 15 additions & 0 deletions docs/_static/css/custom.css
Expand Up @@ -6,3 +6,18 @@ dl.glossary dt {
dl.glossary dd {
margin-top: 2px;
}

.toggle .header {
display: block;
clear: both;
}

.toggle .header:after {
content: "▶ show";
cursor: pointer;
}

.toggle .header.open:after {
content: "▼ hide";
cursor: pointer;
}
14 changes: 14 additions & 0 deletions docs/_templates/page.html
@@ -0,0 +1,14 @@
{% extends "!page.html" %}

{% block footer %}
<script type="text/javascript">
$(document).ready(function() {
$(".toggle > *").hide();
$(".toggle .header").show();
$(".toggle .header").click(function() {
$(this).parent().children().not(".header").toggle(400);
$(this).parent().children(".header").toggleClass("open");
})
});
</script>
{% endblock %}
372 changes: 165 additions & 207 deletions docs/core/policies.rst

Large diffs are not rendered by default.

1,518 changes: 795 additions & 723 deletions docs/nlu/components.rst

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/nlu/entity-extraction.rst
Expand Up @@ -26,6 +26,8 @@ Component Requires Model Notes
``DucklingHTTPExtractor`` running duckling context-free grammar provides pre-trained entities
``MitieEntityExtractor`` MITIE structured SVM good for training custom entities
``EntitySynonymMapper`` existing entities N/A maps known synonyms
``DIETClassifier`` conditional random field
on top of a transformer good for training custom entities
========================= ================= ======================== =================================

If your pipeline includes one or more of the components above,
Expand Down
2 changes: 1 addition & 1 deletion rasa/nlu/classifiers/sklearn_intent_classifier.py
Expand Up @@ -7,7 +7,7 @@
import numpy as np

import rasa.utils.io as io_utils
from rasa.constants import DOCS_URL_TRAINING_DATA_NLU, DOCS_URL_MIGRATION_GUIDE
from rasa.constants import DOCS_URL_TRAINING_DATA_NLU
from rasa.nlu.classifiers import LABEL_RANKING_LENGTH
from rasa.nlu.featurizers.featurizer import DenseFeaturizer
from rasa.nlu.components import Component
Expand Down
Expand Up @@ -73,7 +73,7 @@ def required_components(cls) -> List[Type[Component]]:
"max_features": None, # int or None
# if convert all characters to lowercase
"lowercase": True, # bool
# handling Out-Of-Vacabulary (OOV) words
# handling Out-Of-Vocabulary (OOV) words
# will be converted to lowercase if lowercase is True
"OOV_token": None, # string or None
"OOV_words": [], # string or list of strings
Expand Down
1 change: 0 additions & 1 deletion rasa/nlu/tokenizers/convert_tokenizer.py
Expand Up @@ -3,7 +3,6 @@
from rasa.nlu.tokenizers.tokenizer import Token
from rasa.nlu.tokenizers.whitespace_tokenizer import WhitespaceTokenizer
from rasa.nlu.training_data import Message
from rasa.nlu.constants import MESSAGE_ATTRIBUTES, TOKENS_NAMES
import rasa.utils.train_utils as train_utils
import tensorflow as tf

Expand Down

0 comments on commit 811c3fb

Please sign in to comment.