加载中…
个人资料
大作家自动写作软件
大作家自动写作软件
  • 博客等级:
  • 博客积分:0
  • 博客访问:132,023
  • 关注人气:91
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
相关博文
推荐博文
正文 字体大小:

计算机小说家

(2009-09-26 03:30:20)
标签:

杂谈

计算机小说家

选自:《新发现》 2007年 4月号

来自墨西哥城自治都市大学的计算机专家Rafael Pérez y Pérez博士开发出了一种计算机程序,可以依靠最少的人工输入自行编写有情节的故事,并将之命名为MEXICA。研究者介绍说:“随着故事情节的开展,该程序可以将角色间的情感关系记录下来,并且根据内部存储的可能的逻辑关系来展开更多的情节。”有关论文刊载于近期的Cognitive Systems Research.杂志上。

  在一项互联网调查中,网民们就该程序编写的故事与其他程序或纯人工编写的故事进行了比较评价。结果显示,从故事的流畅性、连贯性、结构、内容、悬念乃至故事整体质量上来看,MEXICA编写的最为出色。

  博士认为,通常故事都是以如下基本结构展开的:敌人击伤了骑士。公主搭救并医好了骑士。骑士杀死了敌人。骑士回报公主。故事结束。他开发的这个程序将角色定义为各种变量,然后用-3到+3之间的数字对角色赋值,表示其讨人喜欢的程度。在情绪方面,-3代表强烈的恨,而+3代表深切的爱。同时也可以对故事中人物的关系进行赋值。比如“伤害”代表着某种人物关系,程序将会赋予这种关系某个数值。一旦情感和情节的关联建立起来之后,以此为基础的所谓“预定状态反思循环”操作就可以展开——从数据库中搜索可能的故事情节,这些情节被称之为“原子”。最符合当下人物的“原子”将被添加到故事中去,选择不断重复,直至没办法找到适合的“原子”为止。随后,程序将对故事的连贯性和趣味性进行分析。如果整个故事发展过程中张力水平呈现起伏跌宕的状态,则将被认为趣味性较高。如果分析过程中发现故事中的某部分情节无趣或者不连贯,将会有其他的情节元素将之替换,直至得到满意的版本为止。

  英国诺丁汉大学教育科学研究所主任Mike Sharples教授曾著有《我们怎么写:作为创造性设计的写作》(How We Write: Writing as Creative Design)一书。他将MEXICA评价为写作上的重要革新:“Rafael借用了人类创造性写作中的关键元素,特别是那些涉及人物行为与反思的元素,打造了这样一款能够模拟人类故事写作的程序。”

捷豹骑士是一个伟大的特诺奇居民。 Princess was an inhabitant of the great Tenochtitlan.公主是一个伟大的特诺奇居民。 From the first day they met, princess felt a special affection for jaguar knight.从第一天见面,感到公主为美洲虎骑士特殊的感情。 Although at the beginning princess did not want to admit it, princess fell in love with jaguar knight.虽然开始时公主不愿承认这一点,公主爱上了美洲虎骑士。 Princess respected and admired artist because artist's heroic and intrepid behaviour during the last Flowery-war.公主尊重和敬佩的艺术家,因为艺术家的英勇行为和Intrepid在过去杉战争。 For long time jaguar knight and princess had been flirting.长时间美洲虎骑士和公主已调情。 Now, openly they accepted the mutual attraction they felt for each other.现在,他们接受公开的相互吸引,他们彼此感受。

Jaguar knight was an ambitious person and wanted to be rich and powerful.捷豹骑士是一个雄心勃勃的人,想成为富强。 So, jaguar knight kidnapped artist and went to Chapultepec forest.因此,美洲虎骑士绑架艺术家前往查普尔特佩克森林。 Jaguar knight's plan was to ask for an important amount of cacauatl (cacao beans) and quetzalli (quetzal) feathers to liberate artist.捷豹骑士的计划要求的cacauatl(可可豆重要的数额)和quetzalli(格查尔)解放艺术家羽毛。 Princess had ambivalent thoughts towards jaguar knight.公主对美洲虎骑士矛盾的想法。 On one hand princess had strong feelings towards jaguar knight but on the other hand princess abominated what jaguar knight did.一方面有强烈的感受公主对美洲虎骑士,但另一方面公主abominated美洲虎骑士做什么。

