model.py 218 Bytes
from nlp import COMMON_WORDS, ENGLISH_WORDS, lemmatize, tag_part_of_speech
import string

def extract_feature(essay):
  return 0

def predict(essay):
 return 0

def set_model(model):
    global MODEL
    MODEL = model