Skip to content

Add BGNPCGN Dzongkha system 2010 - #166

Open
ronaldtse wants to merge 1 commit into
mainfrom
bgnpcgn-dzongkha-2010
Open

Add BGNPCGN Dzongkha system 2010#166
ronaldtse wants to merge 1 commit into
mainfrom
bgnpcgn-dzongkha-2010

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Originally by @manuel489 from interscript/interscript-ruby#26


From @manuel489

I used the following chart to find relevant unicode values:
https://www.unicode.org/charts/PDF/U0F00.pdf

And the following link to convert them into characters:
https://www.branah.com/unicode-converter


From @ronaldtse

Currently failing on these tests:

16)Interscriptmaps/bgnpcgn-dzo-Tibt-Latn-2010.yamlsystemtestfor{"source"=>"ཐྀམ་ཕུ","expected"=>"Thimphu"}Failure/Error: expect(result).toeq(test["expected"])expected: "Thimphu"got: "thaྀm་phaུ"(comparedusing ==)# ./spec/interscript_spec.rb:13:in `block (5 levels) in <top (required)>'17)Interscriptmaps/bgnpcgn-dzo-Tibt-Latn-2010.yamlsystemtestfor{"source"=>"བཀྲ་ཤིས་གྱང་ཙེ","expected"=>"Trashi Yangtse"}Failure/Error: output[pos,match.size]=resultTypeError:
noimplicitconversionofArrayintoString# ./lib/interscript.rb:48:in `[]='# ./lib/interscript.rb:48:in `block in transliterate'# ./lib/interscript.rb:44:in `each'# ./lib/interscript.rb:44:in `transliterate'# ./spec/interscript_spec.rb:12:in `block (5 levels) in <top (required)>'18)Interscriptmaps/bgnpcgn-dzo-Tibt-Latn-2010.yamlsystemtestfor{"source"=>"སྟང་སི་སྦྱིས","expected"=>"Tangsibji"}Failure/Error: expect(result).toeq(test["expected"])expected: "Tangsibji"got: "ྟng་ི་ྦྱི"(comparedusing ==)# ./spec/interscript_spec.rb:13:in `block (5 levels) in <top (required)>'

From @manuel489

I think it is worth to say that I took these tests from the notes section of the PDF file. For example:

capture5

Sign up for freeto 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.

1 participant

@ronaldtse