{% macro pct(share) -%}{% if share > 0 and share < 0.001 %}<0.1%{% else %}{{ '%.1f' | format(share * 100) }}%{% endif %}{%- endmacro %} {% macro share_list(items, limit) -%}
{{ items | length - limit }} more in the document.
{% endif %} {%- endmacro %} {% macro character_map(cv) -%}The document has no character map for this column.
{% elif cv.status != 'complete' %}{{ cv.reason_text }}
{% else %}{% set m = cv.summary %}{% if cv.source == 'second_pass' %}Counted on every value of the column by the second pass.{% elif cv.basis == 'exact' %}Counted on every distinct value the scan stored, each weighted by its occurrences.{% else %}Counted on the sample of distinct values the scan stored, each weighted by its occurrences: a figure of the sample, not of the whole column. A deep pass counts them all.{% endif %} {{ m.characters | count }} character{{ '' if m.characters == 1 else 's' }} in {{ m.values | count }} value{{ '' if m.values == 1 else 's' }}, {{ m.distinct | count }} different.
Most frequent characters
Share of all the characters.
Scripts of the letters
Share of all the characters.
{% if cv.scripts %}{{ share_list(cv.scripts, 10) }}{% else %}No letter.
{% endif %}Kinds of characters
Share of all the characters.
{{ share_list(cv.categories, 12) }}Case of the values
Share of the values.
{{ share_list(cv.case, 3) }}Emoji
{% if m.with_emoji %}{{ m.with_emoji | count }} value{{ '' if m.with_emoji == 1 else 's' }} with an emoji, {{ m.emoji_sequences | count }} sequence{{ '' if m.emoji_sequences == 1 else 's' }}.
Share of the emoji sequences.
{{ share_list(cv.emoji, 10) }}{% else %}No emoji.
{% endif %}