Skip to content

Commit

Permalink
Typos...
Browse files Browse the repository at this point in the history
  • Loading branch information
Severin Simmler committed Jul 2, 2016
1 parent be247ec commit bb0836b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/tutorial.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ The DARIAH-DKPro-Wrapper implements two base readers, one text reader and one XM

[subs="attributes"]
----
java -Xmx4g -jar ddw-{version}.jar -reader xml -input file.xml -output folder
java -Xmx4g -jar ddw-{version}.jar -reader xml -input file.xml -output folder
----

The XML reader skips XML tags and processes only text which is inside the XML tags. The XPath to each tag is conserved and stored in the column *SectionId* in the output format.
Expand All @@ -255,7 +255,7 @@ In case you want to process a collection of texts rather than just a single file

[subs="attributes"]
----
java -Xmx4g -jar ddw-{version}.jar -input folder/With/Files/ -output folder
java -Xmx4g -jar ddw-{version}.jar -input folder/With/Files/ -output folder
----

the pipeline will process all files with a _.txt_ extension for the Text-reader. For the XML-reader, it will process all files with a _.xml_ extension.
Expand All @@ -264,7 +264,7 @@ You can speficy also patterns to read in only certain files or files with certai

[subs="attributes"]
----
java -Xmx4g -jar ddw-{version}.jar -reader xml -input "folder/With/Files/*.xmi" -output folder
java -Xmx4g -jar ddw-{version}.jar -reader xml -input "folder/With/Files/*.xmi" -output folder
----

*Note:* If you use patterns (i.e. paths containing an *), you must set it into quotation marks to prevent shell globbing.
Expand All @@ -273,7 +273,7 @@ To read all files in all subfolders, you can use a pattern like this:
[subs="attributes"]
----
java -Xmx4g -jar ddw-{version}.jar -input "folder/With/Subfolders/\**/*.txt" -output folder
java -Xmx4g -jar ddw-{version}.jar -input "folder/With/Subfolders/\**/*.txt" -output folder
----

This will read in all _.txt_ files in all subfolders. Note that the subfolder path will not be maintained in the output folder.
Expand All @@ -287,7 +287,7 @@ You can change the language by specifying the language parameter for the pipelin

[subs="attributes"]
----
java -Xmx4g -jar ddw-{version}.jar -language de -input file.txt -output folder
java -Xmx4g -jar ddw-{version}.jar -language de -input file.txt -output folder
----


Expand Down Expand Up @@ -334,7 +334,7 @@ following in the command prompt:

[subs="attributes"]
----
java –Xms -jar ddw-{version}.jar -input file.txt -output folder
java –Xms -jar ddw-{version}.jar -input file.txt -output folder
----

and press enter.
Expand Down

0 comments on commit bb0836b

Please sign in to comment.