mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-10 05:29:30 -06:00
added signatures for missing API functions in Java. The implementation is still missing
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -14,6 +14,8 @@ public class Type {
|
||||
public native Hypo[] getHypos();
|
||||
|
||||
public native String toString();
|
||||
|
||||
public native static Type readType(String s);
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// private stuff
|
||||
|
||||
Reference in New Issue
Block a user