Skip to content

TeamJ-MUSt/sentence-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nlp-module

Environment

Python 3.9.12

How to run

  1. Clone this repository
git clone https://github.com/TeamJ-MUSt/sentence-splitter
cd nlp-module
  1. Install requirements.txt and UniDic. Installing UniDic will take a while.
pip install -r requirements.txt
python -m unidic download

split.py

This will split a given sentence.

usage: python context_definition.py [-h] query

positional argument query: The sentence to split

python split.py 空にある何かを見つめてたらそれは星だって君がおしえてくれたまるでそれは僕らみたいに

Outputs the list of chuncks.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages