@hugsmidjan/hyphen
Version:
Text hyphenation in Javascript. - Fork with improved icelandic hyphenation based on https://repository.clarin.is/repository/xmlui/handle/20.500.12537/86
21 lines (20 loc) • 1.08 kB
JavaScript
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === "object" && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.hyphenationPatternsOr = factory();
}
})(this, function () {
return [
"22,11,01,1,21",
'{"":0,"":1,"ଅ":2,"ଆ":2,"ଇ":2,"ଈ":2,"ଉ":2,"ଊ":2,"ଋ":2,"ୠ":2,"ଌ":2,"ୡ":2,"ଏ":2,"ଐ":2,"ଓ":2,"ଔ":2,"ା":2,"ି":2,"ୀ":2,"ୁ":2,"ୂ":2,"ୃ":2,"େ":2,"ୈ":2,"ୋ":2,"ୌ":2,"କ":3,"ଖ":3,"ଗ":3,"ଘ":3,"ଙ":3,"ଚ":3,"ଛ":3,"ଜ":3,"ଝ":3,"ଞ":3,"ଟ":3,"ଠ":3,"ଡ":3,"ଢ":3,"ଣ":3,"ତ":3,"ଥ":3,"ଦ":3,"ଧ":3,"ନ":3,"ପ":3,"ଫ":3,"ବ":3,"ଭ":3,"ମ":3,"ଯ":3,"ର":3,"ଲ":3,"ଳ":3,"ଵ":3,"ଶ":3,"ଷ":3,"ସ":3,"ହ":3,"ଂ":4,"ଃ":4,"ୗ":4,"ଁ":4,"୍":0}',
[]
];
});