Suddenly, the day turned into night and after seconds the sun shone again. Princess was scared.突然,当天晚上变成秒后太阳照耀了。公主很害怕。 The shaman explained to princess that Tonatiuh (the divinity representing the sun) was demanding princess to rescue artist and punish the criminal.巫师的解释,公主说托纳蒂乌(代表神的太阳)的要求,以拯救公主艺术家和惩罚犯罪。 Otherwise princess's family would die.否则,公主的家人会死。

Early in the morning princess went to Chapultepec forest.清晨,公主前往查普尔特佩克森林。 Princess thoroughly observed jaguar knight.公主全面遵守美洲虎骑士。 Then, princess took a dagger, jumped towards Jaguar knight and attacked jaguar knight.然后,公主了一把匕首,跳向捷豹美洲虎骑士和骑士的攻击。 Jaguar knight was shocked by princess's actions and for some seconds jaguar knight did not know what to do.美洲虎骑士感到十分震惊,公主的行动和一些秒美洲虎骑士不知道该怎么办。 Suddenly, princess and jaguar knight were involved in a violent fight.突然,公主和美洲虎骑士被卷入了一场激烈的斗争。 In a fast movement, jaguar knight wounded princess.在一个快速运动,美洲虎骑士受伤的公主。 An intense haemorrhage arose which weakened princess.一股强烈的出血出现减弱的公主。 Jaguar knight felt panic and ran away.美洲虎骑士受惊逃跑了。

