jalajthanaki / POS-tag-workshop

Understanding of POS tags and build a POS tagger from scratch
11 stars 7 forks source link

Transalation API #2

Open shantanuo opened 6 years ago

shantanuo commented 6 years ago

Is it possible to use spacy to translate english text to hindi?

jalajthanaki commented 6 years ago

Yes. Spacy can be used. It's majorly depend on what kind of features you are trying to extract using Spacy. Spacy can be useful if you are trying to incorporate following features.

If you want to build the translation API using Deep Learning then I would suggest please refer this repository

shantanuo commented 6 years ago

Can you show sample code that will translate english text to Hindi using spacy?

jalajthanaki commented 6 years ago

Shantanuo, As per my knowledge, Spacy does not have direct translation API for EN-HN. In that case you need to build the translation system by your own or you can use Google's translation APIs. Here is the link

If you are want to use spacy then you can extract the features such as POS tag, Dependency relations among phrases, NER and so on. After that you need to apply Statistical Machine Translation techniques but as per my experience, Deep Learning (DL) works better so I have suggested that to you.

shantanuo commented 6 years ago

I am aware of Google / Microsoft / Amazon API. But I am looking for something from open source and /or Machine Learned model. I had seen an example on the net. I guess it used spacy to translate English to Hindi. But I do not remember the link of blog post. If you come across spacy (or any other) api, then please me know.

jalajthanaki commented 6 years ago

Sure, I will.

jalajthanaki commented 6 years ago

Hi Shantanuo, Yandex Translation API: This is the service which provides the EN-HN translation. It is free tool but it has limit on text content and no. of request in time limit. You can take a look.