Giter VIP home page Giter VIP logo

langsync's Introduction

LangSync(A solution to generate parallel datasets for low-resource languages).

Instructions:

  1. Download the UIPath Studio and its browser extension. Enable the extension in your browser.

  2. Download the LangSync.zip file.

  3. Unzip and move it to the UIPath directory(Path given during installation).

  4. Collect the English sentences you want to use for training, and add them to a text file. Sentences should be separated by '\n' and a '$' key should be used after every 5000 characters because of the limits.

  5. After following the preprocessing in step-4, name the text file as input and replace it with the input.txt file in the LangSync directory.

  6. Now open the UIPath studio and you can find the process named ParallelCorpus. Click on it and then click on the "open main workflow" dialogue.

  7. You can now run the automation by clicking the "Debug file" button on the top left and then selecting "Run File".

  8. The default source and target languages are English and Hindi. To change them, follow these steps:

    -> Scroll down until you see the "Browser URL" element.

    -> Then double-click on the URL and change the 'sl' and 'tl' values to your desired language codes.

    -> Find your language codes here.

  9. The output parallel dataset for your language can be found in the output.txt file in the LangSync directory. Execution time depends on the size of the input file. You can keep track of the progress with the help of the count.txt file.

  10. Below are sample input and output files for your reference.

Sample Input

image

Sample Output

image

langsync's People

Contributors

prudhvirajuchekuri avatar

Stargazers

 avatar

Watchers

 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.