From d9b7851de96b0a14ab56adf7d3683f14cca09691 Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Sun, 14 Feb 2016 01:30:18 +0000 Subject: [PATCH] Added a default algorithm --- .../migrations/0009_auto_20160214_0040.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/documents/migrations/0009_auto_20160214_0040.py diff --git a/src/documents/migrations/0009_auto_20160214_0040.py b/src/documents/migrations/0009_auto_20160214_0040.py new file mode 100644 index 000000000..31be6d633 --- /dev/null +++ b/src/documents/migrations/0009_auto_20160214_0040.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9 on 2016-02-14 00:40 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('documents', '0008_document_file_type'), + ] + + operations = [ + migrations.AlterField( + model_name='tag', + name='matching_algorithm', + field=models.PositiveIntegerField(choices=[(1, 'Any'), (2, 'All'), (3, 'Literal'), (4, 'Regular Expression')], default=1, help_text='Which algorithm you want to use when matching text to the OCR\'d PDF. Here, "any" looks for any occurrence of any word provided in the PDF, while "all" requires that every word provided appear in the PDF, albeit not in the order provided. A "literal" match means that the text you enter must appear in the PDF exactly as you\'ve entered it, and "regular expression" uses a regex to match the PDF. If you don\'t know what a regex is, you probably don\'t want this option.'), + ), + ]