X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/f4b7fb50697f158e3f609c6b60fda57d7de47d00..d8d899f84a4d4b8580fd13f096c070ff6452718d:/user/c/src/count_char_nv.org diff --git a/user/c/src/count_char_nv.org b/user/c/src/count_char_nv.org new file mode 100644 index 0000000..3a98ded --- /dev/null +++ b/user/c/src/count_char_nv.org @@ -0,0 +1,23 @@ +* Count Navajo Graphemes + +** Strategy +- Define table of valid Navajo graphemes +- Define map of precomposed characters and combining mark permutations + to graphemes in the table. +- Read input sequentially, incrementing a list of integer counts of + graphemes detected. +- Print grapheme totals. + +** Process + +** Valid Navajo graphemes +| UC Range | Desc | | | | | | | +|-----------+---------------------+---+---+---+---+---+---| +| 0021-007E | Basic Latin (ASCII) | | | | | | | +| | Latin-1 Supplement | | | | | | | +| | | | | | | | | +| | | | | | | | | +| | | | | | | | | +| | | | | | | | | +| | | | | | | | | +