CRANE-toolbox / analysis-pipelines

Project CRANE (Crisis Racism and Narrative Evaluation) aims to support researchers and anti-racist organisations that wish to use state-of-the-art text analysis algorithms to study how specific events impact online hate speech and racist narratives. CRANE Toolbox is a Python package: once installed, the tools in CRANE are available as functions that users can use in their Python programs or directly through their terminal. CRANE targets users with basic programming but no machine learning skills.

Home Page:https://crane-toolbox.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

topicModelling.py : Add script arguments

LaChapeliere opened this issue · comments

splitDate, topicNumbersToTry and the LDA args (chunksize, passes, iterations and eval_every) should become script arguments.
splitDate should not have a default. It might be necessary to also add a date format argument so users can specify the format of splitDate.

Implementation can be found in the resiliency_challenge-branch