Module stylotool.src.freestylo.freestylo_main
Functions
def add_alliteration_annotation(text, config)
-
This function adds alliteration annotations to the text.
def add_chiasmus_annotation(text, config)
-
This function adds chiasmus annotations to the text.
def add_epiphora_annotation(text, config)
-
This function adds epiphora annotations to the text.
def add_metaphor_annotation(text, config)
-
This function adds metaphor annotations to the text.
def add_polysyndeton_annotation(text, config)
-
This function adds polysyndeton annotations to the text.
def main()
-
This is the main function of the freestylo tool. When you run the tool from the command line, this function is called. It reads the input text, preprocesses it, and adds the specified annotations. The results are then serialized to a file.