## Uses of Class
org.apache.nutch.scoring.similarity.cosine.DocVector

- Packages that use DocVector
  Package | Description
  --- | ---
  org.apache.nutch.scoring.similarity.cosine | Implements the cosine similarity metric for scoring relevant documents

- - ### Uses of DocVector in org.apache.nutch.scoring.similarity.cosine

    Fields in org.apache.nutch.scoring.similarity.cosine with type parameters of type DocVector
    Modifier and Type | Field | Description
    --- | --- | ---
    `static ArrayList<DocVector>` | Model.`docVectors` |

    Methods in org.apache.nutch.scoring.similarity.cosine that return DocVector
    Modifier and Type | Method | Description
    --- | --- | ---
    `static DocVector` | Model.`createDocVector​(String content, int mingram, int maxgram)` | Used to create a DocVector from given String text.

    Methods in org.apache.nutch.scoring.similarity.cosine with parameters of type DocVector
    Modifier and Type | Method | Description
    --- | --- | ---
    `static float` | Model.`computeCosineSimilarity​(DocVector docVector)` |
    `float` | DocVector.`dotProduct​(DocVector docVector)` |