/usr/lib/python3/dist-packages/snowballstemmer/among.py is in python3-snowballstemmer 1.2.1-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 | class Among(object):
def __init__(self, s, substring_i, result, method=None):
"""
@ivar s_size search string size
@ivar s search string
@ivar substring index to longest matching substring
@ivar result of the lookup
@ivar method method to use if substring matches
"""
self.s_size = len(s)
self.s = s
self.substring_i = substring_i
self.result = result
self.method = method
|