Package nltk_lite :: Package contrib :: Package toolbox :: Module utilities
[hide private]
[frames] | no frames]

Module utilities

source code

This module provides basic functionality for handling shoebox format files. These feed into the more sophisticated Shoebox tools available in the modules lexicon, text, and metadata.

Classes [hide private]
  Field
Class used to represent a standard fromat field.
  SequentialDictionary
Dictionary that retains the order in which keys were added to it.
Functions [hide private]
tuple
parse_field(line)
This function returns the field marker and field value of a Shoebox field.
source code
Function Details [hide private]

parse_field(line)

source code 

This function returns the field marker and field value of a Shoebox field.

Returns: tuple
parses field as string and returns tuple with field marker and field value