Skip to content
This repository has been archived by the owner on Dec 4, 2017. It is now read-only.
/ kwic Public archive

The Key Word in Context (KWIC) creates all possible mutations of an ordered set of words.

License

Notifications You must be signed in to change notification settings

lukasmartinelli-alt/kwic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The Key Word in Context (KWIC) creates all possible mutations of an ordered set of words.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages