Browse Source

update version and main script strategy

Nikos Atlas 2 years ago
parent
commit
6f65da8c79
2 changed files with 3 additions and 3 deletions
  1. 1 1
      setup.py
  2. 2 2
      word_processor/__main__.py

+ 1 - 1
setup.py

@@ -15,7 +15,7 @@ class PostInstallCommand(install):
 
 setup(
     name='word_processor',
-    version='0.0.2',
+    version='0.0.3',
     packages=find_packages(),
     url='',
     license='',

+ 2 - 2
word_processor/__main__.py

@@ -2,11 +2,11 @@ import sys
 
 from word_processor.generators import Generator
 from word_processor.parsers import JavascriptParser
-from word_processor.strategies import leaf_strategy
+from word_processor.strategies import flip_prep_pobj_strategy
 
 
 def calculate_names(text: str):
-    generator = Generator(text=text, strategy=leaf_strategy, parser=JavascriptParser())
+    generator = Generator(text=text, strategy=flip_prep_pobj_strategy, parser=JavascriptParser())
 
     generator.suggest()