Author: kwright
Date: Wed Jan 27 17:58:46 2016
New Revision: 1727143
URL: http://svn.apache.org/viewvc?rev=1727143&view=rev
Log:
Rename stuff so fieldmapping is not there anymore
Added:
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/opennlp/editSpecification_OpenNLP.html
- copied, changed from r1727141,
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/opennlp/editSpecification_FieldMapping.html
Removed:
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/opennlp/editSpecification_FieldMapping.html
Modified:
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/java/org/apache/manifoldcf/agents/transformation/opennlp/OpenNlpExtractor.java
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_en_US.properties
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_ja_JP.properties
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_zh_CN.properties
Modified:
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/java/org/apache/manifoldcf/agents/transformation/opennlp/OpenNlpExtractor.java
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/java/org/apache/manifoldcf/agents/transformation/opennlp/OpenNlpExtractor.java?rev=1727143&r1=1727142&r2=1727143&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/java/org/apache/manifoldcf/agents/transformation/opennlp/OpenNlpExtractor.java
(original)
+++
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/java/org/apache/manifoldcf/agents/transformation/opennlp/OpenNlpExtractor.java
Wed Jan 27 17:58:46 2016
@@ -50,7 +50,7 @@ import org.apache.manifoldcf.core.interf
public class OpenNlpExtractor extends BaseTransformationConnector {
private static final String EDIT_SPECIFICATION_JS = "editSpecification.js";
- private static final String EDIT_SPECIFICATION_FIELDMAPPING_HTML =
"editSpecification_FieldMapping.html";
+ private static final String EDIT_SPECIFICATION_OPENNLP_HTML =
"editSpecification_OpenNLP.html";
private static final String VIEW_SPECIFICATION_HTML =
"viewSpecification.html";
protected static int maximumExtractionCharacters = 524288;
@@ -338,7 +338,7 @@ public class OpenNlpExtractor extends Ba
Map<String, Object> paramMap = new HashMap<String, Object>();
paramMap.put("SEQNUM", Integer.toString(connectionSequenceNumber));
- tabsArray.add(Messages.getString(locale,
"OpenNlpExtractor.FieldMappingTabName"));
+ tabsArray.add(Messages.getString(locale,
"OpenNlpExtractor.OpenNLPTabName"));
Messages.outputResourceWithVelocity(out, locale, EDIT_SPECIFICATION_JS,
paramMap);
}
@@ -374,9 +374,9 @@ public class OpenNlpExtractor extends Ba
paramMap.put("SEQNUM", Integer.toString(connectionSequenceNumber));
paramMap.put("SELECTEDNUM", Integer.toString(actualSequenceNumber));
- fillInFieldMappingSpecificationMap(paramMap, os);
+ fillInOpenNLPSpecificationMap(paramMap, os);
- Messages.outputResourceWithVelocity(out, locale,
EDIT_SPECIFICATION_FIELDMAPPING_HTML, paramMap);
+ Messages.outputResourceWithVelocity(out, locale,
EDIT_SPECIFICATION_OPENNLP_HTML, paramMap);
}
/**
@@ -473,11 +473,11 @@ public class OpenNlpExtractor extends Ba
Map<String, Object> paramMap = new HashMap<String, Object>();
paramMap.put("SEQNUM", Integer.toString(connectionSequenceNumber));
- fillInFieldMappingSpecificationMap(paramMap, os);
+ fillInOpenNLPSpecificationMap(paramMap, os);
Messages.outputResourceWithVelocity(out, locale, VIEW_SPECIFICATION_HTML,
paramMap);
}
- protected static void fillInFieldMappingSpecificationMap(Map<String, Object>
paramMap, Specification os) {
+ protected static void fillInOpenNLPSpecificationMap(Map<String, Object>
paramMap, Specification os) {
String sModelPath = "";
String tModelPath = "";
String pModelPath = "";
Modified:
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_en_US.properties
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_en_US.properties?rev=1727143&r1=1727142&r2=1727143&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_en_US.properties
(original)
+++
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_en_US.properties
Wed Jan 27 17:58:46 2016
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-OpenNlpExtractor.FieldMappingTabName=OpenNlp Extraction
+OpenNlpExtractor.OpenNLPTabName=OpenNlp Extraction
OpenNlpExtractor.SentenceDetectorModelPath=Sentence Detector Model Path:
OpenNlpExtractor.TokenizerModelPath=Tokenizer Model Path:
OpenNlpExtractor.PeopleModelPath=People Model Path:
Modified:
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_ja_JP.properties
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_ja_JP.properties?rev=1727143&r1=1727142&r2=1727143&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_ja_JP.properties
(original)
+++
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_ja_JP.properties
Wed Jan 27 17:58:46 2016
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-OpenNlpExtractor.FieldMappingTabName=OpenNlp Extraction
+OpenNlpExtractor.OpenNLPTabName=OpenNlp Extraction
OpenNlpExtractor.SentenceDetectorModelPath=Sentence Detector Model Path:
OpenNlpExtractor.TokenizerModelPath=Tokenizer Model Path:
OpenNlpExtractor.PeopleModelPath=People Model Path:
Modified:
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_zh_CN.properties
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_zh_CN.properties?rev=1727143&r1=1727142&r2=1727143&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_zh_CN.properties
(original)
+++
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/opennlp/common_zh_CN.properties
Wed Jan 27 17:58:46 2016
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-OpenNlpExtractor.FieldMappingTabName=OpenNlp Extraction
+OpenNlpExtractor.OpenNLPTabName=OpenNlp Extraction
OpenNlpExtractor.SentenceDetectorModelPath=Sentence Detector Model Path:
OpenNlpExtractor.TokenizerModelPath=Tokenizer Model Path:
OpenNlpExtractor.PeopleModelPath=People Model Path:
Copied:
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/opennlp/editSpecification_OpenNLP.html
(from r1727141,
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/opennlp/editSpecification_FieldMapping.html)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/opennlp/editSpecification_OpenNLP.html?p2=manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/opennlp/editSpecification_OpenNLP.html&p1=manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/opennlp/editSpecification_FieldMapping.html&r1=1727141&r2=1727143&rev=1727143&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/opennlp/editSpecification_FieldMapping.html
(original)
+++
manifoldcf/branches/CONNECTORS-1270/connectors/opennlp/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/opennlp/editSpecification_OpenNLP.html
Wed Jan 27 17:58:46 2016
@@ -16,7 +16,7 @@
-->
#if($TABNAME ==
-$ResourceBundle.getString('OpenNlpExtractor.FieldMappingTabName') &&
+$ResourceBundle.getString('OpenNlpExtractor.OpenNLPTabName') &&
${SEQNUM} == ${SELECTEDNUM})
<table class="displaytable">