source: modelado_topicos/README.md @ 8081964

preprocesamientov1.0
Last change on this file since 8081964 was 5b95488, checked in by rboet <rboet@…>, 9 años ago

agregado directorio see_topics, funcionabilidad y nuevo directorio templates

  • Propiedad mode establecida a 100755
File size: 1.5 KB
Ver.Línea 
[fb2ecfe]1# django_topic_explorer
[c8f60b8]2This is an alternative (Django based) implementation of this software: https://github.com/inpho/topic-explorer.
[e56fc83]3By now this is no more than a kind of rudimentary proof of concept we hope to enrich in the forthcoming.
4
[8b4a48c]5## By now, we use:
[e56fc83]6- Function based views.
7- Global variables: lda_c, lda_c, lda_m.
8- An already trained models which must be specified in the corresponding settings variables.
[8b4a48c]9- Urls for requests (Buttons in the interface does not work, see "Using it")
[e56fc83]10
11## In the forthcoming, we hope to:
[62ccdc8]12- Provide user interface to select a corpus on the fly (not sure how) from a determined set.
[e56fc83]13- Not use global variables.
14- Develop some per-document visualization.
15- ...
16
[8b4a48c]17## Using it:
[e56fc83]18
[8b4a48c]19...# python manage.py runserver
[e56fc83]20
[8b4a48c]211) To request a visulization of documents ordered in terms of similarity to a determined topic, then use:
[017277b]22http://127.0.0.1:8000/topic_explorer/topic/70/10/ <br />
[b5bfaaf]23
[017277b]24http://127.0.0.1:8000/topic_explorer --> App Url <br />
25/topic --> Order by topic <br />
26/70    --> Model with 70 topics <br />
27/10    --> Topic (from the topic legend) in terms of which documents will be ordered <br />
[b5bfaaf]28
[8b4a48c]29
302) To request a visulization of documents ordered in terms of similarity to a determined document, then use:
[017277b]31http://127.0.0.1:8000/topic_explorer/doc/70/AP881107-0210/ <br />
[b5bfaaf]32
[017277b]33http://127.0.0.1:8000/topic_explorer/ --> App url <br />
34/doc   --> Order by document <br />
35/70    --> Number of topics <br />
36/AP881107-0210  --> Document in terms of which the remaining documents will be ordered  <br />
[e56fc83]37
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.