added signatures for missing API functions in Java. The implementation is still missing

This commit is contained in:
Krasimir Angelov
2017-08-29 15:36:27 +02:00
parent adcc6a53fe
commit 77e9f40bde
3 changed files with 10 additions and 0 deletions

View File

@@ -68,6 +68,9 @@ public class Concr {
* @param sentence the word form or the multilingual expression.
*/
public native List<MorphoAnalysis> lookupMorpho(String sentence);
/** Creates an iterable over the full form lexicon in the grammar */
public native Iterable<FullFormEntry> fullFormLexicon();
/** Returns an iterable enumerating all words in the lexicon
* starting with a given prefix.
@@ -83,6 +86,8 @@ public class Concr {
*/
public native boolean hasLinearization(String fun);
public native String graphvizParseTree(Expr expr);
/** returns the print name for that function or category.
*/
public native String getPrintName(String id);

View File

@@ -68,6 +68,9 @@ public class PGF {
* of the expression together with its type */
public native TypedExpr inferExpr(Expr expr) throws TypeError;
public native String graphvizAbstractTree(Expr expr);
//////////////////////////////////////////////////////////////////
// private stuff
private Pool pool;

View File

@@ -14,6 +14,8 @@ public class Type {
public native Hypo[] getHypos();
public native String toString();
public native static Type readType(String s);
//////////////////////////////////////////////////////////////////
// private stuff