Skip to content

“hangoongmal” is a program that outputs sound and text of korean according to its pronunciation rules.

License

Notifications You must be signed in to change notification settings

eastriverlee/hangoongmal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

Donate

hangoongmal 🇰🇷

hangoongmal is a program that outputs sound and text of korean according to its pronunciation rules.
TTS uses AVfoundation framework (of Mac OS) to produce voice.
pronunciation rules for specific kinds of words will not be applied.

한궁말은 한국어를 발음규칙에 따라 소리와 문자열로 출력하는 프로그램입니다.
TTS는 (맥 운영체제의) AVfoundation을 사용해 목소리를 생성합니다.
특정 단어에 한한 발음 규칙은 적용되지 않습니다.

build

$ swiftc speaker.swift

run

the program can read from arguments or stdin.

프로그램은 문장을 인자로 받거나 stdin으로 파일을 받아와 실행 가능합니다.

$ ./speaker "따갑기만 한 햇살 아래서 칼날 같은 소금을 핥았다."
따갑끼만 한 핻쌀 아래서 칼랄 가튼 소그믈 할탇따
$ ./speaker < YOUR_FILE.txt

-m option mimics(transliterate) korean pronunciation in english.

-m 옵션은 한국어 발음을 영어로 흉내냅니다(음역).

$ ./speaker -m "따갑기만 한 햇살 아래서 칼날 같은 소금을 핥았다."
tah ghahb kee mahn - hahn - haed sahl - ah rae suh - kahl rahl - ghah twoon - so ghwoo mwool - hahl tahd tah

all pronounceable characters(as is)

var consonants = [,,,,,,,,,,,,,,,,,,]
var vowels = [,,,,,,,,,,,,,,,,,,]
var supports = [없음, _ㄱ, _ㄴ, _ㄷ, _ㄹ, _ㅁ, _ㅂ, _ㅇ]

var pronunceable = ""
for c in consonants {
    for v in vowels {
        for s in supports {
            pronunceable += "\(글자(c, v, s))"
        }
    }
}
pronounce(pronunceable)

