Skip to content

Only generate haiku on seven chinese characters#57

Open
benpigchu wants to merge 1 commit intomainfrom
haiku-pattern-chinese-character-only
Open

Only generate haiku on seven chinese characters#57
benpigchu wants to merge 1 commit intomainfrom
haiku-pattern-chinese-character-only

Conversation

@benpigchu
Copy link
Contributor

Avoid generation of haiku when there are none chinese characters in the message

@benpigchu benpigchu requested a review from Ledenel August 4, 2021 02:52
Copy link
Contributor

@Ledenel Ledenel left a comment

Choose a reason for hiding this comment

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

see pypi package zhon for more details about chinese characters. I use that to exclude chinese punct. May be a better way to describe that.

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.

2 participants