Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CasterWx/python-girlfriend-mood
/ functions
Functions
94 in github.com/CasterWx/python-girlfriend-mood
⨍
Functions
94
◇
Types & classes
9
↓ 9 callers
Method
cut
The main function that segments an entire sentence that contains Chinese characters into separated words. Parameter:
jieba/__init__.py:275
↓ 7 callers
Function
strdecode
(sentence)
jieba/_compat.py:34
↓ 5 callers
Method
check_initialized
(self)
jieba/__init__.py:169
↓ 5 callers
Method
cut
(self, sentence, HMM=True)
jieba/posseg/__init__.py:248
↓ 5 callers
Method
get_DAG
(self, sentence)
jieba/__init__.py:181
↓ 4 callers
Method
calc
(self, sentence, DAG, route)
jieba/__init__.py:173
↓ 3 callers
Method
__cut_internal
(self, sentence, HMM=True)
jieba/posseg/__init__.py:215
↓ 3 callers
Method
__unicode__
(self)
jieba/posseg/__init__.py:50
↓ 3 callers
Method
encode
(self, arg)
jieba/posseg/__init__.py:74
↓ 3 callers
Method
get_dict_file
(self)
jieba/__init__.py:353
↓ 3 callers
Method
initialize
(self, dictionary=None)
jieba/__init__.py:94
↓ 3 callers
Function
resolve_filename
(f)
jieba/_compat.py:42
↓ 2 callers
Method
__cut_detail
(self, sentence)
jieba/posseg/__init__.py:135
↓ 2 callers
Method
_lcut_all
(self, sentence)
jieba/__init__.py:347
↓ 2 callers
Method
add_word
Add a word to dictionary. freq and tag can be omitted, freq defaults to be a calculated value that ensures the word can be c
jieba/__init__.py:397
↓ 2 callers
Method
get_idf
(self)
jieba/analyse/tfidf.py:55
↓ 2 callers
Method
lcut
(self, *args, **kwargs)
jieba/__init__.py:335
↓ 2 callers
Method
load_word_tag
(self, f)
jieba/posseg/__init__.py:97
↓ 2 callers
Method
pairfilter
(self, wp)
jieba/analyse/textrank.py:65
↓ 2 callers
Method
set_new_path
(self, new_idf_path)
jieba/analyse/tfidf.py:44
↓ 2 callers
Method
set_stop_words
(self, stop_words_path)
jieba/analyse/tfidf.py:23
↓ 1 callers
Function
__cut
(sentence)
jieba/finalseg/__init__.py:59
↓ 1 callers
Method
__cut
(self, sentence)
jieba/posseg/__init__.py:117
↓ 1 callers
Method
_lcut_for_search_no_hmm
(self, sentence)
jieba/__init__.py:350
↓ 1 callers
Method
_lcut_internal
(self, sentence)
jieba/posseg/__init__.py:242
↓ 1 callers
Method
_lcut_internal_no_hmm
(self, sentence)
jieba/posseg/__init__.py:245
↓ 1 callers
Method
_lcut_no_hmm
(self, sentence)
jieba/__init__.py:344
↓ 1 callers
Method
addEdge
(self, start, end, weight)
jieba/analyse/textrank.py:19
↓ 1 callers
Function
cut
Global `cut` function that supports parallel processing. Note that this only works using dt, custom POSTokenizer instances are not suppo
jieba/posseg/__init__.py:272
↓ 1 callers
Method
cut_for_search
Finer segmentation for search engines.
jieba/__init__.py:317
↓ 1 callers
Function
cutfunc
(sentence, _, HMM=True)
jieba/__main__.py:34
↓ 1 callers
Method
gen_pfdict
(self, f)
jieba/__init__.py:73
↓ 1 callers
Function
initMoonBad
()
run.py:34
↓ 1 callers
Function
initMoonNice
()
run.py:24
↓ 1 callers
Function
initMoonValue
()
run.py:13
↓ 1 callers
Method
lcut_for_search
(self, *args, **kwargs)
jieba/__init__.py:338
↓ 1 callers
Function
load_model
()
jieba/finalseg/__init__.py:23
↓ 1 callers
Function
load_model
()
jieba/posseg/__init__.py:26
↓ 1 callers
Method
load_userdict
Load personalized dict to improve detect rate. Parameter: - f : A plain text file contains words and their ocurrences.
jieba/__init__.py:359
↓ 1 callers
Method
makesure_userdict_loaded
(self)
jieba/posseg/__init__.py:112
↓ 1 callers
Method
rank
(self)
jieba/analyse/textrank.py:24
↓ 1 callers
Method
suggest_freq
Suggest word frequency to force the characters in a word to be joined or splitted. Parameter: - segment : The se
jieba/__init__.py:424
↓ 1 callers
Method
tokenize
Tokenize a sentence and yields tuples of (word, start, end) Parameter: - sentence: the str(unicode) to be segmented.
jieba/__init__.py:455
↓ 1 callers
Function
viterbi
(obs, states, start_p, trans_p, emit_p)
jieba/finalseg/__init__.py:37
↓ 1 callers
Function
viterbi
(obs, states, start_p, trans_p, emit_p)
jieba/posseg/viterbi.py:14
Function
ChineseAnalyzer
(stoplist=STOP_WORDS, minsize=1, stemfn=stem, cachesize=50000)
jieba/analyse/analyzer.py:34
Method
__call__
(self, text, **kargs)
jieba/analyse/analyzer.py:21
Method
__cut_DAG
(self, sentence)
jieba/__init__.py:235
Method
__cut_DAG
(self, sentence)
jieba/posseg/__init__.py:175
Method
__cut_DAG_NO_HMM
(self, sentence)
jieba/__init__.py:212
Method
__cut_DAG_NO_HMM
(self, sentence)
jieba/posseg/__init__.py:152
Method
__cut_all
(self, sentence)
jieba/__init__.py:199
Method
__eq__
(self, other)
jieba/posseg/__init__.py:68
Method
__getattr__
(self, name)
jieba/posseg/__init__.py:87
Method
__hash__
(self)
jieba/posseg/__init__.py:71
Method
__init__
(self, dictionary=DEFAULT_DICT)
jieba/__init__.py:57
Method
__init__
(self, idf_path=None)
jieba/analyse/tfidf.py:37
Method
__init__
(self, idf_path=None)
jieba/analyse/tfidf.py:61
Method
__init__
(self)
jieba/analyse/textrank.py:16
Method
__init__
(self)
jieba/analyse/textrank.py:59
Method
__init__
(self, word, flag)
jieba/posseg/__init__.py:46
Method
__init__
(self, tokenizer=None)
jieba/posseg/__init__.py:80
Method
__iter__
(self)
jieba/posseg/__init__.py:62
Method
__lt__
(self, other)
jieba/posseg/__init__.py:65
Method
__repr__
(self)
jieba/__init__.py:70
Method
__repr__
(self)
jieba/posseg/__init__.py:53
Method
__repr__
(self)
jieba/posseg/__init__.py:84
Method
__str__
(self)
jieba/posseg/__init__.py:56
Function
_lcut
(s)
jieba/__init__.py:525
Function
_lcut_all
(s)
jieba/__init__.py:521
Function
_lcut_for_search
(s)
jieba/__init__.py:537
Function
_lcut_for_search_no_hmm
(s)
jieba/__init__.py:541
Function
_lcut_internal
(s)
jieba/posseg/__init__.py:264
Function
_lcut_internal_no_hmm
(s)
jieba/posseg/__init__.py:268
Function
_lcut_no_hmm
(s)
jieba/__init__.py:529
Function
_pcut
(sentence, cut_all=False, HMM=True)
jieba/__init__.py:545
Function
_pcut_for_search
(sentence, HMM=True)
jieba/__init__.py:558
Function
add_force_split
(word)
jieba/finalseg/__init__.py:81
Function
cut
(sentence)
jieba/finalseg/__init__.py:85
Method
del_word
Convenient function for deleting a word.
jieba/__init__.py:418
Function
disable_parallel
()
jieba/__init__.py:592
Function
enable_parallel
Change the module's `cut` and `cut_for_search` functions to the parallel version. Note that this only works using dt, custom Tokenizer
jieba/__init__.py:569
Method
extract_tags
(self, *args, **kwargs)
jieba/analyse/tfidf.py:31
Method
extract_tags
Extract keywords from sentence using TF-IDF algorithm. Parameter: - topK: return how many top keywords. `None` for all po
jieba/analyse/tfidf.py:75
Function
get_top_states
(t_state_v, K=4)
jieba/posseg/viterbi.py:10
Method
initialize
(self, dictionary=None)
jieba/posseg/__init__.py:93
Function
lcut
(sentence, HMM=True)
jieba/posseg/__init__.py:294
Method
lcut
(self, *args, **kwargs)
jieba/posseg/__init__.py:252
Function
loadOld
()
run.py:47
Function
setLogLevel
(log_level)
jieba/__init__.py:51
Method
set_dictionary
(self, dictionary_path)
jieba/__init__.py:488
Method
set_idf_path
(self, idf_path)
jieba/analyse/tfidf.py:68
Function
set_stop_words
(stop_words_path)
jieba/analyse/__init__.py:16
Method
textrank
Extract keywords from sentence using TextRank algorithm. Parameter: - topK: return how many top keywords. `None` for all
jieba/analyse/textrank.py:69