JSPM

ko-spellchecker

1.1.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q43736F
    • License MIT

    korean spelling checker

    Package Exports

    • ko-spellchecker

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ko-spellchecker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Build Status npm version devdependencies

    #ko-spellchecker

    Node.js 한글 맞춤법 검사기

    본격 발암 맞춤법

    외않됀데?

    Intro

    ko-spellchecker는 부산대학교 정보컴퓨터공학부 인공지능연구실과 (주)나라인포테크가 공동으로 만들고 있는 웹 한국어 맞춤법/문법 검사기의 Node.js web binding 입니다. 검사기에 입력한 결과를 분석하여 JSON 형태로 결과를 제공합니다.

    Download

    npm을 사용하여 다운로드합니다.

    $ npm install ko-spellchecker

    check(str, callback)

    맞춤법을 검사할 한글 문장을 str 인자로 넘겨 줍니다. 그럼 부산대 맞춤법 검사기로 요청을 보내고, 그 결과를 분석하여 callback으로 넘겨줍니다.

    Arguments

    • str - 맞춤법을 검사할 한글 문장입니다. 영어가 들어가도 괜찮습니다.
    • callback(err, results) -

    Exapmle

    console.log('hello world!')
    
    koSpellchecker.check('외않됀데?', function(err, results){
        if(err) {
            return console.error(err)
        }
        console.log(results)
        
        /*
            [
                {
                    original: "되지",
                    checked: "돼지"
                },
                
                ...
            ]
        */
    })