Reports: Forum Keywords

report_forumkeywords
Maintained by Picture of Andy ChanAndy Chan
The Forum Keywords Report extract keywords from all posts in a Forum activity and generate a word cloud with a table listing the weights of each keyword. It is mainly developed for analysing Chinese, but appeared to also work for English.
23 sites
402 downloads
5 fans
Current versions available: 1

Usage

The Forum Keywords Report extract keywords from all posts in a Forum activity and generate a word cloud with a table listing the weights of each keyword. It is mainly developed for analysing Chinese but appeared to also work for English. The POS (part of speech) feature follow "ICTPOS3.0" specification (https://gist.github.com/luw2007/6016931) and only works for Chinese Words.

When a keyword in the word cloud is clicked, a new page will pop-up and search the occurrences of it in the forum using the native search feature provided by Moodle.

The keywords extraction make use of jieba-php (https://github.com/fukuball/jieba-php), a Chinese text segmentation module. A few stop words were added to the jieba-php/dict/stop_words.txt file, you can also feel free to add your own. The default dictionary file is dict.big.txt (hardcoded in index.php) and cannot be changed in the settings yet.

The word cloud display make use of d3-cloud (https://github.com/jasondavies/d3-cloud) and D3.js (http://d3js.org/).


Requirements

Moodle 3.4 (build 2017111300 or later), older versions may work but is not tested.

Latest version of web browsers are recommended as most feature is rely on JavaScript.

Installation

Copy the forumkeywords folder into your /report directory and visit your Admin Notification page to complete the installation. It will appear in the Reports folder under Course Administration.


Author

Andy Chan ctchan.andy@gmail.com

GitHub: https://github.com/ctchanandy/


License

http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Picture of Andy Chan
Andy Chan (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Tue, Mar 5, 2019, 3:00 PM
    Approval issue created: CONTRIB-7639
  • Picture of Wagner Antonio Garcia Junior
    Mon, Jul 1, 2019, 9:04 PM
    Amazing plugin! Thanks!!

    Please add option to remove a word and when you can correct accent errors
  • Picture of Andy Chan
    Thu, Jul 11, 2019, 9:25 AM
    Hi Wagner, there is already a "Filter words" field that you can use to enter a list of comma-separated words that you would like to remove from the word cloud.
  • Picture of Wagner Antonio Garcia Junior
    Tue, Jul 16, 2019, 2:48 AM
    Hi Andy!
    Thank you!
    However, characters with accents are still not displayed: á, à, è, é, ô, ó, ò, ç ... how to solve?
  • Picture of Wagner Antonio Garcia Junior
    Tue, Jul 16, 2019, 2:50 AM
    Example: WORD: ética
  • Picture of Andy Chan
    Thu, Aug 8, 2019, 5:47 PM
    Hi Wagner, sorry for the late reply. My understanding is that the Jieba library is not able to handle accents characters, so it is a limitation that I may not be able to solved unless support for another library is added.
Please login to post comments