gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

predictive.el -- New Release


From: Toby Cubitt
Subject: predictive.el -- New Release
Date: Sun, 30 Apr 2006 19:48:30 +0200
User-agent: Mutt/1.5.11

The languages we use to communicate contain a large amount of
redundancy. Given the first few letters of a word, for instance, it's
not too difficult to predict what should come next. Try it! You can
probably easily guess how to fill in the missing letters in the
following sentence:

     Giv th fir fe lett o a wor i no diffi t predi wh shou com nex.

This is even more true of languages used to communicate with
computers, which typically have very restricted vocabularies and
rigidly defined grammars.

Predictive completion exploits this redundancy by attempting to
complete what you are trying to type before you've finished typing
it. It predicts what you're trying to type from context, and from the
frequency with which you've used words in the past. (Something like
the IntelliSense feature in some IDEs, but on steroids.)

The predictive mode package adds a predictive completion minor mode to
Emacs. The sources are too big to post here, but are available from:

http://www.dr-qubit.org/download.php?file=predictive/predictive.tar.gz

The package's web page can be found at:

http://www.dr-qubit.org/emacs.php#predictive



Summary of changes:
-------------------

* Dictionaries can now a store list of prefices for each word, whose
  weights are automatically kept at least as large as the word's. This
  makes using dictionaries trained on text much easier, requiring
  less manual tweaking.

* Major changes to the dictionary caching, speeding up auto-learning.

* Added customization option to delay activating completion
  mechanisms until some seconds of idle-time have passed.

* Added customization option to set a minimum number of characters
  before completion mechanisms are activated.

* Bug fixes

-- 
PhD Student
Quantum Information Theory group
Max Planck Institute for Quantum Optics
Garching, Germany

email: address@hidden
web: www.dr-qubit.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]