title: mapping strings
body: <p>I want to map some strings(word) with number. the similar the string, the nearer their value(mapped number) . also, while checking the positional combination of the letters should impact the mapping.the mapping function should be function of letters, positions (combination given position of letter thepriority such as pit and tip should be different), number of letters. </p>
  
  <p>Well, I would give some examples : <strong>starter, stater , stapler, startler, tstarter</strong> are some words. These words are of format "(*optinal)sta(*opt)*er"  where * denotes some sort of variable in our case it is either 't' or 'l' (i.e. in case of starter and staler). these all should be mapped INDIVIDUALLY, without context to other such that their value are not of much difference. and later on which creating groups I can put appropriate range of numbers for differentiating groups.</p>
  
  <p>So while mapping the string their values should be similar.   there are many words, so comparing each other would be complex. so mapping with some numeric value for each word independently and putting the similar string (as they have similar value) in a group and then later find these pattern by other means. </p>
  
  <p>So, for now I need to look up for some existing methods of mapping such that similar strings (I guess I have clarify the term 'similar' for my context) have similar value and these value should be different to the dissimilar ones. please, again I emphasize that the number of string would be huge and comparing each with other is practically impossible(or computationally expensive and much slow).SO WHAT I THINK IS TO DEVISE AN ALGORITHM(taking help from existing ones) FOR MAPPING WORD(STRING) <strong>ON ITS OWN</strong> </p>
  
  <p>Have I made you clear? Please give me some idea to start with. some terms to search and research.</p>
  
  <p>I think I need some type of "<strong>bad</strong>" hash function to hash strings and then put them in bucket according to that hash value. at least some idea or algorithm names.</p>