{% extends "base_analyze.html" %} {% set active_page = 'similarity' %} {% block head %} {% endblock %} {% block title %}analyzer{% endblock %} {% block options %}
Select Comparison File:
Select one file to be the external comparison. All other files shown below will be used to make the model, and will be ranked in order of most to least similar to the comparison file in your results.

{% for fileID, fileLabel in labels.items() %}
{{fileLabel}}
{% endfor %}

{% endblock %} {% block results %} {% if (similaritiesgenerated) %}

Similarity Rankings:

The module used to produce this ranking employs Latent Semantic Analysis to generate unique vectors for each document. The cosine angle between your comparison document's vector and the vector of each document of your corpus is calculated, and these values are then compared. Cosine similarity measures can be between (-1, 1), and the higher the value, the closer the comparison document's vector is to that document's vector as opposed to the other documents' vectors.

{% endif %} {% endblock %} {% block submit %} {% endblock %}