- Notifications
You must be signed in to change notification settings - Fork3
Susurrus-LLC/langua
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Langua is a suite of language tools that can be used for testing, experimentation, learning, analysis, or creation. There are several main tools:Gen,Morph,Deriv,Frequen,Tree, andLex.
LanguaGen is a tool for automatically building a set of words based on arbitrary rules of phonotactics. This can be used to create a dummy vocabulary for linguistic experimentation, to generate words or names for a naming language in a work of fantasy or science fiction, or as the basis for building the vocabulary of a constructed language.
LanguaMorph is a tool for modeling historical sound change according to arbitrary rules of phonetic change.
LanguaDeriv is a tool for modeling word derivation based on a given list of lexemes and affixes.
LanguaFrequen is a tool for analyzing phoneme frequencies in a given text.
LanguaTree is a tool for drawing and labeling syntax trees.
LanguaLex is a tool for building a lexicon or dictionary for a language and exporting it to various formats.
Langua is a web-based tool built on JavaScript, and it does not use a database, so it can be installed almost anywhere without need for running a back-end server. You simply need to run the build command to build the files, then deploy to your site.
If you are installing Langua in the subfolder /langua (e.g.*.com/langua/
), all you need to do is build and deploy:
- Download and unpack thelatest release.
- Install the dependencies with
yarn
. - Build the project with
yarn build
. - Copy the contents of the resulting /build folder into the /langua subfolder on your server. You're done!
If you are installing Langua in a subfolder (e.g.*.com/languages/
), you will need to change the basename for the router before you build the project:
- Download and unpack thelatest release.
- Install the dependencies with
yarn
. - Open
gatsby-config.js
and changepathPrefix: `/langua`,
topathPrefix: `/yoursubfolder`,
. - Build the project with
yarn build
. - Copy the contents of the resulting /build folder into the appropriate subfolder on your server. You're done!
If you are installing Langua in a website's root (e.g. a URL that ends in.com
,.org
, or similar):
- Download and unpack thelatest release.
- Install the dependencies with
yarn
. - Open
gatsby-config.js
and changepathPrefix: `/langua`,
topathPrefix: ``,
, then remove the--prefix-paths
option from thebuild
andserve
commands. - Build the project with
yarn build
. - Copy the contents of the resulting /build folder into the root of your server. You're done!
Langua uses an unstable Master branch. The master branch is used for development, while stable versions are provided as releases. Version numbering is similar toSemantic Versioning; versions are listed as x.y.z., wherein z refers to bug fixes and very minor updates, y refers to minor additions and updates to functionality, and x refers to major updates or overhauls to the program that significantly impact workflow or the use of the program.
For a full list of all changes made in each version of Langua, see theChangelog.
- v0.0.x: Building the architecture of the site.
- v0.1.x: Building theGen tool; bug fixes and other small updates.
- v0.2.x:Gen tool basic functionality working; building theFrequen tool; bug fixes and other small updates.
- v0.3.x:Gen andFrequen tools basic functionality working; building theDeriv tool; bug fixes and other small updates.
- v0.4.x:Gen,Frequen, andDeriv tools basic functionality working; building theMorph tool; bug fixes and other small updates.
- v0.5.x:Gen,Frequen,Deriv, andMorph tools basic functionality working; building theLex tool; bug fixes and other small updates.
- v0.6.x:Gen,Frequen,Deriv,Morph, andLex tools basic functionality working; building theTree tool; bug fixes and other small updates.
- v1.x.x: All tools functional; bug fixes and ongoing development.
Please review thecontributing guidelines andcode of conduct before contributing.
See also the list ofpeople who have contributed to this project.
Langua was inspired by several existing tools, including:
Langua is licensed under theGNU Affero General Public License v3.0.
About
A suite of language tools