Comments (9)
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.
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.
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.
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.
$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.
In short, the purpose of that part is to find if the immediately preceding sound is a vowel, or [n], or nothing.
from scriptshifter.
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.
강 will be 44053.
from scriptshifter.
Thanks, my implementation is correct then.
from scriptshifter.
Related Issues (20)
- 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
- Serbian-Macedonian test line
- Thai HOT 4
- Burmese HOT 1
- Khmer HOT 1
- Lao HOT 2
- Set up CI/CD pipeline
- Chinese: add list of names
- 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
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.