Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jasperproject/jasper-client
/ functions
Functions
282 in github.com/jasperproject/jasper-client
⨍
Functions
282
◇
Types & classes
49
↓ 1 callers
Function
sendEmail
Sends an HTML email.
client/app_utils.py:9
↓ 1 callers
Method
testVocabulary
(self)
tests/test_vocabcompiler.py:48
↓ 1 callers
Method
testVocabulary
(self)
tests/test_vocabcompiler.py:99
↓ 1 callers
Method
translate_word
(self, word)
client/vocabcompiler.py:366
↓ 1 callers
Function
verifyLocation
(place)
client/populate.py:66
Method
__del__
(self)
client/mic.py:39
Method
__del__
(self)
client/stt.py:128
Method
__init__
(self)
jasper.py:38
Method
__init__
Initializes a new Vocabulary instance. Optional Arguments: name -- (optional) the name of the vocabulary (Default: 'defa
client/vocabcompiler.py:57
Method
__init__
(self, fname, membername=None)
client/vocabcompiler.py:336
Method
__init__
Initiates the pocketsphinx instance. Arguments: speaker -- handles platform-independent audio output passive_stt_eng
client/mic.py:19
Method
__init__
(self, inputs)
client/test_mic.py:11
Method
__init__
Initiates the pocketsphinx instance. Arguments: vocabulary -- a PocketsphinxVocabulary instance hmm_dir -- t
client/stt.py:73
Method
__init__
(self, vocabulary=None, hmmdefs="/usr/share/voxforge/julius/" + "acoustic_model_files/hmmdefs
client/stt.py:189
Method
__init__
Arguments: api_key - the public api key which allows access to Google APIs
client/stt.py:304
Method
__init__
(self, app_key, app_secret)
client/stt.py:447
Method
__init__
(self, access_token)
client/stt.py:554
Method
__init__
(self, speaker, passive_stt_engine, active_stt_engine)
client/local_mic.py:12
Method
__init__
(self, persona, mic, profile)
client/conversation.py:9
Method
__init__
(self, **kwargs)
client/tts.py:66
Method
__init__
(self, voice='default+m3', pitch_adjustment=40, words_per_minute=160)
client/tts.py:140
Method
__init__
(self, voice='')
client/tts.py:252
Method
__init__
(self, language='en')
client/tts.py:428
Method
__init__
(self, server="mary.dfki.de", port="59125", language="en_GB", voice="dfki-spike")
client/tts.py:487
Method
__init__
(self, access_key='', secret_key='', region=None, voice=None, speech_rate=None, sentence_brea
client/tts.py:580
Method
__init__
(self, fst_model=None, nbest=None)
client/g2p.py:97
Method
__init__
Instantiates a new Brain object, which cross-references user input with a list of modules. Note that the order of brain.modules
client/brain.py:9
Method
__init__
(self, gather, timestamp)
client/notifier.py:13
Method
__init__
(self, profile)
client/notifier.py:20
Method
__init__
(self, title, URL)
client/modules/HN.py:18
Method
__init__
(self, title, URL)
client/modules/News.py:16
Method
__init__
(self, PERSONA, mic, mpdwrapper)
client/modules/MPDControl.py:66
Method
__init__
(self, id, title, artist, album)
client/modules/MPDControl.py:210
Method
__init__
Prepare the client and music variables
client/modules/MPDControl.py:219
Method
__init__
(self, *args, **kwargs)
tests/test_g2p.py:41
Method
__init__
(self, *args, **kwargs)
tests/test_vocabcompiler.py:117
Method
__new__
(cls, fst_model=None, *args, **kwargs)
client/g2p.py:86
Method
_compile_vocabulary
Does nothing (because this is a dummy class for testing purposes).
client/vocabcompiler.py:202
Method
_compile_vocabulary
Compiles the vocabulary to the Pocketsphinx format by creating a languagemodel and a dictionary. Arguments: phra
client/vocabcompiler.py:259
Method
_compile_vocabulary
(self, phrases)
client/vocabcompiler.py:418
Method
activeListenToAllOptions
(self, THRESHOLD=None, LISTEN=True, MUSIC=False)
client/test_mic.py:19
Method
activeListenToAllOptions
(self, THRESHOLD=None, LISTEN=True, MUSIC=False)
client/local_mic.py:18
Method
api_key
(self)
client/stt.py:332
Function
check_python_import
Checks if a python package or module is importable. Arguments: package_or_module -- the package or module name to check Returns
client/diagnose.py:69
Function
clean
Manually adjust output text before it's translated into actual speech by the TTS system. This is to fix minior idiomatic issu
client/alteration.py:10
Function
cmuclmtk_installed
()
tests/test_stt.py:8
Method
compiled_revision
Reads the compiled revision from the revision file. Returns: the revision of this vocabulary (i.e. the string
client/vocabcompiler.py:91
Function
config
(*fname)
client/jasperpath.py:15
Function
data
(*fname)
client/jasperpath.py:19
Method
decoder_kwargs
Convenience property to use this Vocabulary with the __init__() method of the pocketsphinx.Decoder class. Returns:
client/vocabcompiler.py:243
Method
dfa_file
Returns: The path of the the julius dfa file as string
client/vocabcompiler.py:375
Method
dict_file
Returns: The path of the the julius dict file as string
client/vocabcompiler.py:383
Method
dictionary_file
Returns: The path of the pocketsphinx dictionary file as string
client/vocabcompiler.py:222
Function
emailUser
sends an email. Arguments: profile -- contains information related to the user (e.g., email address) SUBJ
client/app_utils.py:31
Method
fuzzy_songs
Returns songs matching a query best as possible on either artist field, etc
client/modules/MPDControl.py:374
Function
generateTinyURL
Generates a compressed URL. Arguments: URL -- the original URL to-be compressed
client/app_utils.py:98
Function
getMostRecentDate
Returns the most recent date of any email in the list provided. Arguments: emails -- a list of emails to check Retu
client/modules/Gmail.py:31
Method
get_config
(cls)
client/stt.py:29
Method
get_config
(cls)
client/stt.py:132
Method
get_config
(cls)
client/stt.py:224
Method
get_config
(cls)
client/stt.py:355
Method
get_config
(cls)
client/stt.py:559
Method
get_config
(cls)
client/tts.py:52
Method
get_config
(cls)
client/tts.py:148
Method
get_config
(cls)
client/tts.py:270
Method
get_config
(cls)
client/tts.py:439
Method
get_config
(cls)
client/tts.py:516
Method
get_config
(cls)
client/tts.py:595
Method
get_config
(cls)
client/g2p.py:67
Function
get_default_engine_slug
()
client/tts.py:638
Function
get_engine_by_slug
Returns: An STT Engine implementation available on the current platform Raises: ValueError if no speaker implementation is s
client/stt.py:624
Function
get_engine_by_slug
Returns: A speaker implementation available on the current platform Raises: ValueError if no speaker implementation is suppo
client/tts.py:642
Function
get_keyword_phrases
Gets the keyword phrases from the keywords file in the jasper data dir. Returns: A list of keyword phrases.
client/vocabcompiler.py:492
Method
get_soup
Returns the list of unique words that comprise song and artist titles
client/modules/MPDControl.py:317
Method
get_soup_separated
Returns the list of PHRASES that comprise song and artist titles
client/modules/MPDControl.py:356
Function
handle
Responds to user-input, typically speech text, with a summary of the relevant weather for the requested date (typically, weather informat
client/modules/Weather.py:94
Function
handle
Responds to user-input, typically speech text, with a sample of Hacker News's top headlines, sending them to the user over email
client/modules/HN.py:45
Function
handle
Responds to user-input, typically speech text, by listing the user's Facebook friends with birthdays today. Arguments:
client/modules/Birthday.py:10
Function
handle
Responds to user-input, typically speech text, with a summary of the day's top news headlines, sending them to the user over email
client/modules/News.py:35
Function
handle
Responds to user-input, typically speech text, by relaying the meaning of life. Arguments: text -- user-input, typic
client/modules/Life.py:8
Function
handle
Reports that the user has unclear or unusable input. Arguments: text -- user-input, typically transcribed speech mic
client/modules/Unclear.py:10
Function
handle
Responds to user-input, typically speech text, with a summary of the user's Gmail inbox, reporting on the number of unread emails
client/modules/Gmail.py:87
Function
handle
Responds to user-input, typically speech text, by telling a joke. Arguments: text -- user-input, typically transcribed speech
client/modules/MPDControl.py:12
Function
handle
Responds to user-input, typically speech text, with a summary of the user's Facebook notifications, including a count and details
client/modules/Notifications.py:9
Function
handle
Responds to user-input, typically speech text, by telling a joke. Arguments: text -- user-input, typically transcribed speec
client/modules/Joke.py:34
Function
handle
Reports the current time based on the user's timezone. Arguments: text -- user-input, typically transcribed speech m
client/modules/Time.py:10
Method
handleEmailNotifications
Places new Gmail notifications in the Notifier's queue.
client/notifier.py:41
Method
headers
(self)
client/stt.py:585
Function
isNegative
Returns True if the input phrase has a negative sentiment. Arguments: phrase -- the input phrase to-be evaluated
client/app_utils.py:110
Function
isPositive
Returns True if the input phrase has a positive sentiment. Arguments: phrase -- the input phrase to-be evaluated
client/app_utils.py:121
Function
isValid
Returns True if the text is related to the weather. Arguments: text -- user-input, typically transcribed speech
client/modules/Weather.py:164
Function
isValid
Returns True if the input is related to Hacker News. Arguments: text -- user-input, typically transcribed speech
client/modules/HN.py:132
Function
isValid
Returns True if the input is related to birthdays. Arguments: text -- user-input, typically transcribed speech
client/modules/Birthday.py:60
Function
isValid
Returns True if the input is related to the news. Arguments: text -- user-input, typically transcribed speech
client/modules/News.py:124
Function
isValid
Returns True if the input is related to the meaning of life. Arguments: text -- user-input, typically transcribed speech
client/modules/Life.py:27
Function
isValid
(text)
client/modules/Unclear.py:30
Function
isValid
Returns True if the input is related to email. Arguments: text -- user-input, typically transcribed speech
client/modules/Gmail.py:131
Function
isValid
Returns True if the input is related to jokes/humor. Arguments: text -- user-input, typically transcribed speech
client/modules/MPDControl.py:53
Function
isValid
Returns True if the input is related to Facebook notifications. Arguments: text -- user-input, typically transcribed speech
client/modules/Notifications.py:51
Function
isValid
Returns True if the input is related to jokes/humor. Arguments: text -- user-input, typically transcribed speech
client/modules/Joke.py:59
← previous
next →
101–200 of 282, ranked by callers