Jump to content

Help writing program???

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
16 replies to this topic

#1
michaelrulaz

michaelrulaz

    Newbie

  • Members
  • Pip
  • 3 posts
Im have never tried to program but im a fast learner and i just need to know the easiest way to create this, and ill buy the books to learn and stuff. i am good with computers and programing is something i want to learn and i figured since i need a acronym decoder it would be a good tme to learn


i want to create a database program thing that solves acronyms. heres how i want it to work theroretically, say i have the acronym "idk" i want it to search for ever word in the english language that starts with the letter "I" then searchs for all the words in english that start with "D" then does the same for the letter "K" and produces every possible outcome. or even to make it a little more advanced if possible maybe it could compare the possible outcomes to grammer rules or popular speaking.
i know im asking a realy hard question but how would i go about creating it? like is there a certain program that would allow me to enter in my parameters or is there a certain programing language i need to study any advice is good


for the "idk" example the end result would look like
I -- DONT -- KNOW
IT -- DONT -- KNOW
IDIOT -- DONT -- KNOW
INTERNET --DONT -- KNOW

I -- DOESNT -- KNOW
IT -- DOESNT -- KNOW
IDIOT -- DOESNT -- KNOW
INTERNET --DOESNT -- KNOW

I -- DIDNT -- KNOW
IT -- DIDNT -- KNOW
IDIOT -- DIDNT -- KNOW
INTERNET --DIDNT -- KNOW
1 second ago

i have searched google but theres only a few and also the few are not as comprehesive as need be. im trying to solve acronyms like I W T W B S A D A B F F. and larger

#2
gaylo565

gaylo565

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 268 posts
You could make this program with most programming languages so you are best off choosing one with lots of resources available, especially first hand help if you can find any. The program you wish to make would take a large amount of processing power to actually retrieve all possible combinations for large acronyms from the database, as well as giving you a huge list of results. The searching criteria you mentioned isn't a bad idea but it sounds hard to actually implement. Your library's would have to contain information about what type of word it was accessing as well as the words themselves. I'm not sure of your goals with the project but you may want to rethink your approach before you begin coding. A simple library of all possible acronyms to which you can always make updates could be a better solution. Although It might take a little while longer to create, in the long run it would yield much more accurate information if your after a particular meaning or set of meanings for your acronym. Good luck with the learning process whichever language you choose; it can be frustrating at times but always rewarding:)

Edited by gaylo565, 06 July 2008 - 10:14 PM.


#3
michaelrulaz

michaelrulaz

    Newbie

  • Members
  • Pip
  • 3 posts
Well it sounds more complicated then it really is.I know of humans who can do similar things without much effort. Basically im not trying to compile different acronyms, im trying to solve them. and not just acronyms but the puzzle solving ideas. take for instance you have a peice of paper with the following on it. "johns ammunition pistols and rifles" but the paper is torn up or something and now only reads "johns amm p r" and you need to decipher the rest. now some people can solve this by popular english words. but i also know of some people who wll take a whole sentence and make it into a acronym. say for example "lets go to the play ground tomorrow" and they will turn it into "lgttpgt". so this program cant run off of already known acronyms but may be assisted by them. dont worry about processing power or harddrive space. let me say that i have a friend [not going to mention names] who works at a very large corporation [nor names here either] who has countless server rooms,harddrive space, and powerful computers. now i dont just want it to do a brute search [like ever possible outcome] i want to be able to set search terms like "old english words" or "medical items" or "chemical objects".

also any suggested program?
i have many computers but as of now my favorite machine to use is my new dell xps laptop running windows vista. i norm use apple but i like windows for some aspects and i grew fond of the laptop.

#4
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
DELETED

Yeah, Slice Ownz Your Posts.

Get over it

/Talk

Edited by xXHalfSliceXx, 14 July 2008 - 06:11 PM.


#5
michaelrulaz

michaelrulaz

    Newbie

  • Members
  • Pip
  • 3 posts
they cant think of ever possible acronym basically they think of logical possiblitys. and any way my friend works for AAA he is in the IT department and he has let me use there computers before. lol even once we hooked up a lan tournament in there.

#6
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
DELETED

Yeah, Slice Ownz Your Posts.

Get over it

/Talk

Edited by xXHalfSliceXx, 14 July 2008 - 06:10 PM.


#7
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
For this sort of thing, I would just use a flat file, formatted like this:
idk I don't know
ajax asynchronous javascript and xml
ascii American standard code for information interchange
then use a perl script to provide an interface.

#8
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
I would use Visual Basic (6, since that's what I know...) for this actually. That is easy to learn too, although perhaps not a good first-time language (bad habits etc). But wouldn't you get extremely many outcomes for every acronym??

This is not "hard" to program, I think, but it is a large project... HUGE. All the words in the english language into some database and some tricking with search functions.... voila.... :D
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#9
Oigen

Oigen

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts
I think it would be incredibly hard to code that. I mean, think about it, it would take immense processing power for the full version.

#10
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
It would not be a good idea to do that in VB6. Especially due to the ridiculous amount of possibly outcomes, better stick to something lower level so that you can optimize your code more and speed it up.

#11
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
I think: Do it in VB6 and filter outcome...
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#12
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
Filtering the outcome is just going to require more processing power to run it through statements to check for validity.