Giter VIP home page Giter VIP logo

normafe-1's Introduction

NormAFE

The tool creates dictionaries for micro-blogs normalisation, in a form of pairs of misspelled word with its standard-form word, in the languages: Arabic, French and English.

Developer
Amal Htait
Ph.D. Candidate, Marseilles, France.

Citation

If using this code or these word embedding models, please cite our work using : 
		@inproceedings{htait18, 
  		title={Unsupervised Creation of Normalisation Dictionaries for Micro-Blogs in Arabic, French and English}, 
  		author={Htait, Amal  and Fournier, Sebastien and Bellot, Patrice}, 
  		booktitle={International Conference on Computational Linguistics and Intelligent Text Processing}, 
  		year={2018} 
		} 

Acknowledgments
This work has been supported by the French State, managed by the National Research Agency under the "Investissements d'avenir" program under the EquipEx DILOH projects (ANR-11-EQPX-0013).

License
NormAFE is released under the terms of the GPL version 2.

Project Information
Text normalisation is a necessity to correct and make more sense of the micro-blogs messages, for information retrieval purposes. Unfortunately, tools and resources of text normalisation are rarely shared. In our paper, an approach is presented based on an unsupervised method for text normalisation using distributed representations of words, known also as "word embedding", applied on Arabic, French and English Languages. This tool is supplied to create dictionaries for micro-blogs normalisation, in a form of pairs of misspelled word with its standard-form word, in the languages: Arabic, French and English.

This script include

1 - Three word embedding models of size :
	Arabic : 9 million words  (Models/AR/modelAR_newData_skip_gram)
	English : 5 million words  (Models/EN/modelEN_newData_skip_gram)
	French : 415 thousand words  (Models/FR/modelFR_newData_skip_gram)
2 - Three exemplary normalisation dictionaries :
	English : 18 thousand pairs  (Example_Dictionaries/EN_18_thousand_pairs.txt)
	Arabic : 10 thousand pairs  (Example_Dictionaries/AR_10_thousand_pairs.txt)
	French : 3 thousand pairs  (Example_Dictionaries/FR_3_thousand_pairs.txt)

Prerequisites

- Python 2.7.13
- gensim
- nltk 3.2.2
- difflib

Usage by command line
python NormAFE.py file_name language nbOfSimilarWords
The output will be found in the folder Dictionaries, and has the name : fileName_nbOfSimWords_dictionary.
And will contain a list of pairs of misspelled word with its standard-form word.

Example
An example of use with a file named list_ar, in Arabic language, with dictionary created based on 5 most similar words:

python NormAFE.py list_ar AR 5

normafe-1's People

Contributors

amalhtait avatar

Watchers

James Cloos avatar

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.