source: modelado_topicos/README.md @ 017277b

preprocesamientov1.0
Last change on this file since 017277b was 017277b, checked in by jredondo <jorge.redondo@…>, 9 años ago

Update README.md

  • Propiedad mode establecida a 100644
File size: 1.5 KB
Línea 
1# django_topic_explorer
2This is an alternative (Django based) implementation of this software: https://github.com/inpho/topic-explorer.
3By now this is no more than a kind of rudimentary proof of concept we hope to enrich in the forthcoming.
4
5## By now, we use:
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.
9- Urls for requests (Buttons in the interface does not work, see "Using it")
10
11## In the forthcoming, we hope to:
12- Provide user interface to select a corpus in the fly (not sure how) from a determined set.
13- Not use global variables.
14- Develop some per-document visualization.
15- ...
16
17## Using it:
18
19...# python manage.py runserver
20
211) To request a visulization of documents ordered in terms of similarity to a determined topic, then use:
22http://127.0.0.1:8000/topic_explorer/topic/70/10/ <br />
23
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 />
28
29
302) To request a visulization of documents ordered in terms of similarity to a determined document, then use:
31http://127.0.0.1:8000/topic_explorer/doc/70/AP881107-0210/ <br />
32
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 />
37
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.