makhov/phpmorphy

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

dev-master 2018-02-28 07:14 UTC

This package is not auto-updated.

Last update: 2024-11-18 12:20:26 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