ProjectsLocationsPhraseSets
class ProjectsLocationsPhraseSets extends Resource (View source)
The "phraseSets" collection of methods.
Typical usage is:
$speechService = new Google\Service\Speech(...);
$phraseSets = $speechService->projects_locations_phraseSets;
Methods
Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet. (phraseSets.create)
Delete a phrase set. (phraseSets.delete)
List phrase sets. (phraseSets.listProjectsLocationsPhraseSets)
Details
PhraseSet
create(string $parent, CreatePhraseSetRequest $postBody, array $optParams = [])
Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet. (phraseSets.create)
SpeechEmpty
delete(string $name, array $optParams = [])
Delete a phrase set. (phraseSets.delete)
PhraseSet
get(string $name, array $optParams = [])
Get a phrase set. (phraseSets.get)
ListPhraseSetResponse
listProjectsLocationsPhraseSets(string $parent, array $optParams = [])
List phrase sets. (phraseSets.listProjectsLocationsPhraseSets)