|
@@ -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()
|
|
|
|