GithubHelp home page GithubHelp logo

andreeateo / text-editor Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 2.05 MB

Text-editor application

License: Other

Java 99.62% CSS 0.38%
java junit linked-list trie bst markov-text-generator spelling-correction autocomplete readability-scores

text-editor's Introduction

Text-Editor

A text-editor application with the following features:

  • Spelling correction
  • AutoComplete option
  • Markov Text generator
  • Readability score calculation
  • Word Path generator

Project Structure

  • src: project source code
  • deps_src: source file dependencies
  • lib: library dependencies
  • test: JUnit tests
  • test_cases: test data files
  • .project: Eclipse project file
  • .classpath

Prerequisites

Eclipse IDE - for download and install go to: https://www.eclipse.org/

Set-up

  1. Download the project on your drive.
  2. Create a new Java Project in your Eclipse workspace.
  3. Import the files: File, Import, Select "File System", Next, Browse and choose the root directory where you downloaded the files, Finish.

Testing

There are JUnit test files in the test folder.

Using the Text Editor Application

  1. Run the project.
  2. In the GUI, type, load text by using the "Load text" button or use copy/paste.
  3. By selecting the "Spelling suggestions" option the app will highlight spelling mistakes and the "AutoComplete" option will provide 6 suggestions for the word you are typing.
  4. Calculate readability score of your text using the "Flesch Index" button.
  5. The "Edit distance" button calculates the word path between two words: cake -> caked -> coked -> cowed -> crowed -> crowd Number of steps: 5
  6. The "Generate Markov Text" function works by generating new text based on the text from step 2 keeping the original sequence of neighboring words.
  7. The "Clear" button clears the text area.

Author

Andreea Teodor

Credits

This application was written as part of an assignment for: Data Structures and Performance โ€“ University of California San Diego on Coursera (the source files in the deps_src folder and the GUI Application were provided as a starter code).

text-editor's People

Contributors

andreeateo avatar

Forkers

hnikam1

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.