Coder Social home page Coder Social logo

Comments (9)

hyoungl avatar hyoungl commented on June 26, 2024

Those characters have two different readings depending on the value of the previous coda. You can collapse them into one, if you want to. I just wrote one function for one character, and then simply did copy-and-paste for all the others.

from scriptshifter.

scossu avatar scossu commented on June 26, 2024

Thanks for confirming. I mainly wanted to clarify what StringToBinary is meant to yield. Since the string being passed is only one character, it should be the numeric code point value of the character, compared to an integer (100 would be the value of the letter d), correct?

from scriptshifter.

hyoungl avatar hyoungl commented on June 26, 2024

That is basically to decide what the previous character is in front of 烈.
I don't remember why I put StringToBinary in there, but maybe in case where the previous character is a symbol or punctuation?

from scriptshifter.

scossu avatar scossu commented on June 26, 2024

What would StringToBinary yield for, e.g. , and how would it compare to 100?

I'm not sure if I'm using the correct function in my module and I'm unable to test on AutoIt because I'm not on Windows. In my Python code would yield 44053.

from scriptshifter.

hyoungl avatar hyoungl commented on June 26, 2024

$CodaValue = "0" means no coda. The syllable is composed of a consonant and a vowel.
$CodaValue = "4" means the coda is "ㄴ" = n.
As for StringToBinary($R_Initial_Str,4)<100, I think I added that for the case where a symbol comes in front of the character.

from scriptshifter.

hyoungl avatar hyoungl commented on June 26, 2024

In short, the purpose of that part is to find if the immediately preceding sound is a vowel, or [n], or nothing.

from scriptshifter.

scossu avatar scossu commented on June 26, 2024

I'm still not clear on what value StringToBinary would yield that can be compared with an integer.

What would be the result of StringToBinary($R_Initial_Str,4) for $R_Initial_Str = "강"?

from scriptshifter.

hyoungl avatar hyoungl commented on June 26, 2024

강 will be 44053.

from scriptshifter.

scossu avatar scossu commented on June 26, 2024

Thanks, my implementation is correct then.

from scriptshifter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.