Created
February 9, 2018 21:58
-
-
Save jnd71/b7ed23108396c902d4806da35e648991 to your computer and use it in GitHub Desktop.
StreamingRecognitionConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chipotle burrito | |
chipotle burritos | |
cali burrito | |
pork burrito | |
cali pork burrito | |
cali burritos | |
steak burrito | |
steak burritos | |
burrito with steak | |
burritos with steak | |
beef burrito | |
beef burritos | |
burritos with beef | |
burrito with beef | |
veggie burrito | |
vegetable burrito | |
burrito with vegetables | |
burritos with vegetable | |
burritos with vegetables | |
burrito with veggies | |
burritos with veggies | |
veggy burrito | |
chicken burrito | |
chicken burritos | |
burrito with chicken | |
burritos with chicken | |
chicken taco | |
chicken tacos | |
tacos with chicken | |
taco with chicken | |
single chicken taco | |
steak taco | |
steak tacos | |
taco with steak | |
tacos with steak | |
single steak taco | |
fish taco | |
fish tacos | |
taco with fish | |
tacos with fish | |
single fish taco | |
bean and cheese taco | |
bean and cheese tacos | |
tacos with bean and cheese | |
taco with bean and cheese | |
bean an cheese taco | |
cheese taco | |
cheese tacos | |
shrimp taco | |
shrimp tacos | |
taco with shrimp | |
tacos with shrimp | |
single shrimp taco | |
pork enchilada | |
pork enchiladas | |
enchilada with pork | |
enchiladas with pork | |
single pork enchilada | |
cheese enchilada | |
cheese enchiladas | |
enchilada with cheese | |
enchiladas with cheese | |
single cheese enchilada | |
chipotle enchilada | |
chipotle enchiladas | |
chicken enchilada | |
chicken enchiladas | |
enchilada with chicken | |
enchiladas with chicken | |
single chicken enchilada | |
enchilada supreme | |
supreme enchilada | |
enchiladas supreme | |
supreme enchiladas | |
supreme enchilada | |
beef enchilada | |
beef enchiladas | |
enchiladas with beef | |
enchilada with beef | |
single beef enchilada | |
enchiladas | |
enchilada | |
burritos | |
burrito | |
tacos | |
taco | |
Diet Coke | |
Lite Coke | |
Diet Coca Cola | |
Diet Cola | |
Diet Pepsi | |
diet cokes | |
diet coca colas | |
coke | |
Coca Cola | |
Regular Coke | |
pepsi | |
cola | |
cokes | |
coca colas | |
colas | |
water | |
cup of water | |
glass of water | |
just water | |
tap water | |
waters | |
glasses of water | |
cups of tap water | |
cup of tap water | |
cups of water | |
bottlewater | |
bottle of water | |
bottled water | |
bottles of water | |
water bottles | |
water bottle | |
Sprite | |
seven up | |
7 up | |
sprites | |
seven ups | |
Dr. Pepper | |
doctor peppers | |
doctor pepper | |
regular doctor pepper | |
regular doctor peppers | |
Diet Dr. Pepper | |
diet doctor peppers | |
diet doctor pepper | |
diet pepper | |
iced tea | |
tea | |
iced teas | |
teas | |
ice tea | |
ice teas | |
drink | |
drinks | |
soda | |
sodas | |
pop | |
pops | |
beverage | |
beverages | |
something to drink | |
fountain drink | |
fountain drinks | |
no drink | |
nothing to drink | |
no beverage | |
no drinks | |
no beverages | |
tres leches | |
tres leches cake | |
tres leches slice | |
tres leches piece | |
piece of tres leches | |
slices of tres leches | |
pieces of tres leches | |
tres leches cakes | |
slice of tres leches | |
key lime pie | |
key lime pies | |
lime pie | |
lime pies | |
slices of key lime pie | |
slice of key lime pie | |
piece of key lime pie | |
slice of lime pie | |
piece of lime pie | |
pieces of key lime pie | |
flon | |
slices of flan | |
slices of flon | |
sweet tortilla | |
sweet tortillas | |
dessert tortillas | |
dessert tortilla | |
vinaigrette | |
vinaigrette dressing | |
vinegar | |
vinegar dressing | |
vinegar and oil dressing | |
oil and vinegar | |
oil and vinegar dressing | |
ranch | |
ranch dressing | |
no dressing | |
without dressing | |
no salad dressing | |
skip the dressing | |
pass on the dressing | |
pinto beans | |
pinto no rice | |
pinto beans with no rice | |
pinto beans no rice | |
pinto beans only | |
pinto bean | |
pinto bean no rice | |
black beans | |
black no rice | |
black beans and no rice | |
black beans only | |
black beans no rice | |
black bean | |
just beans | |
beans only | |
only beans | |
only black beans | |
no rice just black beans | |
no rice just beans | |
no rice only beans | |
no rice only black beans | |
black bean | |
black bean no rice | |
black bean only | |
only black bean | |
black beans and rice | |
black beans rice | |
rice and black beans | |
rice and beans | |
beans and rice | |
black bean and rice | |
black and rice | |
rice no beans | |
rice | |
just rice | |
only rice | |
pinto beans and rice | |
pinto beans | |
rice and pinto beans | |
pinto bean and rice | |
pinto and rice | |
mango chicken salad | |
mango salad | |
mango chicken salads | |
salad with chicken | |
salads with chicken | |
salad with mango chicken | |
salads with mango chicken | |
crispy pork salad | |
pork salad | |
crispy pork salads | |
pork salads | |
salads with pork | |
salad with crispy pork | |
salad with pork | |
crispy pork nachos | |
pork nachos | |
nachos with pork | |
nachos with crispy pork | |
steak nachos | |
nachos with steak | |
chicken nachos | |
nachos with chicken | |
chipotle nachos | |
beef nachos | |
nachos with beef | |
nachos | |
nacho | |
hot sauce | |
hot | |
spicy | |
spicy sauce | |
hot salsa | |
spicy salsa | |
medium sauce | |
medium | |
medium hot sauce | |
kinda hot sauce | |
sort of hot sauce | |
a bit hot sauce | |
a little hot sauce | |
mild sauce | |
mild | |
not spicy | |
not hot | |
not spicy sauce | |
not hot sauce | |
no sauce | |
without sauce | |
mango sauce | |
mango | |
mango salsa | |
sauce with mango | |
fruit sauce | |
cheddar cheese | |
extra cheddar cheese | |
extra cheese | |
more cheese | |
heavy cheese | |
heavy cheddar cheese | |
guacamole | |
extra guac | |
extra guacamole | |
guac | |
guacamole | |
more guac | |
lots of guac | |
lots of guacamole | |
heavy guacamole | |
sour cream | |
extra sour cream | |
sour cream | |
more cream | |
more sour cream | |
cream | |
heavy sour cream | |
heavy cream | |
lots of sour cream | |
lots of cream | |
extra cream | |
onions | |
extra onions | |
extra onion | |
with onions | |
more onion | |
heavy onion | |
lots of onions | |
lots of onion | |
onions | |
jalapenos | |
extra jalapenos | |
extra jalapeno | |
with jalapenos | |
lots of jalapenos | |
lots of spicy peppers | |
spicy peppers | |
hot peppers | |
lots of hot peppers | |
more jalapenos | |
heavy jalapenos | |
more spicy peppers | |
more hot peppers | |
jalapenos | |
no cheddar cheese | |
no cheese | |
without cheese | |
no dairy | |
skip cheese | |
skip the cheese | |
skip cheddar cheese | |
skip the cheddar cheese | |
I don't want cheese | |
I don't want cheddar cheese | |
I do not want cheddar cheese | |
I do not want cheese | |
hold the cheese | |
or cheese | |
no guac | |
no guacamole | |
without guacamole | |
skip the guac | |
skip guac | |
skip guacamole | |
skip the guacamole | |
I do not want guac | |
I do not want guacamole | |
I don't want guac | |
I don't want guacamole | |
no avocado | |
without avocado | |
I don't want avocado | |
hold the guac | |
hold the guacamole | |
hold the avocado | |
or guacamole | |
or guac | |
no sour cream | |
without sour cream | |
without cream | |
skip the cream | |
skip cream | |
skip the sour cream | |
skip sour cream | |
I don't want sour cream | |
I do not want sour cream | |
hold the sour cream | |
hold the cream | |
or sour cream | |
no onions | |
without onions | |
without onion | |
skip the onions | |
skip onion | |
skip onions | |
no onion | |
I don't want onions | |
I don't want onion | |
hold the onion | |
hold the onions | |
or onions | |
no jalapenos | |
no jalapeno | |
without jalapenos | |
without jalapeno | |
no peppers | |
no hot peppers | |
without peppers | |
without hot peppers | |
skip the jalapenos | |
skip the jalapeno | |
without pepper | |
skip the hot pepper | |
skip the hot peppers | |
I don't want hot peppers | |
I don't want peppers | |
I don't want jalapeno | |
I do not want jalapeno | |
I do not want spicy peppers | |
without spicy peppers | |
no spicy peppers | |
hold the spicy peppers | |
hold the jalapeno | |
hold the jalapenos | |
hold the hot peppers | |
hold the hot pepper | |
or jalapeno | |
addPlural | |
add | |
can I do | |
can I get | |
can I have | |
can I please get | |
can you get me | |
can you give me | |
can you order me | |
can you please get | |
can you please get me | |
could I get | |
could I have | |
could you do | |
could you get me | |
get | |
get me | |
gimme | |
give me | |
he will have | |
how about | |
I ordered | |
I said | |
I told you | |
I want | |
I want to order | |
I wanted | |
I will have | |
I will start with | |
I would like | |
I would love | |
I'd like | |
I'd love | |
I'll do | |
I'll have | |
I'll order | |
I'll start with | |
it is | |
it should be | |
it should have been | |
let's do | |
let's have | |
make it | |
may I do | |
may I get | |
may I have | |
may I order | |
may I please get | |
may I please have | |
order | |
please get me | |
please give me | |
please order | |
she will have | |
the lady will have | |
the young lady will have | |
we will have | |
we will start with | |
would you do | |
would you get me | |
I'm going to get | |
can I please have | |
make that | |
can we get | |
can we have | |
We'll have | |
I'd like to order | |
I'd like to have | |
I just want | |
Can I just get | |
Just get me | |
I'll just have | |
put | |
can we do | |
on the | |
on a | |
with the | |
with a | |
for the | |
for a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private RecognitionConfig buildRecogintionConfig { | |
return com.google.cloud.speech.v1.RecognitionConfig.newBuilder() | |
.setEncoding(LINEAR16) | |
.setLanguageCode("en-US") | |
.setSampleRateHertz(16000) | |
.addSpeechContexts(speechContexts) // attached | |
.build(); | |
} | |
private StreamingRecognitionConfig buildStreamingRecognitionConfig { | |
return com.google.cloud.speech.v1.StreamingRecognitiontConfig.newBuilder() | |
.setConfig(buildRecognitionConfig) | |
.setSingleUtterance(false) | |
.setInterimResults(true) | |
.build() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment