Package nltk_lite :: Package wordnet :: Module pos
[hide private]
[frames] | no frames]

Module pos

source code

Functions [hide private]
 
normalizePOS(pos)
Return the standard form of the supplied part of speech.
source code
Variables [hide private]
  NOUN = 'noun'
  VERB = 'verb'
  ADJECTIVE = 'adj'
  ADVERB = 'adv'
  pos_abbrs = {NOUN: 'n.', VERB: 'v.', ADJECTIVE: 'adj.', ADVERB...
  _POSNormalizationTable = {}
Function Details [hide private]

normalizePOS(pos)

source code 

Return the standard form of the supplied part of speech.

Parameters:
  • pos (string) - A (non-standard) part of speech string.
Returns:
A standard form part of speech string.

Variables Details [hide private]

pos_abbrs

Value:
{NOUN: 'n.', VERB: 'v.', ADJECTIVE: 'adj.', ADVERB: 'adv.'}