1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TextAnalysisDialog</class>
<widget class="QDialog" name="TextAnalysisDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>560</width>
<height>664</height>
</rect>
</property>
<property name="windowTitle">
<string>Text Analysis</string>
</property>
<layout class="QGridLayout">
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Actions</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QPushButton" name="countButton">
<property name="text">
<string extracomment="count as verb">Count</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="searchSelectionButton">
<property name="text">
<string>Search selection in the document</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="exportButton">
<property name="text">
<string>CSV Export</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="closeButton">
<property name="text">
<string>Close</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Info</string>
</property>
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Total lines</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="totalLinesLabel">
<property name="text">
<string>?</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Text lines</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Total shown phrases</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Comment lines</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="textLinesLabel">
<property name="text">
<string>?</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="commentLinesLabel">
<property name="text">
<string>?</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="displayedWordLabel">
<property name="text">
<string>?</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Different phrases</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="differentWordLabel">
<property name="text">
<string>?</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Characters in phrases</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="characterInWordsLabel">
<property name="text">
<string>?</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" rowspan="3" colspan="3">
<widget class="QTableView" name="resultView"/>
</item>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Options</string>
</property>
<layout class="QGridLayout" name="_2" columnstretch="0,0,0">
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="normalTextCheck">
<property name="toolTip">
<string>If this is enabled, words/phrases in the normal text (which aren't in comments) are counted</string>
</property>
<property name="text">
<string>Analyse normal text</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="commentsCheck">
<property name="toolTip">
<string>If this is enabled, words/phrases in the comments are counted.</string>
</property>
<property name="text">
<string>Analyse comments</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="commandsCheck">
<property name="toolTip">
<string>If this is enabled, \commands are counted.</string>
</property>
<property name="text">
<string>Analyse commands</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QComboBox" name="minimumLengthMeaning">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Possible Options:
"Show all": All phrases are shown.
"Minimum phrase length": A phrase is only shown, if it has at least this many characters. (e.g. "a test" has 6 characters)
"Minimum word length (one)": A phrase is only shown, if it contains a word with at least this many characters. (e.g. "a test" has 4 characters)
"Minimum word length (all)": A phrase is only shown, if all of its words have at least this many characters. (e.g. "a test" has 1 character)
"Completely ignore": Shorter words are completely ignored.
(e.g. with length 3, the sentence "this is a test" is equally to "this test", while the other options would separate it in "this is", "is a", "a test", even if non of this phrases would be shown.)</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>Show all phrases</string>
</property>
</item>
<item>
<property name="text">
<string>Minimum phrase length:</string>
</property>
</item>
<item>
<property name="text">
<string>Minimum word length (one):</string>
</property>
</item>
<item>
<property name="text">
<string>Minimum word length (all):</string>
</property>
</item>
<item>
<property name="text">
<string>Fully ignore shorter words:</string>
</property>
</item>
</widget>
</item>
<item row="3" column="2">
<widget class="QSpinBox" name="minimumLengthSpin">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>If "show all" is selected, all phrases are shown.
If "minimum phrase length" is selected, a phrase is only shown if it has at least so many characters. (e.g. "a test" has 6 characters)
If "minimum word length (one)" is selected, a phrase is only shown if a word of it has at least so many characters. (e.g. "a test" has 4 characters)
If "minimum word length (all)" is selected, a phrase is only shown if all words of it has at least so many characters. (e.g. "a test" has 1 character)
If "completely ignore" is selected, shorter words are completely ignore.
(e.g. with length 3, the sentence "this is a test" is equally to "this test", while the other options would separate it in "this is", "is a", "a test", even if non of this phrases would be shown)</string>
</property>
<property name="value">
<number>4</number>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Minimum occurence count:</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QSpinBox" name="minimumCountSpin">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Only phrase are shown which appears at least so many times in the document.</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QSpinBox" name="sentenceLengthSpin">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>The controls in this row determine how many consecuting words are treated as a single phrase.
If minimum and maximum are selected, exactly so many words are taken. (e.g. with 2, in the sentence above: "the controls", "controls in",...)
If only maximum is selected, words at the beginning are also taken. (e.g. "the", "the controls", "controls in",...)</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Source:</string>
</property>
</widget>
</item>
<item row="6" column="2">
<widget class="QLineEdit" name="sentenceEndChars">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>If "respect phrase end chars" is checked, words before and after a given character are always treated at words of different phrases.
If not, end characters are ignored.</string>
</property>
<property name="text">
<string>.;:?!</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<widget class="QCheckBox" name="respectEndCharsCheck">
<property name="toolTip">
<string>If "respect phrase end chars" is checked, words before and after a given character are always treated as words of different phrases.
If not, end characters are ignored.</string>
</property>
<property name="text">
<string>Respect phrase end chars:</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<widget class="QComboBox" name="wordsPerPhraseMeaning">
<property name="toolTip">
<string>The controls in this row determine how many consecuting words are treated as a single phrase.
If minimum and maximum are selected, exactly so many words are taken. (e.g. with 2, in the sentence above: "the controls", "controls in",...)
If only maximum is selected, words at the beginning are also taken. (e.g. "the", "the controls", "controls in",...)</string>
</property>
<item>
<property name="text">
<string>Maximum words per phrase:</string>
</property>
</item>
<item>
<property name="text">
<string>Min&max words per phrase:</string>
</property>
</item>
</widget>
</item>
<item row="7" column="1" colspan="2">
<widget class="QComboBox" name="filter">
<property name="editable">
<bool>true</bool>
</property>
<property name="insertPolicy">
<enum>QComboBox::NoInsert</enum>
</property>
<item>
<property name="text">
<string>None (.*)</string>
</property>
</item>
<item>
<property name="text">
<string>No Numbers (.*[^0-9].*)</string>
</property>
</item>
<item>
<property name="text">
<string>No Digits ([^0-9]*)</string>
</property>
</item>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Filter</string>
</property>
</widget>
</item>
<item row="8" column="1" colspan="2">
<widget class="QComboBox" name="comboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Determines if the whole document, only the selection, or only a certain chapter are analysed.</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<item>
<property name="text">
<string>Whole document</string>
</property>
</item>
<item>
<property name="text">
<string>Selection</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
|