Giter Site home page Giter Site logo

kaljurand / grammars Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 4.0 9.99 MB

Grammatical Framework based speech recognition grammars for Estonian, English and potentially many more languages

Home Page: http://kaljurand.github.io/Grammars/

Grammatical Framework 94.14% Shell 3.47% Python 1.86% Makefile 0.53%
grammatical-framework estonian english speech-recognition

grammars's People

Contributors

kaljurand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jurip travlo26

grammars's Issues

Map place names to coordinates

The current solution of mapping placenames to themselves has several problems

  • assumes that the executing app can do geocoding
  • assumes that the executing app has knowledge of Estonian, e.g. that 'Tolla' and 'Tõlla' are not spelling variants
  • does not handle naming ambiguity within the grammar

There should be at least 2 linearization formats:

  • 59.123,24.321 (coordinates)
  • Village name, County name (disambiguation in language X)

The downside is that the grammar gets 3 times bigger.

Support numbers up to ~10^12

The Numeral-grammar currently supports numbers up do 999999 (10^6), but this is not enough for some common expressions, e.g. including some world currencies.

Support optional prefix: kui palju on

as in

kui palju on kaks meetrit jalgades

Often this is more natural to say. Also it might reduce errors (e.g. when using the Action grammar which combines many grammars with similarly sounding sentences).

Support weather queries with Estonian placenames

For example translate

ilmateade Pariisi

to

weather Pariisi, Estonia

This query is supported by both Google Search and WolframAlpha.
(Support nominative singular placenames for the time being.)

2013-01-12 13 09 04

Add a script which generates using JSGF and parses with GF

This script could be used in testing to make sure that no unwanted (or avoidable) approximation has occurred during the GF->JSGF conversion.

The script should highlight phrases which are accepted by the JSGF but not by the original GF grammar. We know that approximation happens during JSGF->FSA, but maybe it happens already during GF->JSGF in which case it can probably be avoided by redesigning the grammar.

Proper support for kitchen conversions

Add support for mass <-> volume conversion parametrized by a closed set of substances (sugar, flour, coco powder, corn starch, and buckwheat) or a given density value 0.719 g/ml. E.g.

150 grammi jahu milliliitrites
150 grammi milliliitrites eeldusel et ühes liitris on 12345 grammi

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.