File:  [Repository] / ECHO_content / ECHO_language.py
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Sun Sep 10 22:57:38 2006 UTC (17 years, 9 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
tagging parts are now cached as far as lexical analysis is concerned

    1: """Methoden fuer Language Technologies"""
    2: 
    3: 
    4: from Products.ECHO_content.analyseAndTag.analyseAndTag import DonatusFile
    5: 
    6: import xml.parsers
    7: 
    8: class ECHO_language:
    9:         """language methods"""
   10:         
   11:         
   12:         def tagLex(self,nr="1"):
   13:             """gerateword tags"""
   14:             txt=self.getPage(_pn=nr)
   15:            
   16:             df=DonatusFile(txt=self.getPage(_pn=nr))
   17:            
   18:             return df.convertedXML()
   19:             #return DonatusFile(txt=self.getPage(_pn=nr)).convertedXML()
   20:         
   21:  

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>