-
Notifications
You must be signed in to change notification settings - Fork 2
recommend
python answerable.py [-v] [--no-ansi] recommend [-i] [-f] [-F] [-l N] [-a] [-u ID [-t FILE]]
Prints recommendations from the feed based on your current answers.
Option | Description |
---|---|
-v |
Verbose mode. Logs to stderr. |
-i --info
|
Print information about the recommendations. Some recommendation models may not support it. |
--no-ansi |
Disable colors. |
-f |
Force reload of user data. Useful if you just answered a question. |
-F |
Force retrieval of question feed. |
-l N --limit N
|
Limit the number of answers recommended. If not present, the whole feed is shown. ** |
-a --all
|
Don't use the user tags to filter the feed. If the tags are not saved nor specified with -t , this option has no effect. |
-u ID --user ID
|
User ID. * |
-t FILE --tags FILE
|
Path of the tags file. * |
-m MODEL -model MODEL
|
Specify which recommendation model to use. Defaults to content_based_1 . |
(*) Required if you have not saved them yet.
(**) The RSS feed only seems to keep a maximum of 30 questions.
Answerable gets the feed of the latest questions, determined by your tags (or their absence). Afterwards, it sorts the questions using an algorithm that weights them by the similarity of the text and the tags from the ones you've already answered, and displays them.
The timestamp of the last feed retrieved is stored in data/spider/feed
, and it's used in order to avoid redundant requests. For this reason, the second from two consecutive calls of this command will display nothing. In other words, each recommendation is unique and unrepeatable.
Home | Contributing | License | Changelog | Code