OPENNLP-32: Added a short description of parsing and parse tree with an image (#359)
diff --git a/opennlp-docs/src/docbkx/images/parsetree1.png b/opennlp-docs/src/docbkx/images/parsetree1.png
new file mode 100644
index 0000000..bc021a8
--- /dev/null
+++ b/opennlp-docs/src/docbkx/images/parsetree1.png
Binary files differ
diff --git a/opennlp-docs/src/docbkx/parser.xml b/opennlp-docs/src/docbkx/parser.xml
index 4111ece..1a1c332 100644
--- a/opennlp-docs/src/docbkx/parser.xml
+++ b/opennlp-docs/src/docbkx/parser.xml
@@ -27,7 +27,15 @@
<section id="tools.parser.parsing">
<title>Parsing</title>
- <para>
+ <para>
+ A parser returns a parse tree from a sentence according to a phrase structure grammar. A parse tree specifies
+ the internal structure of a sentence. For example, the following image represents a parse tree for
+ the sentence 'The cellphone was broken in two days':
+
+ <imagedata fileref="images/parsetree1.png" scalefit="1"/>
+
+ A parse tree can be used to determine the role of subtrees or constituents in the sentence. For example, it is possible to
+ know that 'The cellphone' is the subject of the sentence and the verb (action) is 'was broken.'
</para>
<section id="tools.parser.parsing.cmdline">