This is the LexRank implementation for text summarization using CNTK of MarkLogic10.
This is the LexRank implementation for text summarization using CNTK of MarkLogic10. The word2vec is used for text vectorization. This program is implemented in XQuery.
- MarkLogic10 with GPU
If you run as a web application, you need:
- vue.js(https://jp.vuejs.org/index.html)
- axios(https://github.com/axios/axios)
- vue-table-2(https://github.com/matfish2/vue-tables-2)
- bootstrap(https://getbootstrap.com/)
-
Load files you want to summarize into the MarkLogic.
- The contents files are into ./news directory
- See news_load.sh
-
Load word2vec onnx model and the vocabulary file into the MarkLogic.
-
Load this project files(xqy, html, js) into the module database of the MarkLogic.
-
Get the required libs and load into the module database of the MarkLogic.
- Javascript files are into ./js directory.
- CSS files are into ./css directory.
-
Access to the lexrank.html via the MarkLogic HTTP server.