Command line linguistic tools: display pronunciation, convert between regional norms of orthography

Related tags

Command-line lngcnv
Overview

WHAT IS LNGCNV

'lngcnv' may stand for 'language converter', 'linguistic converter', 'lenguaje convertido', and the like.

lngcnv constitutes a set of linguistic tools which allow (a) displaying pronunciation of a phrase and (b) converting between different (e.g., regional) norms of orthography when a word or some piece of text is provided as an argument directly from the command line.

Multiple modern and ancient languages are (projected to be) supported.

SUPPORTED LANGUAGES

1. English: orthography

– Transcribe into American English

2. Latin: pronunciation & orthography

– Reconstructed pronunciation of Classical Latin

– Transcribe into the ancient orthographic convention (before the 2nd c. AD)

3. Polish: pronunciation

– Pronunciation of the Polish Language (Częstochowa)

4. Quechua: pronunciation & orthography

– Pronunciation of Ayacucho Quechua (Wanta)

– Transcribe between the trivocalic and the pentavocalic orthographies

5. Tikuna: pronunciation & orthography

– Two variants of pronunciation (Nazareth, CO; Umariaçu, BR)

– Four distinct orthographies (Brazil; Colombia; Peru–ILV; Peru–FORMABIAP)

Support for more languages, including the pronunciation of English and Spanish, is under development.

INSTALLATION ON LINUX

METHOD 1

1. Install from crates.io by the use of cargo:

cargo install lngcnv --version 1.2.0

By default, the file will be downloaded to .cargo/bin/, a hidden folder in your home directory.

2a. For convenience, you will probably want to copy lngcnv to /usr/bin/ as in Method 2 (3a, 3b).

2b. Alternatively, add ~/.cargo/bin directory to your PATH variable (see documentation of your shell).

METHOD 2

1. Download the binary 'lngcnv' for Linux x86_64 from GitHub:

https://github.com/piotrbajdek/lngcnv

2. Make the file executable:

sudo chmod +x ./lngcnv

3a. Install lngcnv via copying the binary to /usr/bin/

sudo cp lngcnv /usr/bin/

3b. On Fedora Silverblue / Kinoite:

sudo cp lngcnv /var/usrlocal/bin/

METHOD 3

Download the lngcnv source from GitHub, build, rename and install the program:

rustc ./main.rs

mv main lngcnv

sudo cp lngcnv /usr/bin/

THE OFFICIAL LNGCNV FORUM

The best place to ask questions or share ideas on lngcnv:

https://github.com/piotrbajdek/lngcnv/discussions

CHECK OUT THE LNGCNV WIKI

https://github.com/piotrbajdek/lngcnv/wiki

LNGCNV ON CRATES.IO

The Rust community’s crate registry

https://crates.io/crates/lngcnv

You might also like...
Miscellaneous command-line tools

Miscellaneous command-line tools Please note that this software is not "open source", but the source is available for use and modification by individu

A toolkit for building your own interactive command-line tools in Rust

promkit A toolkit for building your own interactive command-line tools in Rust, utilizing crossterm. Getting Started Put the package in your Cargo.tom

command line tools for coprolite research (paleontology and archaeology): estimate the producer's body mass based on coprolite diameter by the use of regression models
command line tools for coprolite research (paleontology and archaeology): estimate the producer's body mass based on coprolite diameter by the use of regression models

OVERVIEW OF COPROSIZE coprosize employs power, exponential and cubic regression models allowing to estimate the producer's body mass based on coprolit

⚙️ A curated list of static analysis (SAST) tools for all programming languages, config files, build tools, and more.
⚙️ A curated list of static analysis (SAST) tools for all programming languages, config files, build tools, and more.

This repository lists static analysis tools for all programming languages, build tools, config files and more. The official website, analysis-tools.de

Command-line HTTP client for sending a POST request to specified URI on each stdin line.

line2httppost Simple tool to read lines from stdin and post each line as separate POST request to a specified URL (TCP connection is reused though). G

