MCPcopy Create free account

hub / github.com/Feuoy/weibo-topic / functions

Functions227 in github.com/Feuoy/weibo-topic

↓ 47 callersMethodget
(self, text)
snownlp/normal/pinyin.py:19
↓ 23 callersMethodadd
(self, key, value)
snownlp/utils/frequency.py:32
↓ 18 callersMethodget
(self, key)
snownlp/utils/frequency.py:18
↓ 12 callersMethodload
(self, fname, iszip=True)
snownlp/seg/seg.py:22
↓ 9 callersMethodcut
The main function that segments an entire sentence that contains Chinese characters into separated words. Parameter:
jieba/__init__.py:289
↓ 9 callersMethodexists
(self, key)
snownlp/utils/frequency.py:12
↓ 8 callersMethoddiv
(self, v1, v2)
snownlp/seg/y09_2047.py:58
↓ 8 callersFunctionstrdecode
(sentence)
jieba/_compat.py:76
↓ 6 callersMethodseg
(self, sentence)
snownlp/seg/seg.py:37
↓ 5 callersMethodcheck_initialized
(self)
jieba/__init__.py:168
↓ 5 callersMethodcut
(self, sentence, HMM=True)
jieba/posseg/__init__.py:248
↓ 5 callersMethodencode
(self, arg)
jieba/posseg/__init__.py:74
↓ 5 callersMethodget_DAG
(self, sentence)
jieba/__init__.py:180
↓ 5 callersMethodsave
(self, fname, iszip=True)
snownlp/seg/seg.py:19
↓ 5 callersMethodtnt_div
(self, v1, v2)
snownlp/utils/tnt.py:73
↓ 4 callersMethodcalc
(self, sentence, DAG, route)
jieba/__init__.py:172
↓ 4 callersMethodfreq
(self, key)
snownlp/utils/frequency.py:23
↓ 4 callersMethodgetsum
(self)
snownlp/utils/frequency.py:15
↓ 4 callersFunctionload_kv_dict
Load key-value dict from file
jieba/lac_small/reader_small.py:24
↓ 3 callersMethod__cut_internal
(self, sentence, HMM=True)
jieba/posseg/__init__.py:215
↓ 3 callersMethod__unicode__
(self)
jieba/posseg/__init__.py:50
↓ 3 callersMethodadd_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 callersMethodget_dict_file
(self)
jieba/__init__.py:374
↓ 3 callersMethodhandle
(self, doc)
snownlp/sentiment/__init__.py:26
↓ 3 callersMethodinitialize
(self, dictionary=None)
jieba/__init__.py:93
↓ 3 callersMethodlcut
(self, *args, **kwargs)
jieba/__init__.py:356
↓ 3 callersFunctionresolve_filename
(f)
jieba/_compat.py:85
↓ 3 callersMethodtrain
(self, fname)
snownlp/seg/seg.py:25
↓ 2 callersMethod__cut_detail
(self, sentence)
jieba/posseg/__init__.py:135
↓ 2 callersMethod_lcut_all
(self, sentence)
jieba/__init__.py:368
↓ 2 callersFunctioncut
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 callersMethodextract_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 callersMethodfind
(self, text, start=0)
snownlp/utils/trie.py:18
↓ 2 callersMethodget_idf
(self)
jieba/analyse/tfidf.py:55
↓ 2 callersMethodget_vars
(self,str1)
jieba/lac_small/reader_small.py:95
↓ 2 callersMethodinsert
(self, key, value)
snownlp/utils/trie.py:10
↓ 2 callersFunctioninsert_data
(elems,path,name,yuedu,taolun,keyword)
weibotopicspyder.py:32
↓ 2 callersMethodlcut_for_search
(self, *args, **kwargs)
jieba/__init__.py:359
↓ 2 callersMethodload
(self, fname=data_path, iszip=True)
snownlp/sentiment/__init__.py:23
↓ 2 callersMethodload_word_tag
(self, f)
jieba/posseg/__init__.py:97
↓ 2 callersMethodpairfilter
(self, wp)
jieba/analyse/textrank.py:65
↓ 2 callersMethodsamples
(self)
snownlp/utils/frequency.py:26
↓ 2 callersMethodset_new_path
(self, new_idf_path)
jieba/analyse/tfidf.py:44
↓ 2 callersMethodset_stop_words
(self, stop_words_path)
jieba/analyse/tfidf.py:23
↓ 2 callersMethodsimall
(self, doc)
snownlp/sim/bm25.py:46
↓ 2 callersMethodtag
(self, data)
snownlp/utils/tnt.py:131
↓ 2 callersMethodtranslate
(self, text, with_not_found=True)
snownlp/utils/trie.py:33
↓ 1 callersFunctionTransfer_Clicks
(browser)
weibotopicspyder.py:9
↓ 1 callersFunction__cut
(sentence)
jieba/finalseg/__init__.py:59
↓ 1 callersMethod__cut
(self, sentence)
jieba/posseg/__init__.py:117
↓ 1 callersFunction_bigru_layer
define the bidirectional gru layer
jieba/lac_small/nets.py:44
↓ 1 callersMethod_lcut_for_search_no_hmm
(self, sentence)
jieba/__init__.py:371
↓ 1 callersMethod_lcut_internal
(self, sentence)
jieba/posseg/__init__.py:242
↓ 1 callersMethod_lcut_internal_no_hmm
(self, sentence)
jieba/posseg/__init__.py:245
↓ 1 callersMethod_lcut_no_hmm
(self, sentence)
jieba/__init__.py:365
↓ 1 callersFunction_net_conf
Configure the network
jieba/lac_small/nets.py:86
↓ 1 callersMethodaddEdge
(self, start, end, weight)
jieba/analyse/textrank.py:19
↓ 1 callersMethodclassify
(self, sent)
snownlp/sentiment/__init__.py:39
↓ 1 callersMethodclassify
(self, x)
snownlp/classification/bayes.py:61
↓ 1 callersFunctionclean_text
清除文本中的标签等信息
other/weibo_search.py:11
↓ 1 callersMethodcut_for_search
Finer segmentation for search engines.
jieba/__init__.py:338
↓ 1 callersFunctioncutfunc
(sentence, _, HMM=True)
jieba/__main__.py:34
↓ 1 callersFunctionfetch_data
抓取关键词某一页的数据
other/weibo_search.py:22
↓ 1 callersFunctionfetch_pages
抓取关键词多页的数据
other/weibo_search.py:54
↓ 1 callersFunctionfetch_token
()
baiduNLP.py:39
↓ 1 callersFunctiongen_img
(texts, img_file)
other/weibo_cloud.py:22
↓ 1 callersMethodgen_pfdict
(f)
jieba/__init__.py:72
↓ 1 callersFunctionget_current_weibo_data
(elems,book_name_xls,name,yuedu,taolun,maxWeibo)
weibotopicspyder.py:86
↓ 1 callersMethodgeteos
(self, tag)
snownlp/utils/tnt.py:78
↓ 1 callersFunctiongetz
(r, nr)
snownlp/utils/good_turing.py:6
↓ 1 callersMethodinit
(self)
snownlp/sim/bm25.py:20
↓ 1 callersFunctioninsertToTxt
(content, fileName)
analysis.py:9
↓ 1 callersFunctioninsertToTxt
(content,fileName)
weibotopicspyder.py:27
↓ 1 callersFunctioninsert_data
(elems,sentiments_temp)
analysis.py:14
↓ 1 callersFunctionlcut
(sentence, HMM=True, use_paddle=False)
jieba/posseg/__init__.py:307
↓ 1 callersFunctionleast_square
(x, y)
snownlp/utils/good_turing.py:13
↓ 1 callersFunctionload_model
()
jieba/finalseg/__init__.py:23
↓ 1 callersFunctionload_model
()
jieba/posseg/__init__.py:26
↓ 1 callersMethodload_userdict
Load personalized dict to improve detect rate. Parameter: - f : A plain text file contains words and their ocurrences.
jieba/__init__.py:380
↓ 1 callersMethodlog_prob
(self, s1, s2, s3)
snownlp/seg/y09_2047.py:92
↓ 1 callersFunctionmain
(dic)
snownlp/utils/good_turing.py:21
↓ 1 callersFunctionmake_request
(url, comment)
baiduNLP.py:69
↓ 1 callersMethodmakesure_userdict_loaded
(self)
jieba/posseg/__init__.py:112
↓ 1 callersMethodmerge
(self)
snownlp/summary/words_merge.py:11
↓ 1 callersMethodrank
(self)
jieba/analyse/textrank.py:24
↓ 1 callersFunctionread_excel_xls
(path)
excelSave.py:15
↓ 1 callersFunctionremove_duplication
根据微博的id对微博进行去重
other/weibo_search.py:43
↓ 1 callersFunctionrequest
(url, data)
baiduNLP.py:105
↓ 1 callersMethodsave
(self, fname, iszip=True)
snownlp/sentiment/__init__.py:20
↓ 1 callersFunctionsave_seg
(filename,cnt)
seg.py:6
↓ 1 callersMethodsim
(self, doc, index)
snownlp/sim/bm25.py:35
↓ 1 callersFunctionsingle_seg
(sent)
snownlp/seg/__init__.py:46
↓ 1 callersMethodsolve
(self)
snownlp/summary/textrank.py:21
↓ 1 callersMethodsolve
(self)
snownlp/summary/textrank.py:63
↓ 1 callersFunctionspider
(driver,book_name_xls,sheet_name_xls,keyword,maxWeibo)
weibotopicspyder.py:120
↓ 1 callersMethodsuggest_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 callersMethodtag
(self, data)
snownlp/seg/y09_2047.py:101
↓ 1 callersFunctiontag_all
(words)
snownlp/tag/__init__.py:38
↓ 1 callersMethodtokenize
Tokenize a sentence and yields tuples of (word, start, end) Parameter: - sentence: the str(unicode) to be segmented.
jieba/__init__.py:476
↓ 1 callersMethodtop_index
(self, limit)
snownlp/summary/textrank.py:45
next →1–100 of 227, ranked by callers