new-hope
v1.0.8
Published
Esperanto tokenizer
Downloads
11
Maintainers
Readme
Esperanto tokenizer written in TypeScript
Esperanto?
Esperanto is a constructed language created by L. L. Zamenhof in 1887. Find out more here and check out the great Duolingo Esperanto Course.
Usage
ES6/TypeScript style import
import {split, tokenize} from "new-hope";
const words = split("Mi parolas Esperanton.");
const tokens = tokenize(words);
Node.js style import
const newHope = require("new-hope");
const words = newHope.split("Mi parolas Esperanton.");
const tokens = newHope.tokenize(words);
AMD style import
require(["new-hope"], (newHope) => {
const words = newHope.split("Mi parolas Esperanton.");
const tokens = newHope.tokenize(words);
});