diff --git a/sml/include/sml.h b/sml/include/sml.h index a2e50eb..028fb5f 100644 --- a/sml/include/sml.h +++ b/sml/include/sml.h @@ -203,7 +203,7 @@ struct sml_variables_list; typedef bool (*sml_read_state_cb) (struct sml_object *sml, void *data); /** - * @brief Called everytime the SML made a prediction. + * @brief Called every time the SML made a prediction. * @param sml The ::sml_object Object. * @param changed A ::sml_variables_list with the predicted variables. * @param data User defined data. diff --git a/sml/include/sml_ann.h b/sml/include/sml_ann.h index fc078a3..8c6258b 100644 --- a/sml/include/sml_ann.h +++ b/sml/include/sml_ann.h @@ -109,12 +109,12 @@ extern "C" { * of their training. In order to reduce this problem the following methods were implemented. * * The first method is called pseudo-rehearsal (the default one), in this method only one neural network is created - * and everytime it needs be retrained, random inputs are generated and + * and every time it needs be retrained, random inputs are generated and * feed to the network. The corresponding outputs are stored and used to train the neural network * with the new collected data. * * The second method of operation consists in creating N neural networks, - * that are very specific for each pattern that SML encounters and everytime the SML wants to make a prediction, + * that are very specific for each pattern that SML encounters and every time the SML wants to make a prediction, * it will choose which is the best neural network for the current situation. * It is possible to set a limit of how many neural networks SML will have in memory, this limit * can be set with ::sml_ann_set_cache_max_size. This cache implements the LRU algorithm so, diff --git a/sml/include/sml_fuzzy.h b/sml/include/sml_fuzzy.h index 49eb86b..644223c 100644 --- a/sml/include/sml_fuzzy.h +++ b/sml/include/sml_fuzzy.h @@ -277,7 +277,7 @@ bool sml_fuzzy_output_set_accumulation(struct sml_object *sml, struct sml_variab * - triange from 3.4 to 4.6, with peak at 4 * - ramp from 4.4 to 5 * - * Terms autocreated are also rebalanced everytime ::sml_variable_set_range is + * Terms autocreated are also rebalanced every time ::sml_variable_set_range is * called. So new terms are created to make sure all variable range is covered. * And terms that are no longer necessary are removed. * diff --git a/sml/sml_fuzzy/src/sml_fuzzy_bridge.cpp b/sml/sml_fuzzy/src/sml_fuzzy_bridge.cpp index 32309e6..9bb4a2a 100644 --- a/sml/sml_fuzzy/src/sml_fuzzy_bridge.cpp +++ b/sml/sml_fuzzy/src/sml_fuzzy_bridge.cpp @@ -553,7 +553,7 @@ sml_fuzzy_variable_get_value(struct sml_variable *variable) if (output_var) return _var_get_val_in_range(fl_var, output_var->getOutputValue()); - sml_warning("Trying to use unkown class of variable"); + sml_warning("Trying to use unknown class of variable"); return NAN; } @@ -576,7 +576,7 @@ sml_fuzzy_variable_set_value(struct sml_variable *variable, float value) return; } - sml_warning("Trying to use unkown class of variable"); + sml_warning("Trying to use unknown class of variable"); } struct sml_variable *