npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mecab-naist-jdic

v0.1.3

Published

NAIST JDIC in UTF-8 format - a Japanese dictionary for use with Mecab.

Downloads

4

Readme

mecab-naist-jdic-utf-8

mecab-naist-jdic (a Japanese dictionary for use with Mecab), in UTF-8 format, organised as a Cocoapod and npm package for usage with iOS/macOS.

Installation

Installing from Cocoapods

Specify these pods in your Podfile (you can omit the Japanese or Korean dictionary if you only plan to use Mecab with one of the two languages):

pod 'mecab-naist-jdic-utf-8'
pod update

Installing as a Cocoapod from npm (for React Native iOS apps)

Add this npm package:

yarn add mecab-naist-jdic

# or:

npm install --save mecab-naist-jdic

Next, specify this pod in your Podfile:

pod 'mecab-naist-jdic-utf-8', :podspec => '../node_modules/mecab-naist-jdic/mecab-naist-jdic-utf-8.podspec'

Don't forget to install the pods.

cd ios
pod update

Feature schema

It's based on IPADIC, and the tags are fully documented here https://osdn.net/projects/ipadic/docs (English manual):

| index | role (Japanese) | role (English) | | ------|------------|------------------------- | | 0 | 品詞 | part-of-speech | | 1 | 品詞細分類1 | part-of-speech subtype 1 | | 2 | 品詞細分類2 | part-of-speech subtype 2 | | 3 | 品詞細分類3 | part-of-speech subtype 3 | | 4 | 活用形 | inflected form | | 5 | 活用型 | inflection type | | 6 | 原形 | original form | | 7 | 読み | reading | | 8 | 発音 | pronunciation |

Example feature strings

欲しがっていた

欲し: 形容詞,自立,*,*,形容詞・イ段,ガル接続,欲しい,ホシ,ホシ  
がっ: 動詞,接尾,*,*,五段・ラ行,連用タ接続,がる,ガッ,ガッ  
て: 助詞,接続助詞,*,*,*,*,て,テ,テ  
い: 動詞,非自立,*,*,一段,連用形,いる,イ,イ  
た: 助動詞,*,*,*,特殊・タ,基本形,た,タ,タ  

通ったんだろうな

通っ: 動詞,自立,*,*,五段・ラ行,連用タ接続,通る,トオッ,トーッ  
た: 助動詞,*,*,*,特殊・タ,基本形,た,タ,タ  
ん: 名詞,非自立,一般,*,*,*,ん,ン,ン  
だろ: 助動詞,*,*,*,特殊・ダ,未然形,だ,ダロ,ダロ  
う: 助動詞,*,*,*,不変化型,基本形,う,ウ,ウ  
な: 助詞,終助詞,*,*,*,*,な,ナ,ナ  

光らせておくように

光らせ: 動詞,自立,*,*,一段,連用形,光らせる,ヒカラセ,ヒカラセ  
て: 助詞,接続助詞,*,*,*,*,て,テ,テ  
おく: 動詞,非自立,*,*,五段・カ行イ音便,基本形,おく,オク,オク  
よう: 名詞,非自立,助動詞語幹,*,*,*,よう,ヨウ,ヨー  
に: 助詞,副詞化,*,*,*,*,に,ニ,ニ  

The following non-Japanese word demonstrates that the last two feature columns may be null if accessed:

Skip

Skip: 名詞,固有名詞,組織,*,*,*,*

License

mecab-naist-jdic-utf-8 is available only under the BSD licence: mecab-naist-jdic-utf-8/bundleContents/COPYING.

See also

  • https://github.com/shirakaba/mecab-ko
  • https://github.com/shirakaba/mecab-ko-dic-utf-8
  • https://github.com/shirakaba/iPhone-libmecab