Comments (4)
Closing this as it's related to a Korean issue that no longer exists. #72 should cover the table parsing issue.
from scriptshifter.
Hi,
The problem seems to be these lines containing invalid unicode escape sequences (e.g. \u030
)
17104 - "\uD5C8\uB4DD\uB7C9": "Ho\u0306 Tu\u030ng-nyang_"
33923 - "\uAC1C\uBCF": "kaebok_"
36281 - "Ho\u0306 Tu\u030ng-nyang": "\uD5C8\uB4DD\uB7C9_"
63564 - "kaebok": "\uAC1C\uBCF_"
In Libris we are are investigating using using your tables converted [1] to ICU transform rules [2] for automatic romanization.
In addition to to our Libris-specific tables [3].
[1] https://github.com/libris/librisxl/tree/develop/whelk-core/src/main/resources/romanizer/loc
[2] https://unicode-org.github.io/icu/userguide/transforms/general/rules.html
[3] https://github.com/libris/librisxl/tree/develop/whelk-core/src/main/resources/romanizer
from scriptshifter.
I see that the \u030
in Tu\u030ng
is not a valid Unicode sequence. I defer to a Korean specialist as to which symbol is meant to be placed there.
Note that Korean transliteration & transcription will be completely overhauled in Phase 2 (current), and the current table won't be used. However, if the current table is of any use for the time being, it may be worth fixing it.
from scriptshifter.
This highlights a separate problem: each table is only read (and validated) when transliteration is requested for the first time in the application life cycle for that particular table. This is done to reduce application startup time (especially with the huge Korean table), however it also hides problems like this one, when a table contains encoding errors, which are only caught when transliteration is requested.
I think the best way to resolve this is to have automated tests built into a CI pipeline rather than forcing a read of all tables on startup.
from scriptshifter.
Related Issues (20)
- Hebrew HOT 1
- Yiddish HOT 1
- Arabic HOT 1
- Japanese
- Greek HOT 2
- Branching Language List, Favorite a Language via Cookie or Shortcut? HOT 5
- Chinese: parse numerals HOT 1
- Tibetan tests and fixes HOT 1
- Explore database design
- Slim down ML packages
- Admin CLI
- Provide s2r or r2s availability in the GET /languages response HOT 2
- Allow option to enable CORS headers sent in response HOT 1
- Application exceptions not surfacing correctly in UI HOT 1
- Assamese
- closing punctuation converted to alphanunmeric text
- Add MARC codes to language index HOT 1
- Bibframe.org issue HOT 6
- S2R cyrillic omits first letter when capitalize is on HOT 3
- Regular expressions for ignore patterns
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scriptshifter.