Rowles.LeanCorpus.Korean
1.0.0
Prefix Reserved
dotnet add package Rowles.LeanCorpus.Korean --version 1.0.0
NuGet\Install-Package Rowles.LeanCorpus.Korean -Version 1.0.0
<PackageReference Include="Rowles.LeanCorpus.Korean" Version="1.0.0" />
<PackageVersion Include="Rowles.LeanCorpus.Korean" Version="1.0.0" />
<PackageReference Include="Rowles.LeanCorpus.Korean" />
paket add Rowles.LeanCorpus.Korean --version 1.0.0
#r "nuget: Rowles.LeanCorpus.Korean, 1.0.0"
#:package Rowles.LeanCorpus.Korean@1.0.0
#addin nuget:?package=Rowles.LeanCorpus.Korean&version=1.0.0
#tool nuget:?package=Rowles.LeanCorpus.Korean&version=1.0.0
Rowles.LeanCorpus.Korean
Korean lexicon data for LeanCorpus and
Rowles.Text analysis (ko).
The package contains mecab-ko-dic 2.1.1-20180720 (816,283 entries, the version Lucene's Nori analyser uses), compiled into a lattice codec with its decompositions. It holds data only and references neither library, so it works with whichever one the application uses.
Use
Register the data once, before creating analysers:
using Rowles.LeanCorpus.Analysis.Analysers;
using Rowles.LeanCorpus.Korean;
AnalyserFactory.UseLexicon(KoreanLexiconPack.LanguageCode, KoreanLexiconPack.Open, KoreanLexiconPack.Identity);
var analyser = AnalyserFactory.Create("ko");
ko then uses KoreanTokeniser: morphological segmentation with compounds and inflected forms decomposed into their morphemes (Nori's discard mode).
Registering a lexicon changes the language's analysis identity, which now ends with the
lexicon's identity (KoreanLexiconPack.Identity). An index written with the previous analysis refuses the change
until it is reindexed or the change is accepted with
IndexWriterConfig.AcceptAnalysisIdentityChanges.
The data is embedded in the assembly and read in place, without a copy.
Licence
The package code is licensed under Apache-2.0 (LICENCE). The data is Apache-2.0 (licences/mecab-ko-dic-COPYING.txt; authors in licences/mecab-ko-dic-AUTHORS.txt).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- No dependencies.
-
net11.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 0 | 12/4/2026 |