Is it possible to create a references from text? I'll explain problem with an example:

We have:


Text about apples
List of types of apples


Problem:


User inputs text about apples.
User selects text that describes certain type of apple, and then click 'magic button'
'Magic button' creates a small window with input field for type of apple.
User enters type of apple, drupal creates that type of apple in list of types of apples.


Details:


Apples are described in text. 
Types of apples will not be a plain text(fieds in content type called 'Apple Types')


Is this even feasible in drupal?

Can you point me in right direction of search? What kind of modules(combination of modules) would help me?
It should be simple and straight forward as far as i understand. Below steps should solve the problem. You can solve it using Drupal Core itself and taxonomy module that comes with core.


Create a Content Type called "About Apples".
Add a text area field called "Apple Details".
Create a Vocabulary called "Apple Types"
Add a field called "apple type" , select field type as "term reference" and widget types as "Auto Complete term widget (Tagging)"


That's it ! You just created a content type called About apples which gives you a form to add Apple Details &amp; Auto Complete Category widget which stores new terms to Apple Types vocabulary and shows autocomplete results when user tries to add categories.