Skip to content

A software product line of Key Word in Context (KWIC).

Notifications You must be signed in to change notification settings

leomarcamargo/kwic-spl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Key Word in Context - Software Product Line

"KWIC is an acronym for Key Word In Context, the most common format for concordance lines. The term KWIC was first coined by Hans Peter Luhn. The system was based on a concept called keyword in titles which was first proposed for Manchester libraries in 1864 by Andrea Crestadoro. A KWIC index is formed by sorting and aligning the words within an article title to allow each word (except the stop words) in titles to be searchable alphabetically in the index. It was a useful indexing method for technical manuals before computerized full text search became common" [1].

Features

The features present in this repository are:

Feature Model

Steps to Generate a Product

To run this project it is necessary to use the Eclipse IDE. For the project to work, make sure that you have the following components installed:

Delta-Oriented Programming

  1. Open the Eclipse IDE and go to Help -> Install New Software and install the DeltaJ 1.5 plugin: https://www.isf.cs.tu-bs.de/cms/research/deltas/downloads/plug-in.

  2. With the DeltaJ plugin installed, import the project into the Eclipse IDE:
    2.1. File -> Import -> Existing Projects Into Workspace;

  3. Open the Project Explorer and go to spl-info -> KwicDeltaJ.spl;

  4. Go to menu Project -> Clean. After that, it will open a DeltaJ Plugin window so that a product is generated:
         DeltaJ Products do select

Conditional Compilation

  1. Install and configure the Hepheatus;

  2. In the directory for this project, open the spl-config folder. Then open the file project.properties and replace the <path-where-this-repository-is-cloned> tag as requested.
    2.1. Then change the value of * instance-model * to the desired product;

  3. Open the workspace where the Hepheastus tool is installed. Then go to hephaestus-sb/bin and run the hepheastus file.
    3.1. After running hephaestus, the following screen will appear:
         Hephaestus Tool

  4. Enter the command start. Then enter the absolute path where the project.properties file is located and then confirm;

  5. Navigate to the target directory that was entered in the projects.properties file.

  6. Open the terminal and enter the command below. Remember to replace <hephaestus-workspace-path> with its corresponding value:
    java -jar <hephaestus-workspace-path>/hephaestus-pp/bin/antenna-pp.jar files.pp build.lst --drop-lines

Acknowledgment

Thanks to José Fortes for having implemented the initial version of KWIC in Java and later in DeltaJ.

About

A software product line of Key Word in Context (KWIC).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages