Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrick-miller/textbook-concept-map
Build a concept map from textbooks using DBpedia Spotlight
https://github.com/patrick-miller/textbook-concept-map
concept-map dbpedia-spotlight educational-technology nlp
Last synced: about 1 month ago
JSON representation
Build a concept map from textbooks using DBpedia Spotlight
- Host: GitHub
- URL: https://github.com/patrick-miller/textbook-concept-map
- Owner: patrick-miller
- License: apache-2.0
- Created: 2017-07-25T00:57:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-26T20:44:03.000Z (over 7 years ago)
- Last Synced: 2024-08-01T12:36:18.161Z (4 months ago)
- Topics: concept-map, dbpedia-spotlight, educational-technology, nlp
- Language: Jupyter Notebook
- Size: 5.64 MB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - patrick-miller/textbook-concept-map - Build a concept map from textbooks using DBpedia Spotlight (nlp)
README
# Textbook Concept Map Builder
A preliminary study on constructing concept maps with prerequisite structure from textbooks. Topic recognition, extraction and disambiguation are performed with DBpedia Spotlight, and the prerequisite structure is identified through the location of the occurrence of each concept in the text. This study shows that the simple use of DBpedia is a viable method for automatically creating a concept map from a corpus of textbooks.
## Install the docker image
```
docker build -t tcm .
```## Run a Jupyter notebook in the Docker image
```
docker run -d -p 8888:8888 --name tcm
-v /tcm:/tcm -w /tcm tcm
```
## Run a DBpedia Spotlight server
```
docker run -i -p 2222:80 --name spotlight dbpedia/spotlight-english spotlight.sh
```### Test out the Spotlight server
```
curl http://192.168.99.101:2222/rest/annotate
--data-urlencode "text=President Obama called Wednesday on Congress to extend a tax break
for students included in last year's economic stimulus package, arguing
that the policy provides more generous assistance."
--data "confidence=0.35"
-H "Accept: application/json"
```## Full concept map
`output/graph_adj_list.csv` contains the adjacency list for the full concept map