|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog edu.northwestern.at.utils.swing.ModalDialog edu.northwestern.at.wordhoard.swing.calculator.dialogs.SkeletonDialog edu.northwestern.at.wordhoard.swing.calculator.dialogs.AnalysisDialog
public class AnalysisDialog
Common base for frequency and collocation dialogs.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
javax.swing.JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType |
Nested classes/interfaces inherited from class java.awt.Window |
---|
java.awt.Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected static boolean |
adjustChiSquareForMultipleComparisons
True to adjust chi-square values for number of comparisons. |
protected javax.swing.JCheckBox |
adjustChiSquareForMultipleComparisonsCheckBox
CheckBox for adjust chi-square field. |
protected static int |
ADJUSTCHISQUAREFORMULTIPLECOMPSFIELD
|
static int |
AGGREGATEALLWORKPARTS
Text breakdown methods for comparing texts. |
protected static WordCounter |
analysisText
Analysis corpus. |
protected javax.swing.JRadioButton |
analysisTextAggregateRadioButton
Radio buttons for analysis text breakdown methods. |
protected static int |
analysisTextBreakdownBy
Analysis text breakdown method for comparisons. |
protected static int |
ANALYSISTEXTBREAKDOWNBYFIELD
|
protected javax.swing.JRadioButton |
analysisTextBreakdownByWorkPartRadioButton
|
protected javax.swing.JRadioButton |
analysisTextBreakdownByWorkRadioButton
|
protected WordCounterTreeCombo |
analysisTextChoices
Analysis corpus choices. |
protected static int |
ANALYSISTEXTFIELD
|
protected static int |
ANALYZEPHRASECOUNTSFIELD
|
protected static boolean |
analyzePhraseFrequencies
Option to compare phrase counts. |
protected javax.swing.JCheckBox |
analyzePhraseFrequenciesCheckBox
Dialog field for option to compare phrase counts. |
protected static int |
associationMeasure
|
protected javax.swing.JComboBox |
associationMeasureChoices
Combobox selection field for association method. |
protected static int |
ASSOCIATIONMEASUREFIELD
|
static int |
BREAKDOWNBYWORKPARTS
|
static int |
BREAKDOWNBYWORKS
|
protected boolean |
cancelled
True if dialog cancelled. |
protected static int |
cloudMeasure
|
protected javax.swing.JComboBox |
cloudMeasureChoices
Combobox selection field for cloud association method. |
static int |
COLLOCATEFREQUENCIES
Collocation frequencies across all works in corpus. |
static int |
COMPARESINGLECOLLOCATEFREQUENCIES
Compare single word form in two works or corpora. |
static int |
COMPARETEXTS
Compare texts using similarity measures. |
protected static boolean |
compressValueRangeInTagClouds
True to compress value range in word cloud displays. |
protected javax.swing.JCheckBox |
compressValueRangeInTagCloudsCheckBox
CheckBox for use short work names in headers field. |
protected static int |
COMPRESSVALUERANGEINTEXTCLOUDS
|
protected static int |
cutoff
|
protected XTextField |
cutoffField
Frequency field dialog field. |
protected static int |
CUTOFFFIELD
|
static int |
DEFAULTASSOCIATIONMEASURE
Association measure used for multiword unit extraction. |
static int |
DEFAULTCLOUDMEASURE
Cloud measure used for multiword unit extraction and collocate extraction. |
static int |
DEFAULTCUTOFF
Frequency cutoff value. |
static int |
DEFAULTFREQUENCYNORMALIZATIONMETHOD
Count normalization used for historical profiling. |
static int |
DEFAULTLEFTSPAN
Left span (# of words to left to consider) |
static int |
DEFAULTMAXIMUMMULTIWORDUNITLENGTH
|
static int |
DEFAULTMINIMUMCOUNT
Default minimum count word form must have to be displayed when profiling multiple words. |
static int |
DEFAULTMINIMUMMULTIWORDUNITLENGTH
Minimum multiword unit length. |
static int |
DEFAULTMINIMUMWORKCOUNT
Default minimum # of works in which word form must appear to be displayed when profiling multiple words. |
static int |
DEFAULTPERCENTREPORTMETHOD
Count percent report method to use. |
static int |
DEFAULTRIGHTSPAN
Right span (# of words to right to consider) |
static int |
DEFAULTTEXTBREAKDOWNBY
Default breakdown method is by work. |
protected static java.util.ArrayList |
dialogFieldIndices
Fields to display in each dialog. |
protected java.lang.String |
dialogTitle
Dialog title. |
protected int |
dialogType
The dialog type. |
static int |
DICE
|
protected static boolean |
filterBigramsByWordClass
True to filter bigrams using word class rules. |
protected javax.swing.JCheckBox |
filterBigramsByWordClassCheckBox
Dialog field for filter bigrams by word class flag. |
protected static int |
FILTERBIGRAMSBYWORDCLASSFIELD
|
protected static boolean |
filterByWordClass
True to filter collocates using word class rules. |
protected javax.swing.JCheckBox |
filterByWordClassCheckBox
Dialog field for filter collocates by word class flag. |
protected static int |
FILTERBYWORDCLASSFIELD
|
protected static boolean |
filterMultiwordUnitsContainingVerbs
True to filter multiword units containing verbs. |
protected javax.swing.JCheckBox |
filterMultiwordUnitsContainingVerbsCheckBox
Dialog field for filter multiword units containing verbs. |
protected static int |
FILTERMULTIWORDUNITSCONTAININGVERBSFIELD
|
protected static boolean |
filterOutProperNames
True to filter proper names. |
protected javax.swing.JCheckBox |
filterOutProperNamesField
Dialog field for filtering out proper names. |
protected static int |
FILTEROUTPROPERNAMESFIELD
|
protected static boolean |
filterSingleOccurrences
True to filter ngrams which only occur once. |
protected javax.swing.JCheckBox |
filterSingleOccurrencesCheckBox
Dialog field for filter ngrams that occur only once. |
protected static int |
FILTERSINGLEOCCURRENCESFIELD
|
protected static boolean |
filterTrigramsByWordClass
True to filter trigrams using word clas rules. |
protected javax.swing.JCheckBox |
filterTrigramsByWordClassCheckBox
Dialog field for filter trigrams by word class flag. |
protected static int |
FILTERTRIGRAMSBYWORDCLASSFIELD
|
protected static boolean |
filterUsingLocalMaxs
True to filter ngrams using localmaxs |
protected javax.swing.JCheckBox |
filterUsingLocalMaxsCheckBox
Dialog field for filter using localmaxs. |
protected static int |
FILTERUSINGLOCALMAXSFIELD
|
static int |
FINDCOLLOCATES
Compare single word form in one work or copus. |
static int |
FINDMULTIWORDUNITS
Find multiword units in a text. |
protected static int |
FREQUENCYNORMALIZATIONFIELD
|
protected static int |
frequencyNormalizationMethod
|
protected javax.swing.JComboBox |
frequencyNormalizationMethodChoices
Combobox selection field for normalization method. |
protected static boolean |
ignoreCaseAndDiacriticalMarks
True to ignore case and diacritical marks. |
protected javax.swing.JCheckBox |
ignoreCaseAndDiacriticalMarksCheckBox
Dialog for for ignore case and diacritical marks. |
protected static int |
IGNORECASEANDDIACRITICALMARKSFIELD
|
protected javax.swing.JComponent |
initialFocusField
Initial focus fields. |
protected static boolean[] |
isCollocateDialog
True if dialog type is a collocation dialog, false otherwise. |
protected static int |
LASTDIALOGTYPE
Highest value for dialog type. |
protected static int |
leftSpan
|
protected XTextField |
leftSpanField
Left span dialog field. |
protected static int |
LEFTSPANFIELD
|
static int |
LOGLIKE
Association measures for multiword unit extraction. |
protected static int |
MARKSIGLOGLIKELIHOODFIELD
|
protected static boolean |
markSignificantLogLikelihoodValues
True to mark significant log-likelihood values. |
protected javax.swing.JCheckBox |
markSignificantLogLikelihoodValuesField
Dialog field for marking significant log-likelihood values. |
protected static int |
maximumMultiwordUnitLength
|
protected XTextField |
maximumMultiwordUnitLengthField
Maximum multiword unit length dialog field. |
protected static int |
MAXIMUMMULTIWORDUNITLENGTHFIELD
|
protected static int |
minimumCount
Minimum count word form must have in analysis text to be displayed. |
protected XTextField |
minimumCountField
Edit field for minimum count. |
protected static int |
MINIMUMCOUNTFIELD
|
protected static int |
minimumMultiwordUnitLength
|
protected XTextField |
minimumMultiwordUnitLengthField
Minimum multiword unit length dialog field. |
protected static int |
MINIMUMMULTIWORDUNITLENGTHFIELD
|
protected static int |
minimumWorkCount
Minimum work count word form must appear in in order for word form to be displayed. |
protected XTextField |
minimumWorkCountField
Edit field for minimum work count. |
protected static int |
MINIMUMWORKCOUNTFIELD
|
static int |
MULTIPLEWORDFORMCOMPARISON
Compare multiple word forms in two works or corpora. |
protected static int |
MWUCLOUDMEASURE
|
static int |
NORMALIZENONE
Count normalization methods for historical profiling. |
static int |
NORMALIZETO10000
|
static int |
NORMALIZETOMEANWORKLENGTH
|
static int |
NORMALIZETOPARTSPERMILLION
|
protected static boolean[] |
onlyDisplayCorpora
True to show only corpora in works comboboxes, false to show works too. |
protected static int |
percentReportMethod
|
protected javax.swing.JComboBox |
percentReportMethodChoices
Combobox selection field for percentage reporting method. |
protected static int |
PERCENTREPORTMETHODFIELD
|
static int |
PHISQUARED
|
protected static WordCounter |
referenceText
Reference corpus. |
protected javax.swing.JRadioButton |
referenceTextAggregateRadioButton
Radio buttons for reference text breakdown methods. |
protected static int |
referenceTextBreakdownBy
Reference text breakdown method for comparisons. |
protected static int |
REFERENCETEXTBREAKDOWNBYFIELD
|
protected javax.swing.JRadioButton |
referenceTextBreakdownByWorkPartRadioButton
|
protected javax.swing.JRadioButton |
referenceTextBreakdownByWorkRadioButton
|
protected WordCounterTreeCombo |
referenceTextChoices
Reference corpus choices. |
protected static int |
REFERENCETEXTFIELD
|
static int |
REPORTPARTSPER10000
|
static int |
REPORTPARTSPERMILLION
|
static int |
REPORTPERCENTS
Report methods for count percents. |
protected static int |
rightSpan
|
protected XTextField |
rightSpanField
Right span dialog field. |
protected static int |
RIGHTSPANFIELD
|
protected static int |
ROUNDNORMALIZEDCOUNTSFIELD
|
protected static boolean |
roundNormalizedFrequencies
Option to round normalized frequencies. |
protected javax.swing.JCheckBox |
roundNormalizedFrequenciesCheckBox
Dialog field for option to round normalized frequencies. |
static int |
SCP
|
protected static int |
SHOWPHRASECOUNTSFIELD
|
protected static boolean |
showPhraseFrequencies
Option to display phrase counts. |
protected javax.swing.JCheckBox |
showPhraseFrequenciesCheckBox
Dialog field for option to display phrase counts. |
protected static boolean |
showWordClasses
True to show all word classes following spellings and lemmata. |
protected javax.swing.JCheckBox |
showWordClassesField
Dialog field for filtering out proper names. |
protected static int |
SHOWWORDCLASSESFIELD
|
static int |
SI
|
static int |
SINGLECOLLOCATEHISTORY
Compare single word form across all works in corpus. |
static int |
SINGLEWORDFORMCOMPARISON
Compare single word form in two works or corpora. |
static int |
SINGLEWORDFORMHISTORY
Compare single word form across all works in corpus. |
protected static boolean |
useShortWorkTitlesInDialogs
True to use short work names in dialogs. |
protected static int |
USESHORTWORKTITLESINDIALOGS
|
protected javax.swing.JCheckBox |
useShortWorkTitlesInDialogsCheckBox
CheckBox for use short work names in dialogs field. |
protected static boolean |
useShortWorkTitlesInHeaders
True to use short work names in headers. |
protected static int |
USESHORTWORKTITLESINHEADERS
|
protected javax.swing.JCheckBox |
useShortWorkTitlesInHeadersCheckBox
CheckBox for use short work names in headers field. |
protected static boolean |
useShortWorkTitlesInOutput
True to use short work names in output. |
protected static int |
USESHORTWORKTITLESINOUTPUT
|
protected javax.swing.JCheckBox |
useShortWorkTitlesInOutputCheckBox
CheckBox for use short work names in output field. |
protected static boolean |
useShortWorkTitlesInWindowTitles
True to use short work names in titles. |
protected static int |
USESHORTWORKTITLESINWINDOWTITLES
|
protected javax.swing.JCheckBox |
useShortWorkTitlesInWindowTitlesCheckBox
CheckBox for use short work names in titles field. |
protected static int |
WORDFIELD
Dialog field indices. |
protected static int |
wordForm
Word form. |
protected javax.swing.JComboBox |
wordFormChoices
Word form choices for dialog box. |
protected static int |
WORDFORMFIELD
|
static int |
WORDFORMFREQUENCIES
Word form frequencies across all works in corpus. |
protected static java.lang.String |
wordText
Word form text to analyze. |
protected XTextField |
wordTextField
Dialog field for word. |
Fields inherited from class edu.northwestern.at.wordhoard.swing.calculator.dialogs.SkeletonDialog |
---|
cancel, cancelButton, cancelButtonName, ok, okButton, okButtonName, parentWindow, revert, revertButton, revertButtonName |
Fields inherited from class edu.northwestern.at.utils.swing.ModalDialog |
---|
usePlatformPositionForDefaultButton |
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
---|
DEFAULT_MODALITY_TYPE |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
AnalysisDialog(java.awt.Frame parentWindow,
int dialogType)
Constructs and displays a collocation dialog. |
Method Summary | |
---|---|
protected void |
addFields(LabeledColumn dialogFields)
Adds fields to the dialog. |
protected void |
buildDialog()
Build the dialog. |
protected void |
cleanWordText()
Clean word text. |
boolean |
getAdjustChiSquareForMultipleComparisons()
Get adjust chi-square for multiple comparisons flag. |
WordCounter |
getAnalysisText()
Get analysis corpus. |
int |
getAnalysisTextBreakdownBy()
Get the analysis text breakdown method. |
boolean |
getanalyzePhraseFrequencies()
Get the compare phrase frequencies flag. |
static int |
getAssociationMeasure()
Get the association measure for localmaxs. |
static int |
getAssociationMeasure(java.lang.String associationMeasureString)
Get association measure. |
static java.lang.String |
getAssociationMeasureString(int associationMeasure)
Get association measure string. |
static int |
getCloudMeasure()
Get the cloud measure for multiword unit and collocate analysis. |
static boolean |
getCompressValueRangeInTagClouds()
Get compress value range in word clouds flag. |
int |
getCutoff()
Get cutoff value. |
protected void |
getDialogSettings()
Get dialog settings based upon dialog type. |
boolean |
getFilterBigramsByWordClass()
Get the filter bigrams by word class flag. |
boolean |
getFilterByWordClass()
Get the filter by word classes flag. |
boolean |
getFilterMultiwordUnitsContainingVerbs()
Get the filter multiword units containing verbs flag. |
boolean |
getFilterOutProperNames()
Get the filter out proper names flag. |
boolean |
getFilterSingleOccurrences()
Get the filter ngrams which only only once flag. |
boolean |
getFilterTrigramsByWordClass()
Get the filter trigrams by word class flag. |
boolean |
getFilterUsingLocalMaxs()
Get the filter ngrams using localmaxs. |
int |
getFrequencyNormalization(java.lang.String normalizationMethodString)
Get frequency normalization from string. |
int |
getFrequencyNormalizationMethod()
Get the frequency normalization method. |
java.lang.String |
getFrequencyNormalizationString(int frequencyNormalizationMethod)
Get frequency normalization string. |
boolean |
getIgnoreCaseAndDiacriticalMarks()
Get ignore case and diacritical marks flag. |
int |
getLeftSpan()
Get left span value. |
boolean |
getMarkSignificantLogLikelihoodValues()
Get the mark significant log-likelihood values flag. |
int |
getMaximumMultiwordUnitLength()
Get the maximum multiword unit length. |
int |
getMinimumCount()
Get minimum count. |
int |
getMinimumMultiwordUnitLength()
Get the minimum multiword unit length. |
int |
getMinimumWorkCount()
Get minimum work count. |
int |
getPercentReportMethod()
Get the percent reporting method. |
int |
getPercentReportMethod(java.lang.String percentReportMethodString)
Get percent report method from string. |
java.lang.String |
getPercentReportMethodString(int percentReportMethod)
Get percent report method string. |
java.lang.String |
getPluralWordFormString(int wordForm)
Get plural word form string. |
protected static java.lang.String |
getProperty(java.util.Properties properties,
java.lang.String propertyName)
Load a property string. |
WordCounter |
getReferenceText()
Get reference corpus. |
int |
getReferenceTextBreakdownBy()
Get the reference text breakdown method. |
int |
getRightSpan()
Get right span value. |
boolean |
getRoundNormalizedFrequencies()
Get the round normalized frequencies option. |
boolean |
getShowPhraseFrequencies()
Get the show phrase frequencies flag. |
boolean |
getShowWordClasses()
Get the show all word classes flag. |
static java.lang.String |
getTextBreakdownMethod(int textBreakdownMethod)
Get string for text breakdown method. |
static boolean |
getUseShortWorkTitlesInDialogs()
Get use short work titles in dialogs flag. |
static boolean |
getUseShortWorkTitlesInHeaders()
Get use short work titles in headers flag. |
static boolean |
getUseShortWorkTitlesInOutput()
Get use short work titles in output flag. |
static boolean |
getUseShortWorkTitlesInWindowTitles()
Get use short work titles in window titles flag. |
int |
getWordForm()
Get word form. |
int |
getWordForm(java.lang.String wordFormString)
Get word form. |
java.lang.String |
getWordFormString(int wordForm)
Get word form string. |
Spelling |
getWordText()
Get word to analyze. |
protected void |
handleOKButtonPressed(java.awt.event.ActionEvent event)
Process OK button pressed. |
protected void |
initializeFields()
Initialize the dialog fields. |
static void |
loadPreferences(java.util.Properties preferences)
Load dialog preferences. |
static java.util.Properties |
savePreferences()
Get dialog preferences. |
static void |
setCloudMeasure(int theCloudMeasure)
Set the cloud measure for multiword unit and collocate analysis. |
static void |
setCloudMeasure(java.lang.String cloudMeasureString)
Set the cloud measure for multiword unit analysis. |
static void |
setCompressValueRangeInTagClouds(boolean doCompression)
Set compress value range in word clouds flag. |
protected boolean |
validateWordField()
Check word field for valid value. |
Methods inherited from class edu.northwestern.at.wordhoard.swing.calculator.dialogs.SkeletonDialog |
---|
disableAllDialogFields, enableAllDialogFields, getCancelled, handleCancelButtonPressed, handleRevertButtonPressed |
Methods inherited from class edu.northwestern.at.utils.swing.ModalDialog |
---|
add, add, add, add, add, addButton, addDefaultButton, fixDefaultButtonPosition, getUsePlatformPositionForDefaultButton, paintImmediately, setInitialFocus, setUsePlatformPositionForDefaultButton, setVisible, show, showUnpacked, showUnpacked |
Methods inherited from class javax.swing.JDialog |
---|
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, show, toBack |
Methods inherited from class java.awt.Window |
---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int WORDFORMFREQUENCIES
public static final int MULTIPLEWORDFORMCOMPARISON
public static final int SINGLEWORDFORMCOMPARISON
public static final int SINGLEWORDFORMHISTORY
public static final int COLLOCATEFREQUENCIES
public static final int FINDCOLLOCATES
public static final int COMPARESINGLECOLLOCATEFREQUENCIES
public static final int SINGLECOLLOCATEHISTORY
public static final int COMPARETEXTS
public static final int FINDMULTIWORDUNITS
protected static final int LASTDIALOGTYPE
protected int dialogType
protected static final int WORDFIELD
All fields in the various frequency analysis and collocation dialogs have unique index.
protected static final int WORDFORMFIELD
protected static final int FILTERBYWORDCLASSFIELD
protected static final int LEFTSPANFIELD
protected static final int RIGHTSPANFIELD
protected static final int CUTOFFFIELD
protected static final int ANALYSISTEXTFIELD
protected static final int REFERENCETEXTFIELD
protected static final int PERCENTREPORTMETHODFIELD
protected static final int MARKSIGLOGLIKELIHOODFIELD
protected static final int MINIMUMCOUNTFIELD
protected static final int MINIMUMWORKCOUNTFIELD
protected static final int FREQUENCYNORMALIZATIONFIELD
protected static final int ROUNDNORMALIZEDCOUNTSFIELD
protected static final int FILTEROUTPROPERNAMESFIELD
protected static final int SHOWWORDCLASSESFIELD
protected static final int SHOWPHRASECOUNTSFIELD
protected static final int ANALYZEPHRASECOUNTSFIELD
protected static final int ANALYSISTEXTBREAKDOWNBYFIELD
protected static final int REFERENCETEXTBREAKDOWNBYFIELD
protected static final int ASSOCIATIONMEASUREFIELD
protected static final int MINIMUMMULTIWORDUNITLENGTHFIELD
protected static final int MAXIMUMMULTIWORDUNITLENGTHFIELD
protected static final int FILTERBIGRAMSBYWORDCLASSFIELD
protected static final int FILTERTRIGRAMSBYWORDCLASSFIELD
protected static final int FILTERUSINGLOCALMAXSFIELD
protected static final int FILTERSINGLEOCCURRENCESFIELD
protected static final int IGNORECASEANDDIACRITICALMARKSFIELD
protected static final int FILTERMULTIWORDUNITSCONTAININGVERBSFIELD
protected static final int ADJUSTCHISQUAREFORMULTIPLECOMPSFIELD
protected static final int USESHORTWORKTITLESINDIALOGS
protected static final int USESHORTWORKTITLESINOUTPUT
protected static final int USESHORTWORKTITLESINWINDOWTITLES
protected static final int USESHORTWORKTITLESINHEADERS
protected static final int COMPRESSVALUERANGEINTEXTCLOUDS
protected static final int MWUCLOUDMEASURE
protected static final boolean[] isCollocateDialog
protected static final boolean[] onlyDisplayCorpora
protected java.lang.String dialogTitle
protected javax.swing.JComponent initialFocusField
protected static java.util.ArrayList dialogFieldIndices
protected static java.lang.String wordText
protected XTextField wordTextField
protected static int wordForm
protected javax.swing.JComboBox wordFormChoices
protected static boolean filterSingleOccurrences
protected static boolean filterByWordClass
protected static boolean filterBigramsByWordClass
protected static boolean filterTrigramsByWordClass
protected static boolean filterUsingLocalMaxs
protected static boolean ignoreCaseAndDiacriticalMarks
protected static boolean filterMultiwordUnitsContainingVerbs
protected javax.swing.JCheckBox filterSingleOccurrencesCheckBox
protected javax.swing.JCheckBox filterByWordClassCheckBox
protected javax.swing.JCheckBox filterBigramsByWordClassCheckBox
protected javax.swing.JCheckBox filterTrigramsByWordClassCheckBox
protected javax.swing.JCheckBox filterUsingLocalMaxsCheckBox
protected javax.swing.JCheckBox ignoreCaseAndDiacriticalMarksCheckBox
protected javax.swing.JCheckBox filterMultiwordUnitsContainingVerbsCheckBox
public static final int DEFAULTLEFTSPAN
protected static int leftSpan
protected XTextField leftSpanField
public static final int DEFAULTRIGHTSPAN
protected static int rightSpan
protected XTextField rightSpanField
public static final int DEFAULTMINIMUMMULTIWORDUNITLENGTH
protected static int minimumMultiwordUnitLength
protected XTextField minimumMultiwordUnitLengthField
public static final int DEFAULTMAXIMUMMULTIWORDUNITLENGTH
protected static int maximumMultiwordUnitLength
protected XTextField maximumMultiwordUnitLengthField
public static final int DEFAULTCUTOFF
protected static int cutoff
protected XTextField cutoffField
protected static WordCounter analysisText
protected WordCounterTreeCombo analysisTextChoices
protected static WordCounter referenceText
protected WordCounterTreeCombo referenceTextChoices
public static final int DEFAULTMINIMUMCOUNT
protected static int minimumCount
protected XTextField minimumCountField
public static final int DEFAULTMINIMUMWORKCOUNT
protected static int minimumWorkCount
protected XTextField minimumWorkCountField
public static final int NORMALIZENONE
public static final int NORMALIZETO10000
public static final int NORMALIZETOMEANWORKLENGTH
public static final int NORMALIZETOPARTSPERMILLION
public static final int DEFAULTFREQUENCYNORMALIZATIONMETHOD
protected static int frequencyNormalizationMethod
protected javax.swing.JComboBox frequencyNormalizationMethodChoices
protected static boolean roundNormalizedFrequencies
protected javax.swing.JCheckBox roundNormalizedFrequenciesCheckBox
protected static boolean analyzePhraseFrequencies
protected javax.swing.JCheckBox analyzePhraseFrequenciesCheckBox
protected static boolean showPhraseFrequencies
protected javax.swing.JCheckBox showPhraseFrequenciesCheckBox
protected boolean cancelled
public static final int REPORTPERCENTS
public static final int REPORTPARTSPERMILLION
public static final int REPORTPARTSPER10000
public static final int DEFAULTPERCENTREPORTMETHOD
protected static int percentReportMethod
protected javax.swing.JComboBox percentReportMethodChoices
protected static boolean markSignificantLogLikelihoodValues
protected javax.swing.JCheckBox markSignificantLogLikelihoodValuesField
protected static boolean filterOutProperNames
protected javax.swing.JCheckBox filterOutProperNamesField
protected static boolean showWordClasses
protected javax.swing.JCheckBox showWordClassesField
public static final int AGGREGATEALLWORKPARTS
public static final int BREAKDOWNBYWORKS
public static final int BREAKDOWNBYWORKPARTS
public static final int DEFAULTTEXTBREAKDOWNBY
protected static int analysisTextBreakdownBy
protected javax.swing.JRadioButton analysisTextAggregateRadioButton
protected javax.swing.JRadioButton analysisTextBreakdownByWorkRadioButton
protected javax.swing.JRadioButton analysisTextBreakdownByWorkPartRadioButton
protected static int referenceTextBreakdownBy
protected javax.swing.JRadioButton referenceTextAggregateRadioButton
protected javax.swing.JRadioButton referenceTextBreakdownByWorkRadioButton
protected javax.swing.JRadioButton referenceTextBreakdownByWorkPartRadioButton
public static final int LOGLIKE
public static final int DICE
public static final int PHISQUARED
public static final int SI
public static final int SCP
public static final int DEFAULTASSOCIATIONMEASURE
protected static int associationMeasure
protected javax.swing.JComboBox associationMeasureChoices
public static final int DEFAULTCLOUDMEASURE
protected static int cloudMeasure
protected javax.swing.JComboBox cloudMeasureChoices
protected static boolean adjustChiSquareForMultipleComparisons
protected javax.swing.JCheckBox adjustChiSquareForMultipleComparisonsCheckBox
protected static boolean useShortWorkTitlesInDialogs
protected javax.swing.JCheckBox useShortWorkTitlesInDialogsCheckBox
protected static boolean useShortWorkTitlesInOutput
protected javax.swing.JCheckBox useShortWorkTitlesInOutputCheckBox
protected static boolean useShortWorkTitlesInWindowTitles
protected javax.swing.JCheckBox useShortWorkTitlesInWindowTitlesCheckBox
protected static boolean useShortWorkTitlesInHeaders
protected javax.swing.JCheckBox useShortWorkTitlesInHeadersCheckBox
protected static boolean compressValueRangeInTagClouds
protected javax.swing.JCheckBox compressValueRangeInTagCloudsCheckBox
Constructor Detail |
---|
public AnalysisDialog(java.awt.Frame parentWindow, int dialogType)
parentWindow
- Parent window.dialogType
- The dialog type. Method Detail |
---|
protected void getDialogSettings()
protected void buildDialog()
buildDialog
in class SkeletonDialog
protected void initializeFields()
initializeFields
in class SkeletonDialog
protected void addFields(LabeledColumn dialogFields)
addFields
in class SkeletonDialog
dialogFields
- The component holding the dialog fields. protected boolean validateWordField()
protected void handleOKButtonPressed(java.awt.event.ActionEvent event)
handleOKButtonPressed
in class SkeletonDialog
event
- The event.
Allows overriding the OK button handling from a subclass.
public int getWordForm(java.lang.String wordFormString)
wordFormString
- Word form string.
public int getPercentReportMethod(java.lang.String percentReportMethodString)
percentReportMethodString
- Percent report method string.
public java.lang.String getPercentReportMethodString(int percentReportMethod)
percentReportMethod
- The percent reporting method.
public java.lang.String getWordFormString(int wordForm)
public java.lang.String getPluralWordFormString(int wordForm)
public int getFrequencyNormalization(java.lang.String normalizationMethodString)
normalizationMethodString
- Normalization method string.
public java.lang.String getFrequencyNormalizationString(int frequencyNormalizationMethod)
frequencyNormalizationMethod
- The normalization method.
public static java.lang.String getTextBreakdownMethod(int textBreakdownMethod)
textBreakdownMethod
- Text breakdown method.
public static java.lang.String getAssociationMeasureString(int associationMeasure)
associationMeasure
- The association measure.
public static int getAssociationMeasure(java.lang.String associationMeasureString)
associationMeasureString
- The association measure string.
protected void cleanWordText()
The "wordText" and "wordTextField" entries are cleaned as follows.
public Spelling getWordText()
public int getWordForm()
public int getLeftSpan()
public int getRightSpan()
public int getCutoff()
public int getMinimumCount()
public int getMinimumWorkCount()
public int getFrequencyNormalizationMethod()
public boolean getRoundNormalizedFrequencies()
public WordCounter getAnalysisText()
public WordCounter getReferenceText()
public int getPercentReportMethod()
public boolean getMarkSignificantLogLikelihoodValues()
public boolean getFilterOutProperNames()
public boolean getShowWordClasses()
public boolean getShowPhraseFrequencies()
public boolean getanalyzePhraseFrequencies()
public boolean getFilterByWordClass()
public int getAnalysisTextBreakdownBy()
public int getReferenceTextBreakdownBy()
public static int getAssociationMeasure()
public static int getCloudMeasure()
public static void setCloudMeasure(int theCloudMeasure)
theCloudMeasure
- The cloud measure. public static void setCloudMeasure(java.lang.String cloudMeasureString)
cloudMeasureString
- The cloud measure for multiword unit
analysis. public int getMinimumMultiwordUnitLength()
public int getMaximumMultiwordUnitLength()
public boolean getFilterBigramsByWordClass()
public boolean getFilterTrigramsByWordClass()
public boolean getFilterUsingLocalMaxs()
public boolean getFilterMultiwordUnitsContainingVerbs()
public boolean getFilterSingleOccurrences()
public boolean getIgnoreCaseAndDiacriticalMarks()
public boolean getAdjustChiSquareForMultipleComparisons()
public static boolean getUseShortWorkTitlesInDialogs()
public static boolean getUseShortWorkTitlesInHeaders()
public static boolean getUseShortWorkTitlesInWindowTitles()
public static boolean getUseShortWorkTitlesInOutput()
public static boolean getCompressValueRangeInTagClouds()
public static void setCompressValueRangeInTagClouds(boolean doCompression)
doCompression
- true to compress value range in word clouds. public static java.util.Properties savePreferences()
protected static java.lang.String getProperty(java.util.Properties properties, java.lang.String propertyName)
properties
- The properties.propertyName
- The property name to load.
public static void loadPreferences(java.util.Properties preferences)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |