Comments (3)
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.
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.
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)
- some tokens not recognized as equal in plot_collection HOT 1
- Attribute `dialect_list` returns `TypeError` HOT 1
- remove allophone column before grouping to avoid pandas warning
- add docs for values_with_allophones
- A problem with usage HOT 3
- basic tests
- ΙΆ not found HOT 1
- add dialect filter HOT 1
- TypeError: normalize() argument 2 must be str, not float HOT 1
- add SAMPA conversion
- dialect-specific allophones HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phones.