Giter Site home page Giter Site logo

Comments (6)

suranah avatar suranah commented on July 25, 2024

Thank you for your comment, Prof. Lee. We will try to get back to you soon on this.

from practical-nlp-code.

knslee07 avatar knslee07 commented on July 25, 2024

Thank you suranah.
I did my homework a bit more.
Both wget and apt-get are linux line commands for downloading and installing. Even though I installed wget for Windows, !wget in Jupyter did not work. I worked around this by running the line (!wget ...) on cmd or Power Shell. For some reason, however, the command itself was not sufficient and added "--no-check-certificate". After getting data on cmd, I came back to Jupyter and ran the rest of the lines.
For apt-get, it does not seem to be possible to use that command on Windows. There are alternatives like oneget, appget, winget, chocolatey. For platform-neutral scripts or for Windows users, other alternative codes may be needed that use oneget or winget or choco with installation instructions. This should apply for all the other codes in the following chapters.

from practical-nlp-code.

varunp2k avatar varunp2k commented on July 25, 2024

Prof. Lee. We are working to fix this issue here. A temporary fix would be to use the python wget package.
!pip install wget
import wget
wget.download(Download URL)
In the case of Ch4 notebook it will be:
wget.download('https://raw.githubusercontent.com/practical-nlp/practical-nlp/master/Ch4/Data/Full-Economic-News-DFE-839861.csv')
Then you can set the path appropriately.

Apologies for the inconvenience caused. We are actively working fixing this and making the experience as smooth as possible for all users.

Regards,
PracticalNLP Team

from practical-nlp-code.

suranah avatar suranah commented on July 25, 2024

Thanks again for opening this issue, Prof. Lee. We are working on making sure the experience is as seamless as possible on Windows.

As our book is now being adopted as the official textbook for universities in Virginia, Texas & Germany, we have made a longer roadmap for 2020 to fix a range of issues that have been raised. You can read the roadmap here:

#14

Would love your feedback on it. Thank you!

from practical-nlp-code.

knslee07 avatar knslee07 commented on July 25, 2024

Thank you for your reply Harshit. Good to hear that the book has been adopted at several colleges.
One way to get issues around is WSL. I was able to avoid most of the issues by installing WSL on my Windows and Anaconda on WSL. Your scripts work way better on Linux thanks to the similarity between Mac Terminal and Linux Bash.
Still, there are quite a few issues like dependency. Many modules are imported without being first installed. It would be no problem on your Mac, but first-time nlp reader will not be able to run the scripts. Don't know exactly why but it is harder to use terminal command in Jupyter on Windows (even with admin status), so I had to get out of Jupyter and installed modules on Terminal and got back. Also, there are issues of 'pip install' and 'anaconda install'. I suggest you clean install Anaconda or clean Python and run the codes in Jupyter notebook on Windows,

Another issue I found was about topic modeling in Ch. 7. The data used for the demonstration is located in the local path: data_path = "/home/etherealenvy/Downloads/booksummaries/booksummaries.txt". There is no way for others to follow the notebook.

from practical-nlp-code.

varunp2k avatar varunp2k commented on July 25, 2024

Prof. Lee. For Ch7, we have added the dataset link in the DATA folder and also updated all the notebooks with necessary links.

Regards,
PracticalNLP Team

from practical-nlp-code.

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.