irongut / EDlib

A .Net Standard library for creating companion apps for the game Elite Dangerous by Frontier Developments.
MIT License
4 stars 0 forks source link

Rework News & CG classification #56

Closed irongut closed 3 years ago

irongut commented 3 years ago

Feature Request

The Bags of Words (BoWs) provided for GalNet article & CG classification often need updates. Apps may not want to wait for a library update, may prefer different topics or a different news bias.

Expected Behaviour

Allow calling code to provide alternative BoWs as an optional json string.

Additional Context

Linked To

11 Add INARA & Community Goals api

irongut commented 3 years ago

Current methods specify a filename embedded in the EDlib assembly which is loaded by TopicsList. Specifying a json string will require more extensive rework than expected.

The current design has each NewsArticle create its own TopicsLists and load the BoWs. Moving the creation of TopicsLists to GalNetService would reduce filesystem usage & improve performance.