nqxcode/phpmorphy

phpMorphy - morphological analyzer library for Russisan, English and German languages

v1.0 2014-07-26 23:36 UTC

This package is auto-updated.

Last update: 2024-12-18 19:40:44 UTC


README

phpMorphy -- morphological analyzer library for Russisan, English and German languages

Website (in russian): http://phpmorphy.sourceforge.net/
SF project: http://sourceforge.net/projects/phpmorphy


This library allow retireve follow morph information for any word:
 - Base(normal) form
 - All forms
 - Grammatical(part of speech, grammems) information

------------ SPEED -------------
 *-------------------*
 | Single word mode: |
 *-----------------------------------------------------------*
 | mode | base form  | all forms | all forms with gram. info |
 |-----------------------------------------------------------|
 | FILE | 1000       | 800       | 600                       |
 |-----------------------------------------------------------|
 | SHM  | 2200       | 1100      | 800                       |
 |-----------------------------------------------------------|
 | MEM  | 2500       | 1200      | 900                       |
 *-----------------------------------------------------------*

 *------------*
 | Bulk mode: |
 *-----------------------------------------------------------*
 | mode | base form | all forms  | all forms with gram. info |
 |-----------------------------------------------------------|
 | FILE | 1700      | 800        | 700                       |
 |-----------------------------------------------------------|
 | SHM  | 3200      | 800        | 700                       |
 |-----------------------------------------------------------|
 | MEM  | 3500      | 800        | 700                       |
 *-----------------------------------------------------------*

Note: 
  All values are words per second speed.
  Test platform: PHP 5.2.3, AMD Duron 800 with 512Mb memory, WinXP

------------ INSTALLATION -------------
 See INSTALL file in current directory

------------ USAGE -------------
 See example in ./examples directory