mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-01 18:23:18 -07:00
added fullFormLexicon in Java
This commit is contained in:
1 parent
bee61fe4aa
commit
3e9de6ffbb
3 files changed
+9
-4
No files matched your search
@@ -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