def filter(self, context):
        delimiters = self.vim.vars['deoplete#delimiters']
        for candidate, delimiter in [
                [x, last_find(x['abbr'], delimiters)[0]]
                for x in context['candidates']
                if ('abbr' in x) and not last_find(x['word'], delimiters) and
                last_find(x['abbr'], delimiters)]:
            candidate['word'] += delimiter
        return context['candidates']
dataset/ETHPy150Open Shougo/deoplete.nvim/rplugin/python3/deoplete/filters/converter_auto_delimiter.py/Filter.filter/original