Caps Cleaner - Devlog 002 - Flowchart
By A.A. Lopez
Because I want to get as much out as possible this Sunday as I wait to go see a live D&D show at the Hollywood Bowl, here is the .v1 flowchart of the original Caps Cleaner idea.
As you can see it's fairly straight forward. VTT files are uploaded to the Caps Cleaner and it begins it process according to its Caps Rules functions:
- Switch all instances of AllCaps to MixedCase. And while it is not the outcome that we want right away it gets us to what we need.
- Follow Proper Noun rules. Based on a list of Proper Nouns found in the English language (using that as my starting point) all instances will be changed from "tim" to "Tim" and so forth.
Minor Issue: Found that some Proper Nouns are also nouns and verbs as well, will need to adjust parameters. (Ex: Will, Hope, Faith) - Ignore all instances of Acronyms (FBI, CIA, USA), Roman Numerals (II, III, IV, V, IX, X, L, C, M), and other issue types similar.
- Follow the rules of punctuation and text blocks in the case of a sentence being separated into two
Once these actions are complete the new file will be updated, ends the program, and sends the newly formatted file to the selected output folder with the new name of the file including a "_v2" or an increasing number if more instances, issues are found.
It still needs quite a bit of work, and I can already see some things I would like to bring in to this to advance it, but this is the simplest idea so far.
No comments:
Post a Comment