Skip to content

A Python implementation of word prediction and completion

Notifications You must be signed in to change notification settings

nickburris/wordprediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word prediction and completion

A Python implementation of word prediction and completion, created for CSCI 4152 Natural Language Processing.

The program's default interactive mode atkes a word or partial word as input, and provides a suggestion for completion and suggests the next word by the following logic:

  • If the input word is in the dictionary, predict the next word using an ngram model.
  • If the input word is not in the dictionary, check the suffix tree for a list of possible completions, and apply a metric to choose the best one.

About

A Python implementation of word prediction and completion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages