Ignore:
Timestamp:
Sep 14, 2009, 3:27:09 PM (12 years ago)
Author:
Sven Rech
Message:

fixed EnigmaAnalyzer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Enigma/EnigmaAnalyzer.cs

    r423 r514  
    583583            HashSet<string> inputGrams = new HashSet<string>();
    584584
    585             foreach (string g in new GramTokenizer(input, length, false))
     585            foreach (string g in GramTokenizer.tokenize(input, length, false))
    586586            {
    587587                // ensure each n-gram is counted only once
     
    602602            IDictionary<string, double[]> inputGrams = new Dictionary<string, double[]>();
    603603
    604             foreach (string g in new GramTokenizer(input, length, false))
     604            foreach (string g in GramTokenizer.tokenize(input, length, false))
    605605            {
    606606                if (inputGrams.ContainsKey(g))
Note: See TracChangeset for help on using the changeset viewer.