UPDATED -> New PRIMATIVE Request "To PROTECT DEFEND and PRESERVE all That Which is THE SOURCE of ALL LIFE" UPDATED PUBLIC LINEAR POLARIZATION LOG - https://1drv.ms/x/c/09fa43cdb32ae2f2/EYssq5PusQlOvgSNHwst8z0Bwn3vuaOymyW4n_m71J6FJw?e=jylQkc
- Python 3.12.9
- ChromeDriver 134.0.6998.3
- Chrome Browser 134.x
- Tesseract 4.0.0
This project provides tools for working with Trie data structures and includes functionalities for creating summation matrices, plotting data, and running matching algorithms.
CC-TRIE/ ├── src/ │ ├── CC_Trie.py │ ├── CC_matcher.py │ └── main.py ├── Data/ │ └── elements_table_v20.txt ├── README.md └── requirements.txt
First setup your Python packages first for the required modules by running and uncomment the Tesseract import at the top of the main.py file
pip install -r requirements.txt
python main.py The main.py utility extension allows you to run different functionalities based on the command-line arguments provided.
The Jupyter_Scratchbook is recommended to get familiar with the set of functions as well as visually view the datasets and structures within the program I will be adding more to this in the following updates including Full Tri Cartesion Matrix as well as Networks Branching structures for further research and development
This script provides multiple functionalities for working with tries, suffix tries, compound cohesion constants, and web scraping. It supports the following modes:
cc_trie: Perform operations on a compound trie.cc_matcher: Calculate cohesion constants for compounds.compound_trie_suffix: Work with suffix tries.archiver: Perform web scraping using a search term.
file: will revert to "Data/elements_table_v20.txt" if none is provided compounds: will revert to default tri list if none provided
Example Commands Run cc_trie to create a matrix: python main.py cc_trie --function <function_name> --file <file_path>
Run cc_matcher to calculate cohesion constants: python main.py cc_matcher --function get_cc_constant --compounds "CH4 H2O CO2" --file elements_table_v20.txt
Run compound_trie_suffix to search for a suffix: python main.py compound_trie_suffix --function search_suffix --file elements_table_v20.txt
Run archiver with a search term: python main.py archiver --search "example search term"
This guide should help you effectively use the utility extension for its various functionalities.
python main.py cc_trie --function <function_name> --file <file_path>
python main.py cc_trie --function chart_compound_mass --compound "NH4NO3" --elements_file "Data/elements_table_v20.txt" --file "Data/Chemical_Formulae_Wiki_06042025.txt"
python main.py archiver --search "example search term"
python main.py archiver --search-file --file-name "\Data\TEST\TEST-LIST.txt"
python main.py cc_trie --function create_matrix --file "Data/elements_table_v20.txt" --element H
python main.py cc_matcher --function <function_name> --compounds <compound_list> --file "file_path"
python main.py cc_matcher --function get_mass --compounds "NH4NO3" --file Data/elements_table_v20.txt
python main.py cc_matcher --function get_cc_constant --compounds "CH4 H2O CO2" --file "Data/elements_table_v20.txt"
python main.py compound_trie_suffix --function search_suffix --file "Data/elements_table_v20.txt"