Automattic / Automattic/wp-translate

Encode the characters as just Unicode points

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
21
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Right now (for various reasons) each character is encoded as incrementing numbers. I don't think this is necessary with the new lib. Instead we could simplify some preprocessing by just encoding everything as the Unicode code point in the parallel text format files.

Then the charmaps can be built with simple bash commands (maybe some seq2seq scripts for this too).

The downside may be that will may want to encode full words rather than only characters (at least for dealing with common words).

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the preprocessing that assigns incrementing character numbers, the parallel text format files, and the charmaps or seq2seq scripts mentioned in the issue. Compare Unicode code-point encoding with the current representation and resolve whether common full-word encoding is also required. Done means the encoding choice is agreed and the affected preprocessing and charmap workflow are consistently updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, python
Domain
data, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.