mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-18 01:09:32 -06:00
added fullFormLexicon in Java
This commit is contained in:
@@ -775,7 +775,7 @@ word form with its possible analyses:
|
||||
Prelude PGF2> mapM_ print [(form,lemma,analysis,prob) | (form,analyses) <- fullFormLexicon eng, (lemma,analysis,prob) <- analyses]
|
||||
</pre>
|
||||
<pre class="java">
|
||||
for (FullFormEntry entry in eng.fullFormLexicon()) { ///// TODO
|
||||
for (FullFormEntry entry : eng.fullFormLexicon()) {
|
||||
for (MorphoAnalysis analysis : entry.getAnalyses()) {
|
||||
System.out.println(entry.getForm()+" "+analysis.getProb()+" "+analysis.getLemma()+" "+analysis.getField());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user