Révision 3944
TXM/trunk/bundles/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/RWorkspace.java (revision 3944) | ||
---|---|---|
293 | 293 |
* if not try to launch it. |
294 | 294 |
* |
295 | 295 |
* @param pathToRExecutable the path to r executable |
296 |
* @param options |
|
297 | 296 |
* @param rServeArgs |
298 | 297 |
* @return true if Rserve is launched |
299 | 298 |
* @throws RWorkspaceException the r workspace exception |
TXM/trunk/bundles/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/StartRserve.java (revision 3944) | ||
---|---|---|
66 | 66 |
* Launch rserve. |
67 | 67 |
* |
68 | 68 |
* @param cmd the cmd |
69 |
* @param options |
|
70 | 69 |
* @return true, if successful |
71 | 70 |
*/ |
72 | 71 |
protected static boolean launchRserve(String cmd, int port, boolean debug, String rArgs, String rServeArgs) { |
... | ... | |
192 | 191 |
* checks whether Rserve is running and if that's not the case it attempts |
193 | 192 |
* to start it using the defaults for the platform where it is run on. This |
194 | 193 |
* method is meant to be set-and-forget and cover most default setups. For |
195 |
* special setups you may get more control over R with < |
|
196 |
* <code>launchRserve</code> instead. |
|
194 |
* special setups you may get more control over R with <code>launchRserve</code> instead. |
|
197 | 195 |
* |
198 | 196 |
* @param rServeArgs |
199 | 197 |
* @param rargs |
TXM/trunk/bundles/org.txm.libs.args4j/src/org/kohsuke/args4j/MapSetter.java (revision 3944) | ||
---|---|---|
7 | 7 |
import org.kohsuke.args4j.spi.Setter; |
8 | 8 |
|
9 | 9 |
/** |
10 |
* |
|
11 |
* <p> |
|
10 | 12 |
* This setter adds a new entry to a Map. |
11 | 13 |
* The value which is passed is split into the Map-key and Map-value by a "=". |
12 |
* <p> |
|
13 |
* <tt>-map key=value</tt> |
|
14 |
* <code>-map key=value</code> |
|
14 | 15 |
* </p> |
15 | 16 |
*/ |
16 | 17 |
@SuppressWarnings("rawtypes") |
TXM/trunk/bundles/org.txm.libs.args4j/src/org/kohsuke/args4j/Option.java (revision 3944) | ||
---|---|---|
18 | 18 |
* |
19 | 19 |
* <p> |
20 | 20 |
* This annotation can be placed on a field of type T or the method |
21 |
* of the form <tt>void <i>methodName</i>(T value)</tt>. Its access
|
|
21 |
* of the form <code>void <i>methodName</i>(T value)</code>. Its access
|
|
22 | 22 |
* modified can be anything, but if it's not public, your application |
23 | 23 |
* needs to run in a security context that allows args4j to access |
24 | 24 |
* the field/method (see {@link AccessibleObject#setAccessible(boolean)}. |
TXM/trunk/bundles/org.txm.libs.args4j/src/org/kohsuke/args4j/spi/ConfigElement.java (revision 3944) | ||
---|---|---|
1 | 1 |
package org.kohsuke.args4j.spi; |
2 | 2 |
|
3 | 3 |
/** |
4 |
* The ConfigElement is an <tt><option></tt> or <tt><argument></tt> tag |
|
5 |
* in the xml configuration file. |
|
4 |
* The ConfigElement is an <code><option></code> or <code><argument></code> tag in the XML configuration file. |
|
6 | 5 |
* |
7 | 6 |
* @author Jan Materne |
8 | 7 |
*/ |
TXM/trunk/bundles/org.txm.libs.args4j/src/org/kohsuke/args4j/XmlParser.java (revision 3944) | ||
---|---|---|
23 | 23 |
* Exactly one of the attributes 'field' or 'method' must be set. |
24 | 24 |
* The 'handler' value specifies a full qualified class name. |
25 | 25 |
* |
26 |
* <h3>Example</h3>
|
|
26 |
* <h2>Example</h2>
|
|
27 | 27 |
* |
28 | 28 |
* <pre> |
29 | 29 |
* <args> |
TXM/trunk/bundles/org.txm.textsbalance.core/src/org/txm/textsbalance/core/functions/TextsBalance.java (revision 3944) | ||
---|---|---|
114 | 114 |
this.setDirty(); |
115 | 115 |
} |
116 | 116 |
|
117 |
|
|
118 |
/** |
|
119 |
* @param |
|
120 |
* @param method |
|
121 |
* @param structuralUnit |
|
122 |
* @param suPropertyName |
|
123 |
* @param countTexts |
|
124 |
* @throws CqiClientException |
|
125 |
*/ |
|
117 |
@Override |
|
126 | 118 |
protected boolean __compute(TXMProgressMonitor monitor) { |
127 | 119 |
|
128 | 120 |
monitor.setTask("Computing balance with metadata propertyName = " + this.structuralUnitProperty + ", structural unit = " + this.structuralUnit.getName() + " and groupByTexts = " + this.countTexts); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ |
TXM/trunk/bundles/org.txm.core/src/java/org/txm/xml/XMLProcessor.java (revision 3944) | ||
---|---|---|
103 | 103 |
/** |
104 | 104 |
* Creates the output. |
105 | 105 |
* |
106 |
* @param outfile the outfile |
|
107 | 106 |
* @return true, if successful |
108 | 107 |
* @throws XMLStreamException |
109 | 108 |
* @throws IOException |
110 | 109 |
*/ |
111 | 110 |
private boolean createOutput(File f) throws XMLStreamException, IOException { |
111 |
|
|
112 | 112 |
if (writer != null) { // process from a file |
113 | 113 |
writer.close(); |
114 | 114 |
} |
TXM/trunk/bundles/org.txm.core/src/java/org/txm/importer/StaxIdentityParser.java (revision 3944) | ||
---|---|---|
110 | 110 |
/** |
111 | 111 |
* Creates the output. |
112 | 112 |
* |
113 |
* @param outfile the outfile |
|
114 | 113 |
* @return true, if successful |
115 | 114 |
*/ |
116 | 115 |
private boolean createOutput(File f, String encoding) { |
TXM/trunk/bundles/org.txm.core/src/java/org/txm/objects/Workspace.java (revision 3944) | ||
---|---|---|
114 | 114 |
/** |
115 | 115 |
* Instantiates a new workspace. |
116 | 116 |
* |
117 |
* @param xmlproject the xmlproject |
|
118 | 117 |
* @throws CoreException |
119 | 118 |
*/ |
120 | 119 |
private Workspace() throws CoreException { |
TXM/trunk/bundles/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/editors/ChartEditor.java (revision 3944) | ||
---|---|---|
153 | 153 |
/** |
154 | 154 |
* Creates a new editor. |
155 | 155 |
* |
156 |
* @param swtComponentsProvider |
|
157 | 156 |
* @param chartEditorInput |
158 | 157 |
*/ |
159 | 158 |
protected ChartEditor(ChartEditorInput chartEditorInput) { |
TXM/trunk/bundles/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/swt/ChartComposite.java (revision 3944) | ||
---|---|---|
126 | 126 |
/** |
127 | 127 |
* Creates a new chart component. |
128 | 128 |
* |
129 |
* @param chartsEngine |
|
130 |
* @param chartEditorInput |
|
131 | 129 |
* @return |
132 | 130 |
*/ |
133 | 131 |
protected abstract IChartComponent _createChartComponent(); |
TXM/trunk/bundles/org.txm.chartsengine.core/src/org/txm/chartsengine/core/ChartsEngine.java (revision 3944) | ||
---|---|---|
106 | 106 |
/** |
107 | 107 |
* Creates a charts engine with the specified name, description and output format. |
108 | 108 |
* |
109 |
* @param name |
|
110 | 109 |
* @param description |
111 | 110 |
* @param outputFormat |
112 | 111 |
*/ |
... | ... | |
319 | 318 |
/** |
320 | 319 |
* Populates the chart creators from loaded extensions according to the specified chars engine name. |
321 | 320 |
* |
322 |
* @param chartsEngineName
|
|
321 |
* @param chartsEngineClass
|
|
323 | 322 |
*/ |
324 | 323 |
protected void registerChartCreatorExtensions(Class<? extends ChartsEngine> chartsEngineClass) { |
325 | 324 |
|
TXM/trunk/bundles/org.txm.chartsengine.core/src/org/txm/chartsengine/core/preferences/ChartsEnginePreferences.java (revision 3944) | ||
---|---|---|
55 | 55 |
|
56 | 56 |
|
57 | 57 |
/** |
58 |
* Constant for the color mode (colors, grayscale, monochrome, B&W).
|
|
58 |
* Constant for the color mode (colors, grayscale, monochrome, Black and White).
|
|
59 | 59 |
*/ |
60 | 60 |
public final static String RENDERING_COLORS_MODE = "colors_mode"; //$NON-NLS-1$ |
61 | 61 |
|
TXM/trunk/bundles/org.txm.chartsengine.core/src/org/txm/chartsengine/core/results/ChartResult.java (revision 3944) | ||
---|---|---|
34 | 34 |
/** |
35 | 35 |
* The chart object. |
36 | 36 |
* TODO: MD: this is problematic, the chart object should allow us to edit the chart. In the case of the R charts, the File has not the same value as the JFC Chart (which can be edited) |
37 |
* TODO: replace this with at least a ChartResult parameter such as <O extends Object> but a abstract <C extends org.txm.Chart> would be better even if is only an empty class -> avoid compilation |
|
38 |
* TODO: error and upgrade the readability of the code and avoid unnecessary casts |
|
37 |
* TODO: replace this with at least a ChartResult parameter such as "O extends Object" but a abstract "C extends org.txm.Chart" would be better even if is only an empty class. avoid compilation error and upgrade the readability of the code and avoid unnecessary casts |
|
39 | 38 |
*/ |
40 | 39 |
protected Object chart; |
41 | 40 |
|
... | ... | |
68 | 67 |
|
69 | 68 |
/** |
70 | 69 |
* The chart type; |
71 |
* TODO MD: finalize the chart type parameter. The chart type is directly linked to the ChartCreator classes and should not be a simple String -> this will allow us to manage this pref correctly
|
|
72 |
* in the autosave&load methods
|
|
70 |
* TODO MD: finalize the chart type parameter. The chart type is directly linked to the ChartCreator classes and should not be a simple String. this will allow us to manage this pref correctly
|
|
71 |
* in the autosave and load methods
|
|
73 | 72 |
*/ |
74 | 73 |
@Parameter(key = ChartsEnginePreferences.CHART_TYPE, type = Parameter.RENDERING) |
75 | 74 |
protected String chartType; |
TXM/trunk/bundles/org.txm.chartsengine.core/src/org/txm/chartsengine/core/Theme.java (revision 3944) | ||
---|---|---|
178 | 178 |
} |
179 | 179 |
|
180 | 180 |
/** |
181 |
* Gets a B&W palette according to the specified items count.
|
|
181 |
* Gets a B and W palette according to the specified items count.
|
|
182 | 182 |
* @param itemsCount |
183 | 183 |
* @return the created palette |
184 | 184 |
*/ |
TXM/trunk/bundles/org.txm.ahc.core/src/org/txm/ahc/core/preferences/AHCPreferences.java (revision 3944) | ||
---|---|---|
20 | 20 |
public static final String RENDERING = "rendering"; //$NON-NLS-1$ |
21 | 21 |
|
22 | 22 |
/** |
23 |
* The method (METHODS <- c("average", "single", "complete", "ward", "weighted", "flexible")).
|
|
23 |
* The method (METHODS {@code <-} c("average", "single", "complete", "ward", "weighted", "flexible")).
|
|
24 | 24 |
*/ |
25 | 25 |
public static final String METHOD = "method"; //$NON-NLS-1$ |
26 | 26 |
|
TXM/trunk/bundles/org.txm.ahc.core/src/org/txm/ahc/core/functions/AHC.java (revision 3944) | ||
---|---|---|
116 | 116 |
protected String metric; |
117 | 117 |
|
118 | 118 |
/** |
119 |
* The method (METHODS <- c("average", "single", "complete", "ward", "weighted", "flexible")).
|
|
119 |
* The method (METHODS {@code <-} c("average", "single", "complete", "ward", "weighted", "flexible")).
|
|
120 | 120 |
*/ |
121 | 121 |
@Parameter(key = AHCPreferences.METHOD) |
122 | 122 |
protected String method; |
... | ... | |
315 | 315 |
* @return true if success |
316 | 316 |
*/ |
317 | 317 |
// FIXME: SJ: to extract to future exporter extension |
318 |
@Override |
|
318 | 319 |
public boolean _toTxt(File outfile, String encoding, String colsep, String txtsep) { |
319 | 320 |
boolean ret = true; |
320 | 321 |
acquireSemaphore(); |
... | ... | |
473 | 474 |
/** |
474 | 475 |
* Gets the cluster tree heights. |
475 | 476 |
* |
476 |
* @return |
|
477 |
* @return clusters heights
|
|
477 | 478 |
*/ |
478 | 479 |
public double[] getClusterTreeHeights() { |
479 | 480 |
if (this.clusterHeights == null) { |
... | ... | |
519 | 520 |
/** |
520 | 521 |
* Gets the cluster tree merges. |
521 | 522 |
* |
522 |
* @return |
|
523 |
* @return clusters classes
|
|
523 | 524 |
*/ |
524 | 525 |
public double[][] getClusterTreeMerges() { |
525 | 526 |
if (this.clusterMerges == null) { |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 3944) | ||
---|---|---|
574 | 574 |
* notifyDispose |
575 | 575 |
* notifyDoSave |
576 | 576 |
* |
577 |
* @param step |
|
578 |
* the method to call |
|
577 |
* @param step the method to call |
|
579 | 578 |
* @throws SecurityException |
580 |
* @throws NoSuchMethodException |
|
581 | 579 |
*/ |
582 | 580 |
protected void notifyExtensions(final String step) { |
583 | 581 |
|
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/editors/input/AbstractEditorInput.java (revision 3944) | ||
---|---|---|
31 | 31 |
import org.eclipse.ui.IEditorInput; |
32 | 32 |
import org.eclipse.ui.IPersistableElement; |
33 | 33 |
|
34 |
// TODO: Auto-generated Javadoc |
|
35 | 34 |
/** |
36 | 35 |
* This is a root implementation for other abstract implementation of tab type (. |
37 | 36 |
* |
38 |
* {@link AbstractSVGGraphicable}, {@link AbstractTablableEditorInput}, etc.).
|
|
37 |
* {@link AbstractTablableEditorInput}, etc.). |
|
39 | 38 |
* @author sloiseau |
40 | 39 |
*/ |
41 | 40 |
@SuppressWarnings("rawtypes") //$NON-NLS-1$ |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/commands/workspace/LoadBinaryCorporaDirectory.java (revision 3944) | ||
---|---|---|
330 | 330 |
/** |
331 | 331 |
* dont manage SearchEngine state |
332 | 332 |
* |
333 |
* @param files2
|
|
333 |
* @param directory
|
|
334 | 334 |
* @param job |
335 | 335 |
* @param monitor |
336 | 336 |
* @return the loaded projects |
... | ... | |
343 | 343 |
/** |
344 | 344 |
* dont manage SearchEngine state |
345 | 345 |
* |
346 |
* @param corporaDirectory
|
|
346 |
* @param corporaFiles
|
|
347 | 347 |
* @param job |
348 | 348 |
* @param monitor |
349 | 349 |
* @param replace if true replace existing corpus |
350 |
* @param loadDirectories |
|
351 | 350 |
* @return the loaded projects |
352 | 351 |
*/ |
353 | 352 |
protected static ArrayList<Project> loadBinaryCorpusFromCorporaDirectory(List<File> corporaFiles, JobHandler job, IProgressMonitor monitor, boolean replace, String sourceName) { |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/actions/CreatePartitionDialog.java (revision 3944) | ||
---|---|---|
487 | 487 |
/** |
488 | 488 |
* Creates the advanced query field. |
489 | 489 |
* |
490 |
* @param composite the composite |
|
491 | 490 |
*/ |
492 | 491 |
private void createAdvancedQueryField() { |
493 | 492 |
|
... | ... | |
500 | 499 |
/** |
501 | 500 |
* Adds the query field. |
502 | 501 |
* |
503 |
* @param composite the composite |
|
504 | 502 |
*/ |
505 | 503 |
private QueryWidget addQueryField() { |
506 | 504 |
|
TXM/trunk/bundles/org.txm.index.core/src/org/txm/index/core/functions/___Lexicon2.java (revision 3944) | ||
---|---|---|
516 | 516 |
* @param property the property |
517 | 517 |
* @param freq the freq |
518 | 518 |
* @param ids the ids |
519 |
* {@link Corpus#getLexicon(Property)} or |
|
520 |
* {@link Subcorpus#getLexicon(Property)}. |
|
521 | 519 |
*/ |
522 | 520 |
protected void init(TXMResult corpus, Property property, int[] freq, int[] ids) { |
523 | 521 |
if (freq.length != ids.length) { |
TXM/trunk/bundles/org.txm.index.core/src/org/txm/index/core/functions/PartitionIndex.java (revision 3944) | ||
---|---|---|
421 | 421 |
/** |
422 | 422 |
* As r matrix. |
423 | 423 |
* |
424 |
* TODO MD: restore the asRMatrix method used by the execR&co macros as demonstration
|
|
424 |
* TODO MD: restore the asRMatrix method used by the execR macros as demonstration |
|
425 | 425 |
* TODO MD: finalize a export to R mechanism (maybe linked to the export engines to be implemented |
426 | 426 |
* |
427 | 427 |
* @return the string |
TXM/trunk/bundles/org.txm.index.core/src/org/txm/index/core/functions/Index.java (revision 3944) | ||
---|---|---|
1175 | 1175 |
/** |
1176 | 1176 |
* As r matrix. |
1177 | 1177 |
* |
1178 |
* TODO MD: restore the asRMatrix method used by the execR&co macros as demonstration
|
|
1178 |
* TODO MD: restore the asRMatrix method used by the execR macros as demonstration |
|
1179 | 1179 |
* TODO MD: finalize a export to R mechanism (maybe linked to the export engines to be implemented |
1180 | 1180 |
* |
1181 | 1181 |
* @return the string |
TXM/trunk/bundles/org.txm.utils.core/src/org/txm/utils/logger/LocalizedLogger.java (revision 3944) | ||
---|---|---|
37 | 37 |
/** |
38 | 38 |
* A logger whose messages are translated unsing a {@link Localizer}. |
39 | 39 |
* |
40 |
* @deprecated |
|
40 |
* @deprecated no more used
|
|
41 | 41 |
* @author sloiseau |
42 | 42 |
*/ |
43 | 43 |
@Deprecated |
TXM/trunk/bundles/org.txm.texts.core/src/org/txm/texts/core/TextsSelection.java (revision 3944) | ||
---|---|---|
34 | 34 |
super(parametersNodePath); |
35 | 35 |
} |
36 | 36 |
|
37 |
@Override |
|
37 | 38 |
public boolean canCompute() { |
38 | 39 |
return criterii.size() > 0; |
39 | 40 |
} |
40 | 41 |
|
42 |
@Override |
|
41 | 43 |
public boolean __compute(TXMProgressMonitor monitor) throws Exception { |
42 | 44 |
|
43 | 45 |
StringBuilder buffer = new StringBuilder(); |
TXM/trunk/bundles/org.txm.specificities.core/src/org/txm/functions/contrasts/Contrast.java (revision 3944) | ||
---|---|---|
97 | 97 |
* @throws StatException the stat exception |
98 | 98 |
* @throws IOException |
99 | 99 |
*/ |
100 |
@Override |
|
100 | 101 |
public boolean _toTxt(File outfile, String encoding, String colseparator, String txtseparator) throws StatException, IOException { |
101 | 102 |
|
102 | 103 |
OutputStreamWriter writer; |
TXM/trunk/bundles/org.txm.specificities.core/src/org/txm/specificities/core/functions/Specificities.java (revision 3944) | ||
---|---|---|
178 | 178 |
* |
179 | 179 |
* @param symbol the symbol |
180 | 180 |
* @param specIndex the spec index (as double[row][column]) |
181 |
* @param table the table |
|
182 |
* @param typeFocus names of the rows of the lexical table with corresponding |
|
183 |
* rows in the specIndex array; <code>null</code> if all the |
|
184 |
* rows are represented in specIndex. |
|
185 |
* @param partFocus names of the cols of the lexical table with corresponding |
|
186 |
* cols in the specIndex array; <code>null</code> if all the |
|
187 |
* cols are represented in specIndex. |
|
188 |
* @param name the name |
|
189 |
* @param maxScore if abs(score) > maxScore -> score = +/- maxScore |
|
190 |
* @throws StatException the stat exception |
|
181 |
* @throws Exception the stat exception |
|
191 | 182 |
*/ |
192 | 183 |
protected void init(String symbol, double[][] specIndex) throws Exception { |
193 | 184 |
|
TXM/trunk/bundles/org.txm.dictionary.rcp/src/org/txm/dictionary/functions/sql/Dictionary.java (revision 3944) | ||
---|---|---|
149 | 149 |
* |
150 | 150 |
* @param name |
151 | 151 |
* @param functions |
152 |
* @param directory |
|
153 | 152 |
* @throws Exception |
154 | 153 |
*/ |
155 | 154 |
protected Dictionary(String name, HSQLFunctions functions) throws Exception { |
TXM/trunk/bundles/org.txm.progression.core/src/org/txm/progression/core/functions/Progression.java (revision 3944) | ||
---|---|---|
681 | 681 |
* @return |
682 | 682 |
* @throws IOException |
683 | 683 |
*/ |
684 |
@Override |
|
684 | 685 |
public boolean _toTxt(File outfile, String encoding, String colseparator, String txtseparator) throws IOException { |
685 | 686 |
|
686 | 687 |
// NK: writer declared as class attribute to perform a clean if the operation is interrupted |
TXM/trunk/bundles/org.txm.searchengine.cqp.core/src/org/txm/importer/cwb/PatchCwbRegistry.java (revision 3944) | ||
---|---|---|
180 | 180 |
} |
181 | 181 |
|
182 | 182 |
/** |
183 |
* Add the ALIGNED <corpus> line to a registry file.
|
|
183 |
* Add the ALIGNED {@code <corpus>} line to a registry file.
|
|
184 | 184 |
* |
185 | 185 |
* @param registryfile the registry file to patch |
186 | 186 |
* @param targetcorpus the aligned corpus |
... | ... | |
236 | 236 |
} |
237 | 237 |
|
238 | 238 |
/** |
239 |
* Add the ALIGNED <corpus> line to a registry file.
|
|
239 |
* Add the ALIGNED {@code <corpus>} line to a registry file.
|
|
240 | 240 |
* |
241 | 241 |
* @param registryfile the registry file to patch |
242 | 242 |
* @param oldname the oldname |
TXM/trunk/bundles/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/AbstractCqiClient.java (revision 3944) | ||
---|---|---|
45 | 45 |
import org.txm.searchengine.cqp.corpus.Property; |
46 | 46 |
import org.txm.searchengine.cqp.corpus.QueryResult; |
47 | 47 |
import org.txm.searchengine.cqp.corpus.StructuralUnitProperty; |
48 |
import org.txm.searchengine.cqp.corpus.VirtualProperty; |
|
49 | 48 |
import org.txm.searchengine.cqp.corpus.WordProperty; |
50 | 49 |
import org.txm.searchengine.cqp.corpus.query.CQLQuery; |
51 | 50 |
import org.txm.searchengine.cqp.corpus.query.Match; |
... | ... | |
402 | 401 |
* Gives the lexicon size of an attribute. |
403 | 402 |
* |
404 | 403 |
* @param attribute the attribute |
405 |
* @return the int |
|
406 | 404 |
* @throws IOException Signals that an I/O exception has occurred. |
407 | 405 |
* @throws UnexpectedAnswerException Signals that the data read on the socket is unexpected |
408 | 406 |
* @throws CqiServerError Signals that the cqi server raised an error |
409 |
* @returns the number of entries in the lexicon of a positional attribute
|
|
407 |
* @return the number of entries in the lexicon of a positional attribute |
|
410 | 408 |
*/ |
411 | 409 |
@Override |
412 | 410 |
public abstract int lexiconSize(String attribute) throws IOException, UnexpectedAnswerException, CqiServerError; |
... | ... | |
544 | 542 |
public abstract int[] cpos2Alg(String attribute, int[] cpos) throws UnexpectedAnswerException, IOException, CqiServerError; |
545 | 543 |
|
546 | 544 |
/** |
547 |
* Retrieves annotated string values of structure regions in <strucs>; "" if
|
|
545 |
* Retrieves annotated string values of structure regions in "strucs"; "" if
|
|
548 | 546 |
* out of range. |
549 | 547 |
* |
550 | 548 |
* @param attribute the attribute |
... | ... | |
571 | 569 |
public abstract int[] id2Cpos(String attribute, int id) throws UnexpectedAnswerException, IOException, CqiServerError; |
572 | 570 |
|
573 | 571 |
/** |
574 |
* Retrieves all corpus positions where one of the tokens in <id_list>
|
|
572 |
* Retrieves all corpus positions where one of the tokens in "id_list"
|
|
575 | 573 |
* occurs; the returned list is sorted as a whole, not per token id. |
576 | 574 |
* |
577 | 575 |
* @param attribute the attribute |
... | ... | |
585 | 583 |
public abstract int[] idList2Cpos(String attribute, int[] ids) throws UnexpectedAnswerException, IOException, CqiServerError; |
586 | 584 |
|
587 | 585 |
/** |
588 |
* Retrieves the lexicon IDs of all tokens that match <regex>; the returned |
|
589 |
* list may be empty (size 0). |
|
586 |
* Retrieves the lexicon IDs of all tokens that match "regex"; the returned list may be empty (size 0). |
|
590 | 587 |
* |
591 | 588 |
* @param attribute the attribute |
592 | 589 |
* @param regex the regex |
... | ... | |
599 | 596 |
public abstract int[] regex2Id(String attribute, String regex) throws UnexpectedAnswerException, IOException, CqiServerError; |
600 | 597 |
|
601 | 598 |
/** |
602 |
* Retrieves the start and end corpus positions of structure region <struc>.
|
|
599 |
* Retrieves the start and end corpus positions of structure region "struc".
|
|
603 | 600 |
* |
604 | 601 |
* @param attribute the attribute |
605 | 602 |
* @param struc the struc |
... | ... | |
613 | 610 |
|
614 | 611 |
/** |
615 | 612 |
* Retrieves start and end corpus positions of an alignement region in the |
616 |
* source and target corpora<struc>.
|
|
613 |
* source and target corpora "struc".
|
|
617 | 614 |
* |
618 | 615 |
* @param attribute the attribute |
619 | 616 |
* @param struc the struc |
... | ... | |
713 | 710 |
public abstract boolean subCorpusHasField(String subcorpus, byte field) throws IOException, UnexpectedAnswerException, CqiServerError; |
714 | 711 |
|
715 | 712 |
/** |
716 |
* Dumps the values of <field> for match ranges <first> .. <last> in
|
|
717 |
* <subcorpus>. <field> is one of the CQI_CONST_FIELD_* constants.
|
|
713 |
* Dumps the values of "field" for match ranges "first" .. "last" in
|
|
714 |
* "subcorpus". "field" is one of the CQI_CONST_FIELD_* constants.
|
|
718 | 715 |
* |
719 | 716 |
* @param subcorpus |
720 | 717 |
* the subcorpus |
... | ... | |
756 | 753 |
UnexpectedAnswerException, CqiServerError; |
757 | 754 |
|
758 | 755 |
/** |
759 |
* Returns <n> (id, frequency) pairs flattened into a list of size 2*<n> NB:
|
|
756 |
* Returns {@code <n>} (id, frequency) pairs flattened into a list of size 2*{@code <n>} NB:
|
|
760 | 757 |
* pairs are sorted by frequency desc. |
761 | 758 |
* |
762 | 759 |
* @param subcorpus |
... | ... | |
784 | 781 |
UnexpectedAnswerException, CqiServerError; |
785 | 782 |
|
786 | 783 |
/** |
787 |
* Returns <n> (id1, id2, frequency) pairs flattened into a list of size
|
|
788 |
* 3*<n> NB: triples are sorted by frequency desc. .
|
|
784 |
* Returns {@code <n>} (id1, id2, frequency) pairs flattened into a list of size
|
|
785 |
* 3*{@code <n>} NB: triples are sorted by frequency desc. .
|
|
789 | 786 |
* |
790 | 787 |
* @param subcorpus |
791 | 788 |
* the subcorpus |
TXM/trunk/bundles/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/NetCqiClient.java (revision 3944) | ||
---|---|---|
102 | 102 |
/** |
103 | 103 |
* Write a string on the socket. |
104 | 104 |
* |
105 |
* @param string |
|
106 |
* the string |
|
105 |
* @param string the string |
|
107 | 106 |
* |
108 | 107 |
* @throws IOException |
109 | 108 |
* Signals that an I/O exception has occurred. |
... | ... | |
127 | 126 |
/** |
128 | 127 |
* Write a string array on the socket. |
129 | 128 |
* |
130 |
* @param strings |
|
131 |
* the string array |
|
129 |
* @param strings the string array |
|
132 | 130 |
* |
133 | 131 |
* @throws IOException |
134 | 132 |
* Signals that an I/O exception has occurred. |
135 | 133 |
*/ |
136 |
private synchronized void writeStringArray(String[] strings) |
|
137 |
throws IOException { |
|
134 |
private synchronized void writeStringArray(String[] strings) throws IOException { |
|
138 | 135 |
int length = strings.length; |
139 | 136 |
this.streamToServer.writeInt(length); |
140 | 137 |
for (int i = 0; i < length; i++) |
... | ... | |
768 | 765 |
*/ |
769 | 766 |
@Override |
770 | 767 |
public synchronized boolean connect(String username, String password) throws UnexpectedAnswerException, IOException, CqiServerError { |
768 |
|
|
771 | 769 |
this.username = username; |
772 | 770 |
this.password = password; |
773 | 771 |
|
... | ... | |
793 | 791 |
* |
794 | 792 |
* @return true, if successful |
795 | 793 |
* |
796 |
* @throws UnexpectedAnswerException |
|
797 |
* Signals that the data read on the socket is unexpected |
|
798 |
* @throws CqiServerError |
|
799 |
* Signals that the cqi server raised an error |
|
800 |
* @throws IOException |
|
801 |
* Signals that an I/O exception has occurred. |
|
794 |
* @throws UnexpectedAnswerException Signals that the data read on the socket is unexpected |
|
795 |
* @throws CqiServerError Signals that the cqi server raised an error |
|
796 |
* @throws IOException Signals that an I/O exception has occurred. |
|
802 | 797 |
*/ |
803 | 798 |
@Override |
804 | 799 |
public synchronized boolean disconnect() throws UnexpectedAnswerException, CqiServerError, IOException { |
... | ... | |
809 | 804 |
String lastError; |
810 | 805 |
@Override |
811 | 806 |
public synchronized String getLastError() { |
812 |
if(lastError != null && lastError.length() > 0) { |
|
807 |
if (lastError != null && lastError.length() > 0) {
|
|
813 | 808 |
return lastError; |
814 | 809 |
} |
815 | 810 |
return CQPSearchEngineCoreMessages.noError; |
... | ... | |
998 | 993 |
/** |
999 | 994 |
* Drop a corpus. |
1000 | 995 |
* |
1001 |
* @param corpus |
|
1002 |
* the corpus |
|
996 |
* @param corpus the corpus |
|
1003 | 997 |
* @throws IOException |
1004 | 998 |
*/ |
1005 | 999 |
@Override |
... | ... | |
1033 | 1027 |
* Gives the lexicon size of an attribute. |
1034 | 1028 |
* |
1035 | 1029 |
* @param attribute the attribute |
1036 |
* @return the int |
|
1037 | 1030 |
* @throws IOException Signals that an I/O exception has occurred. |
1038 | 1031 |
* @throws UnexpectedAnswerException Signals that the data read on the socket is unexpected |
1039 | 1032 |
* @throws CqiServerError Signals that the cqi server raised an error |
1040 |
* @returns the number of entries in the lexicon of a positional attribute
|
|
1033 |
* @return the number of entries in the lexicon of a positional attribute |
|
1041 | 1034 |
*/ |
1042 | 1035 |
@Override |
1043 | 1036 |
public synchronized int lexiconSize(String attribute) throws IOException, UnexpectedAnswerException, CqiServerError { |
... | ... | |
1217 | 1210 |
} |
1218 | 1211 |
|
1219 | 1212 |
/** |
1220 |
* Retrieves annotated string values of structure regions in <strucs>; "" if
|
|
1213 |
* Retrieves annotated string values of structure regions in "strucs"; "" if
|
|
1221 | 1214 |
* out of range. |
1222 | 1215 |
* |
1223 | 1216 |
* @param attribute the attribute |
... | ... | |
1233 | 1226 |
} |
1234 | 1227 |
|
1235 | 1228 |
/** |
1236 |
* Retrieves annotated string values of structure regions in <strucs>; "" if
|
|
1229 |
* Retrieves annotated string values of structure regions in "strucs"; "" if
|
|
1237 | 1230 |
* out of range. |
1238 | 1231 |
* |
1239 | 1232 |
* @param attribute the attribute |
... | ... | |
1266 | 1259 |
} |
1267 | 1260 |
|
1268 | 1261 |
/** |
1269 |
* Retrieves all corpus positions where one of the tokens in <id_list>
|
|
1262 |
* Retrieves all corpus positions where one of the tokens in "id_list"
|
|
1270 | 1263 |
* occurs; the returned list is sorted as a whole, not per token id. |
1271 | 1264 |
* |
1272 | 1265 |
* @param attribute the attribute |
... | ... | |
1283 | 1276 |
} |
1284 | 1277 |
|
1285 | 1278 |
/** |
1286 |
* Retrieves the lexicon IDs of all tokens that match <regex>; the returned
|
|
1279 |
* Retrieves the lexicon IDs of all tokens that match "regex"; the returned
|
|
1287 | 1280 |
* list may be empty (size 0);. |
1288 | 1281 |
* |
1289 | 1282 |
* @param attribute the attribute |
... | ... | |
1302 | 1295 |
} |
1303 | 1296 |
|
1304 | 1297 |
/** |
1305 |
* Retrieves the start and end corpus positions of structure region <struc>.
|
|
1298 |
* Retrieves the start and end corpus positions of structure region "struc".
|
|
1306 | 1299 |
* |
1307 | 1300 |
* @param attribute the attribute |
1308 | 1301 |
* @param struc the struc |
... | ... | |
1320 | 1313 |
} |
1321 | 1314 |
|
1322 | 1315 |
/** |
1323 |
* Retrieves start and end corpus positions of an alignement region in the |
|
1324 |
* source and target corpora<struc>. |
|
1316 |
* Retrieves start and end corpus positions of an alignement region in the source and target corpora "struc". |
|
1325 | 1317 |
* |
1326 | 1318 |
* @param attribute the attribute |
1327 | 1319 |
* @param struc the struc |
... | ... | |
1444 | 1436 |
} |
1445 | 1437 |
|
1446 | 1438 |
/** |
1447 |
* Dumps the values of <field> for match ranges <first> .. <last> in
|
|
1448 |
* <subcorpus>. <field> is one of the CQI_CONST_FIELD_* constants.
|
|
1439 |
* Dumps the values of "field"for match ranges "first" .. "last" in
|
|
1440 |
* "subcorpus". "field" is one of the CQI_CONST_FIELD_* constants.
|
|
1449 | 1441 |
* |
1450 | 1442 |
* @param subcorpus |
1451 | 1443 |
* the subcorpus |
... | ... | |
1496 | 1488 |
} |
1497 | 1489 |
|
1498 | 1490 |
/** |
1499 |
* Returns <n> (id, frequency) pairs flattened into a list of size 2*<n> NB:
|
|
1491 |
* Returns {@code <n>} (id, frequency) pairs flattened into a list of size 2*{@code <n>} NB:
|
|
1500 | 1492 |
* pairs are sorted by frequency desc. |
1501 | 1493 |
* |
1502 | 1494 |
* @param subcorpus |
... | ... | |
1529 | 1521 |
} |
1530 | 1522 |
|
1531 | 1523 |
/** |
1532 |
* Returns <n> (id1, id2, frequency) pairs flattened into a list of size
|
|
1533 |
* 3*<n> NB: triples are sorted by frequency desc. .
|
|
1524 |
* Returns {@code <n>} (id1, id2, frequency) pairs flattened into a list of size
|
|
1525 |
* 3*{@code <n>} NB: triples are sorted by frequency desc. .
|
|
1534 | 1526 |
* |
1535 | 1527 |
* @param subcorpus |
1536 | 1528 |
* the subcorpus |
TXM/trunk/bundles/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/ICqiClient.java (revision 3944) | ||
---|---|---|
476 | 476 |
* Gives the lexicon size of an attribute. |
477 | 477 |
* |
478 | 478 |
* @param attribute the attribute |
479 |
* @return the int |
|
480 | 479 |
* @throws IOException Signals that an I/O exception has occurred. |
481 | 480 |
* @throws UnexpectedAnswerException Signals that the data read on the socket is unexpected |
482 | 481 |
* @throws CqiServerError Signals that the cqi server raised an error |
483 |
* @returns the number of entries in the lexicon of a positional attribute
|
|
482 |
* @return the number of entries in the lexicon of a positional attribute |
|
484 | 483 |
*/ |
485 | 484 |
public int lexiconSize(String attribute) throws IOException, UnexpectedAnswerException, CqiServerError; |
486 | 485 |
|
... | ... | |
607 | 606 |
public int[] cpos2Alg(String attribute, int[] cpos) throws UnexpectedAnswerException, IOException, CqiServerError; |
608 | 607 |
|
609 | 608 |
/** |
610 |
* Retrieves annotated string values of structure regions in <strucs>; "" if
|
|
609 |
* Retrieves annotated string values of structure regions in "strucs"; "" if
|
|
611 | 610 |
* out of range. |
612 | 611 |
* |
613 | 612 |
* @param attribute the attribute |
... | ... | |
632 | 631 |
public int[] id2Cpos(String attribute, int id) throws UnexpectedAnswerException, IOException, CqiServerError; |
633 | 632 |
|
634 | 633 |
/** |
635 |
* Retrieves all corpus positions where one of the tokens in <id_list>
|
|
634 |
* Retrieves all corpus positions where one of the tokens in "id_list"
|
|
636 | 635 |
* occurs; the returned list is sorted as a whole, not per token id. |
637 | 636 |
* |
638 | 637 |
* @param attribute the attribute |
... | ... | |
645 | 644 |
public int[] idList2Cpos(String attribute, int[] ids) throws UnexpectedAnswerException, IOException, CqiServerError; |
646 | 645 |
|
647 | 646 |
/** |
648 |
* Retrieves the lexicon IDs of all tokens that match <regex>; the returned
|
|
647 |
* Retrieves the lexicon IDs of all tokens that match "regex"; the returned
|
|
649 | 648 |
* list may be empty (size 0). |
650 | 649 |
* |
651 | 650 |
* @param attribute the attribute |
... | ... | |
658 | 657 |
public int[] regex2Id(String attribute, String regex) throws UnexpectedAnswerException, IOException, CqiServerError; |
659 | 658 |
|
660 | 659 |
/** |
661 |
* Retrieves the start and end corpus positions of structure region <struc>.
|
|
660 |
* Retrieves the start and end corpus positions of structure region "struc".
|
|
662 | 661 |
* |
663 | 662 |
* @param attribute the attribute |
664 | 663 |
* @param struc the struc |
... | ... | |
671 | 670 |
|
672 | 671 |
/** |
673 | 672 |
* Retrieves start and end corpus positions of an alignement region in the |
674 |
* source and target corpora<struc>.
|
|
673 |
* source and target corpora"struc".
|
|
675 | 674 |
* |
676 | 675 |
* @param attribute the attribute |
677 | 676 |
* @param struc the struc |
... | ... | |
743 | 742 |
public boolean subCorpusHasField(String subcorpus, byte field) throws IOException, UnexpectedAnswerException, CqiServerError; |
744 | 743 |
|
745 | 744 |
/** |
746 |
* Dumps the values of <field> for match ranges <first> .. <last> in
|
|
747 |
* <subcorpus>. <field> is one of the CQI_CONST_FIELD_* constants.
|
|
745 |
* Dumps the values of "field" for match ranges "first" .. "last" in
|
|
746 |
* "subcorpus". "field" is one of the CQI_CONST_FIELD_* constants.
|
|
748 | 747 |
* |
749 | 748 |
* @param subcorpus |
750 | 749 |
* the subcorpus |
751 | 750 |
* @param field CQI_CONST_FIELD_MATCH, CQI_CONST_FIELD_MATCHEND or CQI_CONST_FIELD_TARGET |
752 |
* @param first |
|
753 |
* the first |
|
754 |
* @param last |
|
755 |
* the last |
|
751 |
* @param first the first |
|
752 |
* @param last the last |
|
756 | 753 |
* |
757 | 754 |
* @return the values |
758 | 755 |
* |
... | ... | |
769 | 766 |
/** |
770 | 767 |
* Drops a subcorpus. |
771 | 768 |
* |
772 |
* @param subcorpus |
|
773 |
* the subcorpus |
|
769 |
* @param subcorpus the subcorpus |
|
774 | 770 |
* |
775 | 771 |
* @throws IOException |
776 | 772 |
* Signals that an I/O exception has occurred. |
... | ... | |
783 | 779 |
UnexpectedAnswerException, CqiServerError; |
784 | 780 |
|
785 | 781 |
/** |
786 |
* Returns <n> (id, frequency) pairs flattened into a list of size 2*<n> NB:
|
|
782 |
* Returns {@code <n>} (id, frequency) pairs flattened into a list of size 2*{@code <n>} NB:
|
|
787 | 783 |
* pairs are sorted by frequency desc. |
788 | 784 |
* |
789 |
* @param subcorpus |
|
790 |
* the subcorpus |
|
791 |
* @param cutoff |
|
792 |
* the cutoff |
|
793 |
* @param field |
|
794 |
* the field : one of CQI_CONST_FIELD_MATCH, CQI_CONST_FIELD_MATCHEND or CQI_CONST_FIELD_TARGET |
|
795 |
* @param attribute |
|
796 |
* the attribute |
|
785 |
* @param subcorpus the subcorpus |
|
786 |
* @param cutoff the cutoff |
|
787 |
* @param field the field : one of CQI_CONST_FIELD_MATCH, CQI_CONST_FIELD_MATCHEND or CQI_CONST_FIELD_TARGET |
|
788 |
* @param attribute the attribute |
|
797 | 789 |
* |
798 | 790 |
* @return the int[][] |
799 | 791 |
* |
... | ... | |
809 | 801 |
UnexpectedAnswerException, CqiServerError; |
810 | 802 |
|
811 | 803 |
/** |
812 |
* Returns <n> (id1, id2, frequency) pairs flattened into a list of size
|
|
813 |
* 3*<n> NB: triples are sorted by frequency desc. .
|
|
804 |
* Returns {@code <n>} (id1, id2, frequency) pairs flattened into a list of size
|
|
805 |
* 3*{@code <n>} NB: triples are sorted by frequency desc. .
|
|
814 | 806 |
* |
815 |
* @param subcorpus |
|
816 |
* the subcorpus |
|
817 |
* @param cutoff |
|
818 |
* the cutoff |
|
819 |
* @param field1 |
|
820 |
* the field1 |
|
821 |
* @param attribute1 |
|
822 |
* the attribute1 |
|
823 |
* @param field2 |
|
824 |
* the field2 |
|
825 |
* @param attribute2 |
|
826 |
* the attribute2 |
|
807 |
* @param subcorpus the subcorpus |
|
808 |
* @param cutoff the cutoff |
|
809 |
* @param field1 the field1 |
|
810 |
* @param attribute1 the attribute1 |
|
811 |
* @param field2 the field2 |
|
812 |
* @param attribute2 the attribute2 |
|
827 | 813 |
* |
828 | 814 |
* @return the int[] |
829 | 815 |
* |
TXM/trunk/bundles/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/CQPLexicon.java (revision 3944) | ||
---|---|---|
545 | 545 |
* @param corpus the corpus |
546 | 546 |
* @param property the property |
547 | 547 |
* @param freq the freq |
548 |
* @param ids the ids |
|
549 |
* {@link CQPCorpus#getLexicon(Property)} or |
|
550 |
* {@link Subcorpus#getLexicon(Property)}. |
|
548 |
* @param ids the ids list |
|
551 | 549 |
*/ |
552 | 550 |
protected void init(TXMResult corpus, WordProperty property, int[] freq, int[] ids) { |
553 | 551 |
if (freq.length != ids.length) { |
TXM/trunk/bundles/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Partition.java (revision 3944) | ||
---|---|---|
177 | 177 |
* |
178 | 178 |
* The partition has as many parts as the size of the list of value. The ith |
179 | 179 |
* part is composed by all the structure <code>structure</code> such as |
180 |
* <code>strucutre.getValue(property) == values.get(i)<code> |
|
180 |
* <code>strucutre.getValue(property) == values.get(i)</code>
|
|
181 | 181 |
* |
182 |
* @param corpus the corpus |
|
183 |
* @param structure the structure |
|
184 |
* @param property the property |
|
185 |
* @param values the values, raw values special chars will be backslashed |
|
186 | 182 |
* @throws Exception |
187 | 183 |
*/ |
188 | 184 |
|
... | ... | |
511 | 507 |
/** |
512 | 508 |
* Run a query on all the parts of this partition. |
513 | 509 |
* |
514 |
* @param query |
|
515 |
* the query |
|
516 |
* @param name |
|
517 |
* the name |
|
510 |
* @param query the query |
|
511 |
* @param name the name |
|
518 | 512 |
* |
519 |
* @return the list< subcorpus>
|
|
513 |
* @return the list "subcorpus"
|
|
520 | 514 |
* |
521 |
* @throws CqiClientException |
|
522 |
* the cqi client exception |
|
515 |
* @throws CqiClientException the cqi client exception |
|
523 | 516 |
*/ |
524 | 517 |
public List<QueryResult> query(CQLQuery query, String name) throws CqiClientException { |
518 |
|
|
525 | 519 |
Log.finest(TXMCoreMessages.bind(TXMCoreMessages.queryingPartitionP0, this.getUserName())); |
526 | 520 |
List<Part> parts = getParts(); |
527 | 521 |
List<QueryResult> results = new ArrayList<>(parts.size()); |
TXM/trunk/bundles/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Subcorpus.java (revision 3944) | ||
---|---|---|
128 | 128 |
* |
129 | 129 |
* Not intended to be used directly. |
130 | 130 |
* |
131 |
* @param pID the cqp id |
|
132 |
* @param name the name |
|
133 |
* @param parent the parent |
|
134 |
* @param query the query |
|
135 |
* @throws InvalidCqpIdException the invalid cqp id exception |
|
131 |
* @throws Exception the invalid cqp id exception |
|
136 | 132 |
* {@link CQPCorpus#createSubcorpus(CQLQuery, String)} |
137 | 133 |
*/ |
138 | 134 |
@Override |
... | ... | |
532 | 528 |
* |
533 | 529 |
* @param pID the cqp id |
534 | 530 |
* @param name the name |
535 |
* @param parent the parent |
|
536 | 531 |
* @param query the query |
537 | 532 |
* @throws InvalidCqpIdException the invalid cqp id exception |
538 | 533 |
* {@link CQPCorpus#createSubcorpus(CQLQuery, String)} |
539 | 534 |
*/ |
540 | 535 |
protected void setParameters(String pID, String name, CQLQuery query) throws InvalidCqpIdException { |
536 |
|
|
541 | 537 |
this.pID = pID; |
542 | 538 |
this.pQuery = query; |
543 | 539 |
this.setUserName(name); |
... | ... | |
550 | 546 |
* @param queryResult |
551 | 547 |
*/ |
552 | 548 |
public void setParameters(String cqpId, String name, QueryResult queryResult) { |
549 |
|
|
553 | 550 |
this.pID = cqpId; |
554 | 551 |
this.setUserName(name); |
555 | 552 |
this.pQuery = queryResult.getQuery(); |
TXM/trunk/bundles/org.txm.statsengine.r.rcp/src/org/txm/statsengine/r/rcp/views/RVariablesView.java (revision 3944) | ||
---|---|---|
131 | 131 |
/** |
132 | 132 |
* Builds the tree content. |
133 | 133 |
* |
134 |
* @param corpora the corpora |
|
135 | 134 |
*/ |
136 | 135 |
protected void buildTreeContent() |
137 | 136 |
{ |
TXM/trunk/bundles/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/statsengine/r/data/LexicalTableImpl.java (revision 3944) | ||
---|---|---|
77 | 77 |
* Instantiates a new lexical table impl. |
78 | 78 |
* |
79 | 79 |
* @param matrix the matrix |
80 |
* @param property the property |
|
81 | 80 |
* @param formNames the form names |
82 | 81 |
* @param partNames the part names |
83 | 82 |
* @throws RWorkspaceException the r workspace exception |
TXM/trunk/bundles/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/functions/LexicalTable.java (revision 3944) | ||
---|---|---|
245 | 245 |
* Creates the lexical table. |
246 | 246 |
* |
247 | 247 |
* @param indexes the vocabularies |
248 |
* @param symbol the symbol |
|
249 |
* @param useAllOccurrences |
|
250 | 248 |
* @return the lexical table |
251 | 249 |
* @throws RWorkspaceException the r workspace exception |
252 | 250 |
*/ |
TXM/trunk/bundles/org.txm.chartsengine.r.core/src/org/txm/stat/engine/r/RWorkspaceRenderer.java (revision 3944) | ||
---|---|---|
68 | 68 |
/** |
69 | 69 |
* protected on purpose. See {@link #getInstance()}. |
70 | 70 |
* |
71 |
* @param pathToRExecutable the path to r executable |
|
72 |
* @param host the host |
|
73 |
* @param port the port |
|
74 | 71 |
* @throws RWorkspaceException the r workspace exception |
75 | 72 |
*/ |
76 |
protected RWorkspaceRenderer(RWorkspace workspace) |
|
77 |
throws RWorkspaceException { |
|
73 |
protected RWorkspaceRenderer(RWorkspace workspace) throws RWorkspaceException { |
|
78 | 74 |
this.workspace = workspace; |
79 | 75 |
} |
80 | 76 |
|
Formats disponibles : Unified diff