def compute_feature(self, tokens, token_index): return get_word_chunk(normalize_token(tokens[token_index]), self.suffix_size, len(tokens[token_index].value), reverse=True)
def compute_feature(self, tokens, token_index): return get_word_chunk(normalize_token(tokens[token_index]), self.prefix_size, 0)
def compute_feature(self, tokens, token_index): return get_word_chunk(tokens[token_index].normalized_value, self.suffix_size, len(tokens[token_index].value), reverse=True)
def compute_feature(self, tokens, token_index): return get_word_chunk(tokens[token_index].normalized_value, self.prefix_size, 0)
def compute_feature(self, tokens, token_index): return get_word_chunk(tokens[token_index].normalized_value, self.prefix_size, 0)