Add comments
diff --git a/src/main/java/de/ids_mannheim/korap/query/DistanceConstraint.java b/src/main/java/de/ids_mannheim/korap/query/DistanceConstraint.java
index b061046..29e191a 100644
--- a/src/main/java/de/ids_mannheim/korap/query/DistanceConstraint.java
+++ b/src/main/java/de/ids_mannheim/korap/query/DistanceConstraint.java
@@ -1,5 +1,10 @@
package de.ids_mannheim.korap.query;
+/** Create a distance constraint for multiple distance query.
+ *
+ * @author margaretha
+ * */
+
public class DistanceConstraint {
private int minDistance, maxDistance;
private String unit;
diff --git a/src/main/java/de/ids_mannheim/korap/query/SpanDistanceQuery.java b/src/main/java/de/ids_mannheim/korap/query/SpanDistanceQuery.java
index 3368ef9..c145200 100644
--- a/src/main/java/de/ids_mannheim/korap/query/SpanDistanceQuery.java
+++ b/src/main/java/de/ids_mannheim/korap/query/SpanDistanceQuery.java
@@ -20,9 +20,9 @@
/** Match two ordered or unordered Spans with minimum and maximum
* distance constraints. The distance unit can be word (token),
- * sentence or paragraph. The distance constraint can also be
- * specified to match some Spans which do not co-occur with some
- * other Spans within a min and max distance.
+ * sentence or paragraph. The distance can also be specified to match
+ * some Spans which do NOT co-occur with some other Spans within a min
+ * and max distance.
*
* @author margaretha
* */