8000 GitHub - Cxmrykk/mecab-ipadic-seed.ts: mecab-ipadic seed dictionary reader
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cxmrykk/mecab-ipadic-seed.ts

 
 

Repository files navigation

@cxmrykk/mecab-ipadic-seed.ts

To install dependencies:

bun install

To run:

bun run src/index.ts

To manually extract:

# Remove and create 'dict' folder
rm -rf ./dict && mkdir ./dict

# Copy the archive into the 'dict' folder
cp mecab-ipadic-2.7.0-20070801.tar.xz ./dict

# Extract the archive
./bin/extract.sh ./dict

# Remove the archive
rm ./dict/mecab-ipadic-2.7.0-20070801.tar.xz

To convert from .tar.gz archive to .tar.xz, with UTF-8 encoding:

# Remove and create 'dict' folder
rm -rf ./dict && mkdir ./dict

# Copy the archive into the 'dict' folder
cp path/to/archive ./dict

# Run the conversion script
./bin/convert.sh path/to/archive

# Output: ./dict/archive.tar.xz

This project was created using bun init in bun v1.1.27. Bun is a fast all-in-one JavaScript runtime.

About

mecab-ipadic seed dictionary reader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 69.0%
  • Makefile 24.7%
  • TypeScript 6.3%
0