示例#1
0
 def test_analyze_parts(self):
     analyze=Analyzer()
     send_words=["こんな文章だとか","このようなかんじのないぶんしょうだとか","すもももももももものうち"]
     for words in send_words:
         print (words)
         print(analyze.analyze_parts(words))
     print("\n")
示例#2
0
 def test_analyze_parts_speed(self):
     analyze=Analyzer()
     send_words=["こんな文章だとか","このようなかんじのないぶんしょうだとか","すもももももももものうち"]
     for words in send_words:
         print (words)
         interval=10000 #10秒
         result=analyze.analyze_parts(words)
         print(analyze.analyze_parts_speed(result,interval))