Skip to content
/ morpha Public

Packaged version of Morpha (morphological analyser for English)

Notifications You must be signed in to change notification settings

jerogee/morpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Morpha : a morphological analyser for English

Unpackaged original: http://www.sussex.ac.uk/Users/johnca/morph.html

By Guido Minnen, John Carroll, and Darren Pearce, as described in:

A morphological analyser / lemmatiser for English based on finite-state techniques. Given a word form (and its part of speech if available) it returns the lemma and suffix.

It covers the English productive suffixes:

  • -s : plural of nouns, 3rd sing pres of verbs
  • -ed : past tense
  • -en : past participle
  • -ing : progressive of verbs

See: doc/README for the original README

Installation

To build and install the 'morpha' executable, make sure that git, Autoconf, Automake, and Libtool are installed on your system, and:

  1. Clone this repository and reconfigure automake for the local system:
   $ git clone --depth=1 https://github.com/jerogee/morpha
   $ cd morpha/
   $ sh autogen.sh
  1. Configure, compile, and install system wide:
   $ ./configure
   $ make
   $ sudo make install

Usage

An example with STDIN and STDOUT:

   $ echo "Students_NNS were_VBD writing_VBG letters_NNS" | morpha -act
   Student+s_NNS be+ed_VBD write+ing_VBG letter+s_NNS

See doc/doc.txt for the original details.

About

Packaged version of Morpha (morphological analyser for English)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages