Skip to content

Commit d2a72cc

Browse files
authored
Merge branch 'master' into patch-1
2 parents 2736df9 + 06843b9 commit d2a72cc

23 files changed

+216
-56
lines changed

.typo-ci.yml

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
# This is a sample .typo-ci.yml file, it's used to configure how Typo CI will behave.
2+
# Add it to the root of your project and push it to github.
3+
---
4+
5+
# What language dictionaries should it use? Currently Typo CI supports:
6+
# de
7+
# en
8+
# en_GB
9+
# es
10+
# fr
11+
# it
12+
# pt
13+
# pt_BR
14+
dictionaries:
15+
- en
16+
17+
# # Any files/folders we should ignore?
18+
excluded_files:
19+
- "*.py"
20+
- "*.css"
21+
- "*.yml"
22+
- "*.html"
23+
- "*.json"
24+
- "*.md"
25+
- "CHANGELOG.rst"
26+
- "CODE_OF_CONDUCT.md"
27+
- "CONTRIBUTING.md"
28+
- "Dockerfile"
29+
- "LICENSE.txt"
30+
- "Makefile"
31+
- "NOTICE"
32+
- "README.md"
33+
- "binder"
34+
- "changelog"
35+
- "cloudbuild.yaml"
36+
- "data"
37+
- "docker"
38+
- "examples"
39+
- "poetry.lock"
40+
- "pyproject.toml"
41+
- "rasa"
42+
- "rasa_core"
43+
- "rasa_nlu"
44+
- "scripts"
45+
- "secrets.tar.enc"
46+
- "setup.cfg"
47+
- "tests"
48+
- ".codeclimate.yml"
49+
- ".coveragerc"
50+
- ".deepsource.toml"
51+
- ".dockerignore"
52+
- ".env"
53+
- ".git"
54+
- ".gitattributes"
55+
- ".github"
56+
- ".gitignore"
57+
- ".pre-commit-config.yaml"
58+
- ".typo-ci.yml"
59+
60+
# # Any typos we should ignore?
61+
excluded_words:
62+
- analytics
63+
- asyncio
64+
- bot
65+
- bot's
66+
- cmdline
67+
- conveRT
68+
- ConveRTFeaturizer
69+
- ConveRTTokenizer
70+
- crfsuite
71+
- custom-nlg-service
72+
- daksh
73+
- db's
74+
- deque
75+
- non-latin
76+
- deduplicate
77+
- deduplication
78+
- donath
79+
- matplotlib
80+
- extractor
81+
- fbmessenger
82+
- featurization
83+
- featurized
84+
- featurizer
85+
- featurizers
86+
- featurizes
87+
- featurizing
88+
- forni
89+
- instaclient
90+
- jwt
91+
- jwt's
92+
- jupyter
93+
- jupyterhub
94+
- karpathy
95+
- keras
96+
- knowledgebase
97+
- knowledgebasebot
98+
- linenos
99+
- luis
100+
- matmul
101+
- mattermost
102+
- memoization
103+
- miniconda
104+
- mitie
105+
- mitie's
106+
- dataset
107+
- mongod
108+
- mrkdown
109+
- mrkdwn
110+
- mymodelname
111+
- myuser
112+
- numpy
113+
- networkx
114+
- nlu
115+
- nlu's
116+
- perceptron
117+
- pika
118+
- pika's
119+
- jieba
120+
- pretrained
121+
- pycodestyle
122+
- pykwalify
123+
- pymessenger
124+
- pyobject
125+
- python-engineio
126+
- pre
127+
- customizable
128+
- quickstart
129+
- rasa
130+
- rasa's
131+
- readthedocs
132+
- repo
133+
- rst
134+
- sanic
135+
- sanitization
136+
- scipy
137+
- sklearn
138+
- spacy
139+
- ish
140+
- spaCy
141+
- spaCy's
142+
- README
143+
- crf
144+
- backends
145+
- whitespaced
146+
- ngram
147+
- subsampled
148+
- testagent
149+
- tokenize
150+
- tokenized
151+
- tokenization
152+
- tokenizer
153+
- tokenizers
154+
- typoci
155+
- unfeaturized
156+
- unschedule
157+
- wsgi
158+
- ruamel
159+
##
160+
spellcheck_filenames: false

docs/api/event-brokers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ also known as a message broker, to forward Rasa :ref:`events` from the Rasa serv
2222
Format
2323
------
2424

