Types of Files
Two extensions are use for OCR files:
- ".ocr.txt" - the "raw" OCR results.
- ".txt" - if and when the raw .ocr.txt files have been remediated, the remediated versions use standard ".txt" extension.
If these remediated files exist, the ".ocr.txt" files should be deleted. The TIFF files of the transcriptions will be permanently deleted if it is deemed they do not themselves merit preservation. That is to say if the image of the transcript has no perceived value other than the text on the page, then the image of the transcription will be deleted.
If it is deemed that remediation of raw OCR files will be too labor/cost intensive, both the TIFFS and the raw ".ocr.txt" files must be preserved. In the future, as OCR technology improves, it may be possible to render higher quality OCR versions of the transcripts.
For non-compound objects/items, transcripts simply add a page-level extension to the item number.
For example, item u0008_9999999 might have 10 transcripts which will be named as thus for the transcript .tif files: u0008_9999999_0001.tif through u0008_9999999_0010.tif. The same applies to ".ocr.txt" and ".txt" files as well, that is to say the respective raw and remediated OCR versions of the transcript TIFFs.
Often tiff/wave files do note have a one to one match with transcript files or vice-versa.
Below are three scenarios and the naming rules devised on 6/19/09 to allow the file names themselves to denote a correlation between different file types that point to the same information (i.e. an audio interview and a transcript of that interview).
Situation 1: One to Many (One media file to many text files)
ex: 1 .wav file and 3 .txt transcript files
Situation 2: Many to One (Many media files to one text file)
ex: 3 .wav files and 1 .txt transcript file
Situation 3: One to One (One media file to one text file)
ex: 1 .wav file and 1 .txt transcript file
*For general information on filenaming conventions, see File_naming_schemes.
- What if you have 2 .wav files and 3 pages of transcripts? That is, what happens when a transcript page contains the transcription for part of each of the 2 .wav files?
In that case you might have a scenario like this: _0001.wav goes with _0001_001.txt and _0001_002.txt while _0002.wav goes with _0002_001.txt and _0001_002.txt. In this case, _0001_002.txt and _0002_001.txt are the SAME document, simply existing twice with different file names. This still allows people to know what transcripts correspond to what media items based simply on the file name.
We understand that this calls for more storage space to be used (given that an analog item exists as two distinct files), but the greater concern is the removal of confusion regarding relation of items to one another.
Important: It was discussed on 070209 that in the case of .txt file transcripts (OCR), we can simply edit the .txt files so that there is a 1 to 1 match between the transcript and the media file (wav, tiff, etc.). That is to say that if the transcripts have no value in themselves (i.e. tiffs of historically important original transcripts WOULD have value in and of themselves) we can then use the OCR-ed .txt files and divide them up as needed to get a 1 to 1 match with the media file.
- What about a scenario in which there are 2 tiffs (of original analog materials) and 1 transcript file (in tiff format) which contains the transcription for both original tiffs? How will someone know what part of the transcription tiff matches with the respective portion of the scans of the analog materials?
They won't know exactly, but they'll be in the right "ballpark" and will only have to peruse one transcript page to find the information that corresponds to each scan of the analog materials. Perhaps, in the future we can incorporate X/Y axes of the transcription files in the metadata.
Audio Transcript Matching: Compound Objects
Audio interviews for compound objects can have multiple transcript files/scans associated with one audio file. It is important to name these transcript files in a way that delineates which transcripts match with particular .wav files.
Here is a link to a small tutorial that demonstrates a method for doing such a thing provided the transcript scans are good candidates for OCR.