Package TEES :: Package Tools :: Module GeniaSentenceSplitter
[hide private]

Module GeniaSentenceSplitter

source code


Version: $Revision: 1.7 $

Functions [hide private]
 
install(destDir=None, downloadDir=None, redownload=False, updateLocalSettings=False) source code
 
moveElements(document) source code
 
makeSentence(text, begin, end, prevSentence=None, prevEnd=None) source code
 
makeSentences(input, output=None, removeText=False, postProcess=True, debug=False)
Run GENIA Sentence Splitter
source code
Variables [hide private]
  thisPath = '/home/jari/TEES/Tools'
  __package__ = 'TEES.Tools'
Function Details [hide private]

makeSentences(input, output=None, removeText=False, postProcess=True, debug=False)

source code 

Run GENIA Sentence Splitter

Divide text in the "text" attributes of document and section elements into sentence elements. These sentence elements are inserted into their respective parent elements.