region:us
# Evaluation of machine translation by NLP

The following algorithms are common methods used to evaluate machine translation, and all these algorithms have been implemented and provided to you in the form of a document.


The photo below is the result of these algorithms on 9 sentences in one of the Iranian machine translation sites : 


![image](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/assets/89921883/cd03abce-8d67-4fff-aae5-ead8eba8b14f)



| metric | document in persain    | code | document in persain (google colab)
| :---:   | :---: | :---: | :---: |
| Tool | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/duc-fa/tool.ipynb)   | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/tree/main/metric/tool)   | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1uPUFC6E5E5-2A9KVlNGhIIIhfx9-7jH6) |
| BLEU | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/duc-fa/bleu.ipynb)   | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/metric/bleu_score.py)   | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/12ahuWBkulydvlHbyMXK_SMTBxr_H5HCd) |
| NIST | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/duc-fa/nist.ipynb)   | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/metric/nist_score.py)   | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1cCHdi2-hOdT-ZQLtyhRIJ_J2CqUF5V1y) |
| GLEU | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/duc-fa/gleu.ipynb)   | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/metric/gleu_score.py)   | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1tIApcx9RAHll3hMtvEXjwMrx5Z00aUAC)  |
| METEOR | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/duc-fa/meteor.ipynb)   | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/metric/meteor_score.py)   | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1XG3UsA_x6_FobK-XxO16UFyVjC6mJ43e) |
| WER | [Click on](https://dl.acm.org/doi/pdf/10.5555/1289189.1289273)   | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/metric/wer_score.py)   | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1DE_UIYWdnKAk56DPfZGd1AK7APCgrGsL?usp=sharing) |
| CHRF(3) | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/duc-fa/chrf.ipynb)   | [Click on](https://github.com/parvvaresh/Evaluation-of-machine-translation-by-NLP/blob/main/metric/chrf_score.py)   | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/17Ag-uxviqx24rKElyHXNOpvpv2yb4RWP) |
