Code Monkey home page Code Monkey logo

Comments (7)

ruohoruotsi avatar ruohoruotsi commented on August 29, 2024

Hello @emmadedayo, for NLTK please refer to the README. Please note that NLTK will need some extra efforts if you've installed it for the first time.

you will need to run python3 from your terminal and do:

 >>> import nltk
 >>> nltk.download('punkt')

This will download the necessary NLTK parts ... otherwise you'll have the error below

Resource punkt not found.
Please use the NLTK Downloader to obtain the resource:

Let me know if that helps.

from yoruba-adr.

ruohoruotsi avatar ruohoruotsi commented on August 29, 2024

@emmadedayo If it will be helpful, I can upload a video that shows the steps in closer detail. Let me know how you get one with the setup. Cheers.

from yoruba-adr.

emmadedayo avatar emmadedayo commented on August 29, 2024

okay @ruohoruotsi, have done it but still showing error
screenshot from 2019-03-07 17-34-42

from yoruba-adr.

ruohoruotsi avatar ruohoruotsi commented on August 29, 2024

@emmadedayo this error is not related to NLTK. The error says to "Please check the path of your train src and tgt files". Since the NLTK issue is resolved I will close this issue.

Regarding the most recent error: I will upload a video that shows the expected output starting from cloning the repo and running the build script.

from yoruba-adr.

emmadedayo avatar emmadedayo commented on August 29, 2024

Okay @ruohoruotsi,pls upload video

from yoruba-adr.

ruohoruotsi avatar ruohoruotsi commented on August 29, 2024

@emmadedayo
(1) Please study the video https://www.youtube.com/watch?v=Lh7XFc7S_8Y, as I clone 2 repos (having already installed dependencies & NLTK) to get the newest code
(2) then I run the training script.

It is important to check the first errors you encounter, for example above in your error-output, your data preprocessing step is failing. You have to debug why. If you follow the steps on a clean system, tested on Linux/Ubuntu & MacOS, you shouldn't meet any problems. Let me know how you get on, and we'll work to resolve all issues.

from yoruba-adr.

ruohoruotsi avatar ruohoruotsi commented on August 29, 2024

@emmadedayo I have added a Quickstart using a pre-trained model (so you don't have to train your own model). Please try this short Jupyter notebook and see if it can help out. Cheers

https://github.com/Niger-Volta-LTI/yoruba-adr/blob/master/correct_yoruba_diacritics.ipynb

from yoruba-adr.

Related Issues (20)

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.