Comments (4)
I'll look into fixing these problems. If you can generate more test data for French, it would be helpful to me in improving French support.
from epitran.
Of course. Here are some words ready for testing. I'll see if I can generate them automatically from Wikitionary.
Final 's'
# "Il" / "Ils"
self._derivation('il', 'il')
self._derivation('ils', 'il')
# "Fusil"
self._derivation('fusil', 'fy.zi')
self._derivation('fusils', 'fy.zi')
# "Œuf"
self._derivation('œuf', 'œf')
self._derivation('œufs', 'œf') # Many French people pronounce "ø", but this one is valid too.
# "Décret"
self._derivation('décret', 'de.kʁɛ')
self._derivation('décrets', 'de.kʁɛ')
# "Loi"
self._derivation('loi', 'lwa')
self._derivation('lois', 'lwa')
Final 'es'
# "Dame"
self._derivation('dame', 'dam')
self._derivation('dames', 'dam')
# "Garage"
self._derivation('garage', 'ɡa.ʁaʒ')
self._derivation('garages', 'ɡa.ʁaʒ')
# "Faire" verb
self._derivation('fait', 'fɛ')
self._derivation('faits', 'fɛ')
self._derivation('faites', 'fɛt')
# "Homme"
self._derivation('homme', 'ɔm')
self._derivation('hommes', 'ɔm')
# "Personne"
self._derivation('personne', 'pɛʁ.sɔn')
self._derivation('personnes', 'pɛʁ.sɔn')
from epitran.
I believe this is fixed now. Please have a look.
from epitran.
You're right, thank you!
Sorry for not providing more test cases, I was so busy lately.
PS: I'm not sure it was the case before, but the return transliteration of the plural form of garçon
(garçons
) is ɡarson
(the test case expects ɡarsɔ̃
).
from epitran.
Related Issues (20)
- TL;DR if you have troubles pipping epitran, try pip install marisa-trie first
- Possibility of using regex for generating geminates HOT 2
- Stress and syllables splitting HOT 1
- FileNotFoundError for code 'cmn-Latn' HOT 3
- Many Chinese words are not transcribed by cmn-Hans/cmn-Hant
- import epitran shows an error HOT 10
- Not able to pip install problem with building Edit Distance HOT 1
- Portuguese dictionary is missing entry for õe
- Loading mapping files from other locations HOT 1
- Greek transliteration
- `panphon>=0.20` required but latest release it panphon 0.19.1 HOT 1
- How to judge whether the input text is "continuous single letter pronunciation" or "word pronunciation"
- Portuguese digraphs
- Handing of hetronyms
- Problem with 'fra-Latn' for some words HOT 2
- Regex error HOT 1
- Extraneous unicode character in Kazakh HOT 3
- Punjabi 2 diacritic symbols separated from associated character HOT 2
- Errors when instantiating using certain codes HOT 4
- Best way to get a delimited transliteration with XSampa HOT 6
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 epitran.