Consolidated function
Some changes based on pylint. Still have some to go
Use modal to allow users to choose which meaning of the characer they would like to user