From 144cef37fbeab93f9fd3a9987fee9f28534a99be Mon Sep 17 00:00:00 2001 From: Dan Lee <71398022+dandhlee@users.noreply.github.com> Date: Fri, 3 Feb 2023 06:19:07 -0600 Subject: [PATCH] Apply suggestions from code review --- speech/microphone/transcribe_streaming_mic.py | 2 +- speech/microphone/transcribe_streaming_mic_test.py | 3 ++- speech/snippets/adaptation_v2_custom_class_reference.py | 2 +- speech/snippets/adaptation_v2_custom_class_reference_test.py | 3 ++- speech/snippets/adaptation_v2_inline_custom_class.py | 2 +- speech/snippets/adaptation_v2_inline_custom_class_test.py | 3 ++- speech/snippets/adaptation_v2_inline_phrase_set.py | 2 +- speech/snippets/adaptation_v2_inline_phrase_set_test.py | 3 ++- speech/snippets/adaptation_v2_phrase_set_reference.py | 2 +- speech/snippets/adaptation_v2_phrase_set_reference_test.py | 3 ++- speech/snippets/beta_snippets.py | 2 +- speech/snippets/beta_snippets_test.py | 3 ++- speech/snippets/create_recognizer.py | 2 +- speech/snippets/create_recognizer_test.py | 3 ++- speech/snippets/quickstart.py | 2 +- speech/snippets/quickstart_test.py | 2 +- speech/snippets/quickstart_v2.py | 2 +- speech/snippets/quickstart_v2_test.py | 3 ++- speech/snippets/transcribe.py | 2 +- speech/snippets/transcribe_async_file.py | 2 +- speech/snippets/transcribe_async_file_test.py | 3 ++- speech/snippets/transcribe_async_gcs.py | 2 +- speech/snippets/transcribe_async_gcs_test.py | 3 ++- speech/snippets/transcribe_auto_punctuation_test.py | 3 ++- speech/snippets/transcribe_context_classes_test.py | 3 ++- speech/snippets/transcribe_enhanced_model_test.py | 3 ++- speech/snippets/transcribe_file_v2.py | 2 +- speech/snippets/transcribe_file_v2_test.py | 3 ++- speech/snippets/transcribe_gcs_v2.py | 2 +- speech/snippets/transcribe_gcs_v2_test.py | 3 ++- speech/snippets/transcribe_model_selection.py | 2 +- speech/snippets/transcribe_model_selection_test.py | 3 ++- speech/snippets/transcribe_multichannel.py | 2 +- speech/snippets/transcribe_multichannel_test.py | 3 ++- speech/snippets/transcribe_onprem/transcribe_onprem.py | 3 ++- speech/snippets/transcribe_streaming.py | 2 +- speech/snippets/transcribe_streaming_test.py | 3 ++- speech/snippets/transcribe_streaming_v2.py | 2 +- speech/snippets/transcribe_streaming_v2_test.py | 3 ++- speech/snippets/transcribe_streaming_voice_activity_events.py | 2 +- .../transcribe_streaming_voice_activity_events_test.py | 3 ++- .../snippets/transcribe_streaming_voice_activity_timeouts.py | 2 +- .../transcribe_streaming_voice_activity_timeouts_test.py | 3 ++- speech/snippets/transcribe_test.py | 3 ++- speech/snippets/transcribe_word_time_offsets.py | 2 +- speech/snippets/transcribe_word_time_offsets_test.py | 3 ++- 46 files changed, 70 insertions(+), 46 deletions(-) diff --git a/speech/microphone/transcribe_streaming_mic.py b/speech/microphone/transcribe_streaming_mic.py index 5d9776f80439..896c7452fe72 100644 --- a/speech/microphone/transcribe_streaming_mic.py +++ b/speech/microphone/transcribe_streaming_mic.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2017 Google Inc. All Rights Reserved. +# Copyright 2017 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/microphone/transcribe_streaming_mic_test.py b/speech/microphone/transcribe_streaming_mic_test.py index f5e08f5d30b2..64e04a54eb99 100644 --- a/speech/microphone/transcribe_streaming_mic_test.py +++ b/speech/microphone/transcribe_streaming_mic_test.py @@ -1,4 +1,5 @@ -# Copyright 2017, Google, Inc. +# Copyright 2017 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/adaptation_v2_custom_class_reference.py b/speech/snippets/adaptation_v2_custom_class_reference.py index 6185818d7dbe..1fa21fde7d1f 100644 --- a/speech/snippets/adaptation_v2_custom_class_reference.py +++ b/speech/snippets/adaptation_v2_custom_class_reference.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/adaptation_v2_custom_class_reference_test.py b/speech/snippets/adaptation_v2_custom_class_reference_test.py index 618424fa4c96..cb0431b7ec6b 100644 --- a/speech/snippets/adaptation_v2_custom_class_reference_test.py +++ b/speech/snippets/adaptation_v2_custom_class_reference_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2017 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/adaptation_v2_inline_custom_class.py b/speech/snippets/adaptation_v2_inline_custom_class.py index 77991fd9d571..5afcd0b4944d 100644 --- a/speech/snippets/adaptation_v2_inline_custom_class.py +++ b/speech/snippets/adaptation_v2_inline_custom_class.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/adaptation_v2_inline_custom_class_test.py b/speech/snippets/adaptation_v2_inline_custom_class_test.py index efa2002f3b6a..0f854b9cf633 100644 --- a/speech/snippets/adaptation_v2_inline_custom_class_test.py +++ b/speech/snippets/adaptation_v2_inline_custom_class_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2022 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/adaptation_v2_inline_phrase_set.py b/speech/snippets/adaptation_v2_inline_phrase_set.py index a51e468f3141..71d2f4c13cbe 100644 --- a/speech/snippets/adaptation_v2_inline_phrase_set.py +++ b/speech/snippets/adaptation_v2_inline_phrase_set.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/adaptation_v2_inline_phrase_set_test.py b/speech/snippets/adaptation_v2_inline_phrase_set_test.py index ab68d5ae729d..bfda00a165dc 100644 --- a/speech/snippets/adaptation_v2_inline_phrase_set_test.py +++ b/speech/snippets/adaptation_v2_inline_phrase_set_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2022 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/adaptation_v2_phrase_set_reference.py b/speech/snippets/adaptation_v2_phrase_set_reference.py index ae479db0ac83..00ae21d2b5f6 100644 --- a/speech/snippets/adaptation_v2_phrase_set_reference.py +++ b/speech/snippets/adaptation_v2_phrase_set_reference.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/adaptation_v2_phrase_set_reference_test.py b/speech/snippets/adaptation_v2_phrase_set_reference_test.py index cbd1fe5dd5ac..01cba1d8ae4d 100644 --- a/speech/snippets/adaptation_v2_phrase_set_reference_test.py +++ b/speech/snippets/adaptation_v2_phrase_set_reference_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2022 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/beta_snippets.py b/speech/snippets/beta_snippets.py index 1360dabeed55..7ed2b72a203b 100644 --- a/speech/snippets/beta_snippets.py +++ b/speech/snippets/beta_snippets.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2018 Google Inc. All Rights Reserved. +# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/beta_snippets_test.py b/speech/snippets/beta_snippets_test.py index 4dcc486cecae..bad5b4774f1f 100644 --- a/speech/snippets/beta_snippets_test.py +++ b/speech/snippets/beta_snippets_test.py @@ -1,4 +1,5 @@ -# Copyright 2018, Google, Inc. +# Copyright 2018 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/create_recognizer.py b/speech/snippets/create_recognizer.py index 43a3efcbe14d..2d4fd819f64e 100644 --- a/speech/snippets/create_recognizer.py +++ b/speech/snippets/create_recognizer.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/create_recognizer_test.py b/speech/snippets/create_recognizer_test.py index 01dbb366b526..ae796dce58b6 100644 --- a/speech/snippets/create_recognizer_test.py +++ b/speech/snippets/create_recognizer_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2022 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/quickstart.py b/speech/snippets/quickstart.py index 748598860c50..62c7fa68221c 100644 --- a/speech/snippets/quickstart.py +++ b/speech/snippets/quickstart.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/quickstart_test.py b/speech/snippets/quickstart_test.py index 7fcca1856a79..600ec577cd9f 100644 --- a/speech/snippets/quickstart_test.py +++ b/speech/snippets/quickstart_test.py @@ -1,4 +1,4 @@ -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/quickstart_v2.py b/speech/snippets/quickstart_v2.py index 6ba58ef7ec8d..68143860d718 100644 --- a/speech/snippets/quickstart_v2.py +++ b/speech/snippets/quickstart_v2.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/quickstart_v2_test.py b/speech/snippets/quickstart_v2_test.py index 5991c54006ed..eb6e88989802 100644 --- a/speech/snippets/quickstart_v2_test.py +++ b/speech/snippets/quickstart_v2_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2022 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe.py b/speech/snippets/transcribe.py index 3d45a82841a2..8aca1a8e72d9 100644 --- a/speech/snippets/transcribe.py +++ b/speech/snippets/transcribe.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2017 Google Inc. All Rights Reserved. +# Copyright 2017 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_async_file.py b/speech/snippets/transcribe_async_file.py index e35073121229..873cf7bbd54e 100644 --- a/speech/snippets/transcribe_async_file.py +++ b/speech/snippets/transcribe_async_file.py @@ -1,4 +1,4 @@ -# Copyright 2021 Google Inc. All Rights Reserved. +# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_async_file_test.py b/speech/snippets/transcribe_async_file_test.py index 1711cae160de..ba27da402785 100644 --- a/speech/snippets/transcribe_async_file_test.py +++ b/speech/snippets/transcribe_async_file_test.py @@ -1,4 +1,5 @@ -# Copyright 2021, Google, Inc. +# Copyright 2021 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_async_gcs.py b/speech/snippets/transcribe_async_gcs.py index cb8207bacbbc..3a0b5c973c38 100644 --- a/speech/snippets/transcribe_async_gcs.py +++ b/speech/snippets/transcribe_async_gcs.py @@ -1,4 +1,4 @@ -# Copyright 2021 Google Inc. All Rights Reserved. +# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_async_gcs_test.py b/speech/snippets/transcribe_async_gcs_test.py index 2294f056c1fe..10937f975cbe 100644 --- a/speech/snippets/transcribe_async_gcs_test.py +++ b/speech/snippets/transcribe_async_gcs_test.py @@ -1,4 +1,5 @@ -# Copyright 2021, Google, Inc. +# Copyright 2021 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_auto_punctuation_test.py b/speech/snippets/transcribe_auto_punctuation_test.py index 8e95eac68e34..ad6d1a5f21fe 100644 --- a/speech/snippets/transcribe_auto_punctuation_test.py +++ b/speech/snippets/transcribe_auto_punctuation_test.py @@ -1,4 +1,5 @@ -# Copyright 2018, Google LLC +# Copyright 2018 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_context_classes_test.py b/speech/snippets/transcribe_context_classes_test.py index 61642fb2a5ce..d8cc7c2b6d7e 100644 --- a/speech/snippets/transcribe_context_classes_test.py +++ b/speech/snippets/transcribe_context_classes_test.py @@ -1,4 +1,5 @@ -# Copyright 2020, Google LLC +# Copyright 2020 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_enhanced_model_test.py b/speech/snippets/transcribe_enhanced_model_test.py index cf673111604a..e620a1b2a82d 100644 --- a/speech/snippets/transcribe_enhanced_model_test.py +++ b/speech/snippets/transcribe_enhanced_model_test.py @@ -1,4 +1,5 @@ -# Copyright 2018, Google LLC +# Copyright 2018 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_file_v2.py b/speech/snippets/transcribe_file_v2.py index 92bdf53cc478..1c50c7bf82b8 100644 --- a/speech/snippets/transcribe_file_v2.py +++ b/speech/snippets/transcribe_file_v2.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_file_v2_test.py b/speech/snippets/transcribe_file_v2_test.py index 1dfb270f6c97..ca51f129e5df 100644 --- a/speech/snippets/transcribe_file_v2_test.py +++ b/speech/snippets/transcribe_file_v2_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2022 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_gcs_v2.py b/speech/snippets/transcribe_gcs_v2.py index 592822fb9af6..80d67c9a4319 100644 --- a/speech/snippets/transcribe_gcs_v2.py +++ b/speech/snippets/transcribe_gcs_v2.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_gcs_v2_test.py b/speech/snippets/transcribe_gcs_v2_test.py index 888dd3790039..e4ce01a255d5 100644 --- a/speech/snippets/transcribe_gcs_v2_test.py +++ b/speech/snippets/transcribe_gcs_v2_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2022 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_model_selection.py b/speech/snippets/transcribe_model_selection.py index 6749853570af..da2e673aceec 100644 --- a/speech/snippets/transcribe_model_selection.py +++ b/speech/snippets/transcribe_model_selection.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2017 Google Inc. All Rights Reserved. +# Copyright 2017 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_model_selection_test.py b/speech/snippets/transcribe_model_selection_test.py index 59d04fe0b99a..0bdcf766cab4 100644 --- a/speech/snippets/transcribe_model_selection_test.py +++ b/speech/snippets/transcribe_model_selection_test.py @@ -1,4 +1,5 @@ -# Copyright 2016, Google, Inc. +# Copyright 2016 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_multichannel.py b/speech/snippets/transcribe_multichannel.py index 34f498219fe4..989baef6e8f5 100644 --- a/speech/snippets/transcribe_multichannel.py +++ b/speech/snippets/transcribe_multichannel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2019 Google Inc. All Rights Reserved. +# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_multichannel_test.py b/speech/snippets/transcribe_multichannel_test.py index 54808d169e66..06a9d456ed08 100644 --- a/speech/snippets/transcribe_multichannel_test.py +++ b/speech/snippets/transcribe_multichannel_test.py @@ -1,4 +1,5 @@ -# Copyright 2019, Google, Inc. +# Copyright 2019 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_onprem/transcribe_onprem.py b/speech/snippets/transcribe_onprem/transcribe_onprem.py index 844ef1a0ae16..a0901e45f7ad 100644 --- a/speech/snippets/transcribe_onprem/transcribe_onprem.py +++ b/speech/snippets/transcribe_onprem/transcribe_onprem.py @@ -1,6 +1,7 @@ #!/usr/bin/env python -# Copyright 2020, Google LLC +# Copyright 2020 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_streaming.py b/speech/snippets/transcribe_streaming.py index 5b9abedc77b3..962eaad1f7f7 100644 --- a/speech/snippets/transcribe_streaming.py +++ b/speech/snippets/transcribe_streaming.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2017 Google Inc. All Rights Reserved. +# Copyright 2017 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_streaming_test.py b/speech/snippets/transcribe_streaming_test.py index 6eadbe1ecf44..8c3281680474 100644 --- a/speech/snippets/transcribe_streaming_test.py +++ b/speech/snippets/transcribe_streaming_test.py @@ -1,4 +1,5 @@ -# Copyright 2017, Google, Inc. +# Copyright 2017 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_streaming_v2.py b/speech/snippets/transcribe_streaming_v2.py index 1cba1206de12..3042acdb7174 100644 --- a/speech/snippets/transcribe_streaming_v2.py +++ b/speech/snippets/transcribe_streaming_v2.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_streaming_v2_test.py b/speech/snippets/transcribe_streaming_v2_test.py index 5202bb3728df..edffcaad6fa3 100644 --- a/speech/snippets/transcribe_streaming_v2_test.py +++ b/speech/snippets/transcribe_streaming_v2_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2022 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_streaming_voice_activity_events.py b/speech/snippets/transcribe_streaming_voice_activity_events.py index 65d6976eb0c0..b16c655c0ef8 100644 --- a/speech/snippets/transcribe_streaming_voice_activity_events.py +++ b/speech/snippets/transcribe_streaming_voice_activity_events.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_streaming_voice_activity_events_test.py b/speech/snippets/transcribe_streaming_voice_activity_events_test.py index b73ea128224b..316439e2f47a 100644 --- a/speech/snippets/transcribe_streaming_voice_activity_events_test.py +++ b/speech/snippets/transcribe_streaming_voice_activity_events_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2022 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_streaming_voice_activity_timeouts.py b/speech/snippets/transcribe_streaming_voice_activity_timeouts.py index 3c68ef987c3a..3050cc4b7e60 100644 --- a/speech/snippets/transcribe_streaming_voice_activity_timeouts.py +++ b/speech/snippets/transcribe_streaming_voice_activity_timeouts.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_streaming_voice_activity_timeouts_test.py b/speech/snippets/transcribe_streaming_voice_activity_timeouts_test.py index 3069c4a9bd57..23c44cc23400 100644 --- a/speech/snippets/transcribe_streaming_voice_activity_timeouts_test.py +++ b/speech/snippets/transcribe_streaming_voice_activity_timeouts_test.py @@ -1,4 +1,5 @@ -# Copyright 2022, Google, Inc. +# Copyright 2022 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_test.py b/speech/snippets/transcribe_test.py index 7aac4f865875..84427c93861d 100644 --- a/speech/snippets/transcribe_test.py +++ b/speech/snippets/transcribe_test.py @@ -1,4 +1,5 @@ -# Copyright 2016, Google, Inc. +# Copyright 2016 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/speech/snippets/transcribe_word_time_offsets.py b/speech/snippets/transcribe_word_time_offsets.py index a0e32c27135b..c68c88d962a5 100644 --- a/speech/snippets/transcribe_word_time_offsets.py +++ b/speech/snippets/transcribe_word_time_offsets.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2017 Google Inc. All Rights Reserved. +# Copyright 2017 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/speech/snippets/transcribe_word_time_offsets_test.py b/speech/snippets/transcribe_word_time_offsets_test.py index 185209494529..808f80eabcaf 100644 --- a/speech/snippets/transcribe_word_time_offsets_test.py +++ b/speech/snippets/transcribe_word_time_offsets_test.py @@ -1,4 +1,5 @@ -# Copyright 2016, Google, Inc. +# Copyright 2016 Google LLC + # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at