Author: pkluegl
Date: Tue Mar 26 09:56:12 2013
New Revision: 1461041
URL: http://svn.apache.org/r1461041
Log:
no jira - fixed small error in textmarker documentation: wrong method in
example code
Modified:
uima/sandbox/textmarker/trunk/textmarker-docbook/src/docbook/tools.textmarker.overview.xml
Modified:
uima/sandbox/textmarker/trunk/textmarker-docbook/src/docbook/tools.textmarker.overview.xml
URL:
http://svn.apache.org/viewvc/uima/sandbox/textmarker/trunk/textmarker-docbook/src/docbook/tools.textmarker.overview.xml?rev=1461041&r1=1461040&r2=1461041&view=diff
==============================================================================
---
uima/sandbox/textmarker/trunk/textmarker-docbook/src/docbook/tools.textmarker.overview.xml
(original)
+++
uima/sandbox/textmarker/trunk/textmarker-docbook/src/docbook/tools.textmarker.overview.xml
Tue Mar 26 09:56:12 2013
@@ -583,7 +583,7 @@ AnalysisEngine ae = UIMAFramework.produc
resMgr, null);
File scriptFile = new File("path/to/file/MyScript.tm");
ae.setConfigParameterValue(TextMarkerEngine.SCRIPT_PATHS,
- new String[] { scriptFile.getParent().getAbsolutePath() });
+ new String[] { scriptFile.getParentFile().getAbsolutePath() });
String name = scriptFile.getName().substring(0,
scriptFile.getName().length() - 3);
ae.setConfigParameterValue(TextMarkerEngine.MAIN_SCRIPT, name);