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

Add BGNPCGN Dzongkha system 2010 #166

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ronaldtse
Copy link
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) Interscript maps/bgnpcgn-dzo-Tibt-Latn-2010.yaml system test for {"source"=>"ཐྀམ་ཕུ", "expected"=>"Thimphu"}
      Failure/Error: expect(result).to eq(test["expected"])
      
        expected: "Thimphu"
             got: "thaྀm་phaུ"
      
        (compared using ==)
      # ./spec/interscript_spec.rb:13:in `block (5 levels) in <top (required)>'

  17) Interscript maps/bgnpcgn-dzo-Tibt-Latn-2010.yaml system test for {"source"=>"བཀྲ་ཤིས་གྱང་ཙེ", "expected"=>"Trashi Yangtse"}
      Failure/Error: output[pos, match.size] = result
      
      TypeError:
        no implicit conversion of Array into String
      # ./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) Interscript maps/bgnpcgn-dzo-Tibt-Latn-2010.yaml system test for {"source"=>"སྟང་སི་སྦྱིས", "expected"=>"Tangsibji"}
      Failure/Error: expect(result).to eq(test["expected"])
      
        expected: "Tangsibji"
             got: "ྟng་ི་ྦྱི"
      
        (compared using ==)
      # ./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 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.

1 participant