JSPM

  • Created
  • Published
  • Downloads 100
  • Score
    100M100P100Q88986F
  • License MIT

A natural language processing library that is focused on providing tools for processing resource-poor languages.

Package Exports

  • @sillsdev/machine

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 (@sillsdev/machine) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Machine for TypeScript/JavaScript

Machine is a natural language processing library. It is specifically focused on providing tools and techniques that are useful for processing languages that are very resource-poor. The library is also useful as a foundation for building more advanced language processing techniques. The library currently only provides a basic set of algorithms, but the goal is to include many more in the future.

Features

Tokenization

Machine provides a set of word and segment tokenizers.

Translation

Machine provides a machine translation client for the Machine Web API server. The translation engine is located on the server. The client APIs are used to initiate translation processes on the server. For interactive translation, the remote translation engine returns all possible translations for a source segment in a word graph. The client can efficiently search the graph for best translation suffix based on a provided prefix.

Installation

npm install @sillsdev/machine