Skip to content

How to use search module API? #314

@roccopersico99

Description

@roccopersico99

I am having some trouble updating my old keyphrase search implementation to work with PocketSphinx5. I applied the changes mentioned in the FAQ such as swapping 'ps_set_search' -> 'ps_activate_search' and swapping 'ps_set_keyphrase' -> 'ps_add_keyphrase' but both functions always seem to return < 0. I even tried using the ps_add_kws and passing in a path to a keyphrases.list file that contains the keyphrases needed to be detected but both methods seem to fail. Is there any more info or examples that can be offered on how to use the search API as the documentation around it is very minimal with no examples. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions