SYMBOL INDEX (873 symbols across 69 files) FILE: docs/_static/doctools.js function highlight (line 69) | function highlight(node, addItems) { FILE: docs/_static/jquery-3.2.1.js function DOMEval (line 76) | function DOMEval( code, doc ) { function isArrayLike (line 522) | function isArrayLike( obj ) { function Sizzle (line 754) | function Sizzle( selector, context, results, seed ) { function createCache (line 893) | function createCache() { function markFunction (line 911) | function markFunction( fn ) { function assert (line 920) | function assert( fn ) { function addHandle (line 942) | function addHandle( attrs, handler ) { function siblingCheck (line 957) | function siblingCheck( a, b ) { function createInputPseudo (line 983) | function createInputPseudo( type ) { function createButtonPseudo (line 994) | function createButtonPseudo( type ) { function createDisabledPseudo (line 1005) | function createDisabledPseudo( disabled ) { function createPositionalPseudo (line 1061) | function createPositionalPseudo( fn ) { function testContext (line 1084) | function testContext( context ) { function setFilters (line 2166) | function setFilters() {} function toSelector (line 2237) | function toSelector( tokens ) { function addCombinator (line 2247) | function addCombinator( matcher, combinator, base ) { function elementMatcher (line 2311) | function elementMatcher( matchers ) { function multipleContexts (line 2325) | function multipleContexts( selector, contexts, results ) { function condense (line 2334) | function condense( unmatched, map, filter, context, xml ) { function setMatcher (line 2355) | function setMatcher( preFilter, selector, matcher, postFilter, postFinde... function matcherFromTokens (line 2448) | function matcherFromTokens( tokens ) { function matcherFromGroupMatchers (line 2506) | function matcherFromGroupMatchers( elementMatchers, setMatchers ) { function nodeName (line 2842) | function nodeName( elem, name ) { function winnow (line 2854) | function winnow( elements, qualifier, not ) { function sibling (line 3157) | function sibling( cur, dir ) { function createOptions (line 3244) | function createOptions( options ) { function Identity (line 3469) | function Identity( v ) { function Thrower (line 3472) | function Thrower( ex ) { function adoptValue (line 3476) | function adoptValue( value, resolve, reject, noValue ) { function resolve (line 3569) | function resolve( depth, deferred, handler, special ) { function completed (line 3927) | function completed() { function Data (line 4029) | function Data() { function getData (line 4198) | function getData( data ) { function dataAttr (line 4223) | function dataAttr( elem, key, data ) { function adjustCSS (line 4536) | function adjustCSS( elem, prop, valueParts, tween ) { function getDefaultDisplay (line 4601) | function getDefaultDisplay( elem ) { function showHide (line 4624) | function showHide( elements, show ) { function getAll (line 4725) | function getAll( context, tag ) { function setGlobalEval (line 4750) | function setGlobalEval( elems, refElements ) { function buildFragment (line 4766) | function buildFragment( elems, context, scripts, selection, ignored ) { function returnTrue (line 4889) | function returnTrue() { function returnFalse (line 4893) | function returnFalse() { function safeActiveElement (line 4899) | function safeActiveElement() { function on (line 4905) | function on( elem, types, selector, data, fn, one ) { function manipulationTarget (line 5634) | function manipulationTarget( elem, content ) { function disableScript (line 5645) | function disableScript( elem ) { function restoreScript (line 5649) | function restoreScript( elem ) { function cloneCopyEvent (line 5661) | function cloneCopyEvent( src, dest ) { function fixInput (line 5696) | function fixInput( src, dest ) { function domManip (line 5709) | function domManip( collection, args, callback, ignored ) { function remove (line 5799) | function remove( elem, selector, keepData ) { function computeStyleTests (line 6092) | function computeStyleTests() { function curCSS (line 6166) | function curCSS( elem, name, computed ) { function addGetHookIf (line 6219) | function addGetHookIf( conditionFn, hookFn ) { function vendorPropName (line 6256) | function vendorPropName( name ) { function finalPropName (line 6277) | function finalPropName( name ) { function setPositiveNumber (line 6285) | function setPositiveNumber( elem, value, subtract ) { function augmentWidthOrHeight (line 6297) | function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { function getWidthOrHeight (line 6343) | function getWidthOrHeight( elem, name, extra ) { function Tween (line 6652) | function Tween( elem, options, prop, end, easing ) { function schedule (line 6775) | function schedule() { function createFxNow (line 6788) | function createFxNow() { function genFx (line 6796) | function genFx( type, includeWidth ) { function createTween (line 6816) | function createTween( value, prop, animation ) { function defaultPrefilter (line 6830) | function defaultPrefilter( elem, props, opts ) { function propFilter (line 7001) | function propFilter( props, specialEasing ) { function Animation (line 7038) | function Animation( elem, properties, options ) { function stripAndCollapse (line 7753) | function stripAndCollapse( value ) { function getClass (line 7759) | function getClass( elem ) { function buildParams (line 8383) | function buildParams( prefix, obj, traditional, add ) { function addToPrefiltersOrTransports (line 8533) | function addToPrefiltersOrTransports( structure ) { function inspectPrefiltersOrTransports (line 8567) | function inspectPrefiltersOrTransports( structure, options, originalOpti... function ajaxExtend (line 8596) | function ajaxExtend( target, src ) { function ajaxHandleResponses (line 8616) | function ajaxHandleResponses( s, jqXHR, responses ) { function ajaxConvert (line 8674) | function ajaxConvert( s, response, jqXHR, isSuccess ) { function done (line 9187) | function done( status, nativeStatusText, responses, headers ) { FILE: docs/_static/jquery.js function p (line 2) | function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.a... function w (line 2) | function w(a){var b=!!a&&"length"in a&&a.length,c=r.type(a);return"funct... function ga (line 2) | function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeTy... function ha (line 2) | function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLengt... function ia (line 2) | function ia(a){return a[u]=!0,a} function ja (line 2) | function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(... function ka (line 2) | function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[... function la (line 2) | function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourc... function ma (line 2) | function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"... function na (line 2) | function na(a){return function(b){var c=b.nodeName.toLowerCase();return(... function oa (line 2) | function oa(a){return function(b){return"form"in b?b.parentNode&&b.disab... function pa (line 2) | function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,... function qa (line 2) | function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a} function ra (line 2) | function ra(){} function sa (line 2) | function sa(a){for(var b=0,c=a.length,d="";b1?function(b,c,d){var e=a.length;while(e-... function va (line 2) | function va(a,b,c){for(var d=0,e=b.length;d0,e=a.length>0,f=function(f,g,h,i,k){var... function B (line 2) | function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerC... function E (line 2) | function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!... function K (line 2) | function K(a,b){while((a=a[b])&&1!==a.nodeType);return a} function M (line 2) | function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!... function N (line 2) | function N(a){return a} function O (line 2) | function O(a){throw a} function P (line 2) | function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).don... function g (line 2) | function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(... function S (line 2) | function S(){d.removeEventListener("DOMContentLoaded",S), function V (line 3) | function V(){this.expando=r.expando+V.uid++} function $ (line 3) | function $(a){return"true"===a||"false"!==a&&("null"===a?null:a===+a+""?... function _ (line 3) | function _(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.rep... function fa (line 3) | function fa(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:funct... function ha (line 3) | function ha(a){var b,c=a.ownerDocument,d=a.nodeName,e=ga[d];return e?e:(... function ia (line 3) | function ia(a,b){for(var c,d,e=[],f=0,g=a.length;f dict: method token_auth (line 248) | def token_auth(self): method signature_auth (line 251) | def signature_auth(self, data): method segment_data_processor (line 269) | async def segment_data_processor(self, wav_data: bytes, segment_size: ... method execute (line 306) | async def execute(self): class VolcengineASR (line 321) | class VolcengineASR(object): method __init__ (line 322) | def __init__(self, **kwargs) -> None: method execute (line 327) | def execute(self, path): class VolcengineTTS (line 349) | class VolcengineTTS(object): method __init__ (line 350) | def __init__(self, appid, token, cluster, voice_type) -> None: method execute (line 353) | def execute(self, text): FILE: robot/sdk/XunfeiSpeech.py class ASR_Ws_Param (line 31) | class ASR_Ws_Param(object): method __init__ (line 33) | def __init__(self, APPID, APIKey, APISecret, AudioFile): method create_url (line 46) | def create_url(self): class TTS_Ws_Param (line 80) | class TTS_Ws_Param(object): method __init__ (line 82) | def __init__(self, APPID, APIKey, APISecret, Text, voice_name="xiaoyan"): method create_url (line 103) | def create_url(self): function asr_on_message (line 140) | def asr_on_message(ws, message): function asr_on_error (line 168) | def asr_on_error(ws, error): function asr_on_close (line 173) | def asr_on_close(ws, _foo, _bar): function asr_on_open (line 178) | def asr_on_open(ws): function tts_on_message (line 241) | def tts_on_message(ws, message): function tts_on_error (line 258) | def tts_on_error(ws, error): function tts_on_close (line 263) | def tts_on_close(ws, _foo, _bar): function tts_on_open (line 282) | def tts_on_open(ws): function transcribe (line 302) | def transcribe(fpath, appid, api_key, api_secret): function synthesize (line 319) | def synthesize(msg, appid, api_key, api_secret, voice_name="xiaoyan"): FILE: robot/sdk/atc.py function num2chinese (line 59) | def num2chinese(num, big=False, simp=True, o=False, twoalt=False): FILE: robot/sdk/unit.py function get_token (line 14) | def get_token(api_key, secret_key): function getUnit (line 43) | def getUnit(query, service_id, api_key, secret_key): function getIntent (line 74) | def getIntent(parsed): function hasIntent (line 91) | def hasIntent(parsed, intent): function getSlots (line 113) | def getSlots(parsed, intent=""): function getSlotWords (line 143) | def getSlotWords(parsed, intent, name): function getSlotOriginalWords (line 160) | def getSlotOriginalWords(parsed, intent, name): function getSayByConfidence (line 177) | def getSayByConfidence(parsed): function getSay (line 203) | def getSay(parsed, intent=""): FILE: robot/statistic.py function getUUID (line 9) | def getUUID(): function report (line 14) | def report(t): class ReportThread (line 18) | class ReportThread(threading.Thread): method __init__ (line 19) | def __init__(self, t): method run (line 24) | def run(self): FILE: robot/utils.py function sendEmail (line 29) | def sendEmail( function emailUser (line 78) | def emailUser(SUBJECT="", BODY="", ATTACH_LIST=[]): function get_file_content (line 110) | def get_file_content(filePath, flag="rb"): function check_and_delete (line 122) | def check_and_delete(fp, wait=0): function write_temp_file (line 141) | def write_temp_file(data, suffix, mode="w+b"): function get_pcm_from_wav (line 156) | def get_pcm_from_wav(wav_path): function convert_wav_to_mp3 (line 167) | def convert_wav_to_mp3(wav_path): function convert_mp3_to_wav (line 182) | def convert_mp3_to_wav(mp3_path): function clean (line 197) | def clean(): function setRecordable (line 208) | def setRecordable(value): function isRecordable (line 214) | def isRecordable(): function is_proper_time (line 220) | def is_proper_time(): function get_do_not_bother_on_hotword (line 241) | def get_do_not_bother_on_hotword(): function get_do_not_bother_off_hotword (line 246) | def get_do_not_bother_off_hotword(): function getTimezone (line 251) | def getTimezone(): function getTimemStap (line 256) | def getTimemStap(): function getCache (line 261) | def getCache(msg): function saveCache (line 271) | def saveCache(voice, msg): function lruCache (line 280) | def lruCache(): function validyaml (line 295) | def validyaml(filename): function validjson (line 311) | def validjson(s): function getPunctuations (line 325) | def getPunctuations(): function stripPunctuation (line 329) | def stripPunctuation(s): FILE: server/server.py class BaseHandler (line 42) | class BaseHandler(tornado.web.RequestHandler): method isValidated (line 43) | def isValidated(self): method validate (line 50) | def validate(self, validation): class MainHandler (line 58) | class MainHandler(BaseHandler): method get (line 59) | def get(self): class MessageUpdatesHandler (line 81) | class MessageUpdatesHandler(BaseHandler): method post (line 87) | async def post(self): method on_connection_close (line 110) | def on_connection_close(self): class ChatWebSocketHandler (line 119) | class ChatWebSocketHandler(WebSocketHandler, BaseHandler): method open (line 122) | def open(self): method on_close (line 125) | def on_close(self): method send_response (line 128) | def send_response(self, msg, uuid, plugin=""): class ChatHandler (line 139) | class ChatHandler(BaseHandler): method onResp (line 140) | def onResp(self, msg, audio, plugin): method onStream (line 155) | def onStream(self, data, uuid): method post (line 160) | def post(self): class GetHistoryHandler (line 204) | class GetHistoryHandler(BaseHandler): method get (line 205) | def get(self): class GetLogHandler (line 220) | class GetLogHandler(BaseHandler): method get (line 221) | def get(self): class LogPageHandler (line 232) | class LogPageHandler(BaseHandler): method get (line 233) | def get(self): class OperateHandler (line 240) | class OperateHandler(BaseHandler): method post (line 241) | def post(self): class ConfigPageHandler (line 261) | class ConfigPageHandler(BaseHandler): method get (line 262) | def get(self): class ConfigHandler (line 269) | class ConfigHandler(BaseHandler): method get (line 270) | def get(self): method post (line 289) | def post(self): class DonateHandler (line 307) | class DonateHandler(BaseHandler): method get (line 308) | def get(self): class QAHandler (line 322) | class QAHandler(BaseHandler): method get (line 323) | def get(self): method post (line 332) | def post(self): class APIHandler (line 364) | class APIHandler(BaseHandler): method get (line 365) | def get(self): class UpdateHandler (line 387) | class UpdateHandler(BaseHandler): method post (line 388) | def post(self): class LoginHandler (line 406) | class LoginHandler(BaseHandler): method get (line 407) | def get(self): method post (line 413) | def post(self): class LogoutHandler (line 428) | class LogoutHandler(BaseHandler): method get (line 429) | def get(self): function start_server (line 483) | def start_server(con, wk): function run (line 497) | def run(conversation, wukong, debug=False): FILE: server/static/bootbox.js function _t (line 94) | function _t(key) { function processCallback (line 99) | function processCallback(e, dialog, callback) { function getKeyLength (line 116) | function getKeyLength(obj) { function each (line 125) | function each(collection, iterator) { function sanitize (line 132) | function sanitize(options) { function mapArguments (line 197) | function mapArguments(args, properties) { function mergeArguments (line 218) | function mergeArguments(defaults, args, properties) { function mergeDialogOptions (line 239) | function mergeDialogOptions(className, labels, properties, args) { function createLabels (line 265) | function createLabels() { function validateButtons (line 281) | function validateButtons(options, buttons) { FILE: server/static/config.js function saveConfig (line 1) | function saveConfig(msg) { FILE: server/static/index.js function appendHistory (line 18) | function appendHistory(type, message, uuid, plugin) { function showProgress (line 52) | function showProgress() { function upgrade (line 56) | function upgrade() { function S4 (line 91) | function S4() { function guid (line 94) | function guid() { FILE: server/static/jquery.fancybox.js function _run (line 2996) | function _run(e, opts) { function escapeHtml (line 4822) | function escapeHtml(string) { function parseUrl (line 4914) | function parseUrl() { function triggerFromUrl (line 4929) | function triggerFromUrl(url) { function getGalleryID (line 4942) | function getGalleryID(instance) { FILE: server/static/log.js function refresh (line 1) | function refresh(msg) { FILE: server/static/main.js function restart (line 3) | function restart() { function renderMenu (line 22) | function renderMenu() { function getCookie (line 31) | function getCookie(name) function setCookie (line 41) | function setCookie(name,value) function arrayBufferToBase64 (line 49) | function arrayBufferToBase64( buffer ) { function showSpin (line 59) | function showSpin() { function dismissSpin (line 86) | function dismissSpin() { function Spinner (line 196) | function Spinner(opts) { function css (line 249) | function css(el, props) { function getColor (line 258) | function getColor(color, idx) { function drawLines (line 264) | function drawLines(el, opts) { function parseBoxShadow (line 300) | function parseBoxShadow(boxShadow) { function normalizeShadow (line 336) | function normalizeShadow(shadows, degrees) { function convertOffset (line 345) | function convertOffset(x, y, degrees) { FILE: server/static/modernizr.touch.js function v (line 4) | function v(a){i.cssText=a} function w (line 4) | function w(a,b){return v(l.join(a+";")+(b||""))} function x (line 4) | function x(a,b){return typeof a===b} function y (line 4) | function y(a,b){return!!~(""+a).indexOf(b)} function z (line 4) | function z(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a... FILE: server/static/qa.js function upload (line 1) | function upload() { FILE: snowboy/snowboydecoder.py function py_error_handler (line 23) | def py_error_handler(filename, line, function, err, fmt): function no_alsa_error (line 33) | def no_alsa_error(): class RingBuffer (line 44) | class RingBuffer(object): method __init__ (line 47) | def __init__(self, size=4096): method extend (line 50) | def extend(self, data): method get (line 54) | def get(self): function play_audio_file (line 61) | def play_audio_file(fname=DETECT_DING): class ActiveListener (line 87) | class ActiveListener(object): method __init__ (line 90) | def __init__(self, decoder_model, resource=RESOURCE_FILE): method listen (line 101) | def listen( method saveMessage (line 192) | def saveMessage(self): class HotwordDetector (line 221) | class HotwordDetector(object): method __init__ (line 236) | def __init__( method start (line 277) | def start( method saveMessage (line 412) | def saveMessage(self): method terminate (line 435) | def terminate(self): FILE: snowboy/snowboydetect.py function swig_import_helper (line 11) | def swig_import_helper(): function swig_import_helper (line 25) | def swig_import_helper(): function _swig_setattr_nondynamic (line 61) | def _swig_setattr_nondynamic(self, class_type, name, value, static=1): function _swig_setattr (line 80) | def _swig_setattr(self, class_type, name, value): function _swig_getattr (line 84) | def _swig_getattr(self, class_type, name): function _swig_repr (line 95) | def _swig_repr(self): class _object (line 112) | class _object: class SnowboyDetect (line 118) | class SnowboyDetect(_object): method __init__ (line 127) | def __init__(self, resource_filename, model_str): method Reset (line 134) | def Reset(self): method RunDetection (line 137) | def RunDetection(self, *args): method SetSensitivity (line 140) | def SetSensitivity(self, sensitivity_str): method SetHighSensitivity (line 143) | def SetHighSensitivity(self, high_sensitivity_str): method GetSensitivity (line 148) | def GetSensitivity(self): method SetAudioGain (line 151) | def SetAudioGain(self, audio_gain): method UpdateModel (line 154) | def UpdateModel(self): method NumHotwords (line 157) | def NumHotwords(self): method ApplyFrontend (line 160) | def ApplyFrontend(self, apply_frontend): method SampleRate (line 163) | def SampleRate(self): method NumChannels (line 166) | def NumChannels(self): method BitsPerSample (line 169) | def BitsPerSample(self): class SnowboyVad (line 180) | class SnowboyVad(_object): method __init__ (line 187) | def __init__(self, resource_filename): method Reset (line 194) | def Reset(self): method RunVad (line 197) | def RunVad(self, *args): method SetAudioGain (line 200) | def SetAudioGain(self, audio_gain): method ApplyFrontend (line 203) | def ApplyFrontend(self, apply_frontend): method SampleRate (line 206) | def SampleRate(self): method NumChannels (line 209) | def NumChannels(self): method BitsPerSample (line 212) | def BitsPerSample(self): FILE: tools/make_json.py function write_format_file (line 22) | def write_format_file(fields, format_file_str): function run (line 43) | def run(faq_file_str, json_file_str): function convert (line 79) | def convert(faq_str, json_file_str): FILE: tools/solr_tools.py function _make_smart_hint (line 31) | def _make_smart_hint(hint_type, hint_content): function _get_error_message (line 38) | def _get_error_message(respond_str): function add_engine (line 45) | def add_engine( function delete_engine (line 70) | def delete_engine(host, enginename, port=8983): function upload_documents (line 89) | def upload_documents(host, enginename, port=8983, documents="", num_thre... function clear_documents (line 176) | def clear_documents(host, enginename, port=8983): function help (line 195) | def help(**kwargs): function call_function (line 222) | def call_function(func, params): function command_line_tools (line 229) | def command_line_tools(): FILE: wukong.py class Wukong (line 24) | class Wukong(object): method init (line 29) | def init(self): method _signal_handler (line 60) | def _signal_handler(self, signal, frame): method _detected_callback (line 65) | def _detected_callback(self, is_snowboy=True): method _interrupt_callback (line 84) | def _interrupt_callback(self): method run (line 87) | def run(self): method help (line 100) | def help(self): method md5 (line 114) | def md5(self, password): method update (line 120) | def update(self): method fetch (line 127) | def fetch(self): method upload (line 134) | def upload(self, threadNum=10): method restart (line 156) | def restart(self): method profiling (line 168) | def profiling(self): method debug (line 176) | def debug(self):