www.webdeveloper.com
Results 1 to 4 of 4

Thread: Looking for a way to organize user inputed data into logical groups

  1. #1
    Join Date
    Oct 2012
    Posts
    2

    Looking for a way to organize user inputed data into logical groups

    I'm looking to build a web app that takes user data (string) and then assigns it to 1 of 8 groups automatically.

    Example:

    Input: "Milk"
    Assigns to: Food
    or
    Input: "IKEA Chair"
    Assigns to: Furniture

    User's could be entering an extremely wide range of answers, which leaves holes in any conditional I write. I was wondering if anybody was aware of a better process for categorization that would account for unknown, but logically identifiable, strings.

    **I'm very new to coding, but I've taught myself all of the fundamentals and important concepts.

  2. #2
    Join Date
    Nov 2010
    Posts
    1,084
    Quote Originally Posted by methodman View Post
    I was wondering if anybody was aware of a better process for categorization that would account for unknown, but logically identifiable, strings.
    None that I can think of - a computer is very stupid compared to the human brain - what we think of as logical association is actually the result of being able to compare and associate very separate things. Therefore we know that an IKEA Chair is furniture, but for a computer to know this it would at least have to be told that all chairs are furniture (except for chairmen, chairlifts, maybe wheelchairs, etc).

    I can't think of a way to easily categorize every possibility. The best you can do is categorize the most likely, and if a category for the new item is not found either put it in "miscellaneous" or ask the user to select a category.

  3. #3
    Join Date
    Oct 2012
    Posts
    2
    thanks xelawho. I kinda figured that, but I didn't know for sure. I appreciate your advise, I'll probably just do that.

  4. #4
    Join Date
    Oct 2012
    Posts
    5
    yes he is right coz users may enter any value in the search area i think it will be better to ,make a menu and select items from lthat menu and than you can compare the item according to its category ....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles