Giter VIP home page Giter VIP logo

fictionanalysis's Introduction

FictionAnalysis

对小说文本进行分析,提炼小说剧情内容和人物关系

如果一部从未度过的小说,经过程序的分析解读便可列出小说中的主要人物,并阐明人物关系,是不是很有意思呢! #程序的主要思路如下:

1、在没有词库的情况下,解析文本,通过计算一个词的内部凝固程度和自由运用度来判断一个词可否为单词

2、提取人名和地名

3、通过人物名称在文本中的位置和发生关系的动作建立人物关系图谱

听起来是不是很高大上呢,哈哈,现在勉强完成了第一步,在此感谢这篇博客的作者 http://www.csdn.net/article/2013-05-08/2815186 ,程序的第一步完全是在实现这篇博客的算法

#如何使用

python hibiscusMain.py "path/file"

-- > file.xls

fictionanalysis's People

Contributors

kwsy avatar lzhr avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.