NKFtool.jl

NKFtool: Julia package for converting encodings in Japanese texts using nkf
Author hsugawa8651
Popularity
0 Stars
Updated Last
4 Years Ago
Started In
March 2020

NKFtool

NKFtool: Julia package for converting encodings in Japanese texts using nkf

NKFtool is a Julia package for guessing and converting encodings in Japanese text. This is the wrapper module to Network kanji (Japanese characters) filter, aka nkf, and provides the interface to use nkf from Julia.

Stable Dev Build Status Codecov

Overview

NKF-overview

julia> nkf_convert( raw"こんにちわ", "-s") |> nkf_guess
"Shift_JIS"

Documentation

  • STABLEdocumentation of the most recently tagged version.
  • DEVELdocumentation of the in-development version.

Installation

NKFtool requires nkf to be installed in your system. Major Unix-like operating systems offer its precompiled version in their package management systems.

NKFtool also requires Julia v1.0 or above.

To install NKFtool using Julia's packaging system, enter Julia's package manager prompt with ], and run

(v1.1) pkg> add NKFtool

Tests

To run the tests, enter Julia's package manager with ] and run

(v1.1) pkg> add NKFtool

The current test codes are prepared for "Network Kanji Filter Version 2.1.5 (2018-12-15)".

Status

The current package is tested against Julia 1.1 and above on Linux and MacOSX.

Contributions

Contributions are very welcome, as are feature requests and suggestions. Please open an issue if you encounter any problems.

LICENSE

This software is released under the MIT License, see LICENSE.