nsafai / recipe-parser

Natural language parser for recipe ingredients that can also combine ingredients
24 stars 34 forks source link

added italian language #8

Closed suprmat95 closed 3 years ago

suprmat95 commented 3 years ago

Hi @nsafai,

I added the Italian language 😊 .

Now the function need also the parameter language , eng or ita

suprmat95 commented 3 years ago

about #7 I also added the support to exclude the prepositions at beginning of ingredients name. Also in this case I support multilangue, for example: engPrepositions=['of'] itaPrepositions=['d\'','di']

In this way we can extract the correct ingredient name from string like 1 kg of onion or in italian 1 kg di cipolla