Automated notion clustering for the knowledge LaTeX package
Project description
Knowledge-Clustering
Clustering notions for the knowledge LaTeX package.
Principle
The goal of Knowledge-Clustering is, when using the knowledge package to automatically provide suggestions to the user of what notions should be grouped together.
Installation
To install (or upgrade) Knowledge-Clustering, run
python3 -m pip install --upgrade knowledge-clustering
and then
knowledge-init
Syntax
Usage:
knowledge [-h] -n NOTION_FILE -d DIAGNOSE_FILE [-l {en}] [-s]
Optional arguments:
Option | Description |
---|---|
-h, --help | show the help message and exit |
-n NOTION_FILE, --notion NOTION_FILE | File containing the knowledges/notions defined by the user. |
-d DIAGNOSE_FILE, --diagnose DIAGNOSE_FILE | File containing the diagnose file produced by TeX. |
-l {en}, --lang {en} | Language of your TeX document. |
-s, --scope | Print the scopes defined in the notion file and print the possible meaning of those scope infered by Knowledge-Clustering. |
Devel using virtualenv
Using virtualenv and the --editable
option from pip3
allows for an easy
setup of a development environment that will match a future user install without
the hassle.
For bash and Zsh users
virtualenv -p python3 kw-devel
source ./kw-devel/bin/activate
pip3 install --editable .
For fish users
virtualenv -p python3 kw-devel
source ./kw-devel/bin/activate.fish
pip3 install --editable .
FAQ
-
When running
knowledge
, I obtain a long message error indicating "Resource punkt not found."Solution: run
knowledge-init
. -
My shell doesn't autocomplete the command
knowledge
.Solution: depending on whether you use
zsh
orbash
writeeval "`pip completion --<shellname>`"
(where
<shellname>
is eitherzsh
orbash
) in your.zshrc
(or.bashrc
) file and then, either lunch a new terminal or runsource ~/.zshrc
(orsource ~/.bashrc
).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for knowledge-clustering-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60c2a07aca8fa3b550d06281d8f3f94984f64c808e3366ace370105321a1b0bd |
|
MD5 | 250cc239af3eb976654439b89169b1d3 |
|
BLAKE2b-256 | 540dedaee1c53cc4cbc6af1715f3c95cc50c998e66c9edc706ad2841394cfa87 |
Hashes for knowledge_clustering-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 205b717d1ccc8f1d0f5d538abeb281cbc0ac2be82d4dddccdfbfa9d3e7b5a300 |
|
MD5 | fa0720d479d672b8c858a3e54535f3a8 |
|
BLAKE2b-256 | b3f0b3513c5d52086fdce833c387b3b4e0c3aa3b38daee8f748d2be2a0bec581 |