package interactivelearner.gui;

import interactivelearner.classifier.NaiveBayesianClassifier;
import interactivelearner.data.Corpus;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.stage.Stage;

import java.io.File;

public class NaiveBayesGUI extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception {
        FXMLLoader loader = new FXMLLoader(getClass().getResource("/gui/TrainGUI.fxml"));
        Parent train = loader.load();
        TrainController controller = loader.getController();
        controller.getStage(primaryStage);
        primaryStage.setTitle("Naive bayesian classifier");
        Scene trainScene = new Scene(train, 600, 400);
        primaryStage.setScene(trainScene);
        primaryStage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}

@@ -37,172 +37,38 @@
 ort 
-interactivelearner.classifier.NaiveBayesianClassifier;%0Aimport interactivelearner.data.Corpus;%0Aimport javafx.application.Application;%0Aimport javafx.event.ActionEvent
+javafx.application.Application
 ;%0Aim
@@ -155,44 +155,8 @@
 ne;%0A
-import javafx.scene.control.Button;%0A
 impo
@@ -183,30 +183,8 @@
 e;%0A%0A
-import java.io.File;%0A%0A
 publ

Remove unused imports in GUI class