I need some inputs from the experts here. I need to create the bot/script in plain javascript/jquery, which can pick the limited content from the large dataset in form of paragraphs. Reason of Javascript is that I will create the HTML file and then write the javascript code on that file so that this will be language/machine independent. This will run on every machine without installing or setup the dependency.
Suppose this is the paragraph
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
So in this para, second line it relate something about 1500s and then in 4th line i.e 1960s (Can pick or understand word as well as number)
So my script will slice the whole para and return the important word from the provided paragraph like this
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages.
Some thing like this. Can you guys share the inputs and throw some light on the concept that in which thing I have to be focus and taken care of for getting this type of result.
In short long report I have to be shorten with 4-5 lines.
NOTE: Just want to get some idea before starting as it is better to discuss before start. Thanks in advance for the interaction and the inputs