25-
All events are streamed to the broker as serialised dictionaries every time
25+
All events are streamed to the broker as serialized dictionaries every time
2626
the tracker updates its state. An example event emitted from the ``default``
2727
tracker looks like this:
2828

@@ -160,7 +160,7 @@ The code below shows an example on how to instantiate a Kafka producer in you sc
160160
tracker_store = InMemoryTrackerStore(domain=domain, event_broker=kafka_broker)
161161
162162
163-
The host variable can be either a list of brokers adresses or a single one.
163+
The host variable can be either a list of brokers addresses or a single one.
164164
If only one broker address is available, the client will connect to it and
165165
request the cluster Metadata.
166166
Therefore, the remain brokers in the cluster can be discovered
@@ -199,7 +199,7 @@ previously configured in the broker server.
199199
200200
201201
If the clients or the brokers in the kafka cluster are located in different
202-
machines, it's important to use ssl protocal to assure encryption of data and client
202+
machines, it's important to use ssl protocol to assure encryption of data and client
203203
authentication. After generating valid certificates for the brokers and the
204204
clients, the path to the certificate and key generated for the producer must
205205
be provided as arguments, as well as the CA's root certificate.

docs/api/rasa-sdk.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ Details of the ``dispatcher.utter_message()`` method:
116116

117117
.. _custom_session_start:
118118

119-
Customising the session start action
119+
Customizing the session start action
120120
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
121121

122-
The default behaviour of the session start action is to take all existing slots and to
122+
The default behavior of the session start action is to take all existing slots and to
123123
carry them over into the next session. Let's say you do not want to carry over all
124124
slots, but only a user's name and their phone number. To do that, you'd override the
125125
``action_session_start`` with a custom action that might look like this:

docs/api/tracker.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Tracker
1010
.. edit-link::
1111

1212
Trackers maintain the state of a dialogue between the assistant and the user in the form
13-
of conversation sessions. To learn more about how to configure the session behaviour,
13+
of conversation sessions. To learn more about how to configure the session behavior,
1414
check out the docs on :ref:`session_config`.
1515

1616
.. edit-link::

docs/core/domains.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,6 @@ be triggered at the very beginning of conversations).
370370
A session start triggers the default action ``action_session_start``. Its default
371371
implementation moves all existing slots into the new session. Note that all
372372
conversations begin with an ``action_session_start``. Overriding this action could
373-
for instance be used to initialise the tracker with slots from an external API
373+
for instance be used to initialize the tracker with slots from an external API
374374
call, or to start the conversation with a bot message. The docs on
375375
:ref:`custom_session_start` shows you how to do that.

docs/core/knowledge-bases.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ The knowledge base action would detect that the user wants to obtain the value o
401401
If no mention or object was detected by the NER, the action assumes the user is referring to the most recently
402402
mentioned object, "PastaBar".
403403

404-
You can disable this behaviour by setting ``use_last_object_mention`` to ``False`` when initializing the action.
404+
You can disable this behavior by setting ``use_last_object_mention`` to ``False`` when initializing the action.
405405

406406

407407
Customization

docs/core/old-core-change-log.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Fixed
273273
- fixed interactive learning to properly submit executed actions to the action
274274
server
275275
- allow the specification of the policy configuration while using the
276-
visualisation script
276+
visualization script
277277
- use default configuration if no policy configuration is passed
278278
- fixed html delivery from interactive server script (package compatible)
279279
- ``SlackBot`` when created in ``SlackInputChannel`` inherits the
@@ -440,7 +440,7 @@ Added
440440
Fixed
441441
-----
442442
- don't fail if rasa and rest input channels are used together
443-
- wrong paramter name in rocketchat channel methods
443+
- wrong parameter name in rocketchat channel methods
444444
- Software 2.0 link on interactive learning documentation page went to
445445
Tesla's homepage, now it links to Karpathy blogpost
446446

@@ -514,7 +514,7 @@ Changed
514514

515515
Changed
516516
-------
517-
- improved documentation for events (e.g. including json serialisation)
517+
- improved documentation for events (e.g. including json serialization)
518518

519519
Removed
520520
-------
@@ -553,7 +553,7 @@ Added
553553
model metadata
554554
- more emoji support for PY2
555555
- intent confidence support in RegexInterpreter
556-
- added paramter to train script to pull training data from an url instead
556+
- added parameter to train script to pull training data from an url instead
557557
of a stories file
558558
- added new policy: :ref:`embedding_policy` implemented in tensorflow
559559

@@ -797,7 +797,7 @@ Changed
797797

798798
Fixed
799799
-----
800-
- fixed datetime serialisation of reminder event
800+
- fixed datetime serialization of reminder event
801801

