Giter Site home page Giter Site logo

Comments (4)

dmort27 avatar dmort27 commented on July 30, 2024

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.

rezemika avatar rezemika commented on July 30, 2024

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.

dmort27 avatar dmort27 commented on July 30, 2024

I believe this is fixed now. Please have a look.

from epitran.

rezemika avatar rezemika commented on July 30, 2024

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)

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.