Git Product home page Git Product logo

textparser's Introduction

自行下载自己最喜欢的小说1部。存储为文本文档。要求长篇小说,20万字以上。 事先指定其中10个重要人物,考虑他们的姓名、别名等等一系列因素。 (1)画出每个人在小说中出现位置的可视化图(图可以自行设计)。排序每人出现的次数,并在界面上用柱状图显示。 (2)统计每个人在小说中出现的篇幅跨度(第一次出现距最后一次出现的篇幅)并排序,并在界面上用柱状图显示,针对每个人物,柱状图中列出该人篇幅跨度起始点到终点位于全文的百分比哪个位置。 (3)如果两人在较短的一段文字(如500字范围,具体可自定)中出现,我们认为两人有联系。有联系的次数越多,关系越紧密。自行设计统计标准,对于10个人物: 1)用表格列出10个人物相互关系紧密程度。并对关系紧密程度进行排序,列在界面上。 2)输入一个人名,列出该人和其他九人关系的紧密程度并排名。 3)如果多人多次在一段文字中出现,我们认为多人组成小团队。自行设计算法,统计出10个人物中,哪些人可能是小团队? 看与实际是否符合?如果不太符合,说明可能的原因。

textparser's People

Contributors

ran716 avatar

Watchers

 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.