GithubHelp home page GithubHelp logo

brikerman / classic_chinese_punctuate Goto Github PK

View Code? Open in Web Editor NEW
33.0 7.0 2.0 179 KB

classic Chinese punctuate experiment with keras using daizhige(殆知阁古代文献藏书) dataset

Jupyter Notebook 64.25% Python 35.75%
chinese-nlp keras sequence-labeling

classic_chinese_punctuate's Introduction

classic_chinese_punctuate

classic Chinese punctuate experiment with keras using daizhige(殆知阁古代文献藏书) dataset

中文古籍断句加标点实验,数据集为 殆知阁古代文献藏书2.0版(全TXT版)

详见:example.ipynb

在线调戏:http://chinese-mark.eliyar.biz

About me

blog: https://eliyar.biz

classic_chinese_punctuate's People

Contributors

brikerman 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

classic_chinese_punctuate's Issues

执行训练模型代码出现异常

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/home/envs/tensorflow2/lib/python3.7/site-packages/sklearn/__check_build/__init__.py in <module>
     43 try:
---> 44     from ._check_build import check_build  # noqa
     45 except ImportError as e:

ImportError: dlopen: cannot load any more object with static TLS

During handling of the above exception, another exception occurred:

ImportError                               Traceback (most recent call last)
<ipython-input-11-3582e5ad1f99> in <module>
      1 import h5py
      2 
----> 3 from sklearn.model_selection import train_test_split
      4 import torch
      5 dataset = h5py.File('./data/dataset.h5', 'r')

/home/envs/tensorflow2/lib/python3.7/site-packages/sklearn/__init__.py in <module>
     73     # process, as it may not be compiled yet
     74 else:
---> 75     from . import __check_build
     76     from .base import clone
     77     from .utils._show_versions import show_versions

/home/envs/tensorflow2/lib/python3.7/site-packages/sklearn/__check_build/__init__.py in <module>
     44     from ._check_build import check_build  # noqa
     45 except ImportError as e:
---> 46     raise_build_error(e)

/home/envs/tensorflow2/lib/python3.7/site-packages/sklearn/__check_build/__init__.py in raise_build_error(e)
     39 to build the package before using it: run `python setup.py install` or
     40 `make` in the source directory.
---> 41 %s""" % (e, local_dir, ''.join(dir_content).strip(), msg))
     42 
     43 try:

ImportError: dlopen: cannot load any more object with static TLS
___________________________________________________________________________
Contents of /home/envs/tensorflow2/lib/python3.7/site-packages/sklearn/__check_build:
setup.py                  __init__.py               _check_build.cpython-37m-x86_64-linux-gnu.so
__pycache__
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.

数据分享

Hi,非常感谢你的开源。今天看到爱可可老师的微博转发这个事情,个人感觉在古籍上做这样的事情可能会有不同的发现,但是找了一圈之后,没有发现有效的数据链接,不知道您可否分享一下数据,谢谢。

数据下载问题

您好,非常感谢您的开源代码,但是您在上一个 issue 分享的链接已经失效,请问是否可以再分享一次数据连接呢?太感谢了!

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.