summaryrefslogtreecommitdiff
path: root/src/runtime/java/org/grammaticalframework
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/java/org/grammaticalframework')
-rw-r--r--src/runtime/java/org/grammaticalframework/pgf/Concr.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/java/org/grammaticalframework/pgf/Concr.java b/src/runtime/java/org/grammaticalframework/pgf/Concr.java
index 891257b5a..e6cd958bb 100644
--- a/src/runtime/java/org/grammaticalframework/pgf/Concr.java
+++ b/src/runtime/java/org/grammaticalframework/pgf/Concr.java
@@ -42,6 +42,9 @@ public class Concr {
/** Computes the linearization of the abstract expression. */
public native String linearize(Expr expr);
+ /** Computes all linearizations of the abstract expression and returns an iterator over the alternatives. */
+ public native Iterable<String> linearizeAll(Expr expr);
+
/** Linearizes the expression as an inflection table.
* @return a map from the name of the inflection form to its value.
*/