Web query classification using analysis of inter-article relationships in Wikipedia .
The ZIP, bundled with dependencies, can be downloaded from here.
$ git clone https://github.com/pranavrc/tagspace.```
$ cd tagspace/
$ virtualenv .
$ pip install python-igraph beautifulsoup4
$ . bin/activate
To run the Python script from a terminal, we use the following command:
$ cd tagspace/
$ . bin/activate
$ python tagspace.py <article-name>
$ python main.py
```
For instance, for the articles *Bacon* and *Networks*:
```
$ python tagspace.py bacon bacon -> Domestic_pig -> Even-toed_ungulate -> Ungulate -> Clade -> Organism -> Biology ->
Natural_science -> Science ->
Knowledge -> Awareness -> Conscious -> Quality_(philosophy) -> Philosophy
$ python tagspace.py networks networks -> Artificial_neural_network -> Machine_learning ->
Computer_science -> Science ->
Knowledge -> Awareness -> Conscious -> Quality_(philosophy) -> Philosophy
$ python main.py
Returns the final graph of tags, clustered into a dendrogram model.
```