Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


JavaScript display engine for morphemic analysis in russian language

Official website

Demo HTML document

<!DOCTYPE html>
	<meta charset="utf-8">
	<script type="text/javascript" src=""></script>
	<script type="text/javascript" src=""></script>
	<script type="text/javascript" src=""></script>
	<span data-morfana-markup="ko:1-5;ok:6-6;ko:7-10;su:11-11;ok:12-13;osL:1-5;osR:7-11">десятиэтажный</span>

For more demos visit official website

##Changelog 2.3.0b / 29.09.2014

  • Added 'callback' to Morfana.draw(). Called when queue goes empty.

2.2.0b / 10.09.2014

  • Code refactoring: adding paddings for '(zero)-ending' and positioning them
  • Changed default of configp['zeroEndingWidthFactor'], now is 0.7
  • Added 'paddingFactor' to config, default is 0.2

2.1.1b / 07.09.2014

  • Added 'zeroEndingWidthFactor' to config
  • SVG for morpheme "ending" and "zero-ending" now contains not PATH but RECT

2.0.1b / 06.09.2014

  • Heavily code refactoring
  • Added 'stroke', 'strokeWidth' and 'disablePointerEvents' to config
  • Added colorization mode for debugging
  • Each SVG now have data-morfana-command attribute with markup code used for SVG

1.1.2a / 25.07.2014

  • Code refactoring
  • Changed draw() behaviour. If elements selected with selector don't have attribute 'data-morfana-markup' Morfana trying to select their children with this attribute
  • Fixed #3. Now: 'pointer-events: none' for all SVG elements used as morpheme signs.
  • Added morphemes: "zero-ending" inside word, "postfix", "interrupted stem" in 3 parts
  • Decreased size of vertical lines in sign of morpheme "basis"
  • Added to API: Morfana.clear()
  • Added to API: Morfana.getLettersBounds()

1.0.3a / 04.11.2013

  • Code refactoring
  • Minor bug fixes

1.0.2a / 04.11.2013

  • Code refactoring
  • Minor bug fixes

1.0.1a / 04.11.2013

  • Library release


JavaScript display engine for morphemic analysis in russian language




No packages published
You can’t perform that action at this time.