aftovolio-0.2.1.0: An AFTOVolio implementation for creating texts with special phonetic / prosodic properties.
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 HaskellSafe-Inferred
LanguageHaskell2010

Aftovolio.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 Lexeme that is partitioned using the Lexeme 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 Lexeme 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.