Skip to content

ISTI-FMT-LearnPAd/ContentAnalysisComponent

Repository files navigation

LearnPAd Content Analysis Component

License

Status project Build Status

codecov.io

Information Value
Component Content Analysis
Partner CNR
WP 4
Responsible Alessio Ferrari <alessio.ferrari at isti.cnr.it>
Collaborators Giorgio O. Spagnolo
Roadmap wiki
LearnPAd Wiki http://wiki.learnpad.eu/LearnPAdWiki/bin/view/Component/Content+Analysis

Summary

This is the Content Analysis component of the LearnPAd platform. It implements automated procedures to verify that the textual content that describes the tasks of a Business Process (e.g., documents created in the Collaborative Workspace) provides information that is consistent with respect to the Business Process model itself, and to automatically identify ambiguous sentences and vague terms in natural language requirements, and estimates quantitative indexes concerning the linguistic quality of the contents.

#How it works? This component expose REST API to the LearnPAd platform in order to perform several kind of content analysis on a Collaborative and Static Content. The different types of content analysis are provided by the component es. simplicity, non ambiguity, content clarity, presentation clarity, completeness and correctness.

In this page Collaborative content is present the XML input and output of component.

In this page Static content is present the XML input and output of component.

The component is ready to be packaged as a WAR to be deployed on an Application Server like Tomcat.

The component is also to be packaged as a JAR and it deployed in an Grizzly HTTP server.

To build/run component click here

The service is available at localhost:8082/lp-content-analysis/.

#CURL Test

  • To send CollaborativeContent XML to component, the reply is a ID:
    curl -X POST -H "Content-Type: application/XML" --data @CollaborativeContentXML.xml http://localhost:8082/lp-content-analysis/learnpad/ca/bridge/validatecollaborativecontent/

  • To send StaticContent XML to component, the reply is a ID:
    curl -X POST -H "Content-Type: application/XML" --data @StaticContentXML.xml http://localhost:8082/lp-content-analysis/learnpad/ca/bridge/validatestaticcontent/

  • To get Status of analysis of Collaborative Content referred by ID:
    curl -X GET http://localhost:8082/lp-content-analysis/learnpad/ca/bridge/validatecollaborativecontent/{id}/status

  • To get Status of analysis of Static Content referred by ID:
    curl -X GET http://localhost:8082/lp-content-analysis/learnpad/ca/bridge/validatestaticcontent/{id}/status

  • To get Collaborative Content referred by ID:
    curl -X GET http://localhost:8082/lp-content-analysis/learnpad/ca/bridge/validatecollaborativecontent/{id}

  • To get Static Content referred by ID:
    curl -X GET http://localhost:8082/lp-content-analysis/learnpad/ca/bridge/validatestaticcontent/{id}

Note

You can also refer to http://localhost:8082/lp-content-analysis/application.wadl Wiki of repo is here

About

This repository includes all the functionalities for analysing NL content of procedure descriptions coming from the LearnPAd platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors