Giter VIP home page Giter VIP logo

rust_worderer's Introduction

Worderer

[Word] + [Orderer] = Worderer

This is a Rust rewrite of my Kotlin Worderer program

What does it do?

  1. Reads a plain text file (.txt) line by line
  2. Counts how many times each word occurs
  3. Groups words together based on how many times they occur
  4. Writes the numerically ordered word groups to another text file
  5. HANDLES ERRORS BECAUSE RUST IS AWESOME!

Plans!

Interactive mode: call functions to view data related to the ordered words real time

  • Find: prints the amount of times a word occurs (if at all)
  • Words: prints all the word groups that occur n times to the terminal
  • Index: prints all the word groups between occurrence values a and b (descending)
  • Input: runs core functionality on a new file and updates the map without exiting interactive mode
  • Write: writes numerically ordered words to output file without exiting interactive mode

UI

  • I'm thinking about creating a TUI where the user can browse and select files using arrow keys or searching instead of typing the path to the file.
  • I think since rust is better for terminal apps than kotlin is, I may be able to accomplish this. It will be very difficult though.

rust_worderer's People

Contributors

onkornix avatar

Watchers

 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.