@ipmanlk/subasa-api
Javascript API for Subasa Sinhala spell checker
Last updated 2 months ago by ipmanlk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ipmanlk/subasa-api 
SYNC missed versions from official npm registry.
Subasa logo

Subasa API

Javascript API for the Subasa Sinhala spell checker

Usage

Download node from nodejs.org and install it, if you haven't already.

Then install subasa-api using npm or yarn.

npm install @ipmanlk/subasa-api --save

Example,

const { correct } = require("@ipmanlk/subasa-api");

const text = "මථකය (ස්මෘතිය) යනු ජීවියෙකු තුළ තොරතුරු ගබඩා කිරීමට සහ ඉන්පසුව එම තොරතුරු ණැවත එලි දැක්වීමට ඇති හැකියාවයි.";

correct(text).then(data => {
    console.log("corrected text: ", data.text);
    console.log("corrections: ", data.corrections);
});

Current Tags

  • 1.3.1                                ...           latest (2 months ago)

4 Versions

  • 1.3.1                                ...           2 months ago
  • 1.3.0                                ...           2 months ago
  • 1.2.0                                ...           4 months ago
  • 1.0.0                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 4
This Month 4
Last Day 0
Last Week 0
Last Month 24
Dependencies (1)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |