<jupyter_start><jupyter_text>Launch Text-Fabric with all features loaded<jupyter_code>A = use('oldbabylonian', hoist=globals(), check=True)<jupyter_output>TF app is up-to-date.
Using annotation/app-oldbabylonian commit 1f12c687368dec8eabefe35264a30f4d5eac3fb4 (=latest)
  in /Users/dirk/text-fabric-data/__apps__/oldbabylonian.
No new data release available online.
Using Nino-cunei/oldbabylonian/tf - 1.0.1 rv1.0.1 (=latest) in /Users/dirk/text-fabric-data.<jupyter_text>Quick exercisesWhat are the determinatives?<jupyter_code>determinatives = collections.Counter()

for s in F.otype.s('sign'):
  if F.det.v(s):
    determinatives[F.reading.v(s) or F.grapheme.v(s)] += 1
determinatives<jupyter_output><empty_output><jupyter_text>What is the language use?The main language is Akkadian, but parts are in the secondary language, which is Sumerian.All words with `langalt=1` are Sumerian:<jupyter_code>F.langalt.freqList()<jupyter_output><empty_output><jupyter_text>What are the kinds of *signs*?Signs have a feature `type`, but so have clusters.We only want the frequencies of *sign* types:<jupyter_code>F.type.freqList('sign')<jupyter_output><empty_output><jupyter_text>* **commentline**  does not correspond to inscribed material, but is an artificial sign that carries a ` $ ` line comment* **comment** corresponds to an inline comment `($ $)`* **unknown**: the symbol `x` or `X`* **ellipsis**: the symbol `...`* **reading**: the most common sign, just containing a reading, e.g. `ma`* **grapheme**: a logogram, such as `ARAD`, which is not in the feature `reading` but in the feature `grapheme`* **numeral**: a complex sign, either a repetition of a reading or grapheme, or a combination of a fraction and a  reading or grpaheme* **complex**: a complex sign, either a ligature of a reading and a grapheme connected by `x` or a correction  of a reading by a grapheme, written as *reading*`!(`*grapheme*`)` The total number of signs that correspond to something inscribed:<jupyter_code>META_TYPES = {'commentline', 'comment'}
READABLE_TYPES = {'reading', 'grapheme', 'numeral', 'complex'}

inscribed = 0
readable = 0

for s in F.otype.s('sign'):
  typ = F.type.v(s)
  if typ in META_TYPES:
    continue
  inscribed += 1
  if typ in READABLE_TYPES:
    readable +=1
  
print(f'{inscribed} inscribed signs of which {readable} readable')<jupyter_output>202249 inscribed signs of which 191903 readable<jupyter_text>Frequency of the readings (Akkadian) and of the graphemes (Sumerian)<jupyter_code>F.reading.freqList()[0:30]
F.grapheme.freqList()[0:30]<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12179984484096198, 'fraction_numerical': 0.01978277734678045, 'mean_word_length': 5.932795698924731, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '555605', 'license': 'MIT', 'n_tokens_mistral': 939, 'n_tokens_neox': 887, 'n_words': 266, 'path': 'analysis/analysis.ipynb', 'repo_name': 'Nino-cunei/oldbabylonian', 'size': '2578'}