Click here to Skip to main content
15,884,821 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
I need a little help from codeproject.

Please let me know any programming snippet which can rewrite the content written/submitted by a user, but meaning should remain same?

Is it possible? If it is possible, please guide me.
Posted
Comments
Ron Beyer 18-Nov-13 22:21pm    
Can you give an example of what you expect to be the input, and what you expect to be the output?
JoCodes 18-Nov-13 22:55pm    
Can you elaborate on what you are looking for?
Ganesh KP 18-Nov-13 23:12pm    
this is absolutely part of Artificial Intelligence coz how can we determine which word will sufficient at which sentence? Needs a parser to work with this.
G.Tarun Kumar 18-Nov-13 23:20pm    
Thanks for your response. Can you guide me to write a parser or give some example parser. I will analyze and rewrite it!
G.Tarun Kumar 18-Nov-13 23:20pm    
Hi Ron Beyer,

Example:

The sun's magnetic field changes polarity approximately every 11 years and Nasa scientist think the reversal could happen any day now.
The pole reversal happens at the peak of each solar cycle as the sun's "inner magnetic dynamo" reorganises itself.
The change causes a "ripple effect" across the entire solar system, according to solar physicist Todd Hoeksema from Stanford University.
With the sun at its peak its magnetic field could interfere with Earth's own magnetic field, which could increase the number and range of auroras.
it could also have an effect on power distribution grids and GPS satellites.

Rewritten text:

The sun's magnetic field changes polarity approximately every 11 years and Nasa scientist believe the reversal could occur any day now.
The pole reversal occurs at the top of each solar cycle as the sun's "inner magnetic dynamo" reorganises itself.
The change determinants a "ripple effect" over the whole solar scheme, according to solar physicist Todd Hoeksema from Stanford University.
With the sun at its peak its magnetic area could hinder with Earth's own magnetic field, which could boost the number and range of auroras.
it could furthermore have an effect on power distribution grids and GPS satellites


If you can observe both the text, there is some change in words but the meaning of the context remains same.

Please let me know any example or code snippet which can help me out.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900