Text Similarity

Find the most similar text files within a collection of documents

Algorithmia Platform License

Try the API

[
  [
    0.6825611979794738,
    "doc1",
    "doc2"
  ],
  [
    0.1303428532021814,
    "doc2",
    "doc3"
  ],
  [
    0.05714684431258296,
    "doc1",
    "doc3"
  ]
]

Install & Use

Use

curl -X POST -d '{"files": [["doc1", "this is an example input"], ["doc2", "this is another example input"], ["doc3", "the third document is not like the others"]]}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/PetiteProgrammer/TextSimilarity/0.1.2
  
Curl Docs →