Refactor. Deleted setup.py

This commit is contained in:
Jack Stdin
2016-02-23 22:29:12 +03:00
parent dc8e5d35a7
commit 86426d4803
8 changed files with 16 additions and 33 deletions

View File

@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
from enum import Enum # Типы вариаций слова
class VariationType(Enum):
normal = 0
freq = 1
class WordVariation:
def __init__(self, parent_word, text, var_type=VariationType.normal):
self.parent = parent_word
self.text = text
self.var_type = var_type