diff --git a/onnxruntime/core/providers/cpu/nn/regex_full_match.cc b/onnxruntime/core/providers/cpu/text/regex_full_match.cc similarity index 100% rename from onnxruntime/core/providers/cpu/nn/regex_full_match.cc rename to onnxruntime/core/providers/cpu/text/regex_full_match.cc diff --git a/onnxruntime/core/providers/cpu/nn/regex_full_match.h b/onnxruntime/core/providers/cpu/text/regex_full_match.h similarity index 100% rename from onnxruntime/core/providers/cpu/nn/regex_full_match.h rename to onnxruntime/core/providers/cpu/text/regex_full_match.h diff --git a/onnxruntime/core/providers/cpu/nn/string_normalizer.cc b/onnxruntime/core/providers/cpu/text/string_normalizer.cc similarity index 100% rename from onnxruntime/core/providers/cpu/nn/string_normalizer.cc rename to onnxruntime/core/providers/cpu/text/string_normalizer.cc diff --git a/onnxruntime/core/providers/cpu/nn/string_normalizer.h b/onnxruntime/core/providers/cpu/text/string_normalizer.h similarity index 100% rename from onnxruntime/core/providers/cpu/nn/string_normalizer.h rename to onnxruntime/core/providers/cpu/text/string_normalizer.h