phonetic-languages-phonetics-basics-0.11.0.0: A library for working with generalized phonetic languages usage.
Copyright(c) Oleksandr Zhabenko 2021-2024
LicenseMIT
Maintaineroleksandr.zhabenko@yahoo.com Provides functions to read data specifications for other modules from textual files.
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010

Phladiprelio.General.SpecificationsRead

Description

 
Synopsis

Documentation

groupBetweenChars Source #

Arguments

:: Char

A delimiter (can be used probably multiple times) used between different parts of the data.

-> [String]

A list of String that is partitioned using the String starting with the delimiter.

-> [[String]] 

getGWritingSystem Source #

Arguments

:: Char

A delimiter (cab be used probably multiple times) between different parts of the data file. Usually, a tilda sign '~'.

-> String

Actually the String that is read into the result.

-> GWritingSystemPRPLX

The data is used to obtain the phonetic language representation of the text.

An example of the needed data structure to be read correctly is in the file gwrsysExample.txt in the source tarball.