morfana
morfana copied to clipboard
JavaScript display engine for morphemic analysis in russian language
Morfana doesn't wait external fonts loading, so it may draw markup incorrectly. What is the best way to detect font loading? window.onload() is ok or not? p.s. https://github.com/typekit/webfontloader
- Do markup normalization, e.g.: osL:1-2;osR:3-4 transform to os:1-4; osL:1-2;osC:4-5;osC:7-8;osC:9-10;osR:10-12 transform to osL:1-2;osR:7-12 osL:1-2;osC:4-5;osC:6-7;osC:8-9;osR:11-14 transform to osL:1-2;osC:4-9;osR:11-14 .. and so on. - Also - perform check for letter ranges in...
Make smth like: Morfana.configure({aliases: {'ok' : 'ending', 'su': 'suffix', 'окончание': 'ending'}});