Giter VIP home page Giter VIP logo

Comments (3)

MiniXC avatar MiniXC commented on June 11, 2024 1

Thanks for raising this issue, fortunately it's an easy fix!

from phones import PhoneCollection
pc = PhoneCollection(drop_dialects=False)
pc.langs("cat").values

The problem here is that both languages don't have any entries without a "dialect" label in PHOIBLE, they obviously aren't dialects! I will have to add a filter for dialects, but for now, the solution above will work, although it will combine Western and North-Eastern Asturian, for example.

from phones.

agonzalezd avatar agonzalezd commented on June 11, 2024 1

Even though I am getting the phonemes for Catalan, those from Asturian are still missing... However, I saw that you opened a new issue #5 so I guess you are working on this :)

from phones.

MiniXC avatar MiniXC commented on June 11, 2024 1

Thanks for pointing this out, it has been fixed in 0.0.3!
You can see an example of the new API for dialects here (scroll all the way to the bottom): https://cdminix.me/phones/examples/basic_usage/

from phones.

Related Issues (12)

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.