SYMBOL INDEX (94 symbols across 14 files) FILE: backend/CT-Transformer-punctuation/cttPunctuator.py class CttPunctuator (line 27) | class CttPunctuator: method __init__ (line 31) | def __init__(self, online: bool = False, model_dir: str = None): method punctuate (line 61) | def punctuate(self, text: str, param_dict=None): FILE: backend/CT-Transformer-punctuation/cttpunctuator/src/punctuator.py class CT_Transformer (line 17) | class CT_Transformer: method __init__ (line 25) | def __init__( method __call__ (line 59) | def __call__(self, text: Union[list, str], split_size=20): method infer (line 146) | def infer( class CT_Transformer_VadRealtime (line 153) | class CT_Transformer_VadRealtime(CT_Transformer): method __init__ (line 161) | def __init__( method __call__ (line 173) | def __call__(self, text: str, param_dict: map, split_size=20): method vad_mask (line 289) | def vad_mask(self, size, vad_pos, dtype=np.bool_): method infer (line 304) | def infer( FILE: backend/CT-Transformer-punctuation/cttpunctuator/src/utils/OrtInferSession.py class ONNXRuntimeError (line 20) | class ONNXRuntimeError(Exception): class OrtInferSession (line 24) | class OrtInferSession: method __init__ (line 25) | def __init__(self, model_file, device_id=-1, intra_op_num_threads=4): method __call__ (line 69) | def __call__( method get_input_names (line 78) | def get_input_names( method get_output_names (line 83) | def get_output_names( method get_character_list (line 88) | def get_character_list(self, key: str = "character"): method have_key (line 91) | def have_key(self, key: str = "character") -> bool: method _verify_model (line 98) | def _verify_model(model_path): FILE: backend/CT-Transformer-punctuation/cttpunctuator/src/utils/text_post_process.py class TokenIDConverterError (line 14) | class TokenIDConverterError(Exception): class TokenIDConverter (line 18) | class TokenIDConverter: method __init__ (line 19) | def __init__( method get_num_vocabulary_size (line 30) | def get_num_vocabulary_size(self) -> int: method ids2tokens (line 33) | def ids2tokens(self, integers: Union[np.ndarray, Iterable[int]]) -> Li... method tokens2ids (line 40) | def tokens2ids(self, tokens: Iterable[str]) -> List[int]: function split_to_mini_sentence (line 44) | def split_to_mini_sentence(words: list, word_limit: int = 20): function code_mix_split_words (line 58) | def code_mix_split_words(text: str): function read_yaml (line 79) | def read_yaml(yaml_path: Union[str, Path]) -> Dict: FILE: backend/main.py function type_text (line 29) | def type_text(text: str) -> None: function save_audio_async (line 40) | async def save_audio_async(samples: np.ndarray, sample_rate: int, file_p... function save_audio (line 45) | def save_audio(samples: np.ndarray, sample_rate: int, file_path: str) ->... function process_audio_async (line 57) | async def process_audio_async( function process_audio (line 72) | def process_audio( function add_punctuation (line 82) | def add_punctuation(punctuator: CttPunctuator, text: str) -> str: function ensure_data_directory (line 87) | def ensure_data_directory() -> None: function is_device_usable (line 94) | def is_device_usable(device_index): function create_recognizer (line 102) | def create_recognizer(args: argparse.Namespace) -> sherpa_onnx.OfflineRe... function get_args (line 113) | def get_args() -> argparse.Namespace: class Configurations (line 161) | class Configurations: method __init__ (line 164) | def __init__(self, hotkey: str, microphone_index: Optional[int]): class DeviceIndex (line 169) | class DeviceIndex(BaseModel): class Hotkey (line 173) | class Hotkey(BaseModel): function ping (line 182) | async def ping(): function list_audio_devices_api (line 188) | async def list_audio_devices_api() -> Dict[str, List[Dict[str, Any]]]: function set_audio_device (line 214) | async def set_audio_device(device: DeviceIndex): function set_hotkey_api (line 251) | async def set_hotkey_api(hotkey: Hotkey): function get_hotkey_api (line 276) | async def get_hotkey_api(): function main (line 281) | async def main() -> None: FILE: backend/test_api.py function test_ping (line 5) | def test_ping(): function test_list_audio_devices (line 10) | def test_list_audio_devices(): function test_set_audio_device (line 17) | def test_set_audio_device(index): function test_set_hotkey (line 29) | def test_set_hotkey(hotkey): function test_get_hotkey (line 41) | def test_get_hotkey(): function test_error_cases (line 46) | def test_error_cases(): FILE: frontend/src/VoiceRecognitionIcon.tsx type VoiceRecognitionIconProps (line 6) | interface VoiceRecognitionIconProps { FILE: frontend/src/components/ui/badge.tsx type BadgeProps (line 26) | interface BadgeProps function Badge (line 30) | function Badge({ className, variant, ...props }: BadgeProps) { FILE: frontend/src/components/ui/button.tsx type ButtonProps (line 36) | interface ButtonProps FILE: frontend/src/i18n.ts type Language (line 1) | type Language = 'English' | '日本語' | '简体中文'; FILE: frontend/src/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { FILE: frontend/src/main.ts constant DEBOUNCE_TIME (line 33) | const DEBOUNCE_TIME = 300; type ServerStatus (line 47) | type ServerStatus = 'error' | 'starting' | 'running'; function isPortAvailable (line 55) | async function isPortAvailable(port: number): Promise { function convertHotkeyForServer (line 64) | function convertHotkeyForServer(hotkey: string): string { function killAllSayKeyProcesses (line 72) | function killAllSayKeyProcesses(): Promise { function isDevelopment (line 92) | function isDevelopment() { function startBackendService (line 96) | async function startBackendService() { function loadSettings (line 192) | function loadSettings() { function saveSettings (line 206) | function saveSettings() { function fetchAudioDevices (line 212) | async function fetchAudioDevices() { function changeLanguage (line 228) | function changeLanguage(lang: Language) { type HotkeyResponse (line 238) | type HotkeyResponse = { function changeShortcut (line 244) | async function changeShortcut(newShortcut: string) { function convertServerHotkeyToElectron (line 270) | function convertServerHotkeyToElectron(serverHotkey: string): string { function getMenuTemplate (line 279) | function getMenuTemplate(): Electron.MenuItemConstructorOptions[] { function changeMicrophone (line 430) | async function changeMicrophone(index: number) { function setupContextMenu (line 446) | function setupContextMenu() { function createWindow (line 465) | async function createWindow() { function updateAlwaysOnTop (line 521) | function updateAlwaysOnTop() { function createTray (line 527) | function createTray() { function updateTrayMenu (line 547) | function updateTrayMenu() { function registerGlobalShortcut (line 555) | function registerGlobalShortcut() { function checkServerStatus (line 602) | async function checkServerStatus() { function updateContextMenu (line 637) | function updateContextMenu() { function startMicrophoneCheck (line 644) | function startMicrophoneCheck() { function stopMicrophoneCheck (line 654) | function stopMicrophoneCheck() { function createLogWindow (line 664) | function createLogWindow() { function getCurrentHotkey (line 785) | async function getCurrentHotkey() { function restartBackendService (line 800) | function restartBackendService() { FILE: frontend/src/preload.ts type MediaDeviceInfo (line 5) | interface MediaDeviceInfo { FILE: frontend/src/renderer.tsx type Window (line 10) | interface Window { function App (line 36) | function App() {