SYMBOL INDEX (167 symbols across 19 files) FILE: asrserver_grpc.py class ApiService (line 71) | class ApiService(AsrtGrpcServiceServicer): method __init__ (line 76) | def __init__(self): method Speech (line 79) | def Speech(self, request, context): method Language (line 94) | def Language(self, request, context): method All (line 107) | def All(self, request, context): method Stream (line 123) | def Stream(self, request_iterator, context): function run (line 162) | def run(host, port): FILE: asrserver_http.py class AsrtApiResponse (line 68) | class AsrtApiResponse: method __init__ (line 73) | def __init__(self, status_code, status_message='', result=''): method to_json (line 78) | def to_json(self): function index_get (line 87) | def index_get(): function index_post (line 99) | def index_post(): function recognition_post (line 110) | def recognition_post(level): FILE: assets/asrt_pb2_grpc.py class AsrtGrpcServiceStub (line 8) | class AsrtGrpcServiceStub(object): method __init__ (line 12) | def __init__(self, channel): class AsrtGrpcServiceServicer (line 40) | class AsrtGrpcServiceServicer(object): method Speech (line 44) | def Speech(self, request, context): method Language (line 50) | def Language(self, request, context): method All (line 56) | def All(self, request, context): method Stream (line 62) | def Stream(self, request_iterator, context): function add_AsrtGrpcServiceServicer_to_server (line 69) | def add_AsrtGrpcServiceServicer_to_server(servicer, server): class AsrtGrpcService (line 98) | class AsrtGrpcService(object): method Speech (line 103) | def Speech(request, method Language (line 120) | def Language(request, method All (line 137) | def All(request, method Stream (line 154) | def Stream(request_iterator, FILE: client_grpc.py function run_speech (line 35) | def run_speech(): function run_lan (line 56) | def run_lan(): function run_all (line 72) | def run_all(): function run_stream (line 93) | def run_stream(): FILE: data_loader.py class DataLoader (line 32) | class DataLoader: method __init__ (line 40) | def __init__(self, dataset_type:str): method _load_data (line 50) | def _load_data(self): method get_data_count (line 76) | def get_data_count(self) -> int: method get_data (line 82) | def get_data(self, index: int) -> tuple: method shuffle (line 98) | def shuffle(self) -> None: FILE: download_default_datalist.py function deal_download (line 67) | def deal_download(datalist_item, url_prefix_str, datalist_path): FILE: language_model3.py class ModelLanguage (line 33) | class ModelLanguage: method __init__ (line 38) | def __init__(self, model_path: str): method load_model (line 44) | def load_model(self): method pinyin_to_text (line 54) | def pinyin_to_text(self, list_pinyin: list, beam_size: int = 100) -> str: method pinyin_stream_decode (line 75) | def pinyin_stream_decode(self, temple_result: list, FILE: model_zoo/speech_model/keras_backend.py class BaseModel (line 35) | class BaseModel: method __init__ (line 39) | def __init__(self): method get_model (line 46) | def get_model(self) -> tuple: method get_train_model (line 49) | def get_train_model(self) -> Model: method get_eval_model (line 52) | def get_eval_model(self) -> Model: method summary (line 55) | def summary(self) -> None: method get_model_name (line 58) | def get_model_name(self) -> str: method load_weights (line 61) | def load_weights(self, filename: str) -> None: method save_weights (line 64) | def save_weights(self, filename: str) -> None: method get_loss_function (line 72) | def get_loss_function(self): method forward (line 75) | def forward(self, x): function ctc_lambda_func (line 79) | def ctc_lambda_func(args): class SpeechModel251BN (line 85) | class SpeechModel251BN(BaseModel): method __init__ (line 99) | def __init__(self, input_shape: tuple = (1600, 200, 1), output_size: i... method _define_model (line 107) | def _define_model(self, input_shape, output_size) -> tuple: method get_loss_function (line 186) | def get_loss_function(self) -> dict: method forward (line 189) | def forward(self, data_input): class SpeechModel251 (line 212) | class SpeechModel251(BaseModel): method __init__ (line 226) | def __init__(self, input_shape: tuple = (1600, 200, 1), output_size: i... method _define_model (line 234) | def _define_model(self, input_shape, output_size) -> tuple: method get_loss_function (line 292) | def get_loss_function(self) -> dict: method forward (line 295) | def forward(self, data_input): class SpeechModel25 (line 318) | class SpeechModel25(BaseModel): method __init__ (line 332) | def __init__(self, input_shape: tuple = (1600, 200, 1), output_size: i... method _define_model (line 340) | def _define_model(self, input_shape, output_size) -> tuple: method get_loss_function (line 392) | def get_loss_function(self) -> dict: method forward (line 395) | def forward(self, data_input): class SpeechModel24 (line 418) | class SpeechModel24(BaseModel): method __init__ (line 432) | def __init__(self, input_shape :tuple=(1600, 200, 1), output_size: int... method _define_model (line 440) | def _define_model(self, input_shape, output_size) -> tuple: method get_loss_function (line 486) | def get_loss_function(self) -> dict: method forward (line 489) | def forward(self, data_input): FILE: model_zoo/speech_model/pytorch_backend.py class SpeechModel251BN (line 30) | class SpeechModel251BN(nn.Module): method __init__ (line 31) | def __init__(self, input_shape: tuple = (1600, 200, 1), output_size: i... method forward (line 87) | def forward(self, x): method compute_loss (line 121) | def compute_loss(self, y_pred, labels, input_length, label_length): method get_model (line 127) | def get_model(self): method get_model_name (line 130) | def get_model_name(self) -> str: FILE: speech_features/base.py function calculate_nfft (line 36) | def calculate_nfft(samplerate, winlen): function mfcc (line 53) | def mfcc(signal, samplerate=16000, winlen=0.025, winstep=0.01, numcep=13, function fbank (line 81) | def fbank(signal, samplerate=16000, winlen=0.025, winstep=0.01, function logfbank (line 112) | def logfbank(signal, samplerate=16000, winlen=0.025, winstep=0.01, function ssc (line 132) | def ssc(signal, samplerate=16000, winlen=0.025, winstep=0.01, function hz2mel (line 161) | def hz2mel(hz): function mel2hz (line 169) | def mel2hz(mel): function get_filterbanks (line 177) | def get_filterbanks(nfilt=20, nfft=512, samplerate=16000, lowfreq=0, hig... function lifter (line 207) | def lifter(cepstra, L=22): function delta (line 223) | def delta(feat, N): FILE: speech_features/sigproc.py function round_half_up (line 35) | def round_half_up(number): function rolling_window (line 39) | def rolling_window(a, window, step=1): function framesig (line 46) | def framesig(sig, frame_len, frame_step, winfunc=lambda x: numpy.ones((x... function deframesig (line 80) | def deframesig(frames, siglen, frame_len, frame_step, winfunc=lambda x: ... function magspec (line 114) | def magspec(frames, NFFT): function powspec (line 128) | def powspec(frames, NFFT): function logpowspec (line 137) | def logpowspec(frames, NFFT, norm=1): function preemphasis (line 153) | def preemphasis(signal, coeff=0.95): FILE: speech_features/speech_features.py class SpeechFeatureMeta (line 32) | class SpeechFeatureMeta: method __init__ (line 37) | def __init__(self, framesamplerate=16000): method run (line 40) | def run(self, wavsignal, fs=16000): class MFCC (line 47) | class MFCC(SpeechFeatureMeta): method __init__ (line 61) | def __init__(self, framesamplerate=16000, method run (line 75) | def run(self, wavsignal, fs=16000): class Logfbank (line 92) | class Logfbank(SpeechFeatureMeta): method __init__ (line 97) | def __init__(self, framesamplerate=16000, nfilt=26): method run (line 101) | def run(self, wavsignal, fs=16000): class Spectrogram (line 108) | class Spectrogram(SpeechFeatureMeta): method __init__ (line 113) | def __init__(self, framesamplerate=16000, timewindow=25, timeshift=10): method run (line 128) | def run(self, wavsignal, fs=16000): class SpecAugment (line 160) | class SpecAugment(SpeechFeatureMeta): method __init__ (line 165) | def __init__(self, framesamplerate=16000, timewindow=25, timeshift=10): method run (line 180) | def run(self, wavsignal, fs=16000): FILE: speech_model.py class ModelSpeech (line 35) | class ModelSpeech: method __init__ (line 44) | def __init__(self, speech_model, speech_features, max_label_length=64): method _data_generator (line 52) | def _data_generator(self, batch_size, data_loader): method train_model (line 89) | def train_model(self, optimizer, data_loader, epochs=1, save_step=1, b... method load_model (line 136) | def load_model(self, filename): method save_model (line 142) | def save_model(self, filename): method evaluate_model (line 148) | def evaluate_model(self, data_loader, data_count=-1, out_report=False,... method predict (line 222) | def predict(self, data_input): method recognize_speech (line 230) | def recognize_speech(self, wavsignal, fs): method recognize_speech_from_file (line 249) | def recognize_speech_from_file(self, filename): method model (line 258) | def model(self): FILE: speech_recorder.py function record_wave (line 30) | def record_wave(wavfile, FILE: torch_speech_model.py class SpeechDataset (line 36) | class SpeechDataset(Dataset): method __init__ (line 37) | def __init__(self, data_loader, speech_features, input_shape, max_labe... method __len__ (line 44) | def __len__(self): method __getitem__ (line 47) | def __getitem__(self, index): class ModelSpeech (line 72) | class ModelSpeech: method __init__ (line 73) | def __init__(self, speech_model: torch.nn.Module, speech_features: Spe... method train (line 80) | def train(self, data_loader: DataLoader, epochs: int, batch_size: int,... method save_weight (line 133) | def save_weight(self, filename: str): method load_weight (line 137) | def load_weight(self, filepath: str): FILE: utils/config.py function load_config_file (line 34) | def load_config_file(filename: str) -> dict: function load_pinyin_dict (line 53) | def load_pinyin_dict(filename: str) -> tuple: FILE: utils/ops.py function read_wav_data (line 32) | def read_wav_data(filename: str) -> tuple: function read_wav_bytes (line 49) | def read_wav_bytes(filename: str) -> tuple: function get_edit_distance (line 63) | def get_edit_distance(str1, str2) -> int: function ctc_decode_delete_tail_blank (line 79) | def ctc_decode_delete_tail_blank(ctc_decode_list): function visual_1D (line 89) | def visual_1D(points_list, frequency=1): function visual_2D (line 102) | def visual_2D(img): function decode_wav_bytes (line 112) | def decode_wav_bytes(samples_data: bytes, channels: int = 1, byte_width:... function get_symbol_dict (line 127) | def get_symbol_dict(dict_filename): function get_language_model (line 150) | def get_language_model(model_language_filename): function ctc_decode_stream (line 171) | def ctc_decode_stream(tokens): FILE: utils/ops_test.py class TestGetEditDistance (line 30) | class TestGetEditDistance: method test_1 (line 31) | def test_1(self): method test_2 (line 37) | def test_2(self): method test_3 (line 43) | def test_3(self): method test_4 (line 49) | def test_4(self): method test_5 (line 55) | def test_5(self): method test_6 (line 61) | def test_6(self): class TestCtcDecodeDeleteTailBlank (line 68) | class TestCtcDecodeDeleteTailBlank: method test_1 (line 69) | def test_1(self): method test_2 (line 75) | def test_2(self): method test_3 (line 81) | def test_3(self): method test_4 (line 87) | def test_4(self): method test_5 (line 93) | def test_5(self): class TestCtcDecodeStream (line 100) | class TestCtcDecodeStream: method test_1 (line 101) | def test_1(self): method test_2 (line 112) | def test_2(self): FILE: utils/thread.py class threadsafe_iter (line 34) | class threadsafe_iter: method __init__ (line 38) | def __init__(self, it): method __iter__ (line 42) | def __iter__(self): method __next__ (line 45) | def __next__(self): function threadsafe_generator (line 50) | def threadsafe_generator(f):