-
@yjz111 程序写好后运行提示“Unused variable 'fig'。matplotlib和numpy已正常安装。程序可以运行,运行后可以正确扫码登陆。但是发动链接后无法返回图标,求教,程序附下:
from mymodule import stats_word
import requests
from pyquery import PyQuery
from wxpy import…
-
Hello,
Exercise 2 asks us to plot the word frequency distribution as well as the word probability distribution created from the word frequency distribution. My code for creating the probability distr…
-
At the moment, the information provided is not enough to understand what exactly is meant by the wording "the important content", and based on what criteria this content will be searched for in the te…
Korb updated
3 months ago
-
I'm using minetext on my application, specifically the clustering and visualization modules. In the clustering module, I'm using the ```distance``` and ```kmedoids``` classes; in the visualization mod…
-
Hi,
I am using the tag cloud library and its very useful. I have an issue where the largest frequency word is showing with smallest size and the smallest frequency word is showing as the largest in…
-
```
self.raw_text=text
self.author=author
self.average_sentence_length=get_average_sentence_length(text)
self.prepared_text=prepare_text(text)
self.word_co…
-
以下是我的代码,感觉应该是编码问题。说实话今天资料里提供的这个库我没太弄懂,代码都是照搬的。
from wxpy import *
bot = Bot()
my_friend = bot.friends()
@bot.register(my_friend,SHARING)
def auto_reply(msg):
text = msg.url
…
-
```
def build_frequency_table(corpus):
#I came back and added the below conditions due to the next two steps of ngram. Point is prepare_text wouldn't work
#on lists due to lower(). and s…
-
Hi!
I'm not sure if this is the appropriate place for posting this, I'm sorry if it is not.
I think there is a way to make the training of the tokenizer faster.
### Where does the initial cod…
-
DEPENDS ON #2
There should be the capability to create and manage multiple custom code-character mappings.
There should be multiple pre-built code mappings, including the current one, but also U…