Skip to content

A library for advanced Natural Language Processing towards multi-modal educational items.

License

Notifications You must be signed in to change notification settings

bigdata-ustc/EduNLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

95cd9fc · Jan 13, 2024
Mar 28, 2023
Jan 13, 2024
Aug 21, 2021
Aug 5, 2023
Aug 5, 2023
Jul 6, 2021
Jul 31, 2023
Aug 4, 2023
Nov 10, 2022
Aug 8, 2021
Jul 2, 2023
Jan 13, 2024
Jun 26, 2021
Jun 26, 2021
May 20, 2021
Aug 8, 2021
Jan 25, 2021
May 15, 2022
Oct 30, 2022
May 20, 2021
Jul 2, 2023

Repository files navigation

EduNLP

VERSION PyPI test codecov Documentation Status Download License DOI

EduNLP is a library for advanced Natural Language Processing in Python and is one of the projects of EduX plan of BDAA. It's built on the very latest research, and was designed from day one to be used in real educational products.

EduNLP now comes with pretrained pipelines and currently supports segment, tokenization and vertorization. It supports varies of preprocessing for NLP in educational scenario, such as formula parsing, multi-modal segment.

EduNLP is commercial open-source software, released under the Apache-2.0 license.

Quickstart

Installation

Git and install by pip

# basic installation
pip install .

# full installation
pip install .[full]

or install from pypi:

# basic installation
pip install EduNLP

# full installation
pip install EduNLP[full]

Usage

from EduNLP import get_pretrained_i2v
i2v = get_pretrained_i2v("d2v_all_300", "./model")
item_vector, token_vector = i2v(["the content of item 1", "the content of item 2"])

Tutorial

For more details, please refer to the full documentation (latest | stable).

Resource

We will continuously publish new datasets in Standard Item Format (SIF) to encourage the relevant research works. The data resources can be accessed via another EduX project EduData

Contribute

EduNLP is still under development. More algorithms and features are going to be added and we always welcome contributions to help make EduNLP better. If you would like to contribute, please follow this guideline(开发指南).

Citation

If this repository is helpful for you, please cite our work

@misc{bigdata2021edunlp,
  title={EduNLP},
  author={bigdata-ustc},
  publisher = {GitHub},
  journal = {GitHub repository},
  year = {2021},
  howpublished = {\url{https://github.com/bigdata-ustc/EduNLP}},
}