가각간갇갈감갑강개객갠갣갤갬갭갱갸갹갼갿걀걈걉걍걔걕걘걛걜걤걥걩거걱건걷걸검겁겅게겍겐겓겔겜겝겡겨격견겯결겸겹경계곅곈곋곌곔곕곙고곡곤곧골곰곱공과곽관괃괄괌괍광괴괵괸괻괼굄굅굉교굑굔굗굘굠굡굥구국군굳굴굼굽궁궈궉권궏궐궘궙궝귀귁귄귇귈귐귑귕규귝균귣귤귬귭귱그극근귿글금급긍긔긕긘긛긜긤긥긩기긱긴긷길김깁깅까깍깐깓깔깜깝깡깨깩깬깯깰깸깹깽꺄꺅꺈꺋꺌꺔꺕꺙꺠꺡꺤꺧꺨꺰꺱꺵꺼꺽껀껃껄껌껍껑께껙껜껟껠껨껩껭껴껵껸껻껼꼄꼅꼉꼐꼑꼔꼗꼘꼠꼡꼥꼬꼭꼰꼳꼴꼼꼽꽁꽈꽉꽌꽏꽐꽘꽙꽝꾀꾁꾄꾇꾈꾐꾑꾕꾜꾝꾠꾣꾤꾬꾭꾱꾸꾹꾼꾿꿀꿈꿉꿍꿔꿕꿘꿛꿜꿤꿥꿩뀌뀍뀐뀓뀔뀜뀝뀡뀨뀩뀬뀯뀰뀸뀹뀽끄끅끈끋끌끔끕끙끠끡끤끧끨끰끱끵끼끽낀낃낄낌낍낑나낙난낟날남납낭내낵낸낻낼냄냅냉냐냑냔냗냘냠냡냥냬냭냰냳냴냼냽넁너넉넌넏널넘넙넝네넥넨넫넬넴넵넹녀녁년녇녈념녑녕녜녝녠녣녤녬녭녱노녹논녿놀놈놉농놔놕놘놛놜놤놥놩뇌뇍뇐뇓뇔뇜뇝뇡뇨뇩뇬뇯뇰뇸뇹뇽누눅눈눋눌눔눕눙눠눡눤눧눨눰눱눵뉘뉙뉜뉟뉠뉨뉩뉭뉴뉵뉸뉻뉼늄늅늉느늑는늗늘늠늡능늬늭늰늳늴늼늽닁니닉닌닏닐님닙닝다닥단닫달담답당대댁댄댇댈댐댑댕댜댝댠댣댤댬댭댱댸댹댼댿덀덈덉덍더덕던덛덜덤덥덩데덱덴덷델뎀뎁뎅뎌뎍뎐뎓뎔뎜뎝뎡뎨뎩뎬뎯뎰뎸뎹뎽도독돈돋돌돔돕동돠돡돤돧돨돰돱돵되됙된됟될됨됩됭됴됵됸됻됼둄둅둉두둑둔둗둘둠둡둥둬둭둰둳둴둼둽뒁뒤뒥뒨뒫뒬뒴뒵뒹듀듁듄듇듈듐듑듕드득든듣들듬듭등듸듹듼듿딀딈딉딍디딕딘딛딜딤딥딩따딱딴딷딸땀땁땅때땍땐땓땔땜땝땡땨땩땬땯땰땸땹땽떄떅떈떋떌떔떕떙떠떡떤떧떨떰떱떵떼떽뗀뗃뗄뗌뗍뗑뗘뗙뗜뗟뗠뗨뗩뗭뗴뗵뗸뗻뗼똄똅똉또똑똔똗똘똠똡똥똬똭똰똳똴똼똽뙁뙤뙥뙨뙫뙬뙴뙵뙹뚀뚁뚄뚇뚈뚐뚑뚕뚜뚝뚠뚣뚤뚬뚭뚱뚸뚹뚼뚿뛀뛈뛉뛍뛰뛱뛴뛷뛸뜀뜁뜅뜌뜍뜐뜓뜔뜜뜝뜡뜨뜩뜬뜯뜰뜸뜹뜽띄띅띈띋띌띔띕띙띠띡띤띧띨띰띱띵라락란랃랄람랍랑래랙랜랟랠램랩랭랴략랸랻랼럄럅량럐럑럔럗럘럠럡럥러럭런럳럴럼럽렁레렉렌렏렐렘렙렝려력련렫렬렴렵령례롁롄롇롈롐롑롕로록론롣롤롬롭롱롸롹롼롿뢀뢈뢉뢍뢰뢱뢴뢷뢸룀룁룅료룍룐룓룔룜룝룡루룩룬룯룰룸룹룽뤄뤅뤈뤋뤌뤔뤕뤙뤼뤽륀륃륄륌륍륑류륙륜륟률륨륩륭르륵른륻를름릅릉릐릑릔릗릘릠릡릥리릭린릳릴림립링마막만맏말맘맙망매맥맨맫맬맴맵맹먀먁먄먇먈먐먑먕먜먝먠먣먤먬먭먱머먹먼먿멀멈멉멍메멕멘멛멜멤멥멩며멱면멷멸몀몁명몌몍몐몓몔몜몝몡모목몬몯몰몸몹몽뫄뫅뫈뫋뫌뫔뫕뫙뫼뫽묀묃묄묌묍묑묘묙묜묟묠묨묩묭무묵문묻물뭄뭅뭉뭐뭑뭔뭗뭘뭠뭡뭥뮈뮉뮌뮏뮐뮘뮙뮝뮤뮥뮨뮫뮬뮴뮵뮹므믁믄믇믈믐믑믕믜믝믠믣믤믬믭믱미믹민믿밀밈밉밍바박반받발밤밥방배백밴밷밸뱀뱁뱅뱌뱍뱐뱓뱔뱜뱝뱡뱨뱩뱬뱯뱰뱸뱹뱽버벅번벋벌범법벙베벡벤벧벨벰벱벵벼벽변볃별볌볍병볘볙볜볟볠볨볩볭보복본볻볼봄봅봉봐봑봔봗봘봠봡봥뵈뵉뵌뵏뵐뵘뵙뵝뵤뵥뵨뵫뵬뵴뵵뵹부북분붇불붐붑붕붜붝붠붣붤붬붭붱뷔뷕뷘뷛뷜뷤뷥뷩뷰뷱뷴뷷뷸븀븁븅브븍븐븓블븜븝븡븨븩븬븯븰븸븹븽비빅빈빋빌빔빕빙빠빡빤빧빨빰빱빵빼빽뺀뺃뺄뺌뺍뺑뺘뺙뺜뺟뺠뺨뺩뺭뺴뺵뺸뺻뺼뻄뻅뻉뻐뻑뻔뻗뻘뻠뻡뻥뻬뻭뻰뻳뻴뻼뻽뼁뼈뼉뼌뼏뼐뼘뼙뼝뼤뼥뼨뼫뼬뼴뼵뼹뽀뽁뽄뽇뽈뽐뽑뽕뽜뽝뽠뽣뽤뽬뽭뽱뾔뾕뾘뾛뾜뾤뾥뾩뾰뾱뾴뾷뾸뿀뿁뿅뿌뿍뿐뿓뿔뿜뿝뿡뿨뿩뿬뿯뿰뿸뿹뿽쀠쀡쀤쀧쀨쀰쀱쀵쀼쀽쁀쁃쁄쁌쁍쁑쁘쁙쁜쁟쁠쁨쁩쁭쁴쁵쁸쁻쁼삄삅삉삐삑삔삗삘삠삡삥사삭산삳살삼삽상새색샌샏샐샘샙생샤샥샨샫샬샴샵샹섀섁섄섇섈섐섑섕서석선섣설섬섭성세섹센섿셀셈셉셍셔셕션셛셜셤셥셩셰셱셴셷셸솀솁솅소속손솓솔솜솝송솨솩솬솯솰솸솹솽쇠쇡쇤쇧쇨쇰쇱쇵쇼쇽숀숃숄숌숍숑수숙순숟술숨숩숭숴숵숸숻숼쉄쉅쉉쉬쉭쉰쉳쉴쉼쉽슁슈슉슌슏슐슘슙슝스슥슨슫슬슴습승싀싁싄싇싈싐싑싕시식신싣실심십싱싸싹싼싿쌀쌈쌉쌍쌔쌕쌘쌛쌜쌤쌥쌩쌰쌱쌴쌷쌸썀썁썅썌썍썐썓썔썜썝썡써썩썬썯썰썸썹썽쎄쎅쎈쎋쎌쎔쎕쎙쎠쎡쎤쎧쎨쎰쎱쎵쎼쎽쏀쏃쏄쏌쏍쏑쏘쏙쏜쏟쏠쏨쏩쏭쏴쏵쏸쏻쏼쐄쐅쐉쐬쐭쐰쐳쐴쐼쐽쑁쑈쑉쑌쑏쑐쑘쑙쑝쑤쑥쑨쑫쑬쑴쑵쑹쒀쒁쒄쒇쒈쒐쒑쒕쒸쒹쒼쒿쓀쓈쓉쓍쓔쓕쓘쓛쓜쓤쓥쓩쓰쓱쓴쓷쓸씀씁씅씌씍씐씓씔씜씝씡씨씩씬씯씰씸씹씽아악안앋알암압앙애액앤앧앨앰앱앵야약얀얃얄얌얍양얘얙얜얟얠얨얩얭어억언얻얼엄업엉에엑엔엗엘엠엡엥여역연엳열염엽영예옉옌옏옐옘옙옝오옥온옫올옴옵옹와왁완왇왈왐왑왕외왹왼왿욀욈욉욍요욕욘욛욜욤욥용우욱운욷울움웁웅워웍원웓월웜웝웡위윅윈윋윌윔윕윙유육윤윧율윰윱융으윽은읃을음읍응의읙읜읟읠읨읩읭이익인읻일임입잉자작잔잗잘잠잡장재잭잰잳잴잼잽쟁쟈쟉쟌쟏쟐쟘쟙쟝쟤쟥쟨쟫쟬쟴쟵쟹저적전젇절점접정제젝젠젣젤젬젭젱져젹젼젿졀졈졉졍졔졕졘졛졜졤졥졩조족존졷졸좀좁종좌좍좐좓좔좜좝좡죄죅죈죋죌죔죕죙죠죡죤죧죨죰죱죵주죽준줃줄줌줍중줘줙줜줟줠줨줩줭쥐쥑쥔쥗쥘쥠쥡쥥쥬쥭쥰쥳쥴쥼쥽즁즈즉즌즏즐즘즙증즤즥즨즫즬즴즵즹지직진짇질짐집징짜짝짠짣짤짬짭짱째짹짼짿쨀쨈쨉쨍쨔쨕쨘쨛쨜쨤쨥쨩쨰쨱쨴쨷쨸쩀쩁쩅쩌쩍쩐쩓쩔쩜쩝쩡쩨쩩쩬쩯쩰쩸쩹쩽쪄쪅쪈쪋쪌쪔쪕쪙쪠쪡쪤쪧쪨쪰쪱쪵쪼쪽쫀쫃쫄쫌쫍쫑쫘쫙쫜쫟쫠쫨쫩쫭쬐쬑쬔쬗쬘쬠쬡쬥쬬쬭쬰쬳쬴쬼쬽쭁쭈쭉쭌쭏쭐쭘쭙쭝쭤쭥쭨쭫쭬쭴쭵쭹쮜쮝쮠쮣쮤쮬쮭쮱쮸쮹쮼쮿쯀쯈쯉쯍쯔쯕쯘쯛쯜쯤쯥쯩쯰쯱쯴쯷쯸찀찁찅찌찍찐찓찔찜찝찡차착찬찯찰참찹창채책챈챋챌챔챕챙챠챡챤챧챨챰챱챵챼챽첀첃첄첌첍첑처척천첟철첨첩청체첵첸첻첼쳄쳅쳉쳐쳑쳔쳗쳘쳠쳡쳥쳬쳭쳰쳳쳴쳼쳽촁초촉촌촏촐촘촙총촤촥촨촫촬촴촵촹최쵝쵠쵣쵤쵬쵭쵱쵸쵹쵼쵿춀춈춉춍추축춘춛출춤춥충춰춱춴춷춸췀췁췅취췩췬췯췰췸췹췽츄츅츈츋츌츔츕츙츠측츤츧츨츰츱층츼츽칀칃칄칌칍칑치칙친칟칠침칩칭카칵칸칻칼캄캅캉캐캑캔캗캘캠캡캥캬캭캰캳캴캼캽컁컈컉컌컏컐컘컙컝커컥컨컫컬컴컵컹케켁켄켇켈켐켑켕켜켝켠켣켤켬켭켱켸켹켼켿콀콈콉콍코콕콘콛콜콤콥콩콰콱콴콷콸쾀쾁쾅쾨쾩쾬쾯쾰쾸쾹쾽쿄쿅쿈쿋쿌쿔쿕쿙쿠쿡쿤쿧쿨쿰쿱쿵쿼쿽퀀퀃퀄퀌퀍퀑퀴퀵퀸퀻퀼큄큅큉큐큑큔큗큘큠큡큥크큭큰큳클큼큽킁킈킉킌킏킐킘킙킝키킥킨킫킬킴킵킹타탁탄탇탈탐탑탕태택탠탣탤탬탭탱탸탹탼탿턀턈턉턍턔턕턘턛턜턤턥턩터턱턴턷털텀텁텅테텍텐텓텔템텝텡텨텩텬텯텰텸텹텽톄톅톈톋톌톔톕톙토톡톤톧톨톰톱통톼톽퇀퇃퇄퇌퇍퇑퇴퇵퇸퇻퇼툄툅툉툐툑툔툗툘툠툡툥투툭툰툳툴툼툽퉁퉈퉉퉌퉏퉐퉘퉙퉝튀튁튄튇튈튐튑튕튜튝튠튣튤튬튭튱트특튼튿틀틈틉틍틔틕틘틛틜틤틥틩티틱틴틷틸팀팁팅파팍판팓팔팜팝팡패팩팬팯팰팸팹팽퍄퍅퍈퍋퍌퍔퍕퍙퍠퍡퍤퍧퍨퍰퍱퍵퍼퍽펀펃펄펌펍펑페펙펜펟펠펨펩펭펴펵편펻펼폄폅평폐폑폔폗폘폠폡폥포폭폰폳폴폼폽퐁퐈퐉퐌퐏퐐퐘퐙퐝푀푁푄푇푈푐푑푕표푝푠푣푤푬푭푱푸푹푼푿풀품풉풍풔풕풘풛풜풤풥풩퓌퓍퓐퓓퓔퓜퓝퓡퓨퓩퓬퓯퓰퓸퓹퓽프픅픈픋플픔픕픙픠픡픤픧픨픰픱픵피픽핀핃필핌핍핑하학한핟할함합항해핵핸핻핼햄햅행햐햑햔햗햘햠햡향햬햭햰햳햴햼햽헁허헉헌헏헐험헙헝헤헥헨헫헬헴헵헹혀혁현혇혈혐협형혜혝혠혣혤혬혭혱호혹혼혿홀홈홉홍화확환홛활홤홥황회획횐횓횔횜횝횡효횩횬횯횰횸횹횽후훅훈훋훌훔훕훙훠훡훤훧훨훰훱훵휘휙휜휟휠휨휩휭휴휵휸휻휼흄흅흉흐흑흔흗흘흠흡흥희흭흰흳흴흼흽힁히힉힌힏힐힘힙힝

About

“hangoongmal” is a program that outputs sound and text of korean according to its pronunciation rules.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages