refactor: remove unused python2 code, optimize imports

This commit is contained in:
jar3b
2020-02-19 01:29:08 +03:00
parent d03aa0a78c
commit 966bec093f
21 changed files with 15 additions and 71 deletions

View File

@@ -1,8 +1,5 @@
# -*- coding: utf-8 -*-
def trigram(inp):
inp = u"__"+inp+u"__"
inp = u"__" + inp + u"__"
output = []
for i in range(0, len(inp) - 2):