Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
python.test_porcupine.PorcupineTestCase Class Reference
Inheritance diagram for python.test_porcupine.PorcupineTestCase:
Inheritance graph
[legend]

Public Member Functions

def run_porcupine (self, language, keywords, ground_truth, audio_file_name=None)
 
def test_multiple_keywords (self)
 
def test_multiple_keywords_de (self)
 
def test_multiple_keywords_es (self)
 
def test_multiple_keywords_fr (self)
 
def test_single_keyword (self)
 
def test_single_keyword_de (self)
 
def test_single_keyword_es (self)
 
def test_single_keyword_fr (self)
 

Private Member Functions

def __pv_keyword_paths_by_language (cls, relative, language)
 
def __pv_model_path_by_language (cls, relative, language)
 

Static Private Member Functions

def __append_language (s, language)
 
def __read_file (file_name, sample_rate)
 

Detailed Description

Definition at line 21 of file test_porcupine.py.

Member Function Documentation

◆ __append_language()

def python.test_porcupine.PorcupineTestCase.__append_language (   s,
  language 
)
staticprivate

Definition at line 23 of file test_porcupine.py.

◆ __pv_keyword_paths_by_language()

def python.test_porcupine.PorcupineTestCase.__pv_keyword_paths_by_language (   cls,
  relative,
  language 
)
private

Definition at line 54 of file test_porcupine.py.

◆ __pv_model_path_by_language()

def python.test_porcupine.PorcupineTestCase.__pv_model_path_by_language (   cls,
  relative,
  language 
)
private

Definition at line 49 of file test_porcupine.py.

◆ __read_file()

def python.test_porcupine.PorcupineTestCase.__read_file (   file_name,
  sample_rate 
)
staticprivate

Definition at line 29 of file test_porcupine.py.

◆ run_porcupine()

def python.test_porcupine.PorcupineTestCase.run_porcupine (   self,
  language,
  keywords,
  ground_truth,
  audio_file_name = None 
)

Definition at line 65 of file test_porcupine.py.

◆ test_multiple_keywords()

def python.test_porcupine.PorcupineTestCase.test_multiple_keywords (   self)

Definition at line 103 of file test_porcupine.py.

◆ test_multiple_keywords_de()

def python.test_porcupine.PorcupineTestCase.test_multiple_keywords_de (   self)

Definition at line 133 of file test_porcupine.py.

◆ test_multiple_keywords_es()

def python.test_porcupine.PorcupineTestCase.test_multiple_keywords_es (   self)

Definition at line 120 of file test_porcupine.py.

◆ test_multiple_keywords_fr()

def python.test_porcupine.PorcupineTestCase.test_multiple_keywords_fr (   self)

Definition at line 146 of file test_porcupine.py.

◆ test_single_keyword()

def python.test_porcupine.PorcupineTestCase.test_single_keyword (   self)

Definition at line 96 of file test_porcupine.py.

◆ test_single_keyword_de()

def python.test_porcupine.PorcupineTestCase.test_single_keyword_de (   self)

Definition at line 126 of file test_porcupine.py.

◆ test_single_keyword_es()

def python.test_porcupine.PorcupineTestCase.test_single_keyword_es (   self)

Definition at line 113 of file test_porcupine.py.

◆ test_single_keyword_fr()

def python.test_porcupine.PorcupineTestCase.test_single_keyword_fr (   self)

Definition at line 139 of file test_porcupine.py.


The documentation for this class was generated from the following file:


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:20