I already have texts in formal and informal styles collected. I need to create a frequency dictionary for each style and automatically match them. Attach usage contexts to each word. Create a lexeme dictionary and for each word a dictionary of word usage.
Forming a frequency dictionary for each style:
Calculate the frequency of each word in the texts of both styles.
Record the words and their frequency according to the style, add usage contexts.
Forming a lexeme dictionary and their word usage:
Break down the texts into words and determine their parts of speech.
Create a lexeme dictionary with words, parts of speech, and their usage in context.
Passing through the tonal dictionary:
Check each word for its presence in the tonal dictionary and determine the rating.
Comparing vocabulary and obtaining percentages for diagrams:
Compare the dictionaries for each style and determine the percentage of usage for each word.
Visualize the results using graphs.
Evaluating vocabulary through the dictionary:
Use the evaluative vocabulary dictionary to determine the tone of each word in context.
Statistical methods need to be used to determine these styles as well.