From 1ad683d1ada6c72e4cbfa48a062dba2c95f8eac1 Mon Sep 17 00:00:00 2001 From: "TF.Text Team" Date: Mon, 16 Feb 2026 04:17:58 -0800 Subject: [PATCH] Fixed a bug in FastWordpieceTokenizer where vocab sizes >= 7 would cause failures if the unknown token was not at the end of the vocabulary by ensuring the internal hash map is reserved upfront. Also fixed internal ClangTidy include cleaner errors in string_vocab.cc. PiperOrigin-RevId: 870823136 --- oss_scripts/build_docs.py | 2 +- oss_scripts/pip_package/build_pip_package.py | 2 +- oss_scripts/pip_package/setup.nightly.py | 2 +- oss_scripts/pip_package/setup.py | 2 +- oss_scripts/pip_package/tensorflow_build_info.py | 2 +- tensorflow_text/__init__.py | 2 +- tensorflow_text/core/kernels/BUILD | 2 ++ tensorflow_text/core/kernels/boise_offset_converter.cc | 2 +- tensorflow_text/core/kernels/boise_offset_converter.h | 2 +- .../core/kernels/boise_offset_converter_kernel.cc | 2 +- .../core/kernels/boise_offset_converter_kernel.h | 2 +- .../kernels/boise_offset_converter_kernel_template.h | 2 +- .../core/kernels/boise_offset_converter_test.cc | 2 +- tensorflow_text/core/kernels/byte_splitter.cc | 2 +- tensorflow_text/core/kernels/byte_splitter.h | 2 +- tensorflow_text/core/kernels/byte_splitter_kernel.cc | 2 +- tensorflow_text/core/kernels/byte_splitter_kernel.h | 2 +- .../core/kernels/byte_splitter_kernel_template.h | 2 +- tensorflow_text/core/kernels/byte_splitter_test.cc | 2 +- tensorflow_text/core/kernels/byte_splitter_tflite.cc | 2 +- tensorflow_text/core/kernels/byte_splitter_tflite.h | 2 +- tensorflow_text/core/kernels/constrained_sequence.cc | 2 +- tensorflow_text/core/kernels/constrained_sequence.h | 2 +- .../core/kernels/constrained_sequence_kernel.cc | 2 +- .../constrained_sequence_kernel_input_validation_test.cc | 2 +- tensorflow_text/core/kernels/darts_clone_trie_builder.cc | 2 +- tensorflow_text/core/kernels/darts_clone_trie_builder.h | 2 +- tensorflow_text/core/kernels/darts_clone_trie_test.cc | 2 +- tensorflow_text/core/kernels/darts_clone_trie_wrapper.h | 2 +- tensorflow_text/core/kernels/disjoint_set_forest.h | 2 +- tensorflow_text/core/kernels/disjoint_set_forest_test.cc | 2 +- .../exp_greedy_constrained_sequence_kernel_test.cc | 2 +- .../exp_viterbi_constrained_sequence_kernel_test.cc | 2 +- tensorflow_text/core/kernels/fast_bert_normalizer.h | 2 +- .../core/kernels/fast_bert_normalizer_kernel_template.h | 2 +- .../core/kernels/fast_bert_normalizer_model_builder.cc | 2 +- .../core/kernels/fast_bert_normalizer_model_builder.h | 2 +- .../core/kernels/fast_bert_normalizer_test.cc | 2 +- .../core/kernels/fast_bert_normalizer_tf_kernel.cc | 2 +- .../core/kernels/fast_bert_normalizer_tf_kernel.h | 2 +- .../core/kernels/fast_bert_normalizer_tflite.cc | 2 +- .../core/kernels/fast_bert_normalizer_tflite.h | 2 +- tensorflow_text/core/kernels/fast_wordpiece_tokenizer.cc | 2 +- tensorflow_text/core/kernels/fast_wordpiece_tokenizer.h | 2 +- .../core/kernels/fast_wordpiece_tokenizer_kernel.cc | 2 +- .../core/kernels/fast_wordpiece_tokenizer_kernel.h | 2 +- .../kernels/fast_wordpiece_tokenizer_kernel_template.h | 2 +- .../kernels/fast_wordpiece_tokenizer_model_builder.cc | 2 +- .../kernels/fast_wordpiece_tokenizer_model_builder.h | 2 +- .../core/kernels/fast_wordpiece_tokenizer_test.cc | 2 +- .../core/kernels/fast_wordpiece_tokenizer_tflite.cc | 2 +- .../core/kernels/fast_wordpiece_tokenizer_tflite.h | 2 +- .../core/kernels/fast_wordpiece_tokenizer_utils.h | 2 +- .../core/kernels/fast_wordpiece_tokenizer_utils_test.cc | 2 +- .../log_greedy_constrained_sequence_kernel_test.cc | 2 +- .../log_viterbi_constrained_sequence_kernel_test.cc | 2 +- tensorflow_text/core/kernels/mst_op_kernels.cc | 2 +- tensorflow_text/core/kernels/mst_solver.h | 2 +- .../core/kernels/mst_solver_random_comparison_test.cc | 2 +- tensorflow_text/core/kernels/mst_solver_test.cc | 2 +- tensorflow_text/core/kernels/ngrams_kernel.cc | 2 +- tensorflow_text/core/kernels/ngrams_kernel.h | 2 +- tensorflow_text/core/kernels/ngrams_kernel_template.h | 2 +- tensorflow_text/core/kernels/ngrams_kernel_test.cc | 2 +- tensorflow_text/core/kernels/ngrams_tflite.cc | 2 +- tensorflow_text/core/kernels/ngrams_tflite.h | 2 +- tensorflow_text/core/kernels/ngrams_tflite_test.cc | 2 +- tensorflow_text/core/kernels/normalize_kernels.cc | 2 +- tensorflow_text/core/kernels/normalize_kernels_test.cc | 2 +- tensorflow_text/core/kernels/phrase_tokenizer.cc | 2 +- tensorflow_text/core/kernels/phrase_tokenizer.h | 2 +- tensorflow_text/core/kernels/phrase_tokenizer_kernel.cc | 2 +- tensorflow_text/core/kernels/phrase_tokenizer_kernel.h | 2 +- .../core/kernels/phrase_tokenizer_kernel_template.h | 2 +- .../core/kernels/phrase_tokenizer_model_builder.cc | 2 +- .../core/kernels/phrase_tokenizer_model_builder.h | 2 +- tensorflow_text/core/kernels/phrase_tokenizer_test.cc | 2 +- .../core/kernels/ragged_tensor_to_tensor_tflite.cc | 2 +- .../core/kernels/ragged_tensor_to_tensor_tflite.h | 2 +- .../core/kernels/ragged_tensor_to_tensor_tflite_test.cc | 2 +- tensorflow_text/core/kernels/regex_split.cc | 2 +- tensorflow_text/core/kernels/regex_split.h | 2 +- tensorflow_text/core/kernels/regex_split_kernels.cc | 2 +- tensorflow_text/core/kernels/regex_split_test.cc | 2 +- tensorflow_text/core/kernels/rouge_l_kernel.cc | 2 +- tensorflow_text/core/kernels/rouge_l_kernel_test.cc | 2 +- tensorflow_text/core/kernels/round_robin_trimmer.h | 2 +- .../core/kernels/round_robin_trimmer_kernel.cc | 2 +- .../core/kernels/round_robin_trimmer_kernel.h | 2 +- .../core/kernels/round_robin_trimmer_kernel_template.h | 2 +- tensorflow_text/core/kernels/round_robin_trimmer_test.cc | 2 +- .../core/kernels/round_robin_trimmer_tflite.cc | 2 +- .../core/kernels/round_robin_trimmer_tflite.h | 2 +- .../core/kernels/sentence_breaking_kernels.cc | 2 +- tensorflow_text/core/kernels/sentence_breaking_utils.cc | 2 +- tensorflow_text/core/kernels/sentence_breaking_utils.h | 2 +- .../core/kernels/sentence_breaking_utils_test.cc | 2 +- tensorflow_text/core/kernels/sentence_fragmenter.cc | 2 +- tensorflow_text/core/kernels/sentence_fragmenter.h | 2 +- tensorflow_text/core/kernels/sentence_fragmenter_v2.cc | 2 +- tensorflow_text/core/kernels/sentence_fragmenter_v2.h | 2 +- .../core/kernels/sentence_fragmenter_v2_kernel.cc | 2 +- .../core/kernels/sentence_fragmenter_v2_kernel.h | 2 +- .../kernels/sentence_fragmenter_v2_kernel_template.h | 2 +- .../core/kernels/sentence_fragmenter_v2_test.cc | 2 +- .../core/kernels/sentence_fragmenter_v2_tflite.cc | 2 +- .../core/kernels/sentence_fragmenter_v2_tflite.h | 2 +- .../core/kernels/sentencepiece/double_array_trie.h | 2 +- .../kernels/sentencepiece/double_array_trie_builder.cc | 2 +- .../kernels/sentencepiece/double_array_trie_builder.h | 2 +- .../core/kernels/sentencepiece/double_array_trie_test.cc | 2 +- .../core/kernels/sentencepiece/model_converter.cc | 2 +- .../core/kernels/sentencepiece/model_converter.h | 2 +- .../core/kernels/sentencepiece/optimized_decoder.cc | 2 +- .../core/kernels/sentencepiece/optimized_decoder.h | 2 +- .../core/kernels/sentencepiece/optimized_decoder_test.cc | 2 +- .../core/kernels/sentencepiece/optimized_encoder.cc | 2 +- .../core/kernels/sentencepiece/optimized_encoder.h | 2 +- .../core/kernels/sentencepiece/optimized_encoder_test.cc | 2 +- .../core/kernels/sentencepiece/py_tflite_registerer.cc | 2 +- .../core/kernels/sentencepiece/py_tflite_registerer.h | 2 +- .../core/kernels/sentencepiece/sentencepiece_constants.h | 2 +- .../kernels/sentencepiece/sentencepiece_detokenizer.h | 2 +- .../sentencepiece/sentencepiece_detokenizer_kernel.cc | 2 +- .../sentencepiece/sentencepiece_detokenizer_tflite.cc | 2 +- .../core/kernels/sentencepiece/sentencepiece_tokenizer.h | 2 +- .../sentencepiece/sentencepiece_tokenizer_kernel.cc | 2 +- .../sentencepiece/sentencepiece_tokenizer_tflite.cc | 2 +- tensorflow_text/core/kernels/sentencepiece/utils.h | 2 +- tensorflow_text/core/kernels/sentencepiece_kernels.cc | 2 +- tensorflow_text/core/kernels/spanning_tree_iterator.cc | 2 +- tensorflow_text/core/kernels/spanning_tree_iterator.h | 2 +- .../core/kernels/spanning_tree_iterator_test.cc | 2 +- .../core/kernels/split_merge_tokenize_kernel.cc | 2 +- tensorflow_text/core/kernels/string_vocab.cc | 9 ++++++++- tensorflow_text/core/kernels/string_vocab.h | 4 +++- tensorflow_text/core/kernels/text_kernels_test_util.cc | 2 +- tensorflow_text/core/kernels/text_kernels_test_util.h | 2 +- .../core/kernels/tokenizer_from_logits_kernel.cc | 2 +- tensorflow_text/core/kernels/trimmer.h | 2 +- .../core/kernels/unicode_script_tokenize_kernel.cc | 2 +- .../core/kernels/unicode_script_tokenize_kernel_test.cc | 2 +- tensorflow_text/core/kernels/utf8_binarize.cc | 2 +- tensorflow_text/core/kernels/utf8_binarize.h | 2 +- tensorflow_text/core/kernels/utf8_binarize_kernel.cc | 2 +- tensorflow_text/core/kernels/utf8_binarize_kernel.h | 2 +- .../core/kernels/utf8_binarize_kernel_template.h | 2 +- tensorflow_text/core/kernels/utf8_binarize_test.cc | 2 +- tensorflow_text/core/kernels/utf8_binarize_tflite.cc | 2 +- tensorflow_text/core/kernels/utf8_binarize_tflite.h | 2 +- .../core/kernels/whitespace_tokenize_kernel.cc | 2 +- .../core/kernels/whitespace_tokenize_kernel_test.cc | 2 +- tensorflow_text/core/kernels/whitespace_tokenizer.cc | 2 +- tensorflow_text/core/kernels/whitespace_tokenizer.h | 2 +- .../core/kernels/whitespace_tokenizer_config_builder.cc | 2 +- .../core/kernels/whitespace_tokenizer_config_builder.h | 2 +- .../kernels/whitespace_tokenizer_config_builder_test.cc | 2 +- .../core/kernels/whitespace_tokenizer_kernel.cc | 2 +- .../core/kernels/whitespace_tokenizer_kernel.h | 2 +- .../core/kernels/whitespace_tokenizer_kernel_template.h | 2 +- .../core/kernels/whitespace_tokenizer_test.cc | 2 +- .../core/kernels/whitespace_tokenizer_tflite.cc | 2 +- .../core/kernels/whitespace_tokenizer_tflite.h | 2 +- tensorflow_text/core/kernels/wordpiece_kernel.cc | 2 +- tensorflow_text/core/kernels/wordpiece_kernel_test.cc | 2 +- tensorflow_text/core/kernels/wordpiece_tokenizer.cc | 2 +- tensorflow_text/core/kernels/wordpiece_tokenizer.h | 2 +- tensorflow_text/core/ops/boise_offset_converter_op.cc | 2 +- .../core/ops/boise_offset_converter_op_test.cc | 2 +- tensorflow_text/core/ops/byte_splitter_op.cc | 2 +- tensorflow_text/core/ops/byte_splitter_op_test.cc | 2 +- tensorflow_text/core/ops/constrained_sequence_op.cc | 2 +- tensorflow_text/core/ops/fast_bert_normalizer_op.cc | 2 +- tensorflow_text/core/ops/fast_sentencepiece_ops.cc | 2 +- tensorflow_text/core/ops/fast_wordpiece_tokenizer_op.cc | 2 +- .../core/ops/fast_wordpiece_tokenizer_op_test.cc | 2 +- tensorflow_text/core/ops/mst_ops.cc | 2 +- tensorflow_text/core/ops/ngrams_op.cc | 2 +- tensorflow_text/core/ops/normalize_ops.cc | 2 +- tensorflow_text/core/ops/phrase_tokenizer_op.cc | 2 +- tensorflow_text/core/ops/regex_split_ops.cc | 2 +- tensorflow_text/core/ops/rouge_l_op.cc | 2 +- tensorflow_text/core/ops/sentence_breaking_ops.cc | 2 +- tensorflow_text/core/ops/sentence_fragmenter_v2_op.cc | 2 +- .../core/ops/sentence_fragmenter_v2_op_test.cc | 2 +- tensorflow_text/core/ops/sentencepiece_ops.cc | 2 +- tensorflow_text/core/ops/split_merge_tokenize_op.cc | 2 +- tensorflow_text/core/ops/tokenizer_from_logits_op.cc | 2 +- tensorflow_text/core/ops/trimmer_ops.cc | 2 +- tensorflow_text/core/ops/trimmer_ops_test.cc | 2 +- tensorflow_text/core/ops/unicode_script_tokenize_op.cc | 2 +- tensorflow_text/core/ops/utf8_binarize_op.cc | 2 +- tensorflow_text/core/ops/utf8_binarize_op_test.cc | 2 +- tensorflow_text/core/ops/whitespace_tokenize_op.cc | 2 +- tensorflow_text/core/ops/whitespace_tokenizer_op.cc | 2 +- tensorflow_text/core/ops/wordpiece_op.cc | 2 +- .../pybinds/pywrap_fast_bert_normalizer_model_builder.cc | 2 +- .../pywrap_fast_bert_normalizer_model_builder_test.py | 2 +- .../pywrap_fast_wordpiece_tokenizer_model_builder.cc | 2 +- ...pywrap_fast_wordpiece_tokenizer_model_builder_test.py | 2 +- tensorflow_text/core/pybinds/pywrap_model_converter.cc | 2 +- .../pybinds/pywrap_phrase_tokenizer_model_builder.cc | 2 +- .../pywrap_phrase_tokenizer_model_builder_test.py | 2 +- .../pywrap_whitespace_tokenizer_config_builder.cc | 2 +- .../pywrap_whitespace_tokenizer_config_builder_test.py | 2 +- tensorflow_text/core/pybinds/tflite_registrar.cc | 2 +- tensorflow_text/python/__init__.py | 2 +- tensorflow_text/python/benchmarks/__init__.py | 2 +- tensorflow_text/python/benchmarks/benchmark_utils.py | 2 +- tensorflow_text/python/benchmarks/ops_benchmarks.py | 2 +- .../python/benchmarks/tokenizers_benchmarks.py | 2 +- tensorflow_text/python/keras/__init__.py | 2 +- tensorflow_text/python/keras/layers/__init__.py | 2 +- tensorflow_text/python/keras/layers/todense.py | 2 +- tensorflow_text/python/keras/layers/todense_test.py | 2 +- .../python/keras/layers/tokenization_layers.py | 2 +- .../python/keras/layers/tokenization_layers_test.py | 2 +- tensorflow_text/python/metrics/__init__.py | 2 +- .../python/metrics/text_similarity_metric_ops.py | 2 +- .../python/metrics/text_similarity_metric_ops_test.py | 2 +- tensorflow_text/python/numpy/__init__.py | 2 +- tensorflow_text/python/numpy/viterbi_decode.py | 2 +- tensorflow_text/python/numpy/viterbi_decode_test.py | 2 +- tensorflow_text/python/ops/__init__.py | 2 +- tensorflow_text/python/ops/bert_tokenizer.py | 2 +- tensorflow_text/python/ops/bert_tokenizer_test.py | 2 +- tensorflow_text/python/ops/boise_offset_converter.py | 2 +- .../python/ops/boise_offset_converter_test.py | 2 +- tensorflow_text/python/ops/byte_splitter.py | 2 +- tensorflow_text/python/ops/byte_splitter_test.py | 2 +- .../python/ops/coerce_to_valid_utf8_op_test.py | 2 +- tensorflow_text/python/ops/create_feature_bitmask_op.py | 2 +- .../python/ops/create_feature_bitmask_op_test.py | 2 +- tensorflow_text/python/ops/fast_bert_normalizer.py | 2 +- tensorflow_text/python/ops/fast_bert_normalizer_test.py | 2 +- tensorflow_text/python/ops/fast_bert_tokenizer.py | 2 +- tensorflow_text/python/ops/fast_bert_tokenizer_test.py | 2 +- .../python/ops/fast_sentencepiece_tokenizer.py | 2 +- .../python/ops/fast_sentencepiece_tokenizer_test.py | 2 +- tensorflow_text/python/ops/fast_wordpiece_tokenizer.py | 2 +- .../python/ops/fast_wordpiece_tokenizer_test.py | 2 +- .../python/ops/gather_with_default_op_test.py | 2 +- .../python/ops/greedy_constrained_sequence_op.py | 2 +- .../python/ops/greedy_constrained_sequence_op_test.py | 2 +- tensorflow_text/python/ops/hub_module_splitter.py | 2 +- tensorflow_text/python/ops/hub_module_splitter_test.py | 2 +- tensorflow_text/python/ops/hub_module_tokenizer.py | 2 +- tensorflow_text/python/ops/hub_module_tokenizer_test.py | 2 +- tensorflow_text/python/ops/item_selector_ops.py | 2 +- tensorflow_text/python/ops/item_selector_ops_test.py | 2 +- tensorflow_text/python/ops/masking_ops.py | 2 +- tensorflow_text/python/ops/masking_ops_test.py | 2 +- tensorflow_text/python/ops/mst_ops.py | 2 +- tensorflow_text/python/ops/mst_ops_test.py | 2 +- tensorflow_text/python/ops/ngrams_op.py | 2 +- tensorflow_text/python/ops/ngrams_op_test.py | 2 +- tensorflow_text/python/ops/normalize_ops.py | 2 +- tensorflow_text/python/ops/normalize_ops_test.py | 2 +- tensorflow_text/python/ops/pad_along_dimension_op.py | 2 +- .../python/ops/pad_along_dimension_op_test.py | 2 +- tensorflow_text/python/ops/pad_model_inputs_ops.py | 2 +- tensorflow_text/python/ops/pad_model_inputs_ops_test.py | 2 +- tensorflow_text/python/ops/phrase_tokenizer.py | 2 +- tensorflow_text/python/ops/phrase_tokenizer_test.py | 2 +- tensorflow_text/python/ops/pointer_ops.py | 2 +- tensorflow_text/python/ops/regex_split_ops.py | 2 +- tensorflow_text/python/ops/regex_split_ops_test.py | 2 +- tensorflow_text/python/ops/segment_combiner_ops.py | 2 +- tensorflow_text/python/ops/segment_combiner_ops_test.py | 2 +- tensorflow_text/python/ops/sentence_breaking_ops.py | 2 +- tensorflow_text/python/ops/sentence_breaking_ops_test.py | 2 +- tensorflow_text/python/ops/sentencepiece_tokenizer.py | 2 +- .../python/ops/sentencepiece_tokenizer_test.py | 2 +- tensorflow_text/python/ops/sliding_window_op.py | 2 +- tensorflow_text/python/ops/sliding_window_op_test.py | 2 +- tensorflow_text/python/ops/span_alignment_op_test.py | 2 +- tensorflow_text/python/ops/span_overlaps_op_test.py | 2 +- .../python/ops/split_merge_from_logits_tokenizer.py | 2 +- .../python/ops/split_merge_from_logits_tokenizer_test.py | 2 +- tensorflow_text/python/ops/split_merge_tokenizer.py | 2 +- tensorflow_text/python/ops/split_merge_tokenizer_test.py | 2 +- tensorflow_text/python/ops/splitter.py | 2 +- .../python/ops/state_based_sentence_breaker_op.py | 2 +- .../python/ops/state_based_sentence_breaker_op_test.py | 2 +- tensorflow_text/python/ops/string_ops.py | 2 +- tensorflow_text/python/ops/tokenization.py | 2 +- tensorflow_text/python/ops/trimmer_ops.py | 2 +- tensorflow_text/python/ops/trimmer_ops_test.py | 2 +- tensorflow_text/python/ops/unicode_char_tokenizer.py | 2 +- .../python/ops/unicode_char_tokenizer_test.py | 2 +- tensorflow_text/python/ops/unicode_script_tokenizer.py | 2 +- .../python/ops/unicode_script_tokenizer_test.py | 2 +- tensorflow_text/python/ops/utf8_binarize_op.py | 2 +- tensorflow_text/python/ops/utf8_binarize_op_test.py | 2 +- .../python/ops/viterbi_constrained_sequence_op.py | 2 +- .../python/ops/viterbi_constrained_sequence_op_test.py | 2 +- tensorflow_text/python/ops/whitespace_tokenizer.py | 2 +- tensorflow_text/python/ops/whitespace_tokenizer_test.py | 2 +- tensorflow_text/python/ops/wordpiece_tokenizer.py | 2 +- tensorflow_text/python/ops/wordpiece_tokenizer_test.py | 2 +- tensorflow_text/python/ops/wordshape_ops.py | 2 +- tensorflow_text/python/ops/wordshape_ops_test.py | 2 +- .../python/ragged/ragged_tensor_to_tensor_test.py | 2 +- tensorflow_text/tools/__init__.py | 2 +- tensorflow_text/tools/wordpiece_vocab/__init__.py | 2 +- .../tools/wordpiece_vocab/bert_vocab_from_dataset.py | 2 +- .../wordpiece_vocab/bert_vocab_from_dataset_test.py | 2 +- tensorflow_text/tools/wordpiece_vocab/generate_vocab.py | 2 +- .../tools/wordpiece_vocab/generate_word_counts.py | 2 +- .../tools/wordpiece_vocab/measure_wordpiece_stats.py | 2 +- tensorflow_text/tools/wordpiece_vocab/utils.py | 2 +- tensorflow_text/tools/wordpiece_vocab/utils_test.py | 2 +- .../tools/wordpiece_vocab/wordpiece_tokenizer_learner.py | 2 +- .../wordpiece_vocab/wordpiece_tokenizer_learner_lib.py | 2 +- .../wordpiece_vocab/wordpiece_tokenizer_learner_test.py | 2 +- 315 files changed, 325 insertions(+), 314 deletions(-) diff --git a/oss_scripts/build_docs.py b/oss_scripts/build_docs.py index a3fd97e69..08651c6b8 100644 --- a/oss_scripts/build_docs.py +++ b/oss_scripts/build_docs.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/oss_scripts/pip_package/build_pip_package.py b/oss_scripts/pip_package/build_pip_package.py index 9df4b32b1..23db14aa1 100644 --- a/oss_scripts/pip_package/build_pip_package.py +++ b/oss_scripts/pip_package/build_pip_package.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/oss_scripts/pip_package/setup.nightly.py b/oss_scripts/pip_package/setup.nightly.py index 5bc1a612f..d5a3e3e23 100644 --- a/oss_scripts/pip_package/setup.nightly.py +++ b/oss_scripts/pip_package/setup.nightly.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/oss_scripts/pip_package/setup.py b/oss_scripts/pip_package/setup.py index 95585a731..be5cdf6e5 100644 --- a/oss_scripts/pip_package/setup.py +++ b/oss_scripts/pip_package/setup.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/oss_scripts/pip_package/tensorflow_build_info.py b/oss_scripts/pip_package/tensorflow_build_info.py index 49b8e220d..a1080bacf 100644 --- a/oss_scripts/pip_package/tensorflow_build_info.py +++ b/oss_scripts/pip_package/tensorflow_build_info.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/__init__.py b/tensorflow_text/__init__.py index a6b4e8bb4..55281df95 100644 --- a/tensorflow_text/__init__.py +++ b/tensorflow_text/__init__.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/BUILD b/tensorflow_text/core/kernels/BUILD index 8aba03626..7a1e5183f 100644 --- a/tensorflow_text/core/kernels/BUILD +++ b/tensorflow_text/core/kernels/BUILD @@ -1238,7 +1238,9 @@ cc_library( hdrs = ["string_vocab.h"], deps = [ ":wordpiece_tokenizer", + "//third_party/absl/types:optional", "@com_google_absl//absl/container:flat_hash_map", + "@com_google_absl//absl/strings", ], ) diff --git a/tensorflow_text/core/kernels/boise_offset_converter.cc b/tensorflow_text/core/kernels/boise_offset_converter.cc index bc903425c..ac306d3e3 100644 --- a/tensorflow_text/core/kernels/boise_offset_converter.cc +++ b/tensorflow_text/core/kernels/boise_offset_converter.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/boise_offset_converter.h b/tensorflow_text/core/kernels/boise_offset_converter.h index 035e7d317..cfe21d128 100644 --- a/tensorflow_text/core/kernels/boise_offset_converter.h +++ b/tensorflow_text/core/kernels/boise_offset_converter.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/boise_offset_converter_kernel.cc b/tensorflow_text/core/kernels/boise_offset_converter_kernel.cc index 862308ed0..d2ed8c42a 100644 --- a/tensorflow_text/core/kernels/boise_offset_converter_kernel.cc +++ b/tensorflow_text/core/kernels/boise_offset_converter_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/boise_offset_converter_kernel.h b/tensorflow_text/core/kernels/boise_offset_converter_kernel.h index 132b316af..e8a978d36 100644 --- a/tensorflow_text/core/kernels/boise_offset_converter_kernel.h +++ b/tensorflow_text/core/kernels/boise_offset_converter_kernel.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/boise_offset_converter_kernel_template.h b/tensorflow_text/core/kernels/boise_offset_converter_kernel_template.h index 5926a23c4..f49f059aa 100644 --- a/tensorflow_text/core/kernels/boise_offset_converter_kernel_template.h +++ b/tensorflow_text/core/kernels/boise_offset_converter_kernel_template.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/boise_offset_converter_test.cc b/tensorflow_text/core/kernels/boise_offset_converter_test.cc index 1637dfeec..06c279d06 100644 --- a/tensorflow_text/core/kernels/boise_offset_converter_test.cc +++ b/tensorflow_text/core/kernels/boise_offset_converter_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/byte_splitter.cc b/tensorflow_text/core/kernels/byte_splitter.cc index 8d259a21f..df7201717 100644 --- a/tensorflow_text/core/kernels/byte_splitter.cc +++ b/tensorflow_text/core/kernels/byte_splitter.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/byte_splitter.h b/tensorflow_text/core/kernels/byte_splitter.h index beeb35882..954b7ccfd 100644 --- a/tensorflow_text/core/kernels/byte_splitter.h +++ b/tensorflow_text/core/kernels/byte_splitter.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/byte_splitter_kernel.cc b/tensorflow_text/core/kernels/byte_splitter_kernel.cc index 8e3dd9959..b05d7d29c 100644 --- a/tensorflow_text/core/kernels/byte_splitter_kernel.cc +++ b/tensorflow_text/core/kernels/byte_splitter_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/byte_splitter_kernel.h b/tensorflow_text/core/kernels/byte_splitter_kernel.h index 73c09bbf2..c3e3df413 100644 --- a/tensorflow_text/core/kernels/byte_splitter_kernel.h +++ b/tensorflow_text/core/kernels/byte_splitter_kernel.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/byte_splitter_kernel_template.h b/tensorflow_text/core/kernels/byte_splitter_kernel_template.h index 115ab0fd3..77ab2b1ba 100644 --- a/tensorflow_text/core/kernels/byte_splitter_kernel_template.h +++ b/tensorflow_text/core/kernels/byte_splitter_kernel_template.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/byte_splitter_test.cc b/tensorflow_text/core/kernels/byte_splitter_test.cc index 5b0fad078..c6b4d6e72 100644 --- a/tensorflow_text/core/kernels/byte_splitter_test.cc +++ b/tensorflow_text/core/kernels/byte_splitter_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/byte_splitter_tflite.cc b/tensorflow_text/core/kernels/byte_splitter_tflite.cc index 4713e1ae1..a733467dd 100644 --- a/tensorflow_text/core/kernels/byte_splitter_tflite.cc +++ b/tensorflow_text/core/kernels/byte_splitter_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/byte_splitter_tflite.h b/tensorflow_text/core/kernels/byte_splitter_tflite.h index 3c089db44..c1219ecc7 100644 --- a/tensorflow_text/core/kernels/byte_splitter_tflite.h +++ b/tensorflow_text/core/kernels/byte_splitter_tflite.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/constrained_sequence.cc b/tensorflow_text/core/kernels/constrained_sequence.cc index 66c393833..2553472c1 100644 --- a/tensorflow_text/core/kernels/constrained_sequence.cc +++ b/tensorflow_text/core/kernels/constrained_sequence.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/constrained_sequence.h b/tensorflow_text/core/kernels/constrained_sequence.h index ac95d6ed0..5f62f46b6 100644 --- a/tensorflow_text/core/kernels/constrained_sequence.h +++ b/tensorflow_text/core/kernels/constrained_sequence.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/constrained_sequence_kernel.cc b/tensorflow_text/core/kernels/constrained_sequence_kernel.cc index ceb02fa09..339c202ce 100644 --- a/tensorflow_text/core/kernels/constrained_sequence_kernel.cc +++ b/tensorflow_text/core/kernels/constrained_sequence_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/constrained_sequence_kernel_input_validation_test.cc b/tensorflow_text/core/kernels/constrained_sequence_kernel_input_validation_test.cc index 150e7a8aa..343d2d142 100644 --- a/tensorflow_text/core/kernels/constrained_sequence_kernel_input_validation_test.cc +++ b/tensorflow_text/core/kernels/constrained_sequence_kernel_input_validation_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/darts_clone_trie_builder.cc b/tensorflow_text/core/kernels/darts_clone_trie_builder.cc index 4eb492b14..e204a9783 100644 --- a/tensorflow_text/core/kernels/darts_clone_trie_builder.cc +++ b/tensorflow_text/core/kernels/darts_clone_trie_builder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/darts_clone_trie_builder.h b/tensorflow_text/core/kernels/darts_clone_trie_builder.h index 20e59af5b..2557134f0 100644 --- a/tensorflow_text/core/kernels/darts_clone_trie_builder.h +++ b/tensorflow_text/core/kernels/darts_clone_trie_builder.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/darts_clone_trie_test.cc b/tensorflow_text/core/kernels/darts_clone_trie_test.cc index dde43a811..a80c28353 100644 --- a/tensorflow_text/core/kernels/darts_clone_trie_test.cc +++ b/tensorflow_text/core/kernels/darts_clone_trie_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/darts_clone_trie_wrapper.h b/tensorflow_text/core/kernels/darts_clone_trie_wrapper.h index 134eb3059..43067ec1b 100644 --- a/tensorflow_text/core/kernels/darts_clone_trie_wrapper.h +++ b/tensorflow_text/core/kernels/darts_clone_trie_wrapper.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/disjoint_set_forest.h b/tensorflow_text/core/kernels/disjoint_set_forest.h index bcaffdd58..a0b163850 100644 --- a/tensorflow_text/core/kernels/disjoint_set_forest.h +++ b/tensorflow_text/core/kernels/disjoint_set_forest.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/disjoint_set_forest_test.cc b/tensorflow_text/core/kernels/disjoint_set_forest_test.cc index 6eb681c75..f63d92f08 100644 --- a/tensorflow_text/core/kernels/disjoint_set_forest_test.cc +++ b/tensorflow_text/core/kernels/disjoint_set_forest_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/exp_greedy_constrained_sequence_kernel_test.cc b/tensorflow_text/core/kernels/exp_greedy_constrained_sequence_kernel_test.cc index 30db3668f..0c91e24be 100644 --- a/tensorflow_text/core/kernels/exp_greedy_constrained_sequence_kernel_test.cc +++ b/tensorflow_text/core/kernels/exp_greedy_constrained_sequence_kernel_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/exp_viterbi_constrained_sequence_kernel_test.cc b/tensorflow_text/core/kernels/exp_viterbi_constrained_sequence_kernel_test.cc index d7f5da9cd..49cfa02be 100644 --- a/tensorflow_text/core/kernels/exp_viterbi_constrained_sequence_kernel_test.cc +++ b/tensorflow_text/core/kernels/exp_viterbi_constrained_sequence_kernel_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_bert_normalizer.h b/tensorflow_text/core/kernels/fast_bert_normalizer.h index 58d280489..efd5102bf 100644 --- a/tensorflow_text/core/kernels/fast_bert_normalizer.h +++ b/tensorflow_text/core/kernels/fast_bert_normalizer.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_bert_normalizer_kernel_template.h b/tensorflow_text/core/kernels/fast_bert_normalizer_kernel_template.h index b4bb7bbdc..ae795b53b 100644 --- a/tensorflow_text/core/kernels/fast_bert_normalizer_kernel_template.h +++ b/tensorflow_text/core/kernels/fast_bert_normalizer_kernel_template.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_bert_normalizer_model_builder.cc b/tensorflow_text/core/kernels/fast_bert_normalizer_model_builder.cc index 2d4568bac..808d2a09c 100644 --- a/tensorflow_text/core/kernels/fast_bert_normalizer_model_builder.cc +++ b/tensorflow_text/core/kernels/fast_bert_normalizer_model_builder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_bert_normalizer_model_builder.h b/tensorflow_text/core/kernels/fast_bert_normalizer_model_builder.h index 61e38a94e..a2e57b7c5 100644 --- a/tensorflow_text/core/kernels/fast_bert_normalizer_model_builder.h +++ b/tensorflow_text/core/kernels/fast_bert_normalizer_model_builder.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_bert_normalizer_test.cc b/tensorflow_text/core/kernels/fast_bert_normalizer_test.cc index 13da1f36c..73b4a4c51 100644 --- a/tensorflow_text/core/kernels/fast_bert_normalizer_test.cc +++ b/tensorflow_text/core/kernels/fast_bert_normalizer_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_bert_normalizer_tf_kernel.cc b/tensorflow_text/core/kernels/fast_bert_normalizer_tf_kernel.cc index 73fb9b6bd..7faba4703 100644 --- a/tensorflow_text/core/kernels/fast_bert_normalizer_tf_kernel.cc +++ b/tensorflow_text/core/kernels/fast_bert_normalizer_tf_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_bert_normalizer_tf_kernel.h b/tensorflow_text/core/kernels/fast_bert_normalizer_tf_kernel.h index 70e075a85..2c1547115 100644 --- a/tensorflow_text/core/kernels/fast_bert_normalizer_tf_kernel.h +++ b/tensorflow_text/core/kernels/fast_bert_normalizer_tf_kernel.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_bert_normalizer_tflite.cc b/tensorflow_text/core/kernels/fast_bert_normalizer_tflite.cc index 5903be4b7..d61202bdc 100644 --- a/tensorflow_text/core/kernels/fast_bert_normalizer_tflite.cc +++ b/tensorflow_text/core/kernels/fast_bert_normalizer_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_bert_normalizer_tflite.h b/tensorflow_text/core/kernels/fast_bert_normalizer_tflite.h index 51ad0cb63..d6e2de641 100644 --- a/tensorflow_text/core/kernels/fast_bert_normalizer_tflite.h +++ b/tensorflow_text/core/kernels/fast_bert_normalizer_tflite.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer.cc b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer.cc index 2c172d132..88feee121 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer.cc +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer.h b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer.h index e832305a0..562c2a495 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer.h +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel.cc b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel.cc index bb92e8a20..ca3e49435 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel.cc +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel.h b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel.h index c10b387a1..29542d92d 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel.h +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel_template.h b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel_template.h index 80b4ef560..efc26197a 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel_template.h +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_kernel_template.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_model_builder.cc b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_model_builder.cc index a2bd43eb2..584ae560b 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_model_builder.cc +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_model_builder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_model_builder.h b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_model_builder.h index d71ac8b2a..080d4ab76 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_model_builder.h +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_model_builder.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_test.cc b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_test.cc index 1e0e732f1..fea96e3ef 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_test.cc +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_tflite.cc b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_tflite.cc index cd9827237..18c58af04 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_tflite.cc +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_tflite.h b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_tflite.h index 5e04e7a29..bd1c176c5 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_tflite.h +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_tflite.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_utils.h b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_utils.h index 129da2a16..a147654f0 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_utils.h +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_utils.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_utils_test.cc b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_utils_test.cc index aa32e8538..a36900542 100644 --- a/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_utils_test.cc +++ b/tensorflow_text/core/kernels/fast_wordpiece_tokenizer_utils_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/log_greedy_constrained_sequence_kernel_test.cc b/tensorflow_text/core/kernels/log_greedy_constrained_sequence_kernel_test.cc index 979947837..6d9d89054 100644 --- a/tensorflow_text/core/kernels/log_greedy_constrained_sequence_kernel_test.cc +++ b/tensorflow_text/core/kernels/log_greedy_constrained_sequence_kernel_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/log_viterbi_constrained_sequence_kernel_test.cc b/tensorflow_text/core/kernels/log_viterbi_constrained_sequence_kernel_test.cc index 7a1da89ae..7e444a496 100644 --- a/tensorflow_text/core/kernels/log_viterbi_constrained_sequence_kernel_test.cc +++ b/tensorflow_text/core/kernels/log_viterbi_constrained_sequence_kernel_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/mst_op_kernels.cc b/tensorflow_text/core/kernels/mst_op_kernels.cc index f0c0629f6..01eb5954b 100644 --- a/tensorflow_text/core/kernels/mst_op_kernels.cc +++ b/tensorflow_text/core/kernels/mst_op_kernels.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/mst_solver.h b/tensorflow_text/core/kernels/mst_solver.h index 4b5a1417b..b75e964bf 100644 --- a/tensorflow_text/core/kernels/mst_solver.h +++ b/tensorflow_text/core/kernels/mst_solver.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/mst_solver_random_comparison_test.cc b/tensorflow_text/core/kernels/mst_solver_random_comparison_test.cc index 4e4762808..9896801b5 100644 --- a/tensorflow_text/core/kernels/mst_solver_random_comparison_test.cc +++ b/tensorflow_text/core/kernels/mst_solver_random_comparison_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/mst_solver_test.cc b/tensorflow_text/core/kernels/mst_solver_test.cc index 9f3db8f3f..782f7817e 100644 --- a/tensorflow_text/core/kernels/mst_solver_test.cc +++ b/tensorflow_text/core/kernels/mst_solver_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/ngrams_kernel.cc b/tensorflow_text/core/kernels/ngrams_kernel.cc index 3c85fb161..de9486e6f 100644 --- a/tensorflow_text/core/kernels/ngrams_kernel.cc +++ b/tensorflow_text/core/kernels/ngrams_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/ngrams_kernel.h b/tensorflow_text/core/kernels/ngrams_kernel.h index aa37305b7..e8c13d603 100644 --- a/tensorflow_text/core/kernels/ngrams_kernel.h +++ b/tensorflow_text/core/kernels/ngrams_kernel.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/ngrams_kernel_template.h b/tensorflow_text/core/kernels/ngrams_kernel_template.h index 667a8f010..1a8a3fc8f 100644 --- a/tensorflow_text/core/kernels/ngrams_kernel_template.h +++ b/tensorflow_text/core/kernels/ngrams_kernel_template.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/ngrams_kernel_test.cc b/tensorflow_text/core/kernels/ngrams_kernel_test.cc index 407a6f3d3..a6b70925c 100644 --- a/tensorflow_text/core/kernels/ngrams_kernel_test.cc +++ b/tensorflow_text/core/kernels/ngrams_kernel_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/ngrams_tflite.cc b/tensorflow_text/core/kernels/ngrams_tflite.cc index d7f4ba715..71c34bb2b 100644 --- a/tensorflow_text/core/kernels/ngrams_tflite.cc +++ b/tensorflow_text/core/kernels/ngrams_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/ngrams_tflite.h b/tensorflow_text/core/kernels/ngrams_tflite.h index 24d979bf9..0f0700ad0 100644 --- a/tensorflow_text/core/kernels/ngrams_tflite.h +++ b/tensorflow_text/core/kernels/ngrams_tflite.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/ngrams_tflite_test.cc b/tensorflow_text/core/kernels/ngrams_tflite_test.cc index 2ef442436..0e2e88e61 100644 --- a/tensorflow_text/core/kernels/ngrams_tflite_test.cc +++ b/tensorflow_text/core/kernels/ngrams_tflite_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/normalize_kernels.cc b/tensorflow_text/core/kernels/normalize_kernels.cc index b176fd0ac..e011a4629 100644 --- a/tensorflow_text/core/kernels/normalize_kernels.cc +++ b/tensorflow_text/core/kernels/normalize_kernels.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/normalize_kernels_test.cc b/tensorflow_text/core/kernels/normalize_kernels_test.cc index 9858d69f5..a3aa0207b 100644 --- a/tensorflow_text/core/kernels/normalize_kernels_test.cc +++ b/tensorflow_text/core/kernels/normalize_kernels_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/phrase_tokenizer.cc b/tensorflow_text/core/kernels/phrase_tokenizer.cc index 980b92db1..cfffe87fe 100644 --- a/tensorflow_text/core/kernels/phrase_tokenizer.cc +++ b/tensorflow_text/core/kernels/phrase_tokenizer.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/phrase_tokenizer.h b/tensorflow_text/core/kernels/phrase_tokenizer.h index c39585ab1..b9f48eb72 100644 --- a/tensorflow_text/core/kernels/phrase_tokenizer.h +++ b/tensorflow_text/core/kernels/phrase_tokenizer.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/phrase_tokenizer_kernel.cc b/tensorflow_text/core/kernels/phrase_tokenizer_kernel.cc index 362278805..ac47ba777 100644 --- a/tensorflow_text/core/kernels/phrase_tokenizer_kernel.cc +++ b/tensorflow_text/core/kernels/phrase_tokenizer_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/phrase_tokenizer_kernel.h b/tensorflow_text/core/kernels/phrase_tokenizer_kernel.h index 7734fc109..302b193df 100644 --- a/tensorflow_text/core/kernels/phrase_tokenizer_kernel.h +++ b/tensorflow_text/core/kernels/phrase_tokenizer_kernel.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/phrase_tokenizer_kernel_template.h b/tensorflow_text/core/kernels/phrase_tokenizer_kernel_template.h index 13a901de5..67807a768 100644 --- a/tensorflow_text/core/kernels/phrase_tokenizer_kernel_template.h +++ b/tensorflow_text/core/kernels/phrase_tokenizer_kernel_template.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/phrase_tokenizer_model_builder.cc b/tensorflow_text/core/kernels/phrase_tokenizer_model_builder.cc index 8401ebad0..07ec2c85f 100644 --- a/tensorflow_text/core/kernels/phrase_tokenizer_model_builder.cc +++ b/tensorflow_text/core/kernels/phrase_tokenizer_model_builder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/phrase_tokenizer_model_builder.h b/tensorflow_text/core/kernels/phrase_tokenizer_model_builder.h index aa86686b1..86cd35b20 100644 --- a/tensorflow_text/core/kernels/phrase_tokenizer_model_builder.h +++ b/tensorflow_text/core/kernels/phrase_tokenizer_model_builder.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/phrase_tokenizer_test.cc b/tensorflow_text/core/kernels/phrase_tokenizer_test.cc index 396952365..e8ae06570 100644 --- a/tensorflow_text/core/kernels/phrase_tokenizer_test.cc +++ b/tensorflow_text/core/kernels/phrase_tokenizer_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite.cc b/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite.cc index 5eed0e706..977cf5836 100644 --- a/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite.cc +++ b/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite.h b/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite.h index 865991add..30586a094 100644 --- a/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite.h +++ b/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite_test.cc b/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite_test.cc index 13fbbf54e..e1241084d 100644 --- a/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite_test.cc +++ b/tensorflow_text/core/kernels/ragged_tensor_to_tensor_tflite_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/regex_split.cc b/tensorflow_text/core/kernels/regex_split.cc index 8879b6385..add317d1a 100644 --- a/tensorflow_text/core/kernels/regex_split.cc +++ b/tensorflow_text/core/kernels/regex_split.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/regex_split.h b/tensorflow_text/core/kernels/regex_split.h index 1aa123235..770efaa7e 100644 --- a/tensorflow_text/core/kernels/regex_split.h +++ b/tensorflow_text/core/kernels/regex_split.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/regex_split_kernels.cc b/tensorflow_text/core/kernels/regex_split_kernels.cc index 63fb76bd5..fd79a63d7 100644 --- a/tensorflow_text/core/kernels/regex_split_kernels.cc +++ b/tensorflow_text/core/kernels/regex_split_kernels.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/regex_split_test.cc b/tensorflow_text/core/kernels/regex_split_test.cc index f4df5fa63..045623746 100644 --- a/tensorflow_text/core/kernels/regex_split_test.cc +++ b/tensorflow_text/core/kernels/regex_split_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/rouge_l_kernel.cc b/tensorflow_text/core/kernels/rouge_l_kernel.cc index 688211d52..50a730f47 100644 --- a/tensorflow_text/core/kernels/rouge_l_kernel.cc +++ b/tensorflow_text/core/kernels/rouge_l_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/rouge_l_kernel_test.cc b/tensorflow_text/core/kernels/rouge_l_kernel_test.cc index 6919d1562..3dc00a120 100644 --- a/tensorflow_text/core/kernels/rouge_l_kernel_test.cc +++ b/tensorflow_text/core/kernels/rouge_l_kernel_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/round_robin_trimmer.h b/tensorflow_text/core/kernels/round_robin_trimmer.h index 5f4aa95b3..5273dfa9e 100644 --- a/tensorflow_text/core/kernels/round_robin_trimmer.h +++ b/tensorflow_text/core/kernels/round_robin_trimmer.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/round_robin_trimmer_kernel.cc b/tensorflow_text/core/kernels/round_robin_trimmer_kernel.cc index 354c8e96d..4635d7b45 100644 --- a/tensorflow_text/core/kernels/round_robin_trimmer_kernel.cc +++ b/tensorflow_text/core/kernels/round_robin_trimmer_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/round_robin_trimmer_kernel.h b/tensorflow_text/core/kernels/round_robin_trimmer_kernel.h index 818c0e3b3..69edec748 100644 --- a/tensorflow_text/core/kernels/round_robin_trimmer_kernel.h +++ b/tensorflow_text/core/kernels/round_robin_trimmer_kernel.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/round_robin_trimmer_kernel_template.h b/tensorflow_text/core/kernels/round_robin_trimmer_kernel_template.h index b4b78a62c..51f17da43 100644 --- a/tensorflow_text/core/kernels/round_robin_trimmer_kernel_template.h +++ b/tensorflow_text/core/kernels/round_robin_trimmer_kernel_template.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/round_robin_trimmer_test.cc b/tensorflow_text/core/kernels/round_robin_trimmer_test.cc index 96f7f3637..50c21e32d 100644 --- a/tensorflow_text/core/kernels/round_robin_trimmer_test.cc +++ b/tensorflow_text/core/kernels/round_robin_trimmer_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/round_robin_trimmer_tflite.cc b/tensorflow_text/core/kernels/round_robin_trimmer_tflite.cc index f8902c94f..a724beba6 100644 --- a/tensorflow_text/core/kernels/round_robin_trimmer_tflite.cc +++ b/tensorflow_text/core/kernels/round_robin_trimmer_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/round_robin_trimmer_tflite.h b/tensorflow_text/core/kernels/round_robin_trimmer_tflite.h index d95b43bf0..46ffe63b9 100644 --- a/tensorflow_text/core/kernels/round_robin_trimmer_tflite.h +++ b/tensorflow_text/core/kernels/round_robin_trimmer_tflite.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_breaking_kernels.cc b/tensorflow_text/core/kernels/sentence_breaking_kernels.cc index b11395ffd..0f4c34c82 100644 --- a/tensorflow_text/core/kernels/sentence_breaking_kernels.cc +++ b/tensorflow_text/core/kernels/sentence_breaking_kernels.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_breaking_utils.cc b/tensorflow_text/core/kernels/sentence_breaking_utils.cc index ec0e35e28..5bdcc1c02 100644 --- a/tensorflow_text/core/kernels/sentence_breaking_utils.cc +++ b/tensorflow_text/core/kernels/sentence_breaking_utils.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_breaking_utils.h b/tensorflow_text/core/kernels/sentence_breaking_utils.h index 48d91fd4f..02534a7e3 100644 --- a/tensorflow_text/core/kernels/sentence_breaking_utils.h +++ b/tensorflow_text/core/kernels/sentence_breaking_utils.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_breaking_utils_test.cc b/tensorflow_text/core/kernels/sentence_breaking_utils_test.cc index 95bcf8932..7aee97091 100644 --- a/tensorflow_text/core/kernels/sentence_breaking_utils_test.cc +++ b/tensorflow_text/core/kernels/sentence_breaking_utils_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_fragmenter.cc b/tensorflow_text/core/kernels/sentence_fragmenter.cc index 2e2a2586c..c336b5cfa 100644 --- a/tensorflow_text/core/kernels/sentence_fragmenter.cc +++ b/tensorflow_text/core/kernels/sentence_fragmenter.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_fragmenter.h b/tensorflow_text/core/kernels/sentence_fragmenter.h index f595a79e1..25f1038e1 100644 --- a/tensorflow_text/core/kernels/sentence_fragmenter.h +++ b/tensorflow_text/core/kernels/sentence_fragmenter.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_fragmenter_v2.cc b/tensorflow_text/core/kernels/sentence_fragmenter_v2.cc index 1c8d4ad91..d917106c2 100644 --- a/tensorflow_text/core/kernels/sentence_fragmenter_v2.cc +++ b/tensorflow_text/core/kernels/sentence_fragmenter_v2.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_fragmenter_v2.h b/tensorflow_text/core/kernels/sentence_fragmenter_v2.h index f27a69257..6c06867eb 100644 --- a/tensorflow_text/core/kernels/sentence_fragmenter_v2.h +++ b/tensorflow_text/core/kernels/sentence_fragmenter_v2.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel.cc b/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel.cc index fdccbf3d9..f50d41a31 100644 --- a/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel.cc +++ b/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel.h b/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel.h index ee8cb1d39..d36c7e9c5 100644 --- a/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel.h +++ b/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel_template.h b/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel_template.h index 9c2070f68..ea7be5862 100644 --- a/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel_template.h +++ b/tensorflow_text/core/kernels/sentence_fragmenter_v2_kernel_template.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_fragmenter_v2_test.cc b/tensorflow_text/core/kernels/sentence_fragmenter_v2_test.cc index 9adfe528f..87cd49265 100644 --- a/tensorflow_text/core/kernels/sentence_fragmenter_v2_test.cc +++ b/tensorflow_text/core/kernels/sentence_fragmenter_v2_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_fragmenter_v2_tflite.cc b/tensorflow_text/core/kernels/sentence_fragmenter_v2_tflite.cc index 82d40d31a..47cb94d1f 100644 --- a/tensorflow_text/core/kernels/sentence_fragmenter_v2_tflite.cc +++ b/tensorflow_text/core/kernels/sentence_fragmenter_v2_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentence_fragmenter_v2_tflite.h b/tensorflow_text/core/kernels/sentence_fragmenter_v2_tflite.h index 7f603e21a..7f0694eb2 100644 --- a/tensorflow_text/core/kernels/sentence_fragmenter_v2_tflite.h +++ b/tensorflow_text/core/kernels/sentence_fragmenter_v2_tflite.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/double_array_trie.h b/tensorflow_text/core/kernels/sentencepiece/double_array_trie.h index 4daea5529..0599cb641 100644 --- a/tensorflow_text/core/kernels/sentencepiece/double_array_trie.h +++ b/tensorflow_text/core/kernels/sentencepiece/double_array_trie.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/double_array_trie_builder.cc b/tensorflow_text/core/kernels/sentencepiece/double_array_trie_builder.cc index e0288df10..7e5bdae64 100644 --- a/tensorflow_text/core/kernels/sentencepiece/double_array_trie_builder.cc +++ b/tensorflow_text/core/kernels/sentencepiece/double_array_trie_builder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/double_array_trie_builder.h b/tensorflow_text/core/kernels/sentencepiece/double_array_trie_builder.h index 3dc8134c7..1e585f99a 100644 --- a/tensorflow_text/core/kernels/sentencepiece/double_array_trie_builder.h +++ b/tensorflow_text/core/kernels/sentencepiece/double_array_trie_builder.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/double_array_trie_test.cc b/tensorflow_text/core/kernels/sentencepiece/double_array_trie_test.cc index 9a1210dcb..118a0573a 100644 --- a/tensorflow_text/core/kernels/sentencepiece/double_array_trie_test.cc +++ b/tensorflow_text/core/kernels/sentencepiece/double_array_trie_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/model_converter.cc b/tensorflow_text/core/kernels/sentencepiece/model_converter.cc index 1d48e61ba..bdaaff375 100644 --- a/tensorflow_text/core/kernels/sentencepiece/model_converter.cc +++ b/tensorflow_text/core/kernels/sentencepiece/model_converter.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/model_converter.h b/tensorflow_text/core/kernels/sentencepiece/model_converter.h index 7d194b198..716e989b4 100644 --- a/tensorflow_text/core/kernels/sentencepiece/model_converter.h +++ b/tensorflow_text/core/kernels/sentencepiece/model_converter.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/optimized_decoder.cc b/tensorflow_text/core/kernels/sentencepiece/optimized_decoder.cc index fb7f1ae6f..397349c58 100644 --- a/tensorflow_text/core/kernels/sentencepiece/optimized_decoder.cc +++ b/tensorflow_text/core/kernels/sentencepiece/optimized_decoder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/optimized_decoder.h b/tensorflow_text/core/kernels/sentencepiece/optimized_decoder.h index a9cb630ea..8513d8e06 100644 --- a/tensorflow_text/core/kernels/sentencepiece/optimized_decoder.h +++ b/tensorflow_text/core/kernels/sentencepiece/optimized_decoder.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/optimized_decoder_test.cc b/tensorflow_text/core/kernels/sentencepiece/optimized_decoder_test.cc index 5593cbef0..600941e76 100644 --- a/tensorflow_text/core/kernels/sentencepiece/optimized_decoder_test.cc +++ b/tensorflow_text/core/kernels/sentencepiece/optimized_decoder_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/optimized_encoder.cc b/tensorflow_text/core/kernels/sentencepiece/optimized_encoder.cc index 4733d6555..9602684d0 100644 --- a/tensorflow_text/core/kernels/sentencepiece/optimized_encoder.cc +++ b/tensorflow_text/core/kernels/sentencepiece/optimized_encoder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/optimized_encoder.h b/tensorflow_text/core/kernels/sentencepiece/optimized_encoder.h index cb6a01a6a..d1ca949a6 100644 --- a/tensorflow_text/core/kernels/sentencepiece/optimized_encoder.h +++ b/tensorflow_text/core/kernels/sentencepiece/optimized_encoder.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/optimized_encoder_test.cc b/tensorflow_text/core/kernels/sentencepiece/optimized_encoder_test.cc index d777928d5..ecab756f4 100644 --- a/tensorflow_text/core/kernels/sentencepiece/optimized_encoder_test.cc +++ b/tensorflow_text/core/kernels/sentencepiece/optimized_encoder_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/py_tflite_registerer.cc b/tensorflow_text/core/kernels/sentencepiece/py_tflite_registerer.cc index 6d264f8e9..e5ae73622 100644 --- a/tensorflow_text/core/kernels/sentencepiece/py_tflite_registerer.cc +++ b/tensorflow_text/core/kernels/sentencepiece/py_tflite_registerer.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/py_tflite_registerer.h b/tensorflow_text/core/kernels/sentencepiece/py_tflite_registerer.h index b94d2524d..6a64a6b7a 100644 --- a/tensorflow_text/core/kernels/sentencepiece/py_tflite_registerer.h +++ b/tensorflow_text/core/kernels/sentencepiece/py_tflite_registerer.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_constants.h b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_constants.h index 241d5b09c..f0d95d1c8 100644 --- a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_constants.h +++ b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_constants.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer.h b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer.h index 943683db0..24b41fc8c 100644 --- a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer.h +++ b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_kernel.cc b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_kernel.cc index 07a7ef7b4..3338ca38e 100644 --- a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_kernel.cc +++ b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_tflite.cc b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_tflite.cc index 61bf658b8..89e8a4723 100644 --- a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_tflite.cc +++ b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer.h b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer.h index 40ab05114..8ce03f69b 100644 --- a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer.h +++ b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer_kernel.cc b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer_kernel.cc index ea4564928..22a5beaf6 100644 --- a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer_kernel.cc +++ b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer_tflite.cc b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer_tflite.cc index 434c98889..ddce5bd48 100644 --- a/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer_tflite.cc +++ b/tensorflow_text/core/kernels/sentencepiece/sentencepiece_tokenizer_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece/utils.h b/tensorflow_text/core/kernels/sentencepiece/utils.h index 61171a5dd..fb9d850e0 100644 --- a/tensorflow_text/core/kernels/sentencepiece/utils.h +++ b/tensorflow_text/core/kernels/sentencepiece/utils.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/sentencepiece_kernels.cc b/tensorflow_text/core/kernels/sentencepiece_kernels.cc index 4cc91495b..a1f57bc19 100644 --- a/tensorflow_text/core/kernels/sentencepiece_kernels.cc +++ b/tensorflow_text/core/kernels/sentencepiece_kernels.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/spanning_tree_iterator.cc b/tensorflow_text/core/kernels/spanning_tree_iterator.cc index b27a1c228..1c859a543 100644 --- a/tensorflow_text/core/kernels/spanning_tree_iterator.cc +++ b/tensorflow_text/core/kernels/spanning_tree_iterator.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/spanning_tree_iterator.h b/tensorflow_text/core/kernels/spanning_tree_iterator.h index bff1e6f55..68bc6f14a 100644 --- a/tensorflow_text/core/kernels/spanning_tree_iterator.h +++ b/tensorflow_text/core/kernels/spanning_tree_iterator.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/spanning_tree_iterator_test.cc b/tensorflow_text/core/kernels/spanning_tree_iterator_test.cc index fda6eda6b..db3e4439e 100644 --- a/tensorflow_text/core/kernels/spanning_tree_iterator_test.cc +++ b/tensorflow_text/core/kernels/spanning_tree_iterator_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/split_merge_tokenize_kernel.cc b/tensorflow_text/core/kernels/split_merge_tokenize_kernel.cc index 6a5372dd0..5491fab4d 100644 --- a/tensorflow_text/core/kernels/split_merge_tokenize_kernel.cc +++ b/tensorflow_text/core/kernels/split_merge_tokenize_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/string_vocab.cc b/tensorflow_text/core/kernels/string_vocab.cc index fadbe277d..abb20edcf 100644 --- a/tensorflow_text/core/kernels/string_vocab.cc +++ b/tensorflow_text/core/kernels/string_vocab.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -14,11 +14,18 @@ #include "tensorflow_text/core/kernels/string_vocab.h" +#include +#include + +#include "absl/strings/string_view.h" +#include "absl/types/optional.h" + namespace tensorflow { namespace text { StringVocab::StringVocab(const std::vector& vocab) : vocab_(vocab) { + index_map_.reserve(vocab.size()); for (int i = 0; i < vocab.size(); ++i) { index_map_[vocab_[i]] = i; } diff --git a/tensorflow_text/core/kernels/string_vocab.h b/tensorflow_text/core/kernels/string_vocab.h index 5e698e063..ed6aa82a8 100644 --- a/tensorflow_text/core/kernels/string_vocab.h +++ b/tensorflow_text/core/kernels/string_vocab.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,6 +19,8 @@ #include #include "absl/container/flat_hash_map.h" +#include "absl/strings/string_view.h" +#include "absl/types/optional.h" #include "tensorflow_text/core/kernels/wordpiece_tokenizer.h" namespace tensorflow { diff --git a/tensorflow_text/core/kernels/text_kernels_test_util.cc b/tensorflow_text/core/kernels/text_kernels_test_util.cc index b854c617a..3c7a05159 100644 --- a/tensorflow_text/core/kernels/text_kernels_test_util.cc +++ b/tensorflow_text/core/kernels/text_kernels_test_util.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/text_kernels_test_util.h b/tensorflow_text/core/kernels/text_kernels_test_util.h index d232cf1f2..87a3b7d7b 100644 --- a/tensorflow_text/core/kernels/text_kernels_test_util.h +++ b/tensorflow_text/core/kernels/text_kernels_test_util.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/tokenizer_from_logits_kernel.cc b/tensorflow_text/core/kernels/tokenizer_from_logits_kernel.cc index 49b4ff840..39262dd94 100644 --- a/tensorflow_text/core/kernels/tokenizer_from_logits_kernel.cc +++ b/tensorflow_text/core/kernels/tokenizer_from_logits_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/trimmer.h b/tensorflow_text/core/kernels/trimmer.h index d74ae81c5..f2781fc93 100644 --- a/tensorflow_text/core/kernels/trimmer.h +++ b/tensorflow_text/core/kernels/trimmer.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/unicode_script_tokenize_kernel.cc b/tensorflow_text/core/kernels/unicode_script_tokenize_kernel.cc index 67510c62e..6217f1bd5 100644 --- a/tensorflow_text/core/kernels/unicode_script_tokenize_kernel.cc +++ b/tensorflow_text/core/kernels/unicode_script_tokenize_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/unicode_script_tokenize_kernel_test.cc b/tensorflow_text/core/kernels/unicode_script_tokenize_kernel_test.cc index ce09af0b7..5a847d8c8 100644 --- a/tensorflow_text/core/kernels/unicode_script_tokenize_kernel_test.cc +++ b/tensorflow_text/core/kernels/unicode_script_tokenize_kernel_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/utf8_binarize.cc b/tensorflow_text/core/kernels/utf8_binarize.cc index 84f61e446..2bba0de80 100644 --- a/tensorflow_text/core/kernels/utf8_binarize.cc +++ b/tensorflow_text/core/kernels/utf8_binarize.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/utf8_binarize.h b/tensorflow_text/core/kernels/utf8_binarize.h index ab2ed43ce..908cf006b 100644 --- a/tensorflow_text/core/kernels/utf8_binarize.h +++ b/tensorflow_text/core/kernels/utf8_binarize.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/utf8_binarize_kernel.cc b/tensorflow_text/core/kernels/utf8_binarize_kernel.cc index 8ad17b228..80049896f 100644 --- a/tensorflow_text/core/kernels/utf8_binarize_kernel.cc +++ b/tensorflow_text/core/kernels/utf8_binarize_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/utf8_binarize_kernel.h b/tensorflow_text/core/kernels/utf8_binarize_kernel.h index e82cd254a..3dfdcaad5 100644 --- a/tensorflow_text/core/kernels/utf8_binarize_kernel.h +++ b/tensorflow_text/core/kernels/utf8_binarize_kernel.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/utf8_binarize_kernel_template.h b/tensorflow_text/core/kernels/utf8_binarize_kernel_template.h index 2eb5ff2c0..c8304ea6f 100644 --- a/tensorflow_text/core/kernels/utf8_binarize_kernel_template.h +++ b/tensorflow_text/core/kernels/utf8_binarize_kernel_template.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/utf8_binarize_test.cc b/tensorflow_text/core/kernels/utf8_binarize_test.cc index 398043aca..9f61896c9 100644 --- a/tensorflow_text/core/kernels/utf8_binarize_test.cc +++ b/tensorflow_text/core/kernels/utf8_binarize_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/utf8_binarize_tflite.cc b/tensorflow_text/core/kernels/utf8_binarize_tflite.cc index f25f5f24d..9bb6ac3c5 100644 --- a/tensorflow_text/core/kernels/utf8_binarize_tflite.cc +++ b/tensorflow_text/core/kernels/utf8_binarize_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/utf8_binarize_tflite.h b/tensorflow_text/core/kernels/utf8_binarize_tflite.h index 4bca487e1..b4e145d1e 100644 --- a/tensorflow_text/core/kernels/utf8_binarize_tflite.h +++ b/tensorflow_text/core/kernels/utf8_binarize_tflite.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenize_kernel.cc b/tensorflow_text/core/kernels/whitespace_tokenize_kernel.cc index d74f63a46..dcdac0c5f 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenize_kernel.cc +++ b/tensorflow_text/core/kernels/whitespace_tokenize_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenize_kernel_test.cc b/tensorflow_text/core/kernels/whitespace_tokenize_kernel_test.cc index eaf3dc716..4a6ddfb6b 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenize_kernel_test.cc +++ b/tensorflow_text/core/kernels/whitespace_tokenize_kernel_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer.cc b/tensorflow_text/core/kernels/whitespace_tokenizer.cc index 778c0953e..dfe7107fc 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer.cc +++ b/tensorflow_text/core/kernels/whitespace_tokenizer.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer.h b/tensorflow_text/core/kernels/whitespace_tokenizer.h index 59a01f3fd..b2b357500 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer.h +++ b/tensorflow_text/core/kernels/whitespace_tokenizer.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder.cc b/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder.cc index e3a4d026b..db4a17063 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder.cc +++ b/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder.h b/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder.h index f409b9b20..60a3ca092 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder.h +++ b/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder_test.cc b/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder_test.cc index 0e58073fd..9c8a2724b 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder_test.cc +++ b/tensorflow_text/core/kernels/whitespace_tokenizer_config_builder_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer_kernel.cc b/tensorflow_text/core/kernels/whitespace_tokenizer_kernel.cc index e30c80556..78a90c02b 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer_kernel.cc +++ b/tensorflow_text/core/kernels/whitespace_tokenizer_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer_kernel.h b/tensorflow_text/core/kernels/whitespace_tokenizer_kernel.h index c7065488e..00eae4b3f 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer_kernel.h +++ b/tensorflow_text/core/kernels/whitespace_tokenizer_kernel.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer_kernel_template.h b/tensorflow_text/core/kernels/whitespace_tokenizer_kernel_template.h index 893594a02..e05a914bb 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer_kernel_template.h +++ b/tensorflow_text/core/kernels/whitespace_tokenizer_kernel_template.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer_test.cc b/tensorflow_text/core/kernels/whitespace_tokenizer_test.cc index cf21e1245..aa94839f7 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer_test.cc +++ b/tensorflow_text/core/kernels/whitespace_tokenizer_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer_tflite.cc b/tensorflow_text/core/kernels/whitespace_tokenizer_tflite.cc index c484fd18a..58c09915a 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer_tflite.cc +++ b/tensorflow_text/core/kernels/whitespace_tokenizer_tflite.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/whitespace_tokenizer_tflite.h b/tensorflow_text/core/kernels/whitespace_tokenizer_tflite.h index 75f38c2ce..85b003e00 100644 --- a/tensorflow_text/core/kernels/whitespace_tokenizer_tflite.h +++ b/tensorflow_text/core/kernels/whitespace_tokenizer_tflite.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/wordpiece_kernel.cc b/tensorflow_text/core/kernels/wordpiece_kernel.cc index b86ad0f54..8863d80ab 100644 --- a/tensorflow_text/core/kernels/wordpiece_kernel.cc +++ b/tensorflow_text/core/kernels/wordpiece_kernel.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/wordpiece_kernel_test.cc b/tensorflow_text/core/kernels/wordpiece_kernel_test.cc index 2ab45d7f9..d9b81677a 100644 --- a/tensorflow_text/core/kernels/wordpiece_kernel_test.cc +++ b/tensorflow_text/core/kernels/wordpiece_kernel_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/wordpiece_tokenizer.cc b/tensorflow_text/core/kernels/wordpiece_tokenizer.cc index b7ad106f1..fd9adad5a 100644 --- a/tensorflow_text/core/kernels/wordpiece_tokenizer.cc +++ b/tensorflow_text/core/kernels/wordpiece_tokenizer.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/kernels/wordpiece_tokenizer.h b/tensorflow_text/core/kernels/wordpiece_tokenizer.h index 87869e92e..c173497ee 100644 --- a/tensorflow_text/core/kernels/wordpiece_tokenizer.h +++ b/tensorflow_text/core/kernels/wordpiece_tokenizer.h @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/boise_offset_converter_op.cc b/tensorflow_text/core/ops/boise_offset_converter_op.cc index 109dce129..7cafe2e87 100644 --- a/tensorflow_text/core/ops/boise_offset_converter_op.cc +++ b/tensorflow_text/core/ops/boise_offset_converter_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/boise_offset_converter_op_test.cc b/tensorflow_text/core/ops/boise_offset_converter_op_test.cc index b18058dd6..b3c855081 100644 --- a/tensorflow_text/core/ops/boise_offset_converter_op_test.cc +++ b/tensorflow_text/core/ops/boise_offset_converter_op_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/byte_splitter_op.cc b/tensorflow_text/core/ops/byte_splitter_op.cc index 9418bcdc5..655eb4a2f 100644 --- a/tensorflow_text/core/ops/byte_splitter_op.cc +++ b/tensorflow_text/core/ops/byte_splitter_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/byte_splitter_op_test.cc b/tensorflow_text/core/ops/byte_splitter_op_test.cc index 8d179a58a..2a28dec68 100644 --- a/tensorflow_text/core/ops/byte_splitter_op_test.cc +++ b/tensorflow_text/core/ops/byte_splitter_op_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/constrained_sequence_op.cc b/tensorflow_text/core/ops/constrained_sequence_op.cc index f1e41a9dc..4b18300bc 100644 --- a/tensorflow_text/core/ops/constrained_sequence_op.cc +++ b/tensorflow_text/core/ops/constrained_sequence_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/fast_bert_normalizer_op.cc b/tensorflow_text/core/ops/fast_bert_normalizer_op.cc index 2357afe2f..ce9cf3236 100644 --- a/tensorflow_text/core/ops/fast_bert_normalizer_op.cc +++ b/tensorflow_text/core/ops/fast_bert_normalizer_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/fast_sentencepiece_ops.cc b/tensorflow_text/core/ops/fast_sentencepiece_ops.cc index 5bc8507cd..ac32b2e31 100644 --- a/tensorflow_text/core/ops/fast_sentencepiece_ops.cc +++ b/tensorflow_text/core/ops/fast_sentencepiece_ops.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/fast_wordpiece_tokenizer_op.cc b/tensorflow_text/core/ops/fast_wordpiece_tokenizer_op.cc index 4ea59f538..9c4326c03 100644 --- a/tensorflow_text/core/ops/fast_wordpiece_tokenizer_op.cc +++ b/tensorflow_text/core/ops/fast_wordpiece_tokenizer_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/fast_wordpiece_tokenizer_op_test.cc b/tensorflow_text/core/ops/fast_wordpiece_tokenizer_op_test.cc index 1e5ce1529..e513929a5 100644 --- a/tensorflow_text/core/ops/fast_wordpiece_tokenizer_op_test.cc +++ b/tensorflow_text/core/ops/fast_wordpiece_tokenizer_op_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/mst_ops.cc b/tensorflow_text/core/ops/mst_ops.cc index b757c6f1b..2803df3ad 100644 --- a/tensorflow_text/core/ops/mst_ops.cc +++ b/tensorflow_text/core/ops/mst_ops.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/ngrams_op.cc b/tensorflow_text/core/ops/ngrams_op.cc index 81d88fa4a..e852a9846 100644 --- a/tensorflow_text/core/ops/ngrams_op.cc +++ b/tensorflow_text/core/ops/ngrams_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/normalize_ops.cc b/tensorflow_text/core/ops/normalize_ops.cc index b92436b39..8a0bf443b 100644 --- a/tensorflow_text/core/ops/normalize_ops.cc +++ b/tensorflow_text/core/ops/normalize_ops.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/phrase_tokenizer_op.cc b/tensorflow_text/core/ops/phrase_tokenizer_op.cc index 6b43bd233..cc3421cb1 100644 --- a/tensorflow_text/core/ops/phrase_tokenizer_op.cc +++ b/tensorflow_text/core/ops/phrase_tokenizer_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/regex_split_ops.cc b/tensorflow_text/core/ops/regex_split_ops.cc index eea08804a..0b73af44f 100644 --- a/tensorflow_text/core/ops/regex_split_ops.cc +++ b/tensorflow_text/core/ops/regex_split_ops.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/rouge_l_op.cc b/tensorflow_text/core/ops/rouge_l_op.cc index 282e09347..ae63b4f5b 100644 --- a/tensorflow_text/core/ops/rouge_l_op.cc +++ b/tensorflow_text/core/ops/rouge_l_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/sentence_breaking_ops.cc b/tensorflow_text/core/ops/sentence_breaking_ops.cc index c2dd11f8f..46fd3caaf 100644 --- a/tensorflow_text/core/ops/sentence_breaking_ops.cc +++ b/tensorflow_text/core/ops/sentence_breaking_ops.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/sentence_fragmenter_v2_op.cc b/tensorflow_text/core/ops/sentence_fragmenter_v2_op.cc index 299bab79c..47acc92d6 100644 --- a/tensorflow_text/core/ops/sentence_fragmenter_v2_op.cc +++ b/tensorflow_text/core/ops/sentence_fragmenter_v2_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/sentence_fragmenter_v2_op_test.cc b/tensorflow_text/core/ops/sentence_fragmenter_v2_op_test.cc index b7f164374..326293818 100644 --- a/tensorflow_text/core/ops/sentence_fragmenter_v2_op_test.cc +++ b/tensorflow_text/core/ops/sentence_fragmenter_v2_op_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/sentencepiece_ops.cc b/tensorflow_text/core/ops/sentencepiece_ops.cc index bbc2dd1a3..1f557862a 100644 --- a/tensorflow_text/core/ops/sentencepiece_ops.cc +++ b/tensorflow_text/core/ops/sentencepiece_ops.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/split_merge_tokenize_op.cc b/tensorflow_text/core/ops/split_merge_tokenize_op.cc index d3f9f68e3..27e279601 100644 --- a/tensorflow_text/core/ops/split_merge_tokenize_op.cc +++ b/tensorflow_text/core/ops/split_merge_tokenize_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/tokenizer_from_logits_op.cc b/tensorflow_text/core/ops/tokenizer_from_logits_op.cc index 6eb58fd34..3c1f4cb8e 100644 --- a/tensorflow_text/core/ops/tokenizer_from_logits_op.cc +++ b/tensorflow_text/core/ops/tokenizer_from_logits_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/trimmer_ops.cc b/tensorflow_text/core/ops/trimmer_ops.cc index 667e83a68..c4bf06f74 100644 --- a/tensorflow_text/core/ops/trimmer_ops.cc +++ b/tensorflow_text/core/ops/trimmer_ops.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/trimmer_ops_test.cc b/tensorflow_text/core/ops/trimmer_ops_test.cc index 5400aa251..aa8f29046 100644 --- a/tensorflow_text/core/ops/trimmer_ops_test.cc +++ b/tensorflow_text/core/ops/trimmer_ops_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/unicode_script_tokenize_op.cc b/tensorflow_text/core/ops/unicode_script_tokenize_op.cc index 88691fedc..72d233097 100644 --- a/tensorflow_text/core/ops/unicode_script_tokenize_op.cc +++ b/tensorflow_text/core/ops/unicode_script_tokenize_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/utf8_binarize_op.cc b/tensorflow_text/core/ops/utf8_binarize_op.cc index 76ad9756a..db4291b6d 100644 --- a/tensorflow_text/core/ops/utf8_binarize_op.cc +++ b/tensorflow_text/core/ops/utf8_binarize_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/utf8_binarize_op_test.cc b/tensorflow_text/core/ops/utf8_binarize_op_test.cc index fbcbb4d0a..49b8ae486 100644 --- a/tensorflow_text/core/ops/utf8_binarize_op_test.cc +++ b/tensorflow_text/core/ops/utf8_binarize_op_test.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/whitespace_tokenize_op.cc b/tensorflow_text/core/ops/whitespace_tokenize_op.cc index 7706480b7..6c73c60a2 100644 --- a/tensorflow_text/core/ops/whitespace_tokenize_op.cc +++ b/tensorflow_text/core/ops/whitespace_tokenize_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/whitespace_tokenizer_op.cc b/tensorflow_text/core/ops/whitespace_tokenizer_op.cc index 4070a57c9..d8c86a830 100644 --- a/tensorflow_text/core/ops/whitespace_tokenizer_op.cc +++ b/tensorflow_text/core/ops/whitespace_tokenizer_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/ops/wordpiece_op.cc b/tensorflow_text/core/ops/wordpiece_op.cc index 30c6e8828..6e6d7a05e 100644 --- a/tensorflow_text/core/ops/wordpiece_op.cc +++ b/tensorflow_text/core/ops/wordpiece_op.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/pybinds/pywrap_fast_bert_normalizer_model_builder.cc b/tensorflow_text/core/pybinds/pywrap_fast_bert_normalizer_model_builder.cc index 0df5eac64..d339ec6d6 100644 --- a/tensorflow_text/core/pybinds/pywrap_fast_bert_normalizer_model_builder.cc +++ b/tensorflow_text/core/pybinds/pywrap_fast_bert_normalizer_model_builder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/pybinds/pywrap_fast_bert_normalizer_model_builder_test.py b/tensorflow_text/core/pybinds/pywrap_fast_bert_normalizer_model_builder_test.py index c483cba74..69bd36d98 100644 --- a/tensorflow_text/core/pybinds/pywrap_fast_bert_normalizer_model_builder_test.py +++ b/tensorflow_text/core/pybinds/pywrap_fast_bert_normalizer_model_builder_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/pybinds/pywrap_fast_wordpiece_tokenizer_model_builder.cc b/tensorflow_text/core/pybinds/pywrap_fast_wordpiece_tokenizer_model_builder.cc index 0980a13d9..573250db0 100644 --- a/tensorflow_text/core/pybinds/pywrap_fast_wordpiece_tokenizer_model_builder.cc +++ b/tensorflow_text/core/pybinds/pywrap_fast_wordpiece_tokenizer_model_builder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/pybinds/pywrap_fast_wordpiece_tokenizer_model_builder_test.py b/tensorflow_text/core/pybinds/pywrap_fast_wordpiece_tokenizer_model_builder_test.py index 5a1ed39bb..30cba4f05 100644 --- a/tensorflow_text/core/pybinds/pywrap_fast_wordpiece_tokenizer_model_builder_test.py +++ b/tensorflow_text/core/pybinds/pywrap_fast_wordpiece_tokenizer_model_builder_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/pybinds/pywrap_model_converter.cc b/tensorflow_text/core/pybinds/pywrap_model_converter.cc index ad66949c0..73a932805 100644 --- a/tensorflow_text/core/pybinds/pywrap_model_converter.cc +++ b/tensorflow_text/core/pybinds/pywrap_model_converter.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/pybinds/pywrap_phrase_tokenizer_model_builder.cc b/tensorflow_text/core/pybinds/pywrap_phrase_tokenizer_model_builder.cc index 118608def..1221f92a9 100644 --- a/tensorflow_text/core/pybinds/pywrap_phrase_tokenizer_model_builder.cc +++ b/tensorflow_text/core/pybinds/pywrap_phrase_tokenizer_model_builder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/pybinds/pywrap_phrase_tokenizer_model_builder_test.py b/tensorflow_text/core/pybinds/pywrap_phrase_tokenizer_model_builder_test.py index 595ec32f6..a2c1a0d3a 100644 --- a/tensorflow_text/core/pybinds/pywrap_phrase_tokenizer_model_builder_test.py +++ b/tensorflow_text/core/pybinds/pywrap_phrase_tokenizer_model_builder_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/pybinds/pywrap_whitespace_tokenizer_config_builder.cc b/tensorflow_text/core/pybinds/pywrap_whitespace_tokenizer_config_builder.cc index a76bcff22..3266e2f77 100644 --- a/tensorflow_text/core/pybinds/pywrap_whitespace_tokenizer_config_builder.cc +++ b/tensorflow_text/core/pybinds/pywrap_whitespace_tokenizer_config_builder.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/pybinds/pywrap_whitespace_tokenizer_config_builder_test.py b/tensorflow_text/core/pybinds/pywrap_whitespace_tokenizer_config_builder_test.py index 72cf73070..c7f339785 100644 --- a/tensorflow_text/core/pybinds/pywrap_whitespace_tokenizer_config_builder_test.py +++ b/tensorflow_text/core/pybinds/pywrap_whitespace_tokenizer_config_builder_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/core/pybinds/tflite_registrar.cc b/tensorflow_text/core/pybinds/tflite_registrar.cc index 89875247b..08a7fbfae 100644 --- a/tensorflow_text/core/pybinds/tflite_registrar.cc +++ b/tensorflow_text/core/pybinds/tflite_registrar.cc @@ -1,4 +1,4 @@ -// Copyright 2025 TF.Text Authors. +// Copyright 2026 TF.Text Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/__init__.py b/tensorflow_text/python/__init__.py index 1929f5a4a..9ab9da81d 100644 --- a/tensorflow_text/python/__init__.py +++ b/tensorflow_text/python/__init__.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/benchmarks/__init__.py b/tensorflow_text/python/benchmarks/__init__.py index 3d0d184eb..553a36aca 100644 --- a/tensorflow_text/python/benchmarks/__init__.py +++ b/tensorflow_text/python/benchmarks/__init__.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/benchmarks/benchmark_utils.py b/tensorflow_text/python/benchmarks/benchmark_utils.py index ed9485743..fae8ca4ba 100644 --- a/tensorflow_text/python/benchmarks/benchmark_utils.py +++ b/tensorflow_text/python/benchmarks/benchmark_utils.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/benchmarks/ops_benchmarks.py b/tensorflow_text/python/benchmarks/ops_benchmarks.py index 8a62eec34..9ca137b3b 100644 --- a/tensorflow_text/python/benchmarks/ops_benchmarks.py +++ b/tensorflow_text/python/benchmarks/ops_benchmarks.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/benchmarks/tokenizers_benchmarks.py b/tensorflow_text/python/benchmarks/tokenizers_benchmarks.py index d7205dbf0..77cdc5eaf 100644 --- a/tensorflow_text/python/benchmarks/tokenizers_benchmarks.py +++ b/tensorflow_text/python/benchmarks/tokenizers_benchmarks.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/keras/__init__.py b/tensorflow_text/python/keras/__init__.py index 804fb842a..6774070ba 100644 --- a/tensorflow_text/python/keras/__init__.py +++ b/tensorflow_text/python/keras/__init__.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/keras/layers/__init__.py b/tensorflow_text/python/keras/layers/__init__.py index a1d70a803..41de71ad2 100644 --- a/tensorflow_text/python/keras/layers/__init__.py +++ b/tensorflow_text/python/keras/layers/__init__.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/keras/layers/todense.py b/tensorflow_text/python/keras/layers/todense.py index 5d1ead9bd..35eeebc60 100644 --- a/tensorflow_text/python/keras/layers/todense.py +++ b/tensorflow_text/python/keras/layers/todense.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/keras/layers/todense_test.py b/tensorflow_text/python/keras/layers/todense_test.py index 4e035d338..d97776d59 100644 --- a/tensorflow_text/python/keras/layers/todense_test.py +++ b/tensorflow_text/python/keras/layers/todense_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/keras/layers/tokenization_layers.py b/tensorflow_text/python/keras/layers/tokenization_layers.py index c33611ecf..b71936ad4 100644 --- a/tensorflow_text/python/keras/layers/tokenization_layers.py +++ b/tensorflow_text/python/keras/layers/tokenization_layers.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/keras/layers/tokenization_layers_test.py b/tensorflow_text/python/keras/layers/tokenization_layers_test.py index c5b307356..7bee0d5f7 100644 --- a/tensorflow_text/python/keras/layers/tokenization_layers_test.py +++ b/tensorflow_text/python/keras/layers/tokenization_layers_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/metrics/__init__.py b/tensorflow_text/python/metrics/__init__.py index b7d5c89af..0d72be3b2 100644 --- a/tensorflow_text/python/metrics/__init__.py +++ b/tensorflow_text/python/metrics/__init__.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/metrics/text_similarity_metric_ops.py b/tensorflow_text/python/metrics/text_similarity_metric_ops.py index fea38872a..70ff0b0b4 100644 --- a/tensorflow_text/python/metrics/text_similarity_metric_ops.py +++ b/tensorflow_text/python/metrics/text_similarity_metric_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/metrics/text_similarity_metric_ops_test.py b/tensorflow_text/python/metrics/text_similarity_metric_ops_test.py index b39427a52..158a55ebe 100644 --- a/tensorflow_text/python/metrics/text_similarity_metric_ops_test.py +++ b/tensorflow_text/python/metrics/text_similarity_metric_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/numpy/__init__.py b/tensorflow_text/python/numpy/__init__.py index 1ad2ac140..f151ae4c7 100644 --- a/tensorflow_text/python/numpy/__init__.py +++ b/tensorflow_text/python/numpy/__init__.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/numpy/viterbi_decode.py b/tensorflow_text/python/numpy/viterbi_decode.py index ea329ccfb..e59ddac41 100644 --- a/tensorflow_text/python/numpy/viterbi_decode.py +++ b/tensorflow_text/python/numpy/viterbi_decode.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/numpy/viterbi_decode_test.py b/tensorflow_text/python/numpy/viterbi_decode_test.py index 1863b4f79..f80b03169 100644 --- a/tensorflow_text/python/numpy/viterbi_decode_test.py +++ b/tensorflow_text/python/numpy/viterbi_decode_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/__init__.py b/tensorflow_text/python/ops/__init__.py index 921b65d4b..fc2b68130 100644 --- a/tensorflow_text/python/ops/__init__.py +++ b/tensorflow_text/python/ops/__init__.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/bert_tokenizer.py b/tensorflow_text/python/ops/bert_tokenizer.py index 727ea0266..1f1b807b5 100644 --- a/tensorflow_text/python/ops/bert_tokenizer.py +++ b/tensorflow_text/python/ops/bert_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/bert_tokenizer_test.py b/tensorflow_text/python/ops/bert_tokenizer_test.py index 5b9f11273..f87836970 100644 --- a/tensorflow_text/python/ops/bert_tokenizer_test.py +++ b/tensorflow_text/python/ops/bert_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/boise_offset_converter.py b/tensorflow_text/python/ops/boise_offset_converter.py index 9a05802e1..2779d2b43 100644 --- a/tensorflow_text/python/ops/boise_offset_converter.py +++ b/tensorflow_text/python/ops/boise_offset_converter.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/boise_offset_converter_test.py b/tensorflow_text/python/ops/boise_offset_converter_test.py index ef9798993..c8576e501 100644 --- a/tensorflow_text/python/ops/boise_offset_converter_test.py +++ b/tensorflow_text/python/ops/boise_offset_converter_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/byte_splitter.py b/tensorflow_text/python/ops/byte_splitter.py index 2aa652c74..1499227fd 100644 --- a/tensorflow_text/python/ops/byte_splitter.py +++ b/tensorflow_text/python/ops/byte_splitter.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/byte_splitter_test.py b/tensorflow_text/python/ops/byte_splitter_test.py index 39bbc27a5..d21bab47e 100644 --- a/tensorflow_text/python/ops/byte_splitter_test.py +++ b/tensorflow_text/python/ops/byte_splitter_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/coerce_to_valid_utf8_op_test.py b/tensorflow_text/python/ops/coerce_to_valid_utf8_op_test.py index 47e3336cc..42c35d0e7 100644 --- a/tensorflow_text/python/ops/coerce_to_valid_utf8_op_test.py +++ b/tensorflow_text/python/ops/coerce_to_valid_utf8_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/create_feature_bitmask_op.py b/tensorflow_text/python/ops/create_feature_bitmask_op.py index ba936e7ae..41819699c 100644 --- a/tensorflow_text/python/ops/create_feature_bitmask_op.py +++ b/tensorflow_text/python/ops/create_feature_bitmask_op.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/create_feature_bitmask_op_test.py b/tensorflow_text/python/ops/create_feature_bitmask_op_test.py index e075fdecf..30231914a 100644 --- a/tensorflow_text/python/ops/create_feature_bitmask_op_test.py +++ b/tensorflow_text/python/ops/create_feature_bitmask_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/fast_bert_normalizer.py b/tensorflow_text/python/ops/fast_bert_normalizer.py index d52570f4b..547e42dc8 100644 --- a/tensorflow_text/python/ops/fast_bert_normalizer.py +++ b/tensorflow_text/python/ops/fast_bert_normalizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/fast_bert_normalizer_test.py b/tensorflow_text/python/ops/fast_bert_normalizer_test.py index f4e73691f..29a4a3133 100644 --- a/tensorflow_text/python/ops/fast_bert_normalizer_test.py +++ b/tensorflow_text/python/ops/fast_bert_normalizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/fast_bert_tokenizer.py b/tensorflow_text/python/ops/fast_bert_tokenizer.py index 6893db3dc..c70373430 100644 --- a/tensorflow_text/python/ops/fast_bert_tokenizer.py +++ b/tensorflow_text/python/ops/fast_bert_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/fast_bert_tokenizer_test.py b/tensorflow_text/python/ops/fast_bert_tokenizer_test.py index 2edd25918..7e414a73d 100644 --- a/tensorflow_text/python/ops/fast_bert_tokenizer_test.py +++ b/tensorflow_text/python/ops/fast_bert_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/fast_sentencepiece_tokenizer.py b/tensorflow_text/python/ops/fast_sentencepiece_tokenizer.py index 33295b8cb..e1a51fe47 100644 --- a/tensorflow_text/python/ops/fast_sentencepiece_tokenizer.py +++ b/tensorflow_text/python/ops/fast_sentencepiece_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/fast_sentencepiece_tokenizer_test.py b/tensorflow_text/python/ops/fast_sentencepiece_tokenizer_test.py index 11282b848..717afef89 100644 --- a/tensorflow_text/python/ops/fast_sentencepiece_tokenizer_test.py +++ b/tensorflow_text/python/ops/fast_sentencepiece_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/fast_wordpiece_tokenizer.py b/tensorflow_text/python/ops/fast_wordpiece_tokenizer.py index 21f3d5cb2..6cb207930 100644 --- a/tensorflow_text/python/ops/fast_wordpiece_tokenizer.py +++ b/tensorflow_text/python/ops/fast_wordpiece_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/fast_wordpiece_tokenizer_test.py b/tensorflow_text/python/ops/fast_wordpiece_tokenizer_test.py index 2e841f9f6..d69d2c366 100644 --- a/tensorflow_text/python/ops/fast_wordpiece_tokenizer_test.py +++ b/tensorflow_text/python/ops/fast_wordpiece_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/gather_with_default_op_test.py b/tensorflow_text/python/ops/gather_with_default_op_test.py index 5d2c00c52..e799ded2d 100644 --- a/tensorflow_text/python/ops/gather_with_default_op_test.py +++ b/tensorflow_text/python/ops/gather_with_default_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/greedy_constrained_sequence_op.py b/tensorflow_text/python/ops/greedy_constrained_sequence_op.py index a8c238629..22f13dc9c 100644 --- a/tensorflow_text/python/ops/greedy_constrained_sequence_op.py +++ b/tensorflow_text/python/ops/greedy_constrained_sequence_op.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/greedy_constrained_sequence_op_test.py b/tensorflow_text/python/ops/greedy_constrained_sequence_op_test.py index f75e98175..19bc3aacc 100644 --- a/tensorflow_text/python/ops/greedy_constrained_sequence_op_test.py +++ b/tensorflow_text/python/ops/greedy_constrained_sequence_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/hub_module_splitter.py b/tensorflow_text/python/ops/hub_module_splitter.py index f60a84c0b..0ce89a652 100644 --- a/tensorflow_text/python/ops/hub_module_splitter.py +++ b/tensorflow_text/python/ops/hub_module_splitter.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/hub_module_splitter_test.py b/tensorflow_text/python/ops/hub_module_splitter_test.py index 92cac1888..a9e01582a 100644 --- a/tensorflow_text/python/ops/hub_module_splitter_test.py +++ b/tensorflow_text/python/ops/hub_module_splitter_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/hub_module_tokenizer.py b/tensorflow_text/python/ops/hub_module_tokenizer.py index a02cdc813..fb71c6082 100644 --- a/tensorflow_text/python/ops/hub_module_tokenizer.py +++ b/tensorflow_text/python/ops/hub_module_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/hub_module_tokenizer_test.py b/tensorflow_text/python/ops/hub_module_tokenizer_test.py index e8fe981c9..a0afabb88 100644 --- a/tensorflow_text/python/ops/hub_module_tokenizer_test.py +++ b/tensorflow_text/python/ops/hub_module_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/item_selector_ops.py b/tensorflow_text/python/ops/item_selector_ops.py index 16da7df3e..a7134c07c 100644 --- a/tensorflow_text/python/ops/item_selector_ops.py +++ b/tensorflow_text/python/ops/item_selector_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/item_selector_ops_test.py b/tensorflow_text/python/ops/item_selector_ops_test.py index f3837ab8b..c53096c01 100644 --- a/tensorflow_text/python/ops/item_selector_ops_test.py +++ b/tensorflow_text/python/ops/item_selector_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/masking_ops.py b/tensorflow_text/python/ops/masking_ops.py index a27163c76..a36671b8e 100644 --- a/tensorflow_text/python/ops/masking_ops.py +++ b/tensorflow_text/python/ops/masking_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/masking_ops_test.py b/tensorflow_text/python/ops/masking_ops_test.py index 1b9745675..167643ed4 100644 --- a/tensorflow_text/python/ops/masking_ops_test.py +++ b/tensorflow_text/python/ops/masking_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/mst_ops.py b/tensorflow_text/python/ops/mst_ops.py index 2fa1fc7bb..6d505c891 100644 --- a/tensorflow_text/python/ops/mst_ops.py +++ b/tensorflow_text/python/ops/mst_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/mst_ops_test.py b/tensorflow_text/python/ops/mst_ops_test.py index d44bd43c2..fbeaaf46a 100644 --- a/tensorflow_text/python/ops/mst_ops_test.py +++ b/tensorflow_text/python/ops/mst_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/ngrams_op.py b/tensorflow_text/python/ops/ngrams_op.py index 1eec24170..d16ffde68 100644 --- a/tensorflow_text/python/ops/ngrams_op.py +++ b/tensorflow_text/python/ops/ngrams_op.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/ngrams_op_test.py b/tensorflow_text/python/ops/ngrams_op_test.py index 4ade10777..6fd31b521 100644 --- a/tensorflow_text/python/ops/ngrams_op_test.py +++ b/tensorflow_text/python/ops/ngrams_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/normalize_ops.py b/tensorflow_text/python/ops/normalize_ops.py index 6df86650d..d7ddb7b09 100644 --- a/tensorflow_text/python/ops/normalize_ops.py +++ b/tensorflow_text/python/ops/normalize_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/normalize_ops_test.py b/tensorflow_text/python/ops/normalize_ops_test.py index 31e4e14b1..553357315 100644 --- a/tensorflow_text/python/ops/normalize_ops_test.py +++ b/tensorflow_text/python/ops/normalize_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/pad_along_dimension_op.py b/tensorflow_text/python/ops/pad_along_dimension_op.py index edf55cc4e..150cafed1 100644 --- a/tensorflow_text/python/ops/pad_along_dimension_op.py +++ b/tensorflow_text/python/ops/pad_along_dimension_op.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/pad_along_dimension_op_test.py b/tensorflow_text/python/ops/pad_along_dimension_op_test.py index 56c359f2e..eb2be9e06 100644 --- a/tensorflow_text/python/ops/pad_along_dimension_op_test.py +++ b/tensorflow_text/python/ops/pad_along_dimension_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/pad_model_inputs_ops.py b/tensorflow_text/python/ops/pad_model_inputs_ops.py index 9bb75e6bb..957c2ba62 100644 --- a/tensorflow_text/python/ops/pad_model_inputs_ops.py +++ b/tensorflow_text/python/ops/pad_model_inputs_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/pad_model_inputs_ops_test.py b/tensorflow_text/python/ops/pad_model_inputs_ops_test.py index 547005962..d5b094123 100644 --- a/tensorflow_text/python/ops/pad_model_inputs_ops_test.py +++ b/tensorflow_text/python/ops/pad_model_inputs_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/phrase_tokenizer.py b/tensorflow_text/python/ops/phrase_tokenizer.py index 62119bce9..fecf2b284 100644 --- a/tensorflow_text/python/ops/phrase_tokenizer.py +++ b/tensorflow_text/python/ops/phrase_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/phrase_tokenizer_test.py b/tensorflow_text/python/ops/phrase_tokenizer_test.py index 617109f92..e12856c99 100644 --- a/tensorflow_text/python/ops/phrase_tokenizer_test.py +++ b/tensorflow_text/python/ops/phrase_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/pointer_ops.py b/tensorflow_text/python/ops/pointer_ops.py index 88764dda2..c29346349 100644 --- a/tensorflow_text/python/ops/pointer_ops.py +++ b/tensorflow_text/python/ops/pointer_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/regex_split_ops.py b/tensorflow_text/python/ops/regex_split_ops.py index 1117add92..55a2a8812 100644 --- a/tensorflow_text/python/ops/regex_split_ops.py +++ b/tensorflow_text/python/ops/regex_split_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/regex_split_ops_test.py b/tensorflow_text/python/ops/regex_split_ops_test.py index 2c5988e70..7c25c033a 100644 --- a/tensorflow_text/python/ops/regex_split_ops_test.py +++ b/tensorflow_text/python/ops/regex_split_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/segment_combiner_ops.py b/tensorflow_text/python/ops/segment_combiner_ops.py index 72975b48e..6fb9345d9 100644 --- a/tensorflow_text/python/ops/segment_combiner_ops.py +++ b/tensorflow_text/python/ops/segment_combiner_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/segment_combiner_ops_test.py b/tensorflow_text/python/ops/segment_combiner_ops_test.py index 242faf020..d5120f591 100644 --- a/tensorflow_text/python/ops/segment_combiner_ops_test.py +++ b/tensorflow_text/python/ops/segment_combiner_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/sentence_breaking_ops.py b/tensorflow_text/python/ops/sentence_breaking_ops.py index e8159cf35..c350945b1 100644 --- a/tensorflow_text/python/ops/sentence_breaking_ops.py +++ b/tensorflow_text/python/ops/sentence_breaking_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/sentence_breaking_ops_test.py b/tensorflow_text/python/ops/sentence_breaking_ops_test.py index b02872e30..8d5843069 100644 --- a/tensorflow_text/python/ops/sentence_breaking_ops_test.py +++ b/tensorflow_text/python/ops/sentence_breaking_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/sentencepiece_tokenizer.py b/tensorflow_text/python/ops/sentencepiece_tokenizer.py index ea59fabe2..5730a9d70 100644 --- a/tensorflow_text/python/ops/sentencepiece_tokenizer.py +++ b/tensorflow_text/python/ops/sentencepiece_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/sentencepiece_tokenizer_test.py b/tensorflow_text/python/ops/sentencepiece_tokenizer_test.py index 52b356384..6f42ff712 100644 --- a/tensorflow_text/python/ops/sentencepiece_tokenizer_test.py +++ b/tensorflow_text/python/ops/sentencepiece_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/sliding_window_op.py b/tensorflow_text/python/ops/sliding_window_op.py index 547635e31..96de39c8a 100644 --- a/tensorflow_text/python/ops/sliding_window_op.py +++ b/tensorflow_text/python/ops/sliding_window_op.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/sliding_window_op_test.py b/tensorflow_text/python/ops/sliding_window_op_test.py index 3eea10317..5a5f76d59 100644 --- a/tensorflow_text/python/ops/sliding_window_op_test.py +++ b/tensorflow_text/python/ops/sliding_window_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/span_alignment_op_test.py b/tensorflow_text/python/ops/span_alignment_op_test.py index 9375c4aa0..63d5a8290 100644 --- a/tensorflow_text/python/ops/span_alignment_op_test.py +++ b/tensorflow_text/python/ops/span_alignment_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/span_overlaps_op_test.py b/tensorflow_text/python/ops/span_overlaps_op_test.py index e2f0a1893..8ae54cbd0 100644 --- a/tensorflow_text/python/ops/span_overlaps_op_test.py +++ b/tensorflow_text/python/ops/span_overlaps_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/split_merge_from_logits_tokenizer.py b/tensorflow_text/python/ops/split_merge_from_logits_tokenizer.py index d54fe512e..fd7813efb 100644 --- a/tensorflow_text/python/ops/split_merge_from_logits_tokenizer.py +++ b/tensorflow_text/python/ops/split_merge_from_logits_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/split_merge_from_logits_tokenizer_test.py b/tensorflow_text/python/ops/split_merge_from_logits_tokenizer_test.py index d2f16b49b..8f40c6f5f 100644 --- a/tensorflow_text/python/ops/split_merge_from_logits_tokenizer_test.py +++ b/tensorflow_text/python/ops/split_merge_from_logits_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/split_merge_tokenizer.py b/tensorflow_text/python/ops/split_merge_tokenizer.py index 2d35a8a9c..5cc5d18ac 100644 --- a/tensorflow_text/python/ops/split_merge_tokenizer.py +++ b/tensorflow_text/python/ops/split_merge_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/split_merge_tokenizer_test.py b/tensorflow_text/python/ops/split_merge_tokenizer_test.py index 8261c54f1..60b0bd3d9 100644 --- a/tensorflow_text/python/ops/split_merge_tokenizer_test.py +++ b/tensorflow_text/python/ops/split_merge_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/splitter.py b/tensorflow_text/python/ops/splitter.py index d98facee3..a9e683f78 100644 --- a/tensorflow_text/python/ops/splitter.py +++ b/tensorflow_text/python/ops/splitter.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/state_based_sentence_breaker_op.py b/tensorflow_text/python/ops/state_based_sentence_breaker_op.py index 785670419..ad3b57766 100644 --- a/tensorflow_text/python/ops/state_based_sentence_breaker_op.py +++ b/tensorflow_text/python/ops/state_based_sentence_breaker_op.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/state_based_sentence_breaker_op_test.py b/tensorflow_text/python/ops/state_based_sentence_breaker_op_test.py index 2a1863455..d1d12bc7a 100644 --- a/tensorflow_text/python/ops/state_based_sentence_breaker_op_test.py +++ b/tensorflow_text/python/ops/state_based_sentence_breaker_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/string_ops.py b/tensorflow_text/python/ops/string_ops.py index 5c3ad8331..eb796dfe9 100644 --- a/tensorflow_text/python/ops/string_ops.py +++ b/tensorflow_text/python/ops/string_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/tokenization.py b/tensorflow_text/python/ops/tokenization.py index 407610f72..0af11ba4b 100644 --- a/tensorflow_text/python/ops/tokenization.py +++ b/tensorflow_text/python/ops/tokenization.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/trimmer_ops.py b/tensorflow_text/python/ops/trimmer_ops.py index e7559557b..84080d293 100644 --- a/tensorflow_text/python/ops/trimmer_ops.py +++ b/tensorflow_text/python/ops/trimmer_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/trimmer_ops_test.py b/tensorflow_text/python/ops/trimmer_ops_test.py index 4fd2eba77..798ebfa31 100644 --- a/tensorflow_text/python/ops/trimmer_ops_test.py +++ b/tensorflow_text/python/ops/trimmer_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/unicode_char_tokenizer.py b/tensorflow_text/python/ops/unicode_char_tokenizer.py index 8ea9e9924..47794d74e 100644 --- a/tensorflow_text/python/ops/unicode_char_tokenizer.py +++ b/tensorflow_text/python/ops/unicode_char_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/unicode_char_tokenizer_test.py b/tensorflow_text/python/ops/unicode_char_tokenizer_test.py index 6ab46dd58..6260d33b2 100644 --- a/tensorflow_text/python/ops/unicode_char_tokenizer_test.py +++ b/tensorflow_text/python/ops/unicode_char_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/unicode_script_tokenizer.py b/tensorflow_text/python/ops/unicode_script_tokenizer.py index 99dd2cbfb..1c695390e 100644 --- a/tensorflow_text/python/ops/unicode_script_tokenizer.py +++ b/tensorflow_text/python/ops/unicode_script_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/unicode_script_tokenizer_test.py b/tensorflow_text/python/ops/unicode_script_tokenizer_test.py index e4365594f..3fd71339e 100644 --- a/tensorflow_text/python/ops/unicode_script_tokenizer_test.py +++ b/tensorflow_text/python/ops/unicode_script_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/utf8_binarize_op.py b/tensorflow_text/python/ops/utf8_binarize_op.py index dd285ae6c..82678843f 100644 --- a/tensorflow_text/python/ops/utf8_binarize_op.py +++ b/tensorflow_text/python/ops/utf8_binarize_op.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/utf8_binarize_op_test.py b/tensorflow_text/python/ops/utf8_binarize_op_test.py index 203e41418..1d6efa303 100644 --- a/tensorflow_text/python/ops/utf8_binarize_op_test.py +++ b/tensorflow_text/python/ops/utf8_binarize_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/viterbi_constrained_sequence_op.py b/tensorflow_text/python/ops/viterbi_constrained_sequence_op.py index 245c95675..b4ec8bdf2 100644 --- a/tensorflow_text/python/ops/viterbi_constrained_sequence_op.py +++ b/tensorflow_text/python/ops/viterbi_constrained_sequence_op.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/viterbi_constrained_sequence_op_test.py b/tensorflow_text/python/ops/viterbi_constrained_sequence_op_test.py index b1ee39d30..4866239f2 100644 --- a/tensorflow_text/python/ops/viterbi_constrained_sequence_op_test.py +++ b/tensorflow_text/python/ops/viterbi_constrained_sequence_op_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/whitespace_tokenizer.py b/tensorflow_text/python/ops/whitespace_tokenizer.py index 943a07833..0af7cfef9 100644 --- a/tensorflow_text/python/ops/whitespace_tokenizer.py +++ b/tensorflow_text/python/ops/whitespace_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/whitespace_tokenizer_test.py b/tensorflow_text/python/ops/whitespace_tokenizer_test.py index 27c2a1c80..40821fc2d 100644 --- a/tensorflow_text/python/ops/whitespace_tokenizer_test.py +++ b/tensorflow_text/python/ops/whitespace_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/wordpiece_tokenizer.py b/tensorflow_text/python/ops/wordpiece_tokenizer.py index b5f0c4445..6ca668163 100644 --- a/tensorflow_text/python/ops/wordpiece_tokenizer.py +++ b/tensorflow_text/python/ops/wordpiece_tokenizer.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/wordpiece_tokenizer_test.py b/tensorflow_text/python/ops/wordpiece_tokenizer_test.py index 75720df0c..292c6be9f 100644 --- a/tensorflow_text/python/ops/wordpiece_tokenizer_test.py +++ b/tensorflow_text/python/ops/wordpiece_tokenizer_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/wordshape_ops.py b/tensorflow_text/python/ops/wordshape_ops.py index e006921cf..28132d0eb 100644 --- a/tensorflow_text/python/ops/wordshape_ops.py +++ b/tensorflow_text/python/ops/wordshape_ops.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ops/wordshape_ops_test.py b/tensorflow_text/python/ops/wordshape_ops_test.py index 281f2a517..5219ca3fa 100644 --- a/tensorflow_text/python/ops/wordshape_ops_test.py +++ b/tensorflow_text/python/ops/wordshape_ops_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/python/ragged/ragged_tensor_to_tensor_test.py b/tensorflow_text/python/ragged/ragged_tensor_to_tensor_test.py index 4b5f29c0b..a879ab0c7 100644 --- a/tensorflow_text/python/ragged/ragged_tensor_to_tensor_test.py +++ b/tensorflow_text/python/ragged/ragged_tensor_to_tensor_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/__init__.py b/tensorflow_text/tools/__init__.py index 8156e1480..cfad8ec30 100644 --- a/tensorflow_text/tools/__init__.py +++ b/tensorflow_text/tools/__init__.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/__init__.py b/tensorflow_text/tools/wordpiece_vocab/__init__.py index 8156e1480..cfad8ec30 100644 --- a/tensorflow_text/tools/wordpiece_vocab/__init__.py +++ b/tensorflow_text/tools/wordpiece_vocab/__init__.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/bert_vocab_from_dataset.py b/tensorflow_text/tools/wordpiece_vocab/bert_vocab_from_dataset.py index b8edfa7e2..a8be7b8d8 100644 --- a/tensorflow_text/tools/wordpiece_vocab/bert_vocab_from_dataset.py +++ b/tensorflow_text/tools/wordpiece_vocab/bert_vocab_from_dataset.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/bert_vocab_from_dataset_test.py b/tensorflow_text/tools/wordpiece_vocab/bert_vocab_from_dataset_test.py index 3ebec2683..458d3290a 100644 --- a/tensorflow_text/tools/wordpiece_vocab/bert_vocab_from_dataset_test.py +++ b/tensorflow_text/tools/wordpiece_vocab/bert_vocab_from_dataset_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/generate_vocab.py b/tensorflow_text/tools/wordpiece_vocab/generate_vocab.py index b316e08b3..8c786776e 100644 --- a/tensorflow_text/tools/wordpiece_vocab/generate_vocab.py +++ b/tensorflow_text/tools/wordpiece_vocab/generate_vocab.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/generate_word_counts.py b/tensorflow_text/tools/wordpiece_vocab/generate_word_counts.py index ca2be867b..15e236957 100644 --- a/tensorflow_text/tools/wordpiece_vocab/generate_word_counts.py +++ b/tensorflow_text/tools/wordpiece_vocab/generate_word_counts.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/measure_wordpiece_stats.py b/tensorflow_text/tools/wordpiece_vocab/measure_wordpiece_stats.py index 42b7a66f3..3d5ed3d35 100644 --- a/tensorflow_text/tools/wordpiece_vocab/measure_wordpiece_stats.py +++ b/tensorflow_text/tools/wordpiece_vocab/measure_wordpiece_stats.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/utils.py b/tensorflow_text/tools/wordpiece_vocab/utils.py index 6360a3bfa..505a800bd 100644 --- a/tensorflow_text/tools/wordpiece_vocab/utils.py +++ b/tensorflow_text/tools/wordpiece_vocab/utils.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/utils_test.py b/tensorflow_text/tools/wordpiece_vocab/utils_test.py index ae2302b44..6373c511c 100644 --- a/tensorflow_text/tools/wordpiece_vocab/utils_test.py +++ b/tensorflow_text/tools/wordpiece_vocab/utils_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner.py b/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner.py index cd3a4c39c..585f1192d 100644 --- a/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner.py +++ b/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner_lib.py b/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner_lib.py index 55f61bfa0..312dff5cf 100644 --- a/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner_lib.py +++ b/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner_lib.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner_test.py b/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner_test.py index a98ec3154..62fbbb38b 100644 --- a/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner_test.py +++ b/tensorflow_text/tools/wordpiece_vocab/wordpiece_tokenizer_learner_test.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2025 TF.Text Authors. +# Copyright 2026 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.