Code Monkey home page Code Monkey logo

poetry_analyzer's People

Contributors

mrqianjinsi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

poetry_analyzer's Issues

python3 运行后报gbk编码错误

运行第一个程序word_level_analyzer.py时,报下面的错误,设置encoding='gb18030'后就报gb18030编码错误。求解该编解码错误

E:\github\poetry_analyzer-master>python word_level_analyzer.py
D:\Anaconda3Work\lib\site-packages\gensim\utils.py:855: UserWarning: detected Windows; aliasing chunkize to chunkize_serial
  warnings.warn("detected Windows; aliasing chunkize to chunkize_serial")
Model loaded succeed
Traceback (most recent call last):
  File "word_level_analyzer.py", line 164, in <module>
    main()
  File "word_level_analyzer.py", line 157, in main
    char_counter, author_counter, genre_counter = cut_qts_to_words(args.qts_path, args.words_path)
  File "word_level_analyzer.py", line 33, in cut_qts_to_words
    for line in f:
UnicodeDecodeError: 'gb18030' codec can't decode byte 0x96 in position 18: illegal multibyte sequence

BIOG MAIN

ddpck95a4 f1a c6 z2w
image

小白拜读您的code, 但是折腾了一下跑通,想问为什么没有BIOG MAIN 呢?
可以留个联系方式?麻烦您了! 

用 Wikidata 分析关联和自动推理

你好,前进四先生。最近在做知识图谱的研究,然后突然想到了你的文章。我正好想到一个主意,如果根据 CBDB 的数据和全唐诗,可以用什么样的模型去自动推理有趣的规则。
我先试着把 CBDB 的人名数据导入进 wikidata,大概做了 90 万次编辑,然而还有更多关联数据需要导入。这就是我这周做的事。不过有了这想法,就让我先在这里抛砖引玉了。

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.