/usr/lib/python2.7/dist-packages/simpleparse/stt/TextTools/mxTextTools/__init__.py is in python-simpleparse-mxtexttools 2.2.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | """ mxTextTools - A tools package for fast text processing.
Copyright (c) 2000, Marc-Andre Lemburg; mailto:mal@lemburg.com
Copyright (c) 2000-2003, eGenix.com Software GmbH; mailto:info@egenix.com
Copyright (c) 2003-2006, Mike Fletcher; mailto:mcfletch@vrplumber.com
See the documentation for further information on copyrights,
or contact the author. All Rights Reserved.
"""
from simpleparse.stt.TextTools.mxTextTools.mxTextTools import *
from simpleparse.stt.TextTools.mxTextTools.mxTextTools import __version__
# To maintain backward compatibility:
BMS = TextSearch
BMSType = TextSearchType
try:
TextSearch('',None,FASTSEARCH)
except:
FS = BMS
FSType = BMS
else:
def FS(match, translate=None):
return TextSearch(match, translate, FASTSEARCH)
FSType = TextSearchType
|