Giter Site home page Giter Site logo

html_extracting's Introduction

html_extracting

html_extracting before machine learning

Set up the git environment so to follow easily libraries&&packages and codes

Python 3.5.2 installation

  1. zlib error => manually downloaded zlib.tar and ./configure, make, and make install because of 'Mojave'

Setting up the virtualenv pyenv versions -> to check the available python versions pyenv virtualenv 3.5.2 htmlEX -> create python Version 3.5.2 and call it htmlEx pyenv activate htmlEx -> select htmlEx as an environment pyenv global htmlEx -> set this environment as global environment

Installing tools

  1. go into a given URL and get HTML for website -> https://docs.python.org/2/howto/urllib2.html 2.html parsing -> https://docs.python.org/3/library/html.parser.html

  2. get_html.py -> using urllib to get the page of url and save it to some variables

  3. bsoup.py -> basic check installation of beautifulsoup and see if it actually works -> need to implement this with #3 so that I can combine the two functionalities together

  4. contents.py -> combining #3 & #4. Now able to scrape Korean webiste and contents only.

  5. Konlpy -> installed Konlpy by doing : pip3 install konlpy Make sure to use pip3, NOT pip!

  6. outputs -> outputs are saved as outputs. I was able to differentiate noun(?) using the tools but not sure. useful linke: https://m.blog.naver.com/rjs5730/220981013264

Tomorrow Task: -dragnet required how to use! (don't need but still need to look at it!)

setting up the local environment

html_extracting's People

Contributors

jgam avatar

Stargazers

 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.