fc95705657 | 3 years ago | |
---|---|---|
.ipynb_checkpoints | 3 years ago | |
media | 3 years ago | |
notebooks | 3 years ago | |
pic_tree_fruit_img | 3 years ago | |
programs | 3 years ago | |
vid | 3 years ago | |
web | 3 years ago | |
README.md | 3 years ago | |
text.txt | 3 years ago | |
todo.md | 3 years ago |
README.md
Trees: Symbol And Recursion
About
"Trees: Symbol And Recursion" is a series of computer programs that playfully inquires the convergence of mathematics, linguistics and symbolic structures implied in trees, a type of structure used to store, search and present information. The project is part of the larger project "structures: string, tree and graph".
conversation tree; decision tree; text processing; recursion; symbols; empty spaces. a binary tree structure to implement a feature to store customized word combinations.
recursion in computational linguistics
recursion
Self generation of
Self modification
hierarchy
permutation
hierarchical rule
critical code studies Textual outputs are stored as txt files, and image outputs are stored as image files. The program process is stored in Jupyter Notebooks. There are two recursive procedures applied in the program, one to build the tree, and the other to print the tree. Between line 45 and 67, the insertLeaf function recursively traverse the tree, looking for a suitable place to insert the word of the fruit as predefined by a hierarchical rule. The hierarchical rule used in the program simply compares the order of the word's first letter. Words starting with "bigger" letters will be placed on the right side, and vice versa. Between line 15 and 35, the print2DUtil_flat function visually renders the tree's levelled hierarchies. The function starts in the tree's furthest right. For words placed in "lower" levels, more empty spaces are printed, and vice versa.
"A Letter Tree With Hanging Fruits" is a symbolic tree that grows 26 different fruits, with each name starting with a letter from the English alphabet. The computer program uses the tree structure, an abstract data structure used to store, retrieve and represent hierarchical information. The information, in this case, a list containing the words of the fruits, is processed hierarchically by recursion, an algorithmic procedure that constantly calls upon itself until an exit condition is met.
to how the program's outputs are being rendered interactively in the console, they are witnessing a tangible interplay of the subjects.
typographical qualities empty spaces vacancies
Tree of life in (esoteric) mystery spiritualism trees
Presentation
PyCon