Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ __pycache__
coverage
cobertura.xml
codecov
codecov.*
codecov.*
.DS_Store
._.DS_Store
**/.DS_Store
**/._.DS_Store
1 change: 1 addition & 0 deletions libs/braillify/src/symbol_shortcut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ static SHORTCUT_MAP: phf::Map<char, &'static [u8]> = phf_map! {
// '×' => &[decode_unicode('⠸'),decode_unicode('⠭'), decode_unicode('⠇')],
'△' => &[decode_unicode('⠸'),decode_unicode('⠬'), decode_unicode('⠇')],
'□' => &[decode_unicode('⠸'),decode_unicode('⠶'), decode_unicode('⠇')],
'ː' => &[decode_unicode('⠰'), decode_unicode('⠂')],
};

pub fn encode_char_symbol_shortcut(text: char) -> Result<&'static [u8], String> {
Expand Down
4 changes: 4 additions & 0 deletions rule_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@
"title": "59항",
"description": "쌍반점(;)은 ⠰⠆으로 적으며, 앞은 붙여 쓰고 뒤는 한 칸 띄어 쓴다."
},
"rule_63": {
"title": "63항",
"description": "긴소리표(ː)는 ⠰⠂으로 적고, 앞뒤를 붙여 쓴다."
},
"sentence": {
"title": "문장",
"description": "테스트를 위한 문장"
Expand Down
1 change: 1 addition & 0 deletions test_cases/rule_63.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
밤ː나무,"^5,ce",243448291713,⠘⠢⠰⠂⠉⠑⠍
Loading