Coder Social home page Coder Social logo

vipranarayan14 / aksharas-web Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 3.0 170 KB

A web app for analysing the akṣaras and varṇas in a Devanagari text.

Home Page: https://aksharas.vipran.in

License: MIT License

TypeScript 55.34% HTML 27.71% CSS 16.95%
devanagari indic-scripts sanskrit-language indic-languages sanskrit characters character-counter syllabification syllables

aksharas-web's Introduction

Netlify Status

Aksharas

Aksharas is a utility web app for analysing the akṣaras and varṇas in a Devanagari text.

Many of the existing character counters are designed for English (Latin script) and do not support Devanagari. Even if they do, they only give the number of Unicode characters in the text. But people who read Devanagari count in terms of akṣaras (syllables) and varṇas (consonants and vowels). This tool helps those who read/type in the Devanagari script by providing information on the akṣaras and varṇas in their text. It also helps them easily identify typing errors such as extra vowel marks (काी) or colon (:) in the place of visarga by providing them with details on invalid and non-Devanagari characters.

The core functionalities are available as a library on npm.

License

MIT © Prasanna Venkatesh T S

aksharas-web's People

Contributors

vipranarayan14 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

aksharas-web's Issues

Use more appropriate count categories

Idea

Aksharas
Symbols
Others
Varnas
Chars
Invalid

इत्यस्य स्थाने -

स्वराः
व्यञ्जनानि
अक्षराः
देवनागरी-चिह्नानि
देवनागरी-सङ्ख्याः
Chars
Others
​Invalid​

Tasks

List invalid characters

The current interface displays the count of invalid chars in the input text. Highlighting/listing those invalid characters and their location would make it easier for the user to correct them.

Ideas for displaying:

  • Mouseover/ click on invalid should list the invalid chars. (suggested by @vvasuki).

Count a `yogavaha` char after a `yogavaha` char as invalid

Example:

सःः

Current behaviour:

The extra visarga after सः is considered as a part of it and thus, सःः as a single akshara.

Expected behaviour:

The extra visarga should be considered as an invalid char, and only सः should be regarded as an akshara.

show analysis of aksharas

Idea

  • Show the aksharas and varnas for each word in the input
  • Use table format so that it be easy to understand.
word/line varnas (subtotal) aksharas (subtotal) matras (subtotal)
रामः र्·आ·म्·अः (4) रा·मः (2) गु·गु (4)

Other features that can be added:

  • Option to group akshara analysis by: aksharas, words (space as boundary) (default) and lines (newline as boundary).
  • Details on uccharANa kAla for varnas. (maybe)
  • Details uccharANa sthana-prayatna for varnas. (maybe)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.