Expand description
=====
Provides
- a Korean Part-Of-Speech Tagger as bareun client
- Multiple custom dictionaries which is kept in the your bareun server.
- Korean spelling corrector
§How to use the documentation
Full documentation for bareun is available in installable tarball or docker images.
- see
docs/intro.htmlat installable tarball. - or
http://localhost:5757/intro.htmlafter running docker.
The docstring examples assume that bareun_rs::bareun has been imported as brn.
use bareun_rs::bareun as brn;
§Classes
Tagger
the bareun POS tagger for Korean
use bareun_rs::bareun::Tagger;
Tagged
Wrapper for tagged output
use bareun_rs::bareun::Tagged;
Tokenizer
the bareun tokenizer for Korean
use bareun_rs::bareun::Tokenizer;
Tokenized
Wrapper for tokenized output
use bareun_rs::bareun::Tokenized;
Corrector
Korean spelling corrector
use bareun_rs::bareun::Corrector;
CustomDict
Custom dictionary for Korean.
use bareun_rs::bareun::CustomDict;
§Get bareun
- Use docker, https://hub.docker.com/r/bareunai/bareun
- Or visit https://bareun.ai/
Modules§
Structs§
- Bareun
Language Service Client - Bareun
Revision Service Client - Corrector
- Custom
Dict - 사용자 사전을 쉽게 사용하도록 해주는 래퍼(wrapper).
- Custom
Dictionary Service Client - 커스텀 사전을 생성, 조회, 업데이트, 삭제하는 클라이언트 The custom dictionary client which can create, update, list, delete your own one.
- Tagged
- Tagger
- Tokenized
- Tokenizer
- Wrapper for bareun v1.7.x https://github.com/bareun-nlp
Enums§
Functions§
- build_
dict_ set - 주어진 파라미터를 사용하여 사용자 사전의 한 표현 형태인 DictSet protobuf 메시지를 만듭니다. Args: domain (str): 사용자 사전의 이름 name (str): 사용자 사전에 대한 설명 dict_set (set): 사용자 사전에 들어가야 할 단어들의 잡합
- pb_
map_ to_ set - DictSet을 사전으로 변환합니다. Args: ds (&DictSet): DictSet 객체
- read_
dic_ file - 사용자 사전의 파일을 읽어들입니다. Args: user_dict_path (str): 사용자 사전 파일 이름