Pink is a command-line tool inspired by the Unix man command.

Pink is a command-line tool inspired by the Unix man command. It displays custom-formatted text pages in the terminal using a subset of HTML-like tags.

Call is an easy-to-use command tools for remote development.
Call is an easy-to-use command tools for remote development.

Call is an easy-to-use command tools for remote development. It helps you to build remote development easily and elegant. It can work with makefile and justfile.

🧰 Download pre-built binaries of all your favourite tools with a single command
🧰 Download pre-built binaries of all your favourite tools with a single command

tool-sync tool-sync is a CLI tool that solves one problem: 📥 Download pre-built binaries of all your favourite tools with a single command. tool-sync

CLI app to display list of trending anime, music charts or recommend anime to watch or song to listen to.

Description Anitrendz is a cli app that uses data from the anitiop api to list the top anime and songs or recommend a random anime to watch or song to

Comments
  • Will separate data and code be a good idea?

    Will separate data and code be a good idea?

    Hi! I am a undergraduate student looking for good linguistic tools, and thank you for all the work! And I have some suggestions: when looking into the codebase, I found all the code in one file and the strings are hard coded in the main file. Will separate data and code be a good idea? It will make it much easier to maintain the code. Using "for" statement will also make the code easy to read, as well. I am writing a linguistic tool called phoneme_from_word which is in early development, you can check that on my page.

    enhancement 
    opened by leavelet 5
Releases(v1.7.0)
Owner
Piotr Bajdek
Piotr Bajdek
Rust code for T-Display S3 AMOLED, ESP32-S3 board with RM67162 AMOLED display

T-Display S3 AMOLED What is it? This is a Rust BSP for the Lilygo's T-Display S3 AMOLED board. RM67162 AMOLED driver in QSPI mode RM67162 AMOLED drive

BH1XUW 4 Jun 28, 2023
Rust command line utility to quickly display useful secrets in a Kubernetes namespace

kube-secrets This is a command line utility for quickly looking at secrets in a Kubernetes namespace that are typically looked at by humans. It specif

Frank Wiles 8 Feb 10, 2022
This is a simple command line application to convert bibtex to json written in Rust and Python

bibtex-to-json This is a simple command line application to convert bibtex to json written in Rust and Python. Why? To enable you to convert very big

null 3 Mar 23, 2022
hj is a command line tool to convert HTTP/1-style text into JSON

hj hj is a command line tool to convert HTTP/1-style text into JSON. This command is inspired by yusukebe/rj, which is a standalone HTTP client that s

FUJI Goro 10 Aug 21, 2022
Command line tool to convert env variables beginning with user to a htpasswd file

envhtp This command line tool converts environment variables whose keys start with "user_" into htpasswd compatible username/password pairs. The goal

Florian Neumann 1 Apr 5, 2022
Small command-line tool to switch monitor inputs from command line

swmon Small command-line tool to switch monitor inputs from command line Installation git clone https://github.com/cr1901/swmon cargo install --path .

William D. Jones 5 Aug 20, 2022
convert nostr keys and note-ids between hex and bech32

Key-Convertr People are copy-pasting nostr private keys into webpages to convert between the original hex-encoding and bech32-encoding (specified in N

Rijndael 14 Jan 9, 2023
A command line interface meant to bridge the gap between Rust and shell scripting

clawbang A command line interface meant to bridge the gap between Rust and shell scripting. Intended for use with HEREDOCs and shebangs: $ clawbang <<

Chris Dickinson 52 Mar 25, 2022
A system clipboard command line tools which inspired by pbcopy & pbpaste but better to use.

rclip A command line tool which supports copy a file contents to the system clipboard or copy the contents of the system clipboard to a file. Install

yahaa 3 May 30, 2022
Tool to create web interfaces to command-line tools

webgate This command line utility allows you to: serve files and directories listed in a config file remotely run shell commands listed in a config fi

Nathan Royer 2 Jan 8, 2022