Exemplo n.º 1
0
        public ExtractMethod(WordExtractionType wordExtractionType)
        {
            switch (wordExtractionType)
            {
            case WordExtractionType.Default:
                this.WordExtractor = DefaultWordExtractor.Instance;
                break;

            case WordExtractionType.NearestNeighbour:
                this.WordExtractor = NearestNeighbourWordExtractor.Instance;
                break;
            }
        }
Exemplo n.º 2
0
 public SimpleLinesMethod(WordExtractionType wordExtractionType) : base(wordExtractionType)
 {
 }
Exemplo n.º 3
0
 public static ExtractMethod SimpleLines(WordExtractionType wordExtractionType = WordExtractionType.NearestNeighbour) => new SimpleLinesMethod(wordExtractionType);
Exemplo n.º 4
0
 public static ExtractMethod Docstrum(WordExtractionType wordExtractionType    = WordExtractionType.NearestNeighbour) => new DocstrumSegmentMethod(wordExtractionType);
Exemplo n.º 5
0
 public static ExtractMethod RecursiveXY(WordExtractionType wordExtractionType = WordExtractionType.NearestNeighbour) => new RecursiveXYSegmentMethod(wordExtractionType);
Exemplo n.º 6
0
 public DocstrumSegmentMethod(WordExtractionType wordExtractionType) : base(wordExtractionType)
 {
 }
Exemplo n.º 7
0
 public RecursiveXYSegmentMethod(WordExtractionType wordExtractionType) : base(wordExtractionType)
 {
 }