Skip to content

Conversation

@JoshuaS3
Copy link
Contributor

When turned on and given a place to work in, this extra bit removes everything not found in the top ten hundred words and their other forms. This works the same as xkcd's simple writer.

When some not allowed words are put up or changed, that message is quickly removed from the place and this extra bit sends a message to the person who wrote it saying something like this:

image

This should lead to some pretty fun and interesting conversations.

@JoshuaS3
Copy link
Contributor Author

should be my last commit on this branch

@JoshuaS3
Copy link
Contributor Author

I lied

__all__ = ["core_words_list"]

core_words_list = []
core_words_list_path = os.path.join(os.path.dirname(__file__), "core_words_list.txt")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't always expect this directory to be writeable, it might be in /usr or something. Just have a line in the config instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for a read operation of a text file in the same directory as this source file. The text file will not change and is not configurable through means other than a commit due to the static nature of the source.

Instead of making them partials
@landyacht
Copy link

This is a fantastic idea, but unfortunately the code appears to be written in Python, which is out of line with our policy. Please revise and submit a new PR. I am immeasurably disappointed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants