Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[Refactoring] Fixed common spelling typos in core components (#34841)

Lagmator221d2e9c764336
diff --git a/src/bindings/c/docs/api_overview.md b/src/bindings/c/docs/api_overview.md
index 4282a461ef2..833d6a317c8 100644
--- a/src/bindings/c/docs/api_overview.md
+++ b/src/bindings/c/docs/api_overview.md
@@ -500,7 +500,7 @@ This struct represents OpenVINO entity and allows you to manipulate with plugins
- `device_name` - Name of a device to load a model to.
- `property_args_size` - How many properties args will be passed, each property contains 2 args: key and value.
- `compiled_model` - A pointer to the newly created compiled_model.
- - `...` - property paramater, optional pack of pairs: <char* property_key, char* property_value> relevant only for this load operation operation.
+ - `...` - property parameter, optional pack of pairs: <char* property_key, char* property_value> relevant only for this load operation operation.
- Return value: Status code of the operation: OK(0) for success.
diff --git a/src/bindings/c/include/openvino/c/ov_core.h b/src/bindings/c/include/openvino/c/ov_core.h
index 235b41de3c4..c207d372efa 100644
--- a/src/bindings/c/include/openvino/c/ov_core.h
+++ b/src/bindings/c/include/openvino/c/ov_core.h
@@ -203,7 +203,7 @@ ov_core_read_model_from_memory_buffer(const ov_core_t* core,
* @param device_name Name of a device to load a model to.
* @param property_args_size How many properties args will be passed, each property contains 2 args: key and value.
* @param compiled_model A pointer to the newly created compiled_model.
- * @param ... property paramater: Optional pack of pairs: <char* property_key, char* property_value> relevant only
+ * @param ... property parameter: Optional pack of pairs: <char* property_key, char* property_value> relevant only
* for this load operation operation. Supported property key please see ov_property.h.
* @return Status code of the operation: OK(0) for success.
*/
diff --git a/src/bindings/python/src/pyopenvino/graph/node_output.hpp b/src/bindings/python/src/pyopenvino/graph/node_output.hpp
index b058b9128ab..f7e519faaae 100644
--- a/src/bindings/python/src/pyopenvino/graph/node_output.hpp
+++ b/src/bindings/python/src/pyopenvino/graph/node_output.hpp
@@ -178,6 +178,6 @@ void regclass_graph_Output(py::module m, std::string typestring)
ov::Output<VT>::get_rt_info,
py::return_value_policy::reference_internal);
- // define functions avaliable only for specific type
+ // define functions available only for specific type
def_type_dependent_functions<VT>(output);
}
diff --git a/src/common/snippets/tests/src/lir_comparator.cpp b/src/common/snippets/tests/src/lir_comparator.cpp
index f9a2d4aec3b..3c4ffaf7337 100644
--- a/src/common/snippets/tests/src/lir_comparator.cpp
+++ b/src/common/snippets/tests/src/lir_comparator.cpp
@@ -256,7 +256,7 @@ LIRComparator::Result LIRComparator::compare_handlers(const SpecificIterationHan
if (pass->get_type_info() != pass_ref->get_type_info() || pass->merge(pass_ref) == nullptr) {
return Result::error("Passes are not equal: " + std::string(pass->get_type_name()) + " and " +
std::string(pass_ref->get_type_name()) +
- ". Pass names or parameters are not matched, or merge method is not overrided.");
+ ". Pass names or parameters are not matched, or merge method is not overridden.");
}
}
return Result::ok();
diff --git a/src/core/include/openvino/op/op.hpp b/src/core/include/openvino/op/op.hpp
index b2064675b80..63f32996b60 100644
--- a/src/core/include/openvino/op/op.hpp
+++ b/src/core/include/openvino/op/op.hpp
@@ -21,7 +21,7 @@
_OPENVINO_RTTI_OP_WITH_TYPE)(__VA_ARGS__)) \
/* Add accessibility for Op to the method: evaluate from the Base class \
Usually C++ allows to use virtual methods of Base class from Derived class but if they have \
- the same name and not all of them are overrided in Derived class, the only overrided methods \
+ the same name and not all of them are overridden in Derived class, the only overridden methods \
will be available from Derived class. We need to explicitly cast Derived to Base class to \
have an access to remaining methods or use this using. */ \
using ov::op::Op::evaluate; \
diff --git a/src/core/shape_inference/include/element_visitor.hpp b/src/core/shape_inference/include/element_visitor.hpp
index b9f1ebde1b0..59c8e7a1dd1 100644
--- a/src/core/shape_inference/include/element_visitor.hpp
+++ b/src/core/shape_inference/include/element_visitor.hpp
@@ -176,7 +176,7 @@ bool is_type_list_not_empty(Args&&... args) {
* OpenVINO conditional compilation feature.
*
* @param region Region name for ITT which will be combined with TYPE_LIST_ prefix.
- * @param types List ov::element IfTypeOf class e.g. OV_PP_ET_LIST(f16, i8) to pack as one paramater.
+ * @param types List ov::element IfTypeOf class e.g. OV_PP_ET_LIST(f16, i8) to pack as one parameter.
* @param visitor Class name of visitor which will be used by IfTypeOf<types>::visit(_VA_ARGS_) function.
* @param ... List of parameters must match parameter list of `visit` function.
*
diff --git a/src/core/tests/type_prop/transpose.cpp b/src/core/tests/type_prop/transpose.cpp
index 93e004d90dd..2a7113704a4 100644
--- a/src/core/tests/type_prop/transpose.cpp
+++ b/src/core/tests/type_prop/transpose.cpp
@@ -290,7 +290,7 @@ TEST(type_prop, transpose_order_as_parameter_shape) {
EXPECT_EQ(r->get_output_partial_shape(v1::Transpose::ARG_T), PartialShape({Dimension(4, 16), 6, Dimension(2, 8)}));
}
-/** \brief Transpose with order as paramater shape dimensions after multiple transformations. */
+/** \brief Transpose with order as parameter shape dimensions after multiple transformations. */
TEST(type_prop, transpose_order_as_parameter_shape_after_transformation) {
const auto arg = make_shared<v0::Parameter>(element::f32, PartialShape{Dimension(2, 8), Dimension(4, 16), 6});
diff --git a/src/plugins/intel_cpu/src/nodes/subgraph.h b/src/plugins/intel_cpu/src/nodes/subgraph.h
index 17c2046a219..e2be0a07a4e 100644
--- a/src/plugins/intel_cpu/src/nodes/subgraph.h
+++ b/src/plugins/intel_cpu/src/nodes/subgraph.h
@@ -99,7 +99,7 @@ private:
std::shared_ptr<SubgraphAttrs> subgraph_attrs;
- // Index of Paramater -> Index of broadcastable dimension from end
+ // Index of Parameter -> Index of broadcastable dimension from end
std::map<size_t, size_t> broadcastable_inputs;
size_t input_num = 0;
diff --git a/src/plugins/intel_cpu/src/nodes/tensoriterator.h b/src/plugins/intel_cpu/src/nodes/tensoriterator.h
index 490a2f1fd02..dae4cb9fff7 100644
--- a/src/plugins/intel_cpu/src/nodes/tensoriterator.h
+++ b/src/plugins/intel_cpu/src/nodes/tensoriterator.h
@@ -35,7 +35,7 @@ struct PortMap {
int stride; /**< Stride to iterate throught */
int start; /**< Start index of iteration range */
int end; /**< Last index of iteration range */
- int part_size; /**< Part size which will be transfered to body subnetwork */
+ int part_size; /**< Part size which will be transferred to body subnetwork */
};
/**
diff --git a/src/tests/functional/plugin/conformance/subgraphs_dumper/tests/cache/op_cache.cpp b/src/tests/functional/plugin/conformance/subgraphs_dumper/tests/cache/op_cache.cpp
index f93178cbdb5..dff5c8f00b6 100644
--- a/src/tests/functional/plugin/conformance/subgraphs_dumper/tests/cache/op_cache.cpp
+++ b/src/tests/functional/plugin/conformance/subgraphs_dumper/tests/cache/op_cache.cpp
@@ -124,7 +124,7 @@ TEST_F(OpCacheUnitTest, update_cache_by_model) {
ASSERT_EQ(meta.get_model_info().begin()->second.model_paths.size(), 2);
ASSERT_EQ(*meta.get_model_info().begin()->second.model_paths.begin(), test_model_path_1);
ASSERT_EQ(*meta.get_model_info().begin()->second.model_paths.rbegin(), test_model_path);
- // check occurence
+ // check occurrence
ASSERT_EQ(meta.get_model_info().begin()->second.this_op_cnt, 2);
ASSERT_EQ(meta.get_model_info().begin()->second.total_op_cnt, 3);
// max opset version for Convert - 1
@@ -141,7 +141,7 @@ TEST_F(OpCacheUnitTest, update_cache_by_model) {
ASSERT_EQ(meta.get_model_info().begin()->first, test_model_name);
ASSERT_EQ(meta.get_model_info().begin()->second.model_paths.size(), 1);
ASSERT_EQ(*meta.get_model_info().begin()->second.model_paths.begin(), test_model_path_1);
- // check occurence
+ // check occurrence
ASSERT_EQ(meta.get_model_info().begin()->second.this_op_cnt, 1);
ASSERT_EQ(meta.get_model_info().begin()->second.total_op_cnt, 2);
// max opset version for ShapeOf - 3