Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Latest commit

 

History

History
53 lines (37 loc) · 1.36 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.36 KB

KWIC - Keyword in Context stability-deprecated Build Status

⚠️ This repository is no longer maintained by Lukas Martinelli.

The KWIC index system accepts an ordered set of lines, each line is an ordered set of words, and each word is an ordered set of characters. Any line may be "circularly shifted" by repeatedly removing the first word and appending it at the end of the line. The KWIC index system outputs a listing of all circular shifts of all lines in alphabetical order.

Project Setup for Cevelop

  1. Install Cevelop
  2. Open the repository as a workspace
  3. Import as existing projects into workspace

Build Project

You can use Eclipse to build the project or the provided makefile.

make

Run Tests

We use CUTE for our unit tests. To run the tests you need to compile the tests and then simply run the executable. This will output the test results to the console and a XML file.

make test

Example:

Input:

this is a test
this is another test

Result:

a test this is
another test this is
is a test this
is another test this
test this is a
test this is another
this is a test
this is another test