Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append and fix entries in symbols.tsv #1074

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

tats-u
Copy link
Contributor

@tats-u tats-u commented Oct 9, 2024

Description

  • Add convenient ways to type symbols and fix missing ways (e.g. "ちょさくけん" → "©" (non-emoji), "+ー" → "±")
  • Force non-emoji styles for Red Dragon because it can be emoji
  • Fix description of Horizontal Bar
  • Make possible to convert kana with dakuten (e.g. あ゙) without direct codepoint conversion
  • Add cbrt & qdrt symbols

Issue IDs

Steps to test new behaviors (if any)

A clear and concise description about how to verify new behaviors (if any).

  • OS: any
  1. "どうじょう", "おなじく" , "のの", "ののじ", "ののてん", "ののじてん"→ 〃
  2. Horiontal Bar U+2015 (from "-") is described as "水平")
  3. "+" → "-" → Space generates ±, and "-" → "+" → Space generates ∓
  4. Double hypen is suggested by "=" → Space
  5. "d" "o" "c" Space suggests ℃
  6. "d" "o" "f" Space etc. suggests Fahrenheit degree signs
  7. "さいころ" + number or number → Space suggest the corresponding dice symbol
  8. In GitHub, "ほんちゅん" → Space suggests the non-emoji text symbol
  9. "ちょさくけん" suggests non-emoji copyright symbol
  10. あ → " → Space produces あ゙.
  11. (In kana mode) あ → ゛ → Space produces あ゙

It's a pain in the buttocks to enumerate all cases in this week. I'll update this in next week.

Additional context

Add any other context about the pull request here.

VS-15 (U+FE0E) is added after Red Dragon and Black Joker.

One or both of Fahrenheit signs can be removed.

@tats-u tats-u changed the title Revise symbols Append and fix entries in symbols.tsv Oct 9, 2024
Copy link
Collaborator

@hiroyuki-komatsu hiroyuki-komatsu left a comment

Choose a reason for hiding this comment

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

Hi tsts-u,
Thank you for your PR!

Please check my comments.

src/data/symbol/symbol.tsv Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
Copy link
Collaborator

@hiroyuki-komatsu hiroyuki-komatsu left a comment

Choose a reason for hiding this comment

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

For PRs in future, please refrain from adding the contents in the middle of the review.
Thank you,

src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
@tats-u
Copy link
Contributor Author

tats-u commented Oct 16, 2024

I thought it is a little pain of a neck to switch or merge multiple sets of symbols addition.
I'll make sure to create another branch on additional symbols.
e.g Yijing Hexagram Symbols (六十四卦), which are sometimes treated to be a part of CJK or not, and Kanbun symbols.

Copy link
Collaborator

@hiroyuki-komatsu hiroyuki-komatsu left a comment

Choose a reason for hiding this comment

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

Thank you for the update. We are almost there.

src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
src/data/symbol/symbol.tsv Outdated Show resolved Hide resolved
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