cebuano-stemmer
A stemmer for the Cebuano language spoken in the Philippines
Last updated 3 years ago by digitalheir .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cebuano-stemmer 
SYNC missed versions from official npm registry.

Cebuano dictionary and stemmer

Build Status npm version License

Live demo in browser

A dictionary and stemmer for the Cebuano language spoken in the Philippines.

Written in TypeScript, compiled to ES5 CommonJS module (for use in Node.js) and a single-file ES5 UMD module (for use in the browser).

Based on J. Hellingman's Cebuano stemmer for Java and dictionary for Android, which is in turn based on J. Wolff's seminal work A Dictionary of Cebuano Visayan.

Dictionary

The dictionary data is converted from a SQLite database to a publicly-readable CouchDB instance hosted at https://publicdomainreview.cloudant.com/cebuano_dictionary.

The primary index for an entry is the normalized root form of the Cebuano word plus an identification number.

You can use the regular CouchDB API to query. For instance, to get the first 20 entries starting with "k":

https://publicdomainreview.cloudant.com/cebuano_dictionary/_all_docs?include_docs=true&limit=20&startkey="k"

Search

The database provides full-text search for English and Cebuano. You can query using the Lucene Query Parser Syntax.

Examples:

description url
English full text search through entries for "fire" https://publicdomainreview.cloudant.com/cebuano_dictionary/_design/search/_search/fromEnglish?q=fire
English synonym search for "fire" https://publicdomainreview.cloudant.com/cebuano_dictionary/_design/search/_search/fromEnglish?q=synonym:fire
Cebuano full text search through entries for "abat" https://publicdomainreview.cloudant.com/cebuano_dictionary/_design/search/_search/fromCebuano?q=abat
Cebuano synonym search for "abat" https://publicdomainreview.cloudant.com/cebuano_dictionary/_design/search/_search/fromCebuano?q=synonym:abat

(for more information, add the query parameter include_docs=true)

Stemmer

A JSON list of word roots used in the stemmer is available at https://publicdomainreview.cloudant.com/cebuano_dictionary/_design/show/_list/keyset/normalized_heads_where_pos_is_not_empty_string?group_level=1

A JSON list of all heads is available at https://publicdomainreview.cloudant.com/cebuano_dictionary/_design/show/_list/keyset/heads?group_level=1

Current Tags

  • 0.1.2                                ...           latest (3 years ago)

7 Versions

  • 0.1.2                                ...           3 years ago
  • 0.1.6                                ...           3 years ago
  • 0.1.5                                ...           3 years ago
  • 0.1.4                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (0)
None
Dev Dependencies (24)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |