GithubHelp home page GithubHelp logo

baterka / wordcount Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 144 KB

Semestral project for the subject B6B36PJC on FEE CTU in winter semester 2019.

Home Page: https://baterka.xyz

CMake 0.08% C++ 99.92%
cpp14 cpp programming school-assignment school-project wordcount fee-ctu ngrams ngram

wordcount's Introduction

WordCount

Semestral project for the subject B6B36PJC on FEE CTU in winter semester 2019.

Task

Word Count

  • A typical problem with simple parallelization.
  • The input is a set of files, the output is an ordered listing of the words and their frequency.
  • In addition to words, the so-called n-grams can be counted.

(Translated from Czech original)

Implementation

Overview

  • Written in: C++14
  • Supports multiple threads (One thread processing one file)

Build

git clone https://github.com/Baterka/WordCount.git
cd WordCount
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Speed measurement

Usage

  • WordCount - Creates dictionary of words (or n-grams) contained in input files and counts their frequency.
  • Generator - A utility to generate multiple word files with random words in them.
  • Tests - Unit tests (WIP)

wordcount's People

Contributors

baterka avatar

Watchers

 avatar  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.