Skip to content

Add new entries for '𰻝', '𰻞', and '𰻞𰻞麵' in BPMFBase.txt and phrase.occ - #853

Merged
zonble merged 5 commits into
openvanilla:masterfrom
zonble:biang
Jun 29, 2026
Merged

Add new entries for '𰻝', '𰻞', and '𰻞𰻞麵' in BPMFBase.txt and phrase.occ#853
zonble merged 5 commits into
openvanilla:masterfrom
zonble:biang

Conversation

@zonble

@zonble zonble commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@zonble
zonble requested a review from lukhnos June 24, 2026 15:25
…8 support

The `make check`used to suppose that every chinese character is composed by 3 bytes when it is utf8 encoding. However, 𰻝 has 4 bytes.

@lukhnos lukhnos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@lukhnos lukhnos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking at Makefile again, I wonder if some changes are warranted. See my comment.

@lukhnos lukhnos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left a comment re the use of gawk.

Comment thread Source/Data/Makefile Outdated
Comment thread Source/Data/Makefile Outdated
Comment thread Source/Data/BPMFMappings.txt Outdated

@lukhnos lukhnos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overall LGTM, but check.py doesn't seem to exit with non-0 if it finds issues?

Comment thread Source/Data/Makefile
@awk '{print $$2,$$3,$$4,$$5,$$6,$$7}' BPMFMappings.txt | awk '/一/'
@diff -u <(awk '{print $$1}' BPMFMappings.txt|sort -u) \
<(awk 'length($$1)>4{print $$1}' phrase.occ|sort -u)
@python3 scripts/check.py

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

But if check.py finds anything incorrect, does it end the program with a non-0 exit code?

@lukhnos lukhnos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@zonble
zonble merged commit a805625 into openvanilla:master Jun 29, 2026
7 checks passed
@zonble
zonble deleted the biang branch July 17, 2026 05:37
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