Syllabifier


The service «Syllabifier» allows the user to receive text in an allophone form with division into syllables. At the entrance of the service is given any text in the Belarusian language. At the output, the user receives the input text in the allophone form, as well as the input text in the allophone record divided into syllables.

 

Basic terms and concepts

A syllable is a part of a word formed by a vowel sound or its combination with consonants based on the pronunciation that is consistent with them.

Syllable boundary is the definition of boundaries between syllables in a word and at the junction of words [1].

 

Practical value

The purpose of this service is an automated division into syllables of words that may be needed in the work of linguists, as well as those who are studying the characteristics of the language, pronunciation.

 

Features of the service

As a result, the service gives the input text in the allophone form both with division into syllables and without division. The boundaries of the syllables are indicated by the symbol «>».

 

User Interface Description

The service interface is shown in Figure 1.

 

Figure 1. User interface of the service «Syllabifier»

 

The interface has the following areas:

  • text input area;
  • the button «Syllabify!», which allows you to get results;
  • allophone text output area;
  • text output area in syllabic allophone record.

 

User script for working with the service

  • Enter text in the input field.
  • Press the «Syllabify!» Button to get results.
  • View results: allophone text and allophone text divided into syllables (Figure 2).

 

Figure 2. «Syllabifier» results example

 

Access to the service via the API

To access the service «Syllabifier» via the API, you should send an AJAX-request (type: POST) to the address https://corpus.by/Syllabifier/api.php. With an input array data the following parameters are passed:

  • text — arbitrary input text in Belarusian.

Example of AJAX-request:

$.ajax({
   type: “POST”,
   url: “https://corpus.by/Syllabifier/api.php”,
   data:{
      “text”: “Груша цвіла апошні год.”
   },
   success: function(msg){ },
   error: function() { }
});

The server returns a JSON-array with the following parameters:

  • text — input text.
  • AllophonicResult — input text in allophonic form.
  • SyllabifierResult — allophonic text divided into syllables.

For example, the following reply will be formed on the above listed AJAX-request:

[
   {
      “text”: “Груша цвіла апошні год.”,
      “AllophonicResult”: “GH004,R022,U022,SH002,A323,/,C’002,V’002,I241,L002,A012,/,A221,P001,O012,SH002,N’004,I242,/,GH001,O032,T000,/,#P4,”,
      “SyllabifierResult”: “>,GH004,R022,U022,>,SH002,A323,/,>,C’002,V’002,I241,>,L002,A012,/,>,A221,>,P001,O012,>,SH002,N’004,I242,/,>,GH001,O032,T000,/,>,#P4,”
   }
]

 

Links to sources

Service page: https://corpus.by/Syllabifier/?lang=en

 

External links

  1. Метадычныя рэкамендацыі па раздзеле «Фанетыка. Фаналогія» курса «Сучасная беларуская мова» // Электронные средства обучения ГрГУ [Электронны рэсурс]. — 2017. Рэжым доступу : http://ebooks.grsu.by/gachko_phonetic/sklad-skladapadzel-natsisk.htm. — Дата доступу : 31.03.2017.

If you have found a spelling error, please, notify us by selecting that text and pressing Ctrl+Enter.