qhwa

qhwa

WordInfo - Useful linguistic information of headwords

Hi fellows,

word_info is a small library providing some useful information for headwords.

So far it provides:

  • Syllables
  • Frequency of use
  • Pronunciations, in IPA and ARPABET formats

This library was developed in need of my dictionary project. I hope someone else can find it useful too!

Any feedback is welcome.

Please have fun!

Most Liked

qhwa

qhwa

FYI. word_info v0.2.0 has been published, changelogs:

  • some improvements on performance.
    In the first released version, dictionary data is compiled directly into BEAM codes. This may cause freezing (~3s) on starting the application, which may be a problem for an application who needs to boot as fast as possible.

    In v0.2.0, the data is converted into an ETS table dump at compile-time. This allows the code to be tidy and provides a fast boot.

  • fix a typo on returning value

PS. I want to thank all the people and their valuable discussions involved in this thread, which leads me to a better approach:

Phillipp

Phillipp

I do not actually need this right now, but I am sure that if someone has a need for such a thing, it might also be needed for other languages other than english.

Cochonours

Cochonours

That’s what I was going to say as well. I would like to be able to use such a library, but I would consider it only if it works for the different languages supported on my website.

It would be super nice to get the IPA pronunciation of words in many different languages as well. Arpabet seems to be restricted to English so that function would only work for that language I guess.

I think both pronunciation and syllables can be derived programmatically for quite a few languages (easy mode for Spanish/Italian/Korean), if no extensive resource exists on the net.

Where Next?

Popular in Announcing Top

dbern
I’m excited to announce that TaxJar has developed and open-sourced DateTimeParser. We developed it because we found a need to parse user ...
New
Crowdhailer
Experimenting with this code. OK.try do user <- fetch_user(1) cart <- fetch_cart(1) order = checkout(cart, user) save_orde...
New
Qqwy
Hello everyone, I wrote a small library today called MapDiff. It returns a map listing the (smallest amount of) changes to get from map...
New
treble37
Just looking for a little feedback on a tiny helper library I built - Sometimes I find the need to convert maps with atom keys to maps w...
New
michalmuskala
Another small library today. PersistentEts Hex: persistent_ets | Hex GitHub: GitHub - michalmuskala/persistent_ets · GitHub Ets table ...
New
sabiwara
Dune is a sandbox for Elixir and aims to safely evaluate user-provided code. You can try it out using this basic Elixir playground made ...
New
versilov
Could not wait for the missing Elixir ML libraries to appear, so, I wrote one myself, taking https://github.com/sdwolfz/exlearn as a foun...
New
mplatts
With HEEX released we decided to start a components library using Tailwind CSS - check it out here: Petal Components. We also have a boi...
New
kevinlang
Hey all, We have made an Ecto3 Adapter for SQLite3, ecto_sqlite3! We have successfully on-boarded the full suite of integration tests (...
New
mattludwigs
Grizzly is a library for working with Z-Wave devices. Z-Wave is a low-frequency radio protocol for controlling smart home devices on a me...
New

Other popular topics Top

sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29603 241
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement