sig-wi2 twitterにおける、人工無脳との インタラクション

Download SIG-WI2 twitterにおける、人工無脳との インタラクション

If you can't read please download the document

Upload: show-you

Post on 16-Apr-2017

2.453 views

Category:

Education


0 download

TRANSCRIPT

twitter

twitter

if re.search( input_string, u):return u

ELIZA

ELIZA

IRC

twitter

[Weizenbaum, J.: ELIZA - a computer program for the study of natural language communication between man a]

[http://sudori.net/]

ELIZA

twitter

twitter

140

twitter

()

twitter()

twitter

()

twitter()

Web

http://twitter.com/
API

TL

twitter

limechattwitter/

(bot)

(if-then),

()

, Reply

if re.search(text , u|):return random.choise( (u,u))

if re.search(text , u|):return u

if str.startswith(u@)return random.choise( (u, u) )

M

x


[].append(),[].append(), [].append() ...

[].append(),[].append(), [].append() ...

''

''

...

w = 'yystart'while w != 'yyend':wnew = random.choose(markov[w])string += wneww = wnew

wmarkov

markov[u''] = ( u'', u'', u'', u'' )

...

w = wmwhile w != 'yyend':wnew = random.choose(markov[w])string1 += wneww = wnew

w = wmwhile w != 'yystart':wnew = random.choose(inverse_markov[w])string2 = wnew + string2w = wnew

winverse_markov

string = string2 + wm + string1

1010

10

[]

130

229

328

1010

119

(if-then), ,Reply

()

Linux + Python 2.4 + Mecab

cron31

121

Athlon X2 BE 2350, 1.5GB

MySQL

botTV

http://d.hatena.ne.jp/coconutsfine/20090309/1236611519

twitter

twitterfollower

1

(A) (B)

100%

(B)

(A)1602

441

45%(94)42Reply

2

twitter/bot

()

1

twittertwitterWeb

Home

Reply

User

User

3

twitter

twitter

twitter/

()

100100MB

KVS(kumofs, Hadoop)

()

twitterin_reply_to{tweet, tweet}

RT:REC

()()

Bag of words + svm / k-means2

()

twitter()

()

bot

SPAM

bottwitter

follow

bot(UCCtweetbot)