microproduct/atmosphericDelay/AtmosphericDelay-C-SAR-V2.2/ISCEApp/site-packages/snowballstemmer/among.py

14 lines
404 B
Python
Raw Normal View History

2024-02-01 06:24:55 +00:00
class Among(object):
def __init__(self, s, substring_i, result, method=None):
"""
@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 = s
self.substring_i = substring_i
self.result = result
self.method = method