Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(speech): migrate code from googleapis/python-speech #8982

Merged
merged 221 commits into from
Feb 9, 2023
Merged
Show file tree
Hide file tree
Changes from 220 commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
c5ef740
Add generated code samples. (#9153)
Sep 4, 2019
bbc6409
Update samples manifest (via synth). (#9211)
yoshi-automation Sep 11, 2019
c38cdd4
codegen(speech): reorder samples (#9313)
yoshi-automation Sep 26, 2019
5a7d2df
chore(speech): bump copyright year to 2020, tweak docstring formattin…
yoshi-automation Jan 29, 2020
6c0f6a4
speech: remove erroneous comment (#17)
czahedi Feb 21, 2020
428d286
Add quickstart sample for the Cloud Speech API. [(#658)](https://gith…
jmdobry Nov 15, 2016
d069964
Update readmes
Nov 15, 2016
ec5a2ef
Auto-update dependencies. [(#715)](https://github.com/GoogleCloudPlat…
dpebot Dec 13, 2016
d517e7e
Add cloud-client samples for speech [(#775)](https://github.com/Googl…
gguuss Feb 1, 2017
c30fc2b
Adds usage examples to api-client samples and fixes copy/paste error …
gguuss Feb 3, 2017
2b28f8e
Add speech GCS samples [(#784)](https://github.com/GoogleCloudPlatfor…
gguuss Feb 7, 2017
972abed
Updates client version for compatibility with language [(#842)](https…
gguuss Mar 7, 2017
2259362
Adds streaming snippet for howto [(#881)](https://github.com/GoogleCl…
gguuss Mar 30, 2017
8c44f30
Remove resource [(#890)](https://github.com/GoogleCloudPlatform/pytho…
Apr 5, 2017
1fd156e
Speech v1 [(#889)](https://github.com/GoogleCloudPlatform/python-docs…
gguuss Apr 7, 2017
655c26c
Changes docs for async playback to point to LINEAR16 example [(#897)]…
gguuss Apr 12, 2017
eac47ea
Speech version bump [(#899)](https://github.com/GoogleCloudPlatform/p…
gguuss Apr 13, 2017
58b2f3b
Update transcribe_async.py to have long GCS flac example [(#904)](htt…
danaharon Apr 17, 2017
a561691
Re-generate all readmes
Apr 27, 2017
2d5bb43
Fix typo [(#926)](https://github.com/GoogleCloudPlatform/python-docs-…
laichunpongben May 2, 2017
b9e13cc
Fix README rst links [(#962)](https://github.com/GoogleCloudPlatform/…
waprin May 24, 2017
ba18ab8
Auto-update dependencies. [(#1004)](https://github.com/GoogleCloudPla…
dpebot Jun 27, 2017
6c4e8cd
Speech sample using microphone [(#1013)](https://github.com/GoogleClo…
jerjou Jul 6, 2017
bdccb5f
Speech gapic client library [(#1012)](https://github.com/GoogleCloudP…
dizcology Jul 14, 2017
e558f18
use region tags [(#1022)](https://github.com/GoogleCloudPlatform/pyth…
dizcology Jul 17, 2017
9869526
Auto-update dependencies. [(#1039)](https://github.com/GoogleCloudPla…
dpebot Jul 31, 2017
5791d87
add word time offsets to async sample [(#1042)](https://github.com/Go…
dizcology Jul 31, 2017
ceb5b22
Add word time offset samples [(#1050)](https://github.com/GoogleCloud…
Aug 3, 2017
aa7b468
Remove old parameter enable_word_time_offsets [(#1054)](https://githu…
Aug 4, 2017
ec9bc41
Auto-update dependencies. [(#1055)](https://github.com/GoogleCloudPla…
dpebot Aug 7, 2017
d54e32e
Auto-update dependencies. [(#1093)](https://github.com/GoogleCloudPla…
dpebot Aug 29, 2017
ca29935
Print all results, not all alternatives [(#1098)](https://github.com/…
jerjou Sep 7, 2017
545f132
quickstart: print out all results. [(#1108)](https://github.com/Googl…
jerjou Sep 12, 2017
5e1de3e
Update all generated readme auth instructions [(#1121)](https://githu…
Sep 18, 2017
ef36e55
Added Link to Python Setup Guide [(#1158)](https://github.com/GoogleC…
Oct 12, 2017
e5f5c44
Auto-update dependencies. [(#1186)](https://github.com/GoogleCloudPla…
dpebot Nov 1, 2017
2152d47
Added "Open in Cloud Shell" buttons to README files [(#1254)](https:/…
Dec 7, 2017
57e60f9
Speech: clarify comments. [(#1278)](https://github.com/GoogleCloudPla…
jerjou Dec 14, 2017
00a37aa
Auto-update dependencies. [(#1320)](https://github.com/GoogleCloudPla…
dpebot Feb 2, 2018
6a7b788
Auto-update dependencies. [(#1355)](https://github.com/GoogleCloudPla…
dpebot Feb 9, 2018
4d4c134
Auto-update dependencies. [(#1359)](https://github.com/GoogleCloudPla…
dpebot Feb 26, 2018
57c5672
Speech model selection [(#1361)](https://github.com/GoogleCloudPlatfo…
dizcology Feb 26, 2018
136d7c9
Auto-update dependencies. [(#1377)](https://github.com/GoogleCloudPla…
dpebot Mar 5, 2018
9e8c99b
Speech API: enhanced model and recognition metadata [(#1436)](https:/…
dizcology Apr 6, 2018
1b80097
Regenerate the README files and fix the Open in Cloud Shell link for …
Apr 7, 2018
e76c323
add Speech API auto punctuation sample [(#1446)](https://github.com/G…
dizcology Apr 12, 2018
cbda190
use unicode [(#1453)](https://github.com/GoogleCloudPlatform/python-d…
sirtorry Apr 16, 2018
f94434d
Update READMEs to fix numbering and add git clone [(#1464)](https://g…
frankyn Apr 26, 2018
c9af1ad
Diarization [(#1556)](https://github.com/GoogleCloudPlatform/python-d…
happyhuman Jul 12, 2018
80f9dc6
Multi Channel [(#1561)](https://github.com/GoogleCloudPlatform/python…
happyhuman Jul 13, 2018
6304b51
Multi Langauge [(#1564)](https://github.com/GoogleCloudPlatform/pyth…
happyhuman Jul 16, 2018
7b2f784
Added the sample for Word Level Confidence [(#1567)](https://github.c…
happyhuman Jul 16, 2018
77e832d
Diarization Output Modified [(#1586)](https://github.com/GoogleCloudP…
happyhuman Jul 20, 2018
6e8ad18
Speech region tag update [(#1644)](https://github.com/GoogleCloudPlat…
alixhami Aug 21, 2018
6bd92b6
Update enhanced models and auto punctuation to GA [(#1702)](https://g…
nnegrey Sep 21, 2018
e01cb89
Test form of result only, not contents [(#1866)](https://github.com/G…
engelke Nov 22, 2018
57731f8
speech: updated README for model selection sample [(#1892)](https://g…
anguillanneuf Dec 4, 2018
8bf5019
Speech continuous [(#1940)](https://github.com/GoogleCloudPlatform/py…
nnegrey Jan 15, 2019
a1160db
Add missing import for code sample [(#1898)](https://github.com/Googl…
anguillanneuf Jan 25, 2019
76f871e
Auto-update dependencies. [(#1980)](https://github.com/GoogleCloudPla…
dpebot Feb 6, 2019
b482782
add speech api multichannel samples [(#2003)](https://github.com/Goog…
dizcology Feb 22, 2019
317b78a
Move mic samples out of cloud-client so that cloud-client samples can…
nnegrey Mar 21, 2019
a840d48
Move mic samples out of cloud-client so that cloud-client samples can…
nnegrey Mar 21, 2019
a94c9d2
Place import inside the function [(#2209)](https://github.com/GoogleC…
nnegrey Jun 12, 2019
456ff4a
adding infinite streaming sample to samples folder, unlike indefinite…
blechdom Jul 9, 2019
b5e6a74
Increase timeout to 5 mins [(#2206)](https://github.com/GoogleCloudPl…
nnegrey Jul 17, 2019
22e6319
Python 2 compatibility for print statements [(#2226)](https://github.…
nnegrey Jul 17, 2019
cececff
Enhanced models are available to all projects [(#2207)](https://githu…
nnegrey Jul 17, 2019
d3f6eaa
Adds updates for samples profiler ... vision [(#2439)](https://github…
gguuss Oct 7, 2019
de0e611
Adds updates for samples profiler ... vision [(#2439)](https://github…
gguuss Oct 7, 2019
c6701a8
Update transcribe_streaming.py [(#2597)](https://github.com/GoogleClo…
nnegrey Dec 10, 2019
bea6973
Auto-update dependencies. [(#2005)](https://github.com/GoogleCloudPla…
dpebot Dec 21, 2019
7c1e7a7
speech: fixing flaky auto punctuation test [(#2747)](https://github.c…
czahedi Jan 29, 2020
0d74859
speech: canonical sample for speechcontext ga of classes [(#2756)](ht…
czahedi Jan 31, 2020
9bd7e8d
Speech sample cleanup [(#2628)](https://github.com/GoogleCloudPlatfor…
nnegrey Feb 28, 2020
1b5a213
chore(deps): update dependency google-cloud-speech to v1.3.2 [(#3167)…
renovate-bot Mar 27, 2020
7c83d92
chore(deps): update dependency google-cloud-speech to v1.3.2 [(#3167)…
renovate-bot Mar 27, 2020
7371ecd
chore(deps): update dependency six to v1.14.0 [(#3200)](https://githu…
renovate-bot Mar 28, 2020
75e9c36
Simplify noxfile setup. [(#2806)](https://github.com/GoogleCloudPlatf…
kurtisvg Apr 2, 2020
8be29c6
Simplify noxfile setup. [(#2806)](https://github.com/GoogleCloudPlatf…
kurtisvg Apr 2, 2020
965cd36
chore: some lint fixes [(#3750)](https://github.com/GoogleCloudPlatfo…
May 13, 2020
ec92da3
chore(deps): update dependency six to v1.15.0 [(#3853)](https://githu…
renovate-bot May 21, 2020
9981a08
chore(deps): update dependency pytest to v5.4.3 [(#4279)](https://git…
renovate-bot Jul 12, 2020
e28183a
chore(deps): update dependency pytest to v5.4.3 [(#4279)](https://git…
renovate-bot Jul 12, 2020
aee1feb
chore(deps): update dependency mock to v4 [(#4287)](https://github.co…
renovate-bot Jul 13, 2020
12404d3
feat(speech): Add Speech-to-Text On-Prem sample [(#4223)](https://git…
vinnysenthil Jul 22, 2020
8347e18
Update dependency pytest to v6 [(#4390)](https://github.com/GoogleClo…
renovate-bot Aug 1, 2020
2f19073
Update dependency pytest to v6 [(#4390)](https://github.com/GoogleClo…
renovate-bot Aug 1, 2020
56d4ceb
chore: update templates
busunkim96 Sep 1, 2020
c1a4024
chore: delete duplicate generated samples
busunkim96 Sep 1, 2020
72e5be6
chore: fix sample test
busunkim96 Sep 1, 2020
9440035
chore: fix lint
busunkim96 Sep 2, 2020
1760c7a
feat!: migrate to microgenerator (#61)
busunkim96 Sep 24, 2020
9b85d73
fix: migrated samples to speech 2.0.0 (#78)
b-loved-dreamer Oct 12, 2020
48d5ccf
fix: deleted a line duplicating the call to the recognizer (#83)
b-loved-dreamer Nov 16, 2020
a4711c2
chore(deps): update dependency google-cloud-speech to v2.0.1 (#88)
renovate-bot Nov 25, 2020
ace605b
docs: updated setup documentation to point to python-speech instead o…
b-loved-dreamer Dec 4, 2020
2f6c306
chore: updated quickstart (#94)
b-loved-dreamer Dec 10, 2020
e20b391
fix: Remove incorrect comment on enhanced models (#95)
vinnysenthil Dec 14, 2020
cc95c88
feat: adds new multi region sample (#96)
b-loved-dreamer Dec 15, 2020
3cc91ce
chore: update templates (#101)
yoshi-automation Dec 23, 2020
734dd5e
feat(v1p1beta1): support Model Adaptation (#104)
yoshi-automation Feb 26, 2021
32619e9
chore(deps): update dependency google-cloud-speech to v2.1.0 (#116)
renovate-bot Mar 8, 2021
ce5e6f1
feat: adds model adaptation sample (#121)
b-loved-dreamer Mar 15, 2021
234b780
chore: update templates (#127)
yoshi-automation Mar 17, 2021
6229c6e
chore(deps): update dependency google-cloud-speech to v2.2.0 (#133)
renovate-bot Mar 22, 2021
306c63e
chore(deps): update dependency google-cloud-speech to v2.2.1 (#139)
renovate-bot Apr 1, 2021
e051591
chore(deps): update dependency google-cloud-speech to v2.3.0 (#146)
renovate-bot Apr 28, 2021
f5cf8f7
chore(deps): update dependency six to v1.16.0 (#154)
renovate-bot May 14, 2021
18ff9ad
chore: migrate to owl bot (#158)
parthea May 17, 2021
cce6b69
chore: changed assert output to check constant values (#161)
munkhuushmgl May 18, 2021
37254d7
chore: new owl bot post processor docker image (#165)
gcf-owl-bot[bot] May 22, 2021
f25036b
chore(deps): update dependency pytest to v6.2.4 (#160)
renovate-bot May 22, 2021
7e32cdb
chore(deps): update dependency google-cloud-speech to v2.4.0 (#168)
renovate-bot May 25, 2021
22b5dee
chore(deps): update dependency mock to v4.0.3 (#159)
renovate-bot May 25, 2021
306f1b2
chore: Fix typo in sample code (#112)
jonatan1609 May 25, 2021
0122893
chore: fix region problem (#171)
munkhuushmgl Jun 1, 2021
4c1b7ef
Update speech_model_adaptation_beta.py
jameszhao00 Jun 3, 2021
f37bc06
Update speech_model_adaptation_beta_test.py
jameszhao00 Jun 3, 2021
4e1fbe7
samples: adds speech export to gcs sample (#176)
b-loved-dreamer Jun 15, 2021
e33e225
chore: new owl bot post processor docker image (#177)
gcf-owl-bot[bot] Jun 17, 2021
43943da
chore(deps): update dependency google-cloud-speech to v2.4.1 (#187)
renovate-bot Jun 23, 2021
5815b3f
chore(deps): update dependency google-cloud-storage to v1.39.0 (#185)
renovate-bot Jun 24, 2021
1022c23
chore(deps): update dependency google-cloud-storage to v1.40.0 (#192)
renovate-bot Jul 1, 2021
9f1a9ad
chore(deps): update dependency google-cloud-speech to v2.5.0 (#194)
renovate-bot Jul 1, 2021
6e9ccc4
chore(deps): update dependency google-cloud-storage to v1.41.0 (#206)
renovate-bot Jul 16, 2021
0cbcb11
chore(deps): update dependency google-cloud-storage to v1.41.1 (#213)
renovate-bot Jul 21, 2021
ca479c0
feat: add Samples section to CONTRIBUTING.rst (#211)
gcf-owl-bot[bot] Jul 22, 2021
9dfc21a
chore(deps): update dependency google-cloud-speech to v2.5.1 (#214)
renovate-bot Jul 22, 2021
a6d9809
docs(samples): Add Spoken Punctuation and Emojis code samples (#155)
mquinde Jul 28, 2021
bb46655
chore(deps): update dependency google-cloud-speech to v2.6.0 (#220)
renovate-bot Jul 29, 2021
8fa9c42
chore(deps): update dependency google-cloud-speech to v2.7.0 (#226)
renovate-bot Aug 10, 2021
e302bf8
docs(samples): remove io dependency in transcribe samples (#223)
nicain Aug 10, 2021
277d84f
chore(deps): update dependency google-cloud-storage to v1.42.0 (#230)
renovate-bot Aug 12, 2021
f5d0a4e
chore: remove transcribe_async.py (redundant) as last step in refacto…
nicain Aug 12, 2021
7e26e1f
chore: drop mention of Python 2.7 from templates (#233)
gcf-owl-bot[bot] Aug 13, 2021
eb02806
chore(deps): update dependency google-cloud-speech to v2.8.0 (#243)
renovate-bot Aug 30, 2021
1bb45a7
chore(deps): update dependency pytest to v6.2.5 (#240)
renovate-bot Aug 31, 2021
20ddb7d
docs(samples): fixed model adaptation sample to correctly refer to cu…
b-loved-dreamer Sep 3, 2021
1431f8b
chore(deps): update dependency google-cloud-storage to v1.42.1 (#249)
renovate-bot Sep 9, 2021
71309e2
chore: blacken samples noxfile template (#250)
gcf-owl-bot[bot] Sep 17, 2021
f6b3775
chore(deps): update all dependencies (#251)
renovate-bot Sep 27, 2021
3817299
chore(deps): update dependency google-cloud-speech to v2.9.1 (#258)
renovate-bot Sep 27, 2021
b05dedb
chore: fail samples nox session if python version is missing (#261)
gcf-owl-bot[bot] Sep 30, 2021
03475ea
chore(deps): update dependency google-cloud-storage to v1.42.3 (#263)
renovate-bot Oct 1, 2021
2b219e9
fix: Remove reference to deprecated message "diarization_speaker_coun…
nicain Oct 4, 2021
5ac6e89
chore(deps): update dependency google-cloud-speech to v2.9.3 (#266)
renovate-bot Oct 5, 2021
2d9baa7
chore(python): Add kokoro configs for python 3.10 samples testing (#271)
gcf-owl-bot[bot] Oct 8, 2021
dfc151f
chore(deps): update dependency google-cloud-speech to v2.10.0 (#273)
renovate-bot Oct 11, 2021
65853f6
chore(deps): update dependency google-cloud-speech to v2.11.0 (#278)
renovate-bot Oct 26, 2021
f0f2b00
chore(deps): update dependency google-cloud-speech to v2.11.1 (#281)
renovate-bot Nov 2, 2021
3976433
docs(samples): a draft that refactors speech_to_storage_beta sample (…
b-loved-dreamer Nov 15, 2021
5cbc817
chore(deps): update dependency google-cloud-storage to v1.43.0 (#288)
renovate-bot Nov 18, 2021
8f35a25
chore: update python-docs-samples link to main branch (#293)
gcf-owl-bot[bot] Dec 12, 2021
ea875a2
chore(samples): Add check for tests in directory (#301)
gcf-owl-bot[bot] Jan 11, 2022
373a9d0
chore(deps): update dependency google-cloud-storage to v1.44.0 (#298)
renovate-bot Jan 16, 2022
5e07341
chore(deps): update dependency google-cloud-storage to v2 (#305)
renovate-bot Jan 17, 2022
528c460
chore(deps): update dependency google-cloud-speech to v2.12.0 (#307)
renovate-bot Jan 18, 2022
d45c57c
chore(python): Noxfile recognizes that tests can live in a folder (#308)
gcf-owl-bot[bot] Jan 19, 2022
bb70c7c
docs: add generated snippets (#321)
gcf-owl-bot[bot] Feb 11, 2022
c11d659
chore: use gapic-generator-python 0.63.4 (#323)
gcf-owl-bot[bot] Feb 25, 2022
a381c7a
chore: update copyright year to 2022 (#325)
gcf-owl-bot[bot] Feb 26, 2022
dd0b8a3
chore(deps): update dependency google-cloud-storage to v2.1.0 (#309)
renovate-bot Feb 26, 2022
2542f04
chore(deps): update all dependencies (#326)
renovate-bot Feb 28, 2022
f8bb04c
chore(deps): update all dependencies (#327)
renovate-bot Mar 1, 2022
c1dd44e
chore: Adding support for pytest-xdist and pytest-parallel (#335)
gcf-owl-bot[bot] Mar 4, 2022
d48437c
chore(deps): update dependency google-cloud-speech to v2.13.1 (#338)
renovate-bot Mar 8, 2022
df6d939
chore(deps): update dependency pytest to v7.1.0 (#340)
renovate-bot Mar 13, 2022
b71d8c9
chore(deps): update dependency google-cloud-storage to v2.2.0 (#341)
renovate-bot Mar 14, 2022
83055a7
chore(deps): update dependency google-cloud-storage to v2.2.1 (#342)
renovate-bot Mar 16, 2022
a9cbe87
chore(deps): update dependency pytest to v7.1.1 (#343)
renovate-bot Mar 19, 2022
01b2075
chore(python): use black==22.3.0 (#346)
gcf-owl-bot[bot] Mar 28, 2022
fe7aa0c
chore(deps): update dependency google-cloud-storage to v2.3.0 (#360)
renovate-bot Apr 14, 2022
2302286
chore: use gapic-generator-python 0.65.1 (#361)
gcf-owl-bot[bot] Apr 14, 2022
9525dea
chore(python): add nox session to sort python imports (#362)
gcf-owl-bot[bot] Apr 21, 2022
0b8f903
chore(deps): update dependency pytest to v7.1.2 (#365)
renovate-bot Apr 25, 2022
335f28f
feat: Add adaptation proto for v1 api (#371)
gcf-owl-bot[bot] May 9, 2022
1ff17ca
chore(deps): update dependency google-cloud-speech to v2.14.0 (#374)
renovate-bot May 19, 2022
d9edc1b
fix: library deprecation warnings (#376)
May 23, 2022
069208a
fix: require python 3.7+ (#414)
gcf-owl-bot[bot] Jul 10, 2022
d0d0583
chore(deps): update all dependencies (#404)
renovate-bot Jul 16, 2022
f864b28
chore(deps): update all dependencies (#421)
renovate-bot Aug 2, 2022
0f0f565
chore(deps): update all dependencies (#423)
renovate-bot Aug 5, 2022
83b50af
chore(deps): update dependency google-cloud-speech to v2.15.1 (#428)
renovate-bot Aug 16, 2022
ce642b2
chore(deps): update dependency pytest to v7.1.3 (#438)
renovate-bot Sep 6, 2022
bab5721
chore: Bump gapic-generator-python version to 1.3.0 (#439)
gcf-owl-bot[bot] Sep 7, 2022
b9ee866
chore: detect samples tests in nested directories (#442)
gcf-owl-bot[bot] Sep 13, 2022
3d11c49
feat: added Speech-to-Text V2 API (#447)
gcf-owl-bot[bot] Oct 3, 2022
68326b8
chore(deps): update dependency google-cloud-speech to v2.16.0 (#449)
renovate-bot Oct 4, 2022
1517f39
chore(deps): update dependency google-cloud-speech to v2.16.1 (#454)
renovate-bot Oct 6, 2022
ccac700
docs(samples): add create_recognizer code sample (#450)
nitsanshai Oct 7, 2022
2cee8e4
docs(samples): add quickstart code sample for STT V2 (#451)
nitsanshai Oct 7, 2022
d1e7642
samples: Code samples for Speech-to-Text V2 (#460)
nitsanshai Oct 11, 2022
bcc47c1
chore(deps): update dependency google-cloud-speech to v2.16.2 (#459)
renovate-bot Oct 18, 2022
cc2137d
docs(samples): Update code samples for adaptation and VAD (#462)
nitsanshai Oct 20, 2022
1cf130f
chore(deps): update dependency pytest to v7.2.0 (#464)
renovate-bot Oct 26, 2022
76bed1f
chore(deps): update dependency google-cloud-storage to v2.6.0 (#467)
renovate-bot Nov 26, 2022
2b4c904
chore(python): drop flake8-import-order in samples noxfile (#470)
gcf-owl-bot[bot] Nov 27, 2022
cee4ca2
chore(deps): update dependency google-cloud-storage to v2.7.0 (#471)
renovate-bot Dec 15, 2022
f13bb7d
feat: Added new fields to facilitate debugging (#465)
gcf-owl-bot[bot] Dec 15, 2022
becdef3
chore(deps): update all dependencies (#473)
renovate-bot Jan 5, 2023
079ee15
chore(python): add support for python 3.11 (#475)
gcf-owl-bot[bot] Jan 6, 2023
fdc2e11
chore(deps): update dependency mock to v5.0.1 (#477)
renovate-bot Jan 9, 2023
c6759b2
Merge remote-tracking branch 'migration/main' into python-speech-migr…
telpirion Jan 13, 2023
979c33f
Merge branch 'main' into python-speech-migration
telpirion Jan 23, 2023
c275657
clean up
telpirion Jan 23, 2023
314073b
moar fixing
telpirion Jan 23, 2023
402be5f
Merge branch 'main' into python-speech-migration
telpirion Jan 24, 2023
4959406
Merge branch 'main' into python-speech-migration
telpirion Jan 25, 2023
8dc32f5
Merge branch 'main' into python-speech-migration
telpirion Jan 26, 2023
7f9064c
Merge branch 'main' into python-speech-migration
telpirion Jan 27, 2023
eaf47b8
Merge branch 'main' into python-speech-migration
telpirion Feb 1, 2023
144cef3
Apply suggestions from code review
dandhlee Feb 3, 2023
7da7080
per review and linter
telpirion Feb 8, 2023
319ba72
Merge branch 'main' into python-speech-migration
telpirion Feb 8, 2023
2d301a5
update to CODEOWNERS
telpirion Feb 8, 2023
38bd208
Changes to blunderbuss.yml
telpirion Feb 8, 2023
9cac0ef
fix test
telpirion Feb 8, 2023
e13013b
Merge branch 'main' into python-speech-migration
telpirion Feb 8, 2023
9b0e4de
moar test fix
telpirion Feb 8, 2023
63d37b8
Merge branch 'main' into python-speech-migration
telpirion Feb 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
/run/django/**/* @glasnt @GoogleCloudPlatform/aap-dpes @GoogleCloudPlatform/python-samples-reviewers
/secretmanager/**/* @GoogleCloudPlatform/aap-dpes @GoogleCloudPlatform/python-samples-reviewers
/securitycenter/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers
/speech/**/* @GoogleCloudPlatform/dee-data-ai @GoogleCloudPlatform/python-samples-reviewers
/storage/**/* @GoogleCloudPlatform/cloud-storage-dpes @GoogleCloudPlatform/python-samples-reviewers
/storagetransfer/**/* @GoogleCloudPlatform/cloud-storage-dpes @GoogleCloudPlatform/python-samples-reviewers
/texttospeech/**/* @GoogleCloudPlatform/dee-data-ai @GoogleCloudPlatform/python-samples-reviewers
Expand Down
1 change: 1 addition & 0 deletions .github/blunderbuss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ assign_issues_by:
- 'api: texttospeech'
- 'api: retail'
- 'api: dialogflow'
- 'api: speech'
to:
- GoogleCloudPlatform/dee-data-ai
- labels:
Expand Down
3 changes: 0 additions & 3 deletions speech/README.rst

This file was deleted.

86 changes: 86 additions & 0 deletions speech/microphone/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
.. This file is automatically generated. Do not edit this file directly.

Google Cloud Speech API Python Samples
===============================================================================

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=speech/microphone/README.rst


This directory contains samples for Google Cloud Speech API. The `Google Cloud Speech API`_ enables easy integration of Google speech recognition technologies into developer applications. Send audio and receive a text transcription from the Cloud Speech API service.

- See the `migration guide`_ for information about migrating to Python client library v0.27.

.. _migration guide: https://cloud.google.com/speech/docs/python-client-migration




.. _Google Cloud Speech API: https://cloud.google.com/speech/docs/





Setup
-------------------------------------------------------------------------------


Authentication
++++++++++++++

This sample requires you to have authentication setup. Refer to the
`Authentication Getting Started Guide`_ for instructions on setting up
credentials for applications.

.. _Authentication Getting Started Guide:
https://cloud.google.com/docs/authentication/getting-started

Install Dependencies
++++++++++++++++++++

#. Clone python-docs-samples and change directory to the sample directory you want to use.

.. code-block:: bash

$ git clone https://github.com/googleapis/python-speech.git

#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

.. code-block:: bash

$ virtualenv env
$ source env/bin/activate

#. Install the dependencies needed to run the samples.

.. code-block:: bash

$ pip install -r requirements.txt

.. _pip: https://pip.pypa.io/
.. _virtualenv: https://virtualenv.pypa.io/



The client library
-------------------------------------------------------------------------------

This sample uses the `Google Cloud Client Library for Python`_.
You can read the documentation for more details on API usage and use GitHub
to `browse the source`_ and `report issues`_.

.. _Google Cloud Client Library for Python:
https://googlecloudplatform.github.io/google-cloud-python/
.. _browse the source:
https://github.com/GoogleCloudPlatform/google-cloud-python
.. _report issues:
https://github.com/GoogleCloudPlatform/google-cloud-python/issues


.. _Google Cloud SDK: https://cloud.google.com/sdk/
24 changes: 24 additions & 0 deletions speech/microphone/README.rst.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This file is used to generate README.rst

product:
name: Google Cloud Speech API
short_name: Cloud Speech API
url: https://cloud.google.com/speech/docs/
description: >
The `Google Cloud Speech API`_ enables easy integration of Google speech
recognition technologies into developer applications. Send audio and receive
a text transcription from the Cloud Speech API service.


- See the `migration guide`_ for information about migrating to Python client library v0.27.


.. _migration guide: https://cloud.google.com/speech/docs/python-client-migration

setup:
- auth
- install_deps

cloud_client_library: true

folder: speech/microphone
2 changes: 2 additions & 0 deletions speech/microphone/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pytest==7.2.0
mock==5.0.1
4 changes: 4 additions & 0 deletions speech/microphone/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
google-cloud-speech==2.16.2
pyaudio==0.2.13
six==1.16.0

Binary file added speech/microphone/resources/quit.raw
Binary file not shown.
Loading