Thus, while Tlahuizcalpantecuhtli (the god who affected people's fate with his lance) observed, princess cut the rope which bound artist.于是,虽然Tlahuizcalpantecuhtli(神谁受影响,他的长矛人民的命运)的观察,公主切断绳索的约束艺术家。 Finally, artist was free again!最后,艺术家是免费的了! Princess was emotionally affected and was not sure if what princess did was right.公主情绪影响,不知道是什么公主做是正确的。 Princess was really confused.公主真是混淆。 The injuries that princess received were very serious.公主的受伤,收到非常严重。 So, while praying to Mictlantecuhtli (the lord of the land of the dead) princess died.因此,尽管祈祷Mictlantecuhtli(即死者)公主的土地领主死亡。


捷豹骑士是一个伟大的特诺奇居民。 Princess was an inhabitant of the great Tenochtitlan.公主是一个伟大的特诺奇居民。 Tlaloc -the god of the rain- was angry and sent a storm. Tlaloc,这里是雨神,很生气,并发出了风暴。 The heavy rain damaged the old wooden bridge.大雨破坏了旧的木桥。 When jaguar knight tried to cross the river the bridge collapsed injuring badly jaguar knight's head.当美洲虎骑士试图过河的桥塌了美洲虎骑士严重受伤的头部。 Princess knew that jaguar knight could die and that princess had to do something about it.公主知道,美洲虎骑士可能死亡,而公主不得不做一些事。 Princess had heard that the tepescohuitle was an effective curative plant.公主听说tepescohuitle是一种有效的治疗设备。 So, princess prepared a plasma and applied it to jaguar knight's wounds.因此,公主准备了等离子,并将其应用于捷豹骑士的伤口。 It worked and jaguar knight started to recuperate! Jaguar knight realised that princess's determination had saved jaguar knight's life.美洲虎骑士意识到,公主的决心挽救了美洲虎骑士的生命。

During the last war princess's father humiliated enemy's family.在过去的战争公主的父亲羞辱敌人的家人。 Now, it was time of revenge and enemy kidnapped princess.现在,它是一次复仇和敌人绑架的公主。 They went to the forest where enemy tied princess to a huge rock.他们到森林里去敌人绑公主一巨石。 Exactly at midnight enemy would cut princess up.正是在午夜敌人将削减公主了。 Although it was very dangerous jaguar knight decided to do something in order to liberate princess.虽然这是非常危险的美洲虎骑士,决定采取以解放公主。 For some minutes jaguar knight prayed to Quetzalcoatl -the feathered snake, the God between the Gods- and asked for wisdom and braveness.对于某些分钟美洲虎骑士祈祷Quetzalcoatl,对羽毛的蛇,神之间的上帝和智慧和房避祸问。 Now jaguar knight was ready to find out its fate.现在,美洲虎骑士准备找寻自己的命运。

Princess was really angry for what had happened and affronted enemy.公主真的生气所发生的事情和侮辱敌人。 Enemy's frame of mind was very volatile and without thinking about it enemy charged against princess.敌人的心态很不稳定,没有考虑它负责对公主的敌人。 Meanwhile jaguar knight decided to start a search for enemy.与此同时美洲虎骑士决定开始寻找一个敌人。 After hard work and difficult moments jaguar knight could finally find enemy.经过辛勤工作和困难的时刻,美洲虎骑士终于可以寻找敌人。 Jaguar knight, full of anger, took a dagger and attacked enemy.美洲虎骑士,充满了愤怒,采取了匕首和攻击敌人。 Jaguar knight threw some dust in enemy's face.美洲虎骑士敌人投掷一些脸上的尘埃。 Then, using a dagger jaguar knight perforated enemy's chest.然后,用匕首美洲虎骑士穿孔敌人的胸部。 Imitating the sacred ceremony of the sacrifice, jaguar knight took enemy's heart with one hand and raised it towards the sun as a sign of respect to the gods.模仿牺牲的神圣仪式,美洲虎骑士带着一方面敌人的心脏,并提出对作为一个关于太阳神签署它。

Jaguar knight walked towards princess.美洲虎骑士公主走去。 Full of admiration for all the braveness that princess had shown in those hard moments jaguar knight liberated princess!敬佩全部的所有公主在那些艰苦的时刻显示美洲虎骑士解放公主房避祸! Although at the beginning princess did not want to admit it, princess fell in love with jaguar knight.虽然开始时公主不愿承认这一点,公主爱上了美洲虎骑士。 Princess was kissing jaguar knight when suddenly princess recognised jaguar knight's tattoo.公主吻美洲虎骑士时,突然公主确认美洲虎骑士的纹身。 It was the same as the one used by the fraternity which had murdered princess's father some months ago.这是由曾杀害公主的父亲几个月前界所使用的相同。 At once all those terrible memories were present again.在一旦所有这些可怕的回忆人出席了。

Princess had ambivalent thoughts towards jaguar knight.公主对美洲虎骑士矛盾的想法。 On the one hand princess had strong feelings for jaguar knight but on the other hand princess abominated what jaguar knight did.一方面公主有很强的感情,美洲虎骑士,但另一方面公主abominated美洲虎骑士做什么。 Princess felt a deeply odium for jaguar knight.公主感到深深的美洲虎骑士厌恶。 Invoking Huitzilopochtli, God of the dead, princess cut jaguar knight's jugular.调用Huitzilopochtli,死者的家属,公主削减美洲虎骑士颈上帝。 The blood covered the floor.在浑身是血的发言。 Princess took a dagger and cut princess's throat.公主了一把匕首和削减公主的喉咙。 Princess bled to death while Tonatiu (the god representing the sun) disappeared in the horizon.公主失血过多而死,而Tonatiu(代表的太阳神),在地平线消失。

 


0

阅读 评论 收藏 转载 喜欢 打印举报/Report
  • 评论加载中,请稍候...
发评论

    发评论

    以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

      

    新浪BLOG意见反馈留言板 电话:4000520066 提示音后按1键(按当地市话标准计费) 欢迎批评指正

    新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 会员注册 | 产品答疑

    新浪公司 版权所有