Legislative Text Parser is a Java-based application designed to process legislative documents, extract key entities, and visualize the results in an intuitive graphical interface. This tool is particularly useful for legal experts, policymakers, and researchers working with legal texts.
- Processes legislative documents (PDF format).
- Extracts entities from articles with definitions.
- Dynamically identifies key entities in legislative documents.
- Supports custom definition locations (chapter/article selection).
- Displays extracted entities in a user-friendly list view.
- Visualizes the hierarchical structure of legislative documents in a DefaultMutableTreeNode Swing-component.
- Built using Java Swing for intuitive and responsive interaction.
- Features input validation, progress tracking, and error notifications.
Before running the application, ensure the following software is installed:
- Java Development Kit (JDK) 19 or higher
- Apache Maven (for dependency management)
- JSON library (
org.json
) included inpom.xml
-
Clone the repository:
git clone https://github.com/your-repo/legislative-text-parser.git cd legislative-text-parser
-
Compile the project using Maven:
mvn clean compile
-
Run the application:
java -cp target/legislative-text-parser-1.0.jar org.uoi.legislativetextparser.gui.MainMenu
- Select a legislative document (
PDF
format) using the Input Path field. - Specify the output path for the processed document (
JSON
format).
- (Optional) Specify the chapter and article number for definitions.
- Click Start to process the document.
- Upon successful processing, a popup notification confirms that the operation completed successfully.
- Entity Visualizer: Displays a list of extracted entities.
- Tree Visualizer: Shows a hierarchical structure of the document.
For questions or support, please contact:
- Name: Kostas Papadopoulos
- Email: [email protected]
- GitHub: https://github.com/KostPapadopoulos
- Name: Vasileios Ioannis Bouzampalidis
- Email: [email protected]
- GitHub: https://github.com/BouzampalidisVasileiosIoannis
- Name: Elias Papathanasiou
- Email: [email protected]
- GitHub: https://github.com/PapathanasiouElias