2016-06-29 2 views
3

ich diese Störung erhalte:Javadoc: Wie zu beheben: „schlechte HTML-Entität“ Fehler

[ERROR] /Users/daniel/ideaProjects/lbjava/lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/learn/NaiveBayes.java:638: error: bad HTML entity 
[ERROR] * P(e's label && e) 
[ERROR]^
[ERROR] /Users/daniel/ideaProjects/lbjava/lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/learn/NaiveBayes.java:638: error: bad HTML entity 
[ERROR] * P(e's label && e) 
[ERROR]^

Hier ist der vollständige Kommentar:

/** 
    * Takes the dot product of this vector with the given vector, using the specified default 
    * weight when encountering a feature that is not yet present in this vector. Here, weights 
    * are taken as <i>log(feature count/prior count)</i>. The output of this method is 
    * related to the empirical probability of the example <i>e</i> as follows: <br> 
    * <br> 
    * 
    * <i>exp(dot(e))/(sum of all labels' prior counts)) =</i><br> 
    * P(e's label && e) 
    * 
    * @param exampleFeatures The example's array of feature indices. 
    * @param exampleValues The example's array of feature values. 
    * @param defaultW The default weight. 
    * @return The computed dot product. 
    **/ 

Alle Ideen, was diesen Fehler verursachen könnte? Wie kann ich es reparieren?

Hinweis: Ich möchte nicht deaktivieren doclint; Stattdessen möchte ich das Problem mit dem Kommentar lösen.

Antwort

8

Sie müssen einige Symbole entkommen

& & sollte als &amp;&amp; eingegeben werden, wenn Sie als &&

rendern wollen