Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Feuoy/weibo-topic
/ functions
Functions
227 in github.com/Feuoy/weibo-topic
⨍
Functions
227
◇
Types & classes
26
↓ 47 callers
Method
get
(self, text)
snownlp/normal/pinyin.py:19
↓ 23 callers
Method
add
(self, key, value)
snownlp/utils/frequency.py:32
↓ 18 callers
Method
get
(self, key)
snownlp/utils/frequency.py:18
↓ 12 callers
Method
load
(self, fname, iszip=True)
snownlp/seg/seg.py:22
↓ 9 callers
Method
cut
The main function that segments an entire sentence that contains Chinese characters into separated words. Parameter:
jieba/__init__.py:289
↓ 9 callers
Method
exists
(self, key)
snownlp/utils/frequency.py:12
↓ 8 callers
Method
div
(self, v1, v2)
snownlp/seg/y09_2047.py:58
↓ 8 callers
Function
strdecode
(sentence)
jieba/_compat.py:76
↓ 6 callers
Method
seg
(self, sentence)
snownlp/seg/seg.py:37
↓ 5 callers
Method
check_initialized
(self)
jieba/__init__.py:168
↓ 5 callers
Method
cut
(self, sentence, HMM=True)
jieba/posseg/__init__.py:248
↓ 5 callers
Method
encode
(self, arg)
jieba/posseg/__init__.py:74
↓ 5 callers
Method
get_DAG
(self, sentence)
jieba/__init__.py:180
↓ 5 callers
Method
save
(self, fname, iszip=True)
snownlp/seg/seg.py:19
↓ 5 callers
Method
tnt_div
(self, v1, v2)
snownlp/utils/tnt.py:73
↓ 4 callers
Method
calc
(self, sentence, DAG, route)
jieba/__init__.py:172
↓ 4 callers
Method
freq
(self, key)
snownlp/utils/frequency.py:23
↓ 4 callers
Method
getsum
(self)
snownlp/utils/frequency.py:15
↓ 4 callers
Function
load_kv_dict
Load key-value dict from file
jieba/lac_small/reader_small.py:24
↓ 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
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:418
↓ 3 callers
Method
get_dict_file
(self)
jieba/__init__.py:374
↓ 3 callers
Method
handle
(self, doc)
snownlp/sentiment/__init__.py:26
↓ 3 callers
Method
initialize
(self, dictionary=None)
jieba/__init__.py:93
↓ 3 callers
Method
lcut
(self, *args, **kwargs)
jieba/__init__.py:356
↓ 3 callers
Function
resolve_filename
(f)
jieba/_compat.py:85
↓ 3 callers
Method
train
(self, fname)
snownlp/seg/seg.py:25
↓ 2 callers
Method
__cut_detail
(self, sentence)
jieba/posseg/__init__.py:135
↓ 2 callers
Method
_lcut_all
(self, sentence)
jieba/__init__.py:368
↓ 2 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:273
↓ 2 callers
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
↓ 2 callers
Method
find
(self, text, start=0)
snownlp/utils/trie.py:18
↓ 2 callers
Method
get_idf
(self)
jieba/analyse/tfidf.py:55
↓ 2 callers
Method
get_vars
(self,str1)
jieba/lac_small/reader_small.py:95
↓ 2 callers
Method
insert
(self, key, value)
snownlp/utils/trie.py:10
↓ 2 callers
Function
insert_data
(elems,path,name,yuedu,taolun,keyword)
weibotopicspyder.py:32
↓ 2 callers
Method
lcut_for_search
(self, *args, **kwargs)
jieba/__init__.py:359
↓ 2 callers
Method
load
(self, fname=data_path, iszip=True)
snownlp/sentiment/__init__.py:23
↓ 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
samples
(self)
snownlp/utils/frequency.py:26
↓ 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
↓ 2 callers
Method
simall
(self, doc)
snownlp/sim/bm25.py:46
↓ 2 callers
Method
tag
(self, data)
snownlp/utils/tnt.py:131
↓ 2 callers
Method
translate
(self, text, with_not_found=True)
snownlp/utils/trie.py:33
↓ 1 callers
Function
Transfer_Clicks
(browser)
weibotopicspyder.py:9
↓ 1 callers
Function
__cut
(sentence)
jieba/finalseg/__init__.py:59
↓ 1 callers
Method
__cut
(self, sentence)
jieba/posseg/__init__.py:117
↓ 1 callers
Function
_bigru_layer
define the bidirectional gru layer
jieba/lac_small/nets.py:44
↓ 1 callers
Method
_lcut_for_search_no_hmm
(self, sentence)
jieba/__init__.py:371
↓ 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:365
↓ 1 callers
Function
_net_conf
Configure the network
jieba/lac_small/nets.py:86
↓ 1 callers
Method
addEdge
(self, start, end, weight)
jieba/analyse/textrank.py:19
↓ 1 callers
Method
classify
(self, sent)
snownlp/sentiment/__init__.py:39
↓ 1 callers
Method
classify
(self, x)
snownlp/classification/bayes.py:61
↓ 1 callers
Function
clean_text
清除文本中的标签等信息
other/weibo_search.py:11
↓ 1 callers
Method
cut_for_search
Finer segmentation for search engines.
jieba/__init__.py:338
↓ 1 callers
Function
cutfunc
(sentence, _, HMM=True)
jieba/__main__.py:34
↓ 1 callers
Function
fetch_data
抓取关键词某一页的数据
other/weibo_search.py:22
↓ 1 callers
Function
fetch_pages
抓取关键词多页的数据
other/weibo_search.py:54
↓ 1 callers
Function
fetch_token
()
baiduNLP.py:39
↓ 1 callers
Function
gen_img
(texts, img_file)
other/weibo_cloud.py:22
↓ 1 callers
Method
gen_pfdict
(f)
jieba/__init__.py:72
↓ 1 callers
Function
get_current_weibo_data
(elems,book_name_xls,name,yuedu,taolun,maxWeibo)
weibotopicspyder.py:86
↓ 1 callers
Method
geteos
(self, tag)
snownlp/utils/tnt.py:78
↓ 1 callers
Function
getz
(r, nr)
snownlp/utils/good_turing.py:6
↓ 1 callers
Method
init
(self)
snownlp/sim/bm25.py:20
↓ 1 callers
Function
insertToTxt
(content, fileName)
analysis.py:9
↓ 1 callers
Function
insertToTxt
(content,fileName)
weibotopicspyder.py:27
↓ 1 callers
Function
insert_data
(elems,sentiments_temp)
analysis.py:14
↓ 1 callers
Function
lcut
(sentence, HMM=True, use_paddle=False)
jieba/posseg/__init__.py:307
↓ 1 callers
Function
least_square
(x, y)
snownlp/utils/good_turing.py:13
↓ 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:380
↓ 1 callers
Method
log_prob
(self, s1, s2, s3)
snownlp/seg/y09_2047.py:92
↓ 1 callers
Function
main
(dic)
snownlp/utils/good_turing.py:21
↓ 1 callers
Function
make_request
(url, comment)
baiduNLP.py:69
↓ 1 callers
Method
makesure_userdict_loaded
(self)
jieba/posseg/__init__.py:112
↓ 1 callers
Method
merge
(self)
snownlp/summary/words_merge.py:11
↓ 1 callers
Method
rank
(self)
jieba/analyse/textrank.py:24
↓ 1 callers
Function
read_excel_xls
(path)
excelSave.py:15
↓ 1 callers
Function
remove_duplication
根据微博的id对微博进行去重
other/weibo_search.py:43
↓ 1 callers
Function
request
(url, data)
baiduNLP.py:105
↓ 1 callers
Method
save
(self, fname, iszip=True)
snownlp/sentiment/__init__.py:20
↓ 1 callers
Function
save_seg
(filename,cnt)
seg.py:6
↓ 1 callers
Method
sim
(self, doc, index)
snownlp/sim/bm25.py:35
↓ 1 callers
Function
single_seg
(sent)
snownlp/seg/__init__.py:46
↓ 1 callers
Method
solve
(self)
snownlp/summary/textrank.py:21
↓ 1 callers
Method
solve
(self)
snownlp/summary/textrank.py:63
↓ 1 callers
Function
spider
(driver,book_name_xls,sheet_name_xls,keyword,maxWeibo)
weibotopicspyder.py:120
↓ 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:445
↓ 1 callers
Method
tag
(self, data)
snownlp/seg/y09_2047.py:101
↓ 1 callers
Function
tag_all
(words)
snownlp/tag/__init__.py:38
↓ 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:476
↓ 1 callers
Method
top_index
(self, limit)
snownlp/summary/textrank.py:45
next →
1–100 of 227, ranked by callers