Skip to content

Commit

Permalink
Small changes of LeafProbabilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
antononcube committed Feb 3, 2017
1 parent ecdb39c commit 8e828e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JavaTriesWithFrequencies.m
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ Mathematica is (C) Copyright 1988-2017 Wolfram Research, Inc.

Clear[JavaTrieLeafProbabilities]
JavaTrieLeafProbabilities[jTr_?JavaObjectQ] :=
ImportString[ TrieFunctions`leafProbabilitiesJSON[jTr, 1], "JSON"];
ImportString[ TrieFunctions`leafProbabilitiesJSON[jTr], "JSON"];

JavaTrieLeafProbabilities[jTr_?JavaObjectQ, initProb_?NumericQ ] :=
ImportString[ TrieFunctions`leafProbabilitiesJSON[jTr, initProb ], "JSON"];
ImportString[ TrieFunctions`leafProbabilitiesJSON[jTr], "JSON"];

Clear[JavaTrieNodeCounts]
JavaTrieNodeCounts[jTr_?JavaObjectQ] :=
Expand Down

0 comments on commit 8e828e2

Please sign in to comment.