Skip to content
Easy tool to split words by blank with MeCab and NEologd
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Dockerfile
LICENSE
README.md
requirements.txt
script.py
split.sh

README.md

docker-mecab

Easy tool to split words by blank with MeCab and NEologd.

Build

docker build . -t docker-mecab

Use

Split recursively all the files in directory, save into another directory

This script keeps the directory structure.
e.g.) input/foo/bar/baz/1.txt -> output/foo/bar/baz/1.txt

  1. Put files/directories into ./mount/input
    The file extension must be txt.
  2. execute command
./split.sh
  1. You'll find the splitted files in ./mount/output

License

MIT License

You can’t perform that action at this time.