From d5b58b440f9df63d076bdfaed7b67f9cca7ca5b2 Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Wed, 15 Jan 2014 22:58:06 -0200 Subject: [PATCH] compile error --- lightproof_checker/standalone.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lightproof_checker/standalone.py b/lightproof_checker/standalone.py index b97a353..65d18d4 100644 --- a/lightproof_checker/standalone.py +++ b/lightproof_checker/standalone.py @@ -71,9 +71,11 @@ def proofread(self, text): from temp.Lightproof import Lightproof - L = LightproofChecker() + L = LightproofStandalone() + + L.load_package() print(L.compile_rules()) - ret = L.proofread('acima citado') + ret = L.proofread('não da assim , pois.') print (ret)