words_search_tree_in_classic_asp
Implementation of a Search Tree in Classic ASP
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.5%) to scientific vocabulary
Keywords
asp-classic
class
classic-asp
italian-developers
library
r0mb0
search-tree
words-search-tree
wordsearch
Last synced: 6 months ago
·
JSON representation
·
Repository
Implementation of a Search Tree in Classic ASP
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
asp-classic
class
classic-asp
italian-developers
library
r0mb0
search-tree
words-search-tree
wordsearch
Created about 1 year ago
· Last pushed 7 months ago
Metadata Files
Readme
Contributing
Funding
License
Code of conduct
Citation
Security
Support
README.md
Words search tree in Classic ASP
Tree structure
- Words
- nana
- baba
- banana
Chart

⚠️ Commenting
Private Function write_array(...)In case of writing all tree's elements, the tree is explored in iterative way that produce a linear output
words_search_tree.class.asp's avaible functions
- Initialize the class ->
Public Function initialize(ByVal termin, ByVal case_sens, ByVal remove_special_char, ByVal remove_lett, ByVal remove_numb, ByVal remove_all_numb)> > Where the params are: > -termin-> The terminator character (must be a special character as "-"). > -case_sens-> case sensitive option, could be "true" or "false", if "false", all text will be transformed in lower case. > -remove_special_char-> remove special characters, could be "true" or "false", if true, the special chacters will be removed from the text. > -remove_lett-> remove single letters, could be "true" or "false", if "true", the sigle letters will be removed, for example " a ". > -remove_numb-> remove number, could be "true" or "false", if "true" the numbers will be removed, for example " 123 " > -remove_all_numb-> remove all numbers from text, cuold be "true" or "false", if true, all numbers will be removed, for example: "Hi123" became "Hi" > > ⚠️ "removenumb" and "removeall_numb" params could not be true simultaneously! - Add a word to the tree ->
Public Function add_word(ByVal word) - Add all text words in the tree ->
Public Function add_text(ByVal text) - Print all elements inside the tree ->
Public Function Write_all_elements() - Check if a word is in the tree ->
Public Function is_present(ByVal word) - Search a word inside the memory ->
Public Function search_word(ByVal word, ByVal is_array)> > This function is usefull to search a word inside the tree, for example ifword= "hom" the function will return: "home", "homo" and "hometown" > -wordis the word to search, it could be a part of a word, if an entire word is passed to the function, the function will return null. > -is_arraychange the output of the function, iftruethe function will return an array with all results, else, will be returned a string - Function to save to file the tree state ->
Public Function save_tree(ByVal path)> Wherepathis the string with the location with the file to save location - Function to load the saved state tree in a file ->
Public Function load_tree(ByVal path)> Wherepathis the string with the location with the file to load location
How to use
From:
Test.asp
- Initialize the class
asp <%@LANGUAGE="VBSCRIPT"%> <!--#include file="words_search_tree.class.asp"--> <% Dim tree Set tree = new words_search_tree tree.initialize "-", true, true, true, false, true - Add values to tree
Possibilities:
- > Load tree from file
asp tree.load_tree("path") - Add words
asp tree.add_word("nana") tree.add_word("baba") tree.add_word("banana") - Add text
asp tree.add_text("Nel mezzo del cammin di nostra vita mi ritrovai per una selva oscura, che la diritta via era smarrita.") tree.add_text("Ahi quanto a dir qual era è cosa dura esta selva selvaggia e aspra e forte che nel pensier rinova la paura!")
- > Load tree from file
- > Save the state of tree
asp tree.save_tree("path") - Interrogate the tree
Possibilities:- Check if a word is in the tree
asp tree.is_present("banana") - Search a word inside the tree
asp tree.search_word("bana", false) %>
- Check if a word is in the tree
Owner
- Name: Francesco Rombaldoni
- Login: R0mb0
- Kind: user
- Location: Italy
- Company: INRCA/SIA
- Repositories: 20
- Profile: https://github.com/R0mb0
If I'm living in a crisis without realizing it?
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Rombaldoni" given-names: "Francesco" title: "Words_search_tree_in_classic_asp" version: 1.0.0 date-released: 2025-03-14 url: "https://github.com/R0mb0/Words_search_tree_in_classic_asp"
GitHub Events
Total
- Push event: 48
- Create event: 1
Last Year
- Push event: 48
- Create event: 1
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0