Mr-U

GP Changes

Dec 28th, 2016
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. Overall UI:
  2. - Have a text-field where user can input an analysis or whatever
  3. - Implement the user-defined settings below
  4. - Have a button to print a c/p-able corrected text, with BBCode representing edits
  5. - Corrected Text preview
  6.  
  7. How to make corrections
  8. - Store the last three words
  9. - Run the following algorithms/checks on the last three words checked
  10. - If no changes, add original text to text storage
  11. - If changes need to be made, surround removed text with appropriate strikethrough and color BBCode, then add space and add new text with the appropriate color BBCode (colors are defined by user), then add all that to the text storage
  12.  
  13. Spellchecking:
  14. Use some sort of algorithm to detect misspellings and use the following as a dictionary:
  15. - Get a list of all Pokemon for spellchecking
  16. - Get a list of all Items for spellchecking
  17. - Get a list of all Moves for spellchecking
  18. Some Exceptions may have to be made if a name is too close to a real word (i.e. Drowzee and Ditto)
  19.  
  20. Capitalization:
  21. - Detect uncapitalized words from the above dictionary and capitalize them
  22. - Detect Headers for C&C entries and capitalize all words within them if they aren't already
  23. - Certain status effects (Burn and Poison might be hard to detect, so ignore them)
  24. - Clauses
  25. - The terms "defenses", "bulky", "nature", "critical hit", "dual screens", "wild", and "item" are always lowercase
  26. - Most of the terms in the following section
  27. - Detect previous period usage and see if decapitalization is necessary
  28. - Detect Set Titles and make sure proper capitalization is done
  29. - Be mindful of words in general analysis formatting
  30.  
  31. Plural:
  32. - Remove "s" from Pokemon names [prolly treated as mispellings anyways]
  33.  
  34. Discrete Pokemon-related Changes:
  35. Use Hashmap(s) to see if they need correcting
  36. - Change [X] type -> X-type
  37. - TYPE Arceus -> Arceus-type
  38. - TYPE Silvally -> Silvally-type
  39. - revenge-kill or Revenge Kill -> revenge kill
  40. - super-effective or Super Effective -> super effective
  41. - hyper-offense -> hyper offense
  42. - Abbreviation mons/items -> Full names (i.e. Zard -> Charizard, will update later)
  43. - Mega Charizard-X / Y -> Mega Charizard X / Y
  44. - Mega Mewtwo-X / Y -> Mega Mewtwo X / Y
  45. - Hidden Power-Type or Hidden Power [Type] -> Hidden Power Type
  46. - Incorrectly written formes -> Correctly written formes
  47. - Speed-tie / Speed Tie / speed tie / speedtie / Speedtie -> Speed tie
  48. - Lati@s -> Latios and Latias
  49. - GameFreak / Gamefreak -> Game Freak
  50. - Ho-oh -> Ho-Oh
  51. - Wi-fi / Wifi -> Wi-Fi
  52. - ingame / in game -> in-game
  53. - "Poké" words i.e. Pokédex should have accent
  54.  
  55. Discrete non-Pokemon-related changes:
  56. Use Hashmap(s) to see if they need correcting
  57. - Non-ASCII characters -> ASCII characters
  58. - Non-American words -> American words (whilst -> while, etc.)
  59. - Correct Possessive words ending in s if possible
  60.  
  61. User discretion:
  62. Have the user dictate if the following should be changed
  63. - Ask if user is writing an analysis or a TFP article.
  64. - If former, Pokémon -> Pokemon (EXCEPTION: Pokémon Center)
  65. - If latter, Pokemon -> Pokémon
  66. - Ask user for two colors, one for additions, and one for removals
Advertisement
Add Comment
Please, Sign In to add comment