Class PlainTextDictionary
Dictionary represented by a text file.
Format allowed: 1 word per line:
word1
word2
word3
Inheritance
System.Object
    PlainTextDictionary
  Implements
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Search.Spell
Assembly: Lucene.Net.Suggest.dll
Syntax
public class PlainTextDictionary : IDictionary
  Constructors
| Improve this Doc View SourcePlainTextDictionary(FileInfo)
Creates a dictionary based on a File.
NOTE: content is treated as UTF-8
Declaration
public PlainTextDictionary(FileInfo file)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.FileInfo | file | 
PlainTextDictionary(Stream)
Creates a dictionary based on an inputstream.
NOTE: content is treated as UTF-8
Declaration
public PlainTextDictionary(Stream dictFile)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.Stream | dictFile | 
PlainTextDictionary(TextReader)
Creates a dictionary based on a reader.
Declaration
public PlainTextDictionary(TextReader reader)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.TextReader | reader | 
Methods
| Improve this Doc View SourceGetEntryIterator()
Declaration
public virtual IInputIterator GetEntryIterator()
  Returns
| Type | Description | 
|---|---|
| IInputIterator |