You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following suggestion comes from Richard:
=== description in ConfigurationParameter ===
<pre>
public static final String PARAM_SENSE_INVENTORY = "senseInventory";
@ConfigurationParameter(name = PARAM_SENSE_INVENTORY, mandatory = false, description
= "The sense inventory used by the answer key", defaultValue = "WordNet_3.0_sensekey")
private String senseInventory;
</pre>
The description should be in JavaDoc so that the user can also get
it along with code completion in Eclipse and so that it ends up in
the API docs.
<pre>
/**
* The sense inventory used by the answer key
*/
public static final String PARAM_SENSE_INVENTORY = "senseInventory";
@ConfigurationParameter(name = PARAM_SENSE_INVENTORY, mandatory = false, defaultValue
= "WordNet_3.0_sensekey")
private String senseInventory;
</pre>
Use the uimafit-maven-plugin to automatically fill in the "description"
argument of the ConfigurationParameter from the JavaDoc:
<pre>
<plugins>
<plugin>
<groupId>org.apache.uima</groupId>
<artifactId>uimafit-maven-plugin</artifactId>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.uima</groupId>
<artifactId>uimafit-maven-plugin</artifactId>
<version>${uimafit.version}</version>
<configuration>
<componentVendor>DKPro Core Project</componentVendor>
<componentCopyright>
Copyright 2010
Ubiquitous Knowledge Processing (UKP) Lab
Technische Universität Darmstadt
</componentCopyright>
<failOnMissingMetaData>false</failOnMissingMetaData>
</configuration>
<executions>
<execution>
<id>default</id>
<phase>process-classes</phase>
<goals>
<goal>enhance</goal>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</pre>
Originally reported on Google Code with ID 69
Reported by
[email protected]
on 2015-01-09 13:54:16The text was updated successfully, but these errors were encountered: