Revision: 19520 http://sourceforge.net/p/gate/code/19520 Author: markagreenwood Date: 2016-08-19 12:49:56 +0000 (Fri, 19 Aug 2016) Log Message: ----------- I think that fixes the javadoc errors in here as well
Modified Paths: -------------- gate/branches/sawdust2/plugins/Tools/pom.xml gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/dumpingPR/DumpingPR.java gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/morph/Morph.java gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/morph/ParsingFunctions.java gate/branches/sawdust2/plugins/Tools/src/main/java/gate/gui/SyntaxTreeViewer.java Modified: gate/branches/sawdust2/plugins/Tools/pom.xml =================================================================== --- gate/branches/sawdust2/plugins/Tools/pom.xml 2016-08-19 12:08:23 UTC (rev 19519) +++ gate/branches/sawdust2/plugins/Tools/pom.xml 2016-08-19 12:49:56 UTC (rev 19520) @@ -9,7 +9,6 @@ <artifactId>base-plugin</artifactId> <!-- this should be the version of GATE you wish to build against --> <version>9.0-SNAPSHOT</version> - <relativePath>../../build/Plugin_Base</relativePath> </parent> <!-- this is the description of this plugin --> Modified: gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/dumpingPR/DumpingPR.java =================================================================== --- gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/dumpingPR/DumpingPR.java 2016-08-19 12:08:23 UTC (rev 19519) +++ gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/dumpingPR/DumpingPR.java 2016-08-19 12:49:56 UTC (rev 19520) @@ -95,8 +95,8 @@ * A list of strings specifying new names to be used instead of the original * annotation types given in the annotationTypes parameter. For example, if * annotationTypes was set to [Location, Date], then if dumpTypes is set to - * [Place, Date-expr], then the labels <Place> and <Date-expr> will be inserted - * instead of <Location> and <Date>. + * [Place, Date-expr], then the labels <Place> and <Date-expr> will be inserted + * instead of <Location> and <Date>. */ protected List<String> dumpTypes; Modified: gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/morph/Morph.java =================================================================== --- gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/morph/Morph.java 2016-08-19 12:08:23 UTC (rev 19519) +++ gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/morph/Morph.java 2016-08-19 12:49:56 UTC (rev 19520) @@ -133,11 +133,12 @@ * Method is executed after the init() method has finished its execution. * <BR>Method does the following operations: * <OL type="1"> - * <LI> creates the annotationSet - * <LI> fetches word tokens from the document, one at a time - * <LI> runs the morpher on each individual word token - * <LI> finds the root and the affix for that word - * <LI> adds them as features to the current token + * <LI> creates the annotationSet</LI> + * <LI> fetches word tokens from the document, one at a time</LI> + * <LI> runs the morpher on each individual word token</LI> + * <LI> finds the root and the affix for that word</LI> + * <LI> adds them as features to the current token</LI> + * </OL> * @throws ExecutionException */ @Override Modified: gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/morph/ParsingFunctions.java =================================================================== --- gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/morph/ParsingFunctions.java 2016-08-19 12:08:23 UTC (rev 19519) +++ gate/branches/sawdust2/plugins/Tools/src/main/java/gate/creole/morph/ParsingFunctions.java 2016-08-19 12:49:56 UTC (rev 19520) @@ -272,7 +272,7 @@ /** * This method is used to find the method definition But it can recognize - * only String, boolean and int types for Example: stem(2,"ed","d") ==> + * only String, boolean and int types for Example: stem(2,"ed","d") ==> * stem(int,java.lang.String,java.lang.String); * * @param method @@ -311,7 +311,7 @@ /** * This method is used to find the method definition But it can recognize - * only String, boolean and int types for Example: stem(2,"ed","d") ==> + * only String, boolean and int types for Example: stem(2,"ed","d") ==> * stem(int,java.lang.String,java.lang.String); * * @param method @@ -436,7 +436,7 @@ /** - * (abc) -> a -> b -> c -> + * (abc) -> a -> b -> c -> */ public static List<Set<FSMState>> andFSMs(String line, Set<FSMState> initStates, Interpret owner) { // for the first inital State @@ -485,9 +485,9 @@ } /** - * [abc] -> a, - * -> b, - * -> c + * [abc] -> a, + * -> b, + * -> c */ public static List<Set<FSMState>> orFSMs(String line, Set<FSMState> initStates, Interpret owner) { // for each character in the line @@ -576,8 +576,8 @@ /** * (abc)+ - * -> a -> b -> c -> null - * -> a -> b -> c -> a + * -> a -> b -> c -> null + * -> a -> b -> c -> a */ public static List<Set<FSMState>> andPlusFSMs(String line, Set<FSMState> initStates, Interpret owner) { // for the first inital State Modified: gate/branches/sawdust2/plugins/Tools/src/main/java/gate/gui/SyntaxTreeViewer.java =================================================================== --- gate/branches/sawdust2/plugins/Tools/src/main/java/gate/gui/SyntaxTreeViewer.java 2016-08-19 12:08:23 UTC (rev 19519) +++ gate/branches/sawdust2/plugins/Tools/src/main/java/gate/gui/SyntaxTreeViewer.java 2016-08-19 12:49:56 UTC (rev 19520) @@ -77,7 +77,7 @@ * attached syntax trees. It works by taking an utterance and all Token * annotations and constructs the text. Then it also gets all SyntaxTreeNode * annotations and builds and shows the syntac tree for that utterance. The - * leaves of the tree are the tokens, which constitute the utterance.<P> + * leaves of the tree are the tokens, which constitute the utterance. * * It is possible to configure the annotation types that are used by the * viewer. The textAnnotationType property specifies the type @@ -87,7 +87,7 @@ * * The treeNodeAnnotationType is the name of the * annotations which encode the SyntaxTreeNodes; default - SyntaxTreeNode. - * To change when part of GATE, modify the <PARAMETER> setting of the + * To change when part of GATE, modify the <PARAMETER> setting of the * TreeViewer entry in creole.xml. Similarly, one can change which annotation * is used for chunking the utterance. By default, it is Token, which is also * specified in creole.xml as a parameter in the treeviewer entry. @@ -98,32 +98,32 @@ * text which contains * the text covered by this annotation. The component will work fine even * without the last feature. Still when it creates annotations, - * these will have this feature added. <P> + * these will have this feature added. * * * Newly added tree nodes to the tree are added to the document * as annotations and deleted nodes are automatically deleted from the document * only after OK is chosen in the dialog. Cancel does not make any changes - * permanent. <P> + * permanent. * - * Configuring the viewer in GATE<P> + * Configuring the viewer in GATE * The viewer is configured in creole.xml. The default entry is: * <PRE> - * <RESOURCE> - * <NAME>Syntax tree viewer</NAME> - * <CLASS>gate.gui.SyntaxTreeViewer</CLASS> - * <!-- type values can be "large" or "small"--> - * <GUI> - * <MAIN_VIEWER/> - * <ANNOTATION_TYPE_DISPLAYED>Sentence</ANNOTATION_TYPE_DISPLAYED> - * <PARAMETER NAME="treeNodeAnnotationType" DEFAULT="SyntaxTreeNode" - * RUNTIME="false" OPTIONAL="true">java.lang.String - * </PARAMETER> - * <PARAMETER NAME="tokenType" DEFAULT="Token" RUNTIME="false" - * OPTIONAL="true">java.lang.String - * </PARAMETER> - * </GUI> - * </RESOURCE> + * <RESOURCE> + * <NAME>Syntax tree viewer</NAME> + * <CLASS>gate.gui.SyntaxTreeViewer</CLASS> + * <!-- type values can be "large" or "small"--> + * <GUI> + * <MAIN_VIEWER/> + * <ANNOTATION_TYPE_DISPLAYED>Sentence</ANNOTATION_TYPE_DISPLAYED> + * <PARAMETER NAME="treeNodeAnnotationType" DEFAULT="SyntaxTreeNode" + * RUNTIME="false" OPTIONAL="true">java.lang.String + * </PARAMETER> + * <PARAMETER NAME="tokenType" DEFAULT="Token" RUNTIME="false" + * OPTIONAL="true">java.lang.String + * </PARAMETER> + * </GUI> + * </RESOURCE> * </PRE> * * The categories that appear in the menu for manual annotation are determined @@ -133,11 +133,11 @@ * annotations, which have been created automatically by some other process, * e.g., a parser PR. * - * <P> + * * If used outside GATE, * in order to have appropriate behaviour always put this component inside a * scroll pane or something similar that provides scrollers. - * Example code: <BREAK> + * Example code: * <PRE> * JScrollPane scroller = new JScrollPane(syntaxTreeViewer1); * scroller.setPreferredSize(syntaxTreeViewer1.getPreferredSize()); @@ -148,16 +148,14 @@ * The default way is to pass just one annotation of type textAnnotationType * which corresponds to the entire sentence or utterance to be annotated with * syntax tree information. Then the viewer automatically tokenises it - * (by obtaining the relevant token annotations) and creates the leaves.<P> + * (by obtaining the relevant token annotations) and creates the leaves. * * To create a new annotation, use setSpan, instead of setAnnotation. * - * <P> In either + * In either * case, you must call setTarget first, because that'll provide the viewer * with the document's annotation set, from where it can obtain the token * annotations. - * <P> If you intend to use the viewer outside GATE and do not understand - * the API, e-mail g...@dcs.shef.ac.uk. */ @SuppressWarnings("serial") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ GATE-cvs mailing list GATE-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gate-cvs