conceptsplitter is a project designed to extract atomic concepts from a given text. It utilizes the OpenAI API to analyze and split the text into distinct core concepts, ensuring that each concept is clearly defined and elaborated upon. The project is particularly useful for extracting and organizing information from large text dumps, such as those from websites.
- Extract atomic concepts from a given text.
- Utilizes OpenAI API for sophisticated parsing.
- Saves extracted concepts as individual text files.
- Provides a clear structure for analyzing and splitting text based on specific guidelines.
.
├── .gitignore # Git ignore file
├── _.env # Environment variables (contains OpenAI API key)
├── concept_split.ppt # Guidelines and example for text analysis
├── interface.py # Interface to OpenAI API and core functions
├── requirements.txt # Project dependencies
└── split_concepts.py # Main script to process and save extracted concepts
-
Clone the repository:
git clone [repository_url] cd conceptsplitter
-
Install the required packages:
pip install -r requirements.txt
-
Set up your OpenAI API key:
- Obtain your OpenAI API key from the OpenAI platform.
- Open the
_.env
file and replaceyour_api_key_here
with your actual API key. - rename the file to
.env
(remove the underscore).
-
Place the text files you want to process in the
~/Downloads
directory. Ensure that the filenames start with the prefixtext-
. -
Run the main script:
python split_concepts.py
-
Extracted concepts will be saved as individual text files in the
~/desktop/atomic_notes
directory.
Note Utilities Ecosystem: A suite of tools designed to streamline and enhance your note-taking and information processing workflows.
- workflowlibrary - Centralizes and synchronizes the "Related Tools" section across the ecosystem.
- noteutilsyncer - A centralized tool that automates the synchronization of the "Related Tools" section across READMEs in the noteutils ecosystem.
- conceptsplitter - Extract atomic concepts from a given text using the OpenAI API.
- textdownloader - A browser extension to automatically generate text dumps for processing.
Contributions to the conceptsplitter project or the note utilities ecosystem are welcome. If you have ideas for improvements or new features, please feel free to submit issues, suggestions, or pull requests in this repository or contact me!
The textdownloader browser extension is open-source and licensed under the GOS License.
The conceptsplitter project is developed and maintained by Martin Christoph Frank. If you have any questions or need assistance, please contact [email protected].