Class DocumentAnalyzer

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, BaseStatusCallbackListener, StatusCallbackListener

public class DocumentAnalyzer extends JFrame implements StatusCallbackListener, ActionListener
A simple GUI for the RunTextAnalysis application library. Note that currently this will only run under Windows since it relies on Windows-specific commands for invoking a web browser to view the annotated documents.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      The Constant serialVersionUID.
      See Also:
    • HELP_MESSAGE

      private static final String HELP_MESSAGE
      The Constant HELP_MESSAGE.
      See Also:
    • inputFileSelector

      private FileSelector inputFileSelector
      The input file selector.
    • inputFileFormatComboBox

      private JComboBox inputFileFormatComboBox
      The input file format combo box.
    • lenientCheckbox

      private JCheckBox lenientCheckbox
      The lenient checkbox.
    • outputFileSelector

      protected FileSelector outputFileSelector
      The output file selector.
    • xmlFileSelector

      protected FileSelector xmlFileSelector
      The xml file selector.
    • outputFileSelected

      protected String outputFileSelected
      The output file selected.
    • runParametersField

      private JTextField runParametersField
      The run parameters field.
    • languageComboBox

      private JComboBox languageComboBox
      The language combo box.
    • encodingComboBox

      private JComboBox encodingComboBox
      The encoding combo box.
    • progressMonitor

      private ProgressMonitor progressMonitor
      The progress monitor.
    • currentTypeSystem

      protected TypeSystem currentTypeSystem
      The current type system.
    • currentTaeOutputTypes

      protected String[] currentTaeOutputTypes
      The current tae output types.
    • userStyleMapFile

      private File userStyleMapFile
      The user style map file.
    • useGeneratedStyleMap

      protected boolean useGeneratedStyleMap
      The use generated style map.
    • collectionReader

      private FileSystemCollectionReader collectionReader
      The collection reader.
    • mCPM

      The m CPM.
    • interactiveTempFN

      protected String interactiveTempFN
      The interactive temp FN.
    • aboutDialog

      private JDialog aboutDialog
      The about dialog.
    • numDocs

      private int numDocs
      The num docs.
    • numDocsProcessed

      private int numDocsProcessed
      The num docs processed.
    • outputDirectory

      private File outputDirectory
      Directory in which this program will write its output files.
    • runButton

      private JButton runButton
      The run button.
    • interButton

      private JButton interButton
      The inter button.
    • interactive

      protected boolean interactive
      The interactive.
    • javaViewerRB

      private final JRadioButton javaViewerRB
      The java viewer RB.
    • javaViewerUCRB

      private final JRadioButton javaViewerUCRB
      The java viewer UCRB.
    • htmlRB

      private final JRadioButton htmlRB
      The html RB.
    • xmlRB

      protected final JRadioButton xmlRB
      The xml RB.
    • analyzeInputDialog

      private JDialog analyzeInputDialog
      The analyze input dialog.
    • javaViewerRBisSelected

      protected boolean javaViewerRBisSelected
      The java viewer R bis selected.
    • javaViewerUCRBisSelected

      protected boolean javaViewerUCRBisSelected
      The java viewer UCR bis selected.
    • prefsMed

      protected PrefsMediator prefsMed
      The prefs med.
    • statsString

      protected String statsString
      The stats string.
    • taeDescFile

      protected File taeDescFile
      The tae desc file.
    • taeDescFileName

      protected String taeDescFileName
      The tae desc file name.
    • aeSpecifierFile

      private File aeSpecifierFile
      The ae specifier file.
    • cas

      protected CAS cas
      The cas.
    • progressTimer

      private Timer progressTimer
      The progress timer.
    • usingXmlDetagger

      private boolean usingXmlDetagger
      The using xml detagger.
  • Constructor Details

    • DocumentAnalyzer

      public DocumentAnalyzer()
      Constructor. Sets up the GUI.
    • DocumentAnalyzer

      public DocumentAnalyzer(String outputFileSelected, boolean interactiveDA, boolean jvucrbis)
      Instantiates a new document analyzer.
      Parameters:
      outputFileSelected - the output file selected
      interactiveDA - the interactive DA
      jvucrbis - the jvucrbis
  • Method Details