Giter Site home page Giter Site logo

file-summary-java's Introduction

File_Summary

I. File List

  1. main.java
  2. hive.sql
  3. mysql.sql
  4. most_common.java
  5. most_common_by_frequency.java
  6. Node.java
  7. Node_for_avg.java
  8. word_length.java
  9. year.java

Program can be built using default make argument in Eclipse/Intelliji IDEA

II.How to run

  1. For Java program, first locate the data file path, then compile the program, simply run the program in the command line by typing following in the shell:
  • java main [input_data_file_path] or run the program in Eclipse or Intelliji IDEA by simply clicking the run button, then follow the prompt of the program
  1. For Hive query, first locate the data file in HDFS, then run the Hive script by typing following:
  • hive -e f hive.sql
  1. For mysql script, the same as above

III, Project Detail

  1. Project Name: Google Ngram
  2. Description: Analyze the ngram data from Google to find out all the detail of the data,including:
  • the information of all the words' length(min, max, med, avg, std, etc)
  • the information of all the words' frequency(min,max,med,avg,std,etc)
  • the information of all the total year the word apprears(min, max, med, avg, std,etc)
  • the most common words according to its years' count
  • the most common words according to its total frequency
  1. Input/Output:
  • Input: the file path of the data.
    • Eg, $java main ./file_path
  • Output: display of the result according to the user's choose

file-summary-java's People

Contributors

ritchie-xl avatar

Watchers

 avatar  avatar

file-summary-java's Issues

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.