802802
[0.8.1] - 2018-02-01
803803
^^^^^^^^^^^^^^^^^^^^
@@ -806,7 +806,7 @@ Fixed
806806
-----
807807
- removed deque to support python 3.5
808808
- Documentation improvements to tutorials
809-
- serialisation of date time value for ``ReminderScheduled`` event
809+
- serialization of date time value for ``ReminderScheduled`` event
810810

811811
.. _corev0-8-0:
812812

@@ -847,7 +847,7 @@ Changed
847847
Fixed
848848
-----
849849
- proper evaluation of stories with checkpoints
850-
- proper visualisation of stories with checkpoints
850+
- proper visualization of stories with checkpoints
851851
- fixed float slot min max value handling
852852
- fixed non integer feature decoding, e.g. used for memoization policy
853853
- properly log to specified file when starting Rasa Core server
@@ -861,7 +861,7 @@ Fixed
861861

862862
Fixed
863863
-----
864-
- visualisation using Networkx version 2.x
864+
- visualization using Networkx version 2.x
865865
- add output about line of failing intent when parsing story files
866866

867867
[0.7.8] - 2017-11-27

docs/core/old-core-migration-guide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ General
3535

3636
Asynchronous First
3737
~~~~~~~~~~~~~~~~~~
38-
- **No more flask.** The flask webserver has been replaced with an asyncronous
38+
- **No more flask.** The flask webserver has been replaced with an asynchronous
3939
webserver called Sanic. If you run the server in production using a wsgi
4040
runner, there are instructions here on how to recreate that with the
4141
sanic webserver:
@@ -126,7 +126,7 @@ Train script
126126
``--fallback_action_name``), specify these in the policy config file instead,
127127
see :ref:`policy_file`
128128

129-
Visualisation script
129+
visualization script
130130
~~~~~~~~~~~~~~~~~~~~
131131

132132
- You **must** pass a policy config flag with ``-c/--config`` now,

docs/core/policies.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ You actually want to teach your policy to **ignore** the dialogue history
118118
when it isn't relevant and just respond with the same action no matter
119119
what happened before.
120120

121-
You can alter this behaviour with the ``--augmentation`` flag.
121+
You can alter this behavior with the ``--augmentation`` flag.
122122
Which allows you to set the ``augmentation_factor``.
123123
The ``augmentation_factor`` determines how many augmented stories are
124124
subsampled during training. The augmented stories are subsampled before training
@@ -214,7 +214,7 @@ It is recommended to use ``state_featurizer=LabelTokenizerSingleStateFeaturizer(
214214
For example, if you set ``dialogue: [256, 128]``, we will add two feed forward layers in front of
215215
the transformer. The vectors of the input tokens (coming from the dialogue) will be passed on to those
216216
layers. The first layer will have an output dimension of 256 and the second layer will have an output
217-
dimension of 128. If an empty list is used (default behaviour), no feed forward layer will be
217+
dimension of 128. If an empty list is used (default behavior), no feed forward layer will be
218218
added.
219219
Make sure to use only positive integer values. Usually, numbers of power of two are used.
220220
Also, it is usual practice to have decreasing values in the list: next value is smaller or equal to the
@@ -362,7 +362,7 @@ It is recommended to use ``state_featurizer=LabelTokenizerSingleStateFeaturizer(
362362

363363
There is an option to use linearly increasing batch size. The idea comes from
364364
`<https://arxiv.org/abs/1711.00489>`_. In order to do it pass a list to ``batch_size``, e.g.
365-
``"batch_size": [8, 32]`` (default behaviour). If constant ``batch_size`` is required, pass an ``int``,
365+
``"batch_size": [8, 32]`` (default behavior). If constant ``batch_size`` is required, pass an ``int``,
366366
e.g. ``"batch_size": 8``.
367367

368368
.. note::

docs/core/reminders-and-external-events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ External Events
109109
---------------
110110

111111
Let's say you want to send a message from some other device to change the course of an ongoing conversation.
112-
For example, some moisture-sensor attached to a Raspberry Pi should inform your personal assistant that your favourite
112+
For example, some moisture-sensor attached to a Raspberry Pi should inform your personal assistant that your favorite
113113
plant needs watering, and your assistant should then relay this message to you.
114114

115115
To do this, your Raspberry Pi needs to send a message to the `trigger_intent endpoint <../../api/http-api/#operation/triggerConversationIntent>`_ of your conversation.

0 commit comments

Comments
 (0)