monf преди 8 години
родител
ревизия
6d08fe7c55
променени са 3 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 2 2
      Docs/contributing.md
  2. 2 2
      Docs/signals.md
  3. 2 2
      kalliope/core/NeuronModule.py

+ 2 - 2
Docs/contributing.md

@@ -87,7 +87,7 @@ the message variable must be a Dict of variable:values where variables can be de
     class Myneuron(NeuronModule):
     def __init__(self, **kwargs):
         super(Myneuron, self).__init__(**kwargs)
-        # ge args from the neuron configuration
+        # the args from the neuron configuration
         self.arg1 = kwargs.get('arg1', None)
         self.arg2 = kwargs.get('arg2', None)
 
@@ -113,7 +113,7 @@ the message variable must be a Dict of variable:values where variables can be de
 
 ##### Constraints
 
-1. The Neuron must (as much as possible) ensure the i18n. This means that they should __not manage a specific languages__ inside its own logic.
+1. The Neuron must (as much as possible) ensure the i18n. This means that they should __not manage a specific language__ inside its own logic.
 Only [Synapse](brain.md) by the use of [Order](signals.md) must interact with the languages. This allow a Neuron to by reused by anyone, speaking any language.
 
 1. Respect [PEP 257](https://www.python.org/dev/peps/pep-0257/) -- Docstring conventions. For each class or method add a description with summary, input parameter, returned parameter,  type of parameter

+ 2 - 2
Docs/signals.md

@@ -58,9 +58,9 @@ In this example, both word "Amy" and "Winehouse" will be passed as an unique arg
 If you want to send more than one argument, you must split your argument with a word that Kalliope will use to recognise the start and the end of each arguments.
 For example:  "give me the weather at {{ location }} for {{ date }}"
 And the order would be: "give me the weather at Paris for tomorrow"
-And so, it will word too with: "give me the weather at St-Pierre de Chartreuse for tomorrow"
+And so, it will work too with: "give me the weather at St-Pierre de Chartreuse for tomorrow"
 
-See the **input values** section of the [neuron documentation](neurons) to know how to send argument to a neuron.
+See the **input values** section of the [neuron documentation](neurons) to know how to send arguments to a neuron.
 
 >**Important note:** The following syntax cannot be used: "<sentence> {{ arg_name }} {{ arg_name2 }}" as Kalliope cannot know when a block starts and when it finishes.
 

+ 2 - 2
kalliope/core/NeuronModule.py

@@ -144,7 +144,7 @@ class NeuronModule(object):
         """
         returned_message = None
 
-        # the user choose a say_template option
+        # the user chooses a say_template option
         if self.say_template is not None:
             returned_message = self._get_say_template(self.say_template, message_dict)
 
@@ -152,7 +152,7 @@ class NeuronModule(object):
         reload(sys)
         sys.setdefaultencoding('utf-8')
 
-        # the user choose a file_template option
+        # the user chooses a file_template option
         if self.file_template is not None:  # the user choose a file_template option
             returned_message = self._get_file_template(self.file_template, message_dict)