sahanbull / x5learn

Web frontend for X5GON project
Apache License 2.0
0 stars 0 forks source link

Extract concept mentions on the backend #143

Closed stefankreitmayer closed 5 years ago

stefankreitmayer commented 5 years ago

Problem

Extracting mentions (i.e. sentences that contain the exact name of wikipedia concepts) takes a lot of CPU on the frontend. Depending on the amount of text, it can noticeably block the UI. E.g. on my modern MacBook Pro, loading the entire Andrew Ng course takes more than 20 seconds. That's already hard to accept - now imagine on a slow computer...

Solution

It's better to do these computations once in the backend, rather than multiple times on the frontend.

Tasks