DJVU2HOCR(1) djvu2hocr manual DJVU2HOCR(1)NAME
djvu2hocr - DjVu to hOCR converter
SYNOPSIS
djvu2hocr [option...] djvu-file
djvu2hocr {--version | --help | -h}
DESCRIPTION
djvu2hocr converts hidden text from a DjVu file to the hOCR[1] format.
OPTIONS
Text segmentation options
--word-segmentation=simple
Use the same word segmentation as found in the DjVu file.
This is the default.
--word-segmentation=uax29
Use the Unicode Text Segmentation[2] algorithm to break lines into words, possibly fixing word segmentation found in the DjVu file.
Other options
--version
Output version information and exit.
-h, --help
Display help and exit.
PORTABILITY
djvu2hocr uses a custom extension to hOCR to retain characters which cannot be directly represented in an HTML/XML document. For example,
control character BEL (^G, U+0007), is converted into the following HTML chunk: <span class="djvu_char" title="#x07"> </span>
SEE ALSO djvu(1)AUTHOR
Jakub Wilk <jwilk@jwilk.net>
Author.
NOTES
1. hOCR
http://docs.google.com/View?docid=dfxcv4vc_67g844kf
2. Unicode Text Segmentation
http://unicode.org/reports/tr29/
djvu2hocr 0.7.9 03/10/2012 DJVU2HOCR(1)
Check Out this Related Man Page
DJVM(1) DjVuLibre-3.5 DJVM(1)NAME
djvm - Manipulate bundled multi-page DjVu documents.
SYNOPSIS
Creating a bundled document:
djvm -c[reate] doc.djvu page1.djvu ... pageN.djvu
Inserting:
djvm -i[nsert] doc.djvu page.djvu [pagenum]
Removing:
djvm -d[elete] doc.djvu pagenum
Listing:
djvm -l[ist] doc.djvu
DESCRIPTION
This program creates or modifies a bundled multi-page DjVu document. Multi-page bundled documents can be used directly or converted to
indirect document using command djvmcvt.
OPTIONS
-c[reate]
Create a bundled DjVu document named doc.djvu by collecting files page1.djvu to pageN.djvu.
-i[nsert]
Modify the bundled DjVu document named doc.djvu by inserting file page.djvu as page pagenum. Omitting argument pagenum means that
the page should be appended at the end of the document. File page.djvu also can be a multi-page DjVu document. All pages will be
inserted at the specified location.
-d[elete]
Remove page pagenum from the bundled multi-page DjVu document doc.djvu.
-l[ist]
List all component files in the multi-page DjVu document doc.djvu.
CREDITS
This program was initially written by Andrei Erofeev <andrew_erofeev@yahoo.com> and was improved by Bill Riemers <docbill@sourceforge.net>
and many others.
SEE ALSO djvu(1), djvmcvt(1)DjVuLibre-3.5 10/11/2001 DJVM(1)
When I execute the first 4 lines of code , it works fine. But the output gives a segmentation fault on executing the sem_getvalue() function. I looke up everywhere for the syntax and other mistakes but I am not being able to find out whats wrong with the code. Can anyone please help me on that...??... (8 Replies)
ive written my code in C for implementation of a simple lexical analyser using singly linked list hence am making use of dynamic allocation,but when run in linux it gives a segmentation fault is it cause of the malloc function that ive made use of????any suggestions as to what i could do???
thank... (8 Replies)
I am in the process of trying to analysing a code snippet I just wrote, and am facing a segmentation fault when I try to swap context an a point...
I get a segmentation fault when I call swapcontext() function...
Please guide me. (7 Replies)
I am writing a function to combine strings, but when I execute I get a segmentation fault, which doesn't make sence. Segmentation fault is when you try to acess a point of memory that doesn't exist, like trying to acess array when you declared array.
Here is the source code:
#include <stdio.h>... (15 Replies)
helo,
i m using linux operationg system at both client and server side.
Now in my application when i use ntohl() then it will give segmentation fault.
now when i remove nothl(), then it works fine.
can u tell me why this happen.
amit (8 Replies)
Hi,
Why I don't receive a segmentation fault in the following sample.
int main(void)
{
char buff;
sprintf(buff,"Hello world");
printf("%s\n",buff);
}
If I define a buffer of 10 elements and I'm trying to put inside it twelve elements, Should I receive a sigsev... (22 Replies)
Hello out there!!!
I have a Red Hat Entreprise Linux 4 server and I am encountering this error
# grep
Segmentation Fault
I know it is not the right use of grep command, but I did that just for testing purpose,then I did
# which grep
/bin/grep
# ls -l /bin/grep
-rwxr-xr-x 1 root... (4 Replies)
Hello All,
I am getting segmentation fault after the following lien when I try to run my datagram socket server program using threads:
if((n= recvfrom(rec, buf, 1024, 0, (struct sockaddr *)&from_addr, &Size)) < 0)
I am not able to figure out what exactly is causing the problem. ... (9 Replies)
Hi, The following code reads 20 characters from one file and writes them (appends them) to the other file. The code works in Turbo C++ on windows but it shows segmentation fault on Linux. I am using Ubuntu 10.10 and gcc compiler.
Please tell me where I was wrong.
#include<stdio.h>
void... (6 Replies)
hi
I have a method which returns char*. In this method am using switch case. I am getting segmentation error in case 49 and my code is
case 49:
if(intFlag == 0210)
{
iiIDCode = atoi(getsubstring(sReq,262,2));
l =... (7 Replies)
Dear all,
Currently I am implementing ECC protocols. I used tinyECC package to port ecc to contiki os. This giving me a segmentation fault.
I followed some article Debugging Segmentation Faults and Pointer Problems - Cprogramming.com but I failed to detect the error. Please help me to find... (11 Replies)
I am passing a char* to the function "reverse" and when I execute it with gdb I get:
Program received signal SIGSEGV, Segmentation fault.
0x000000000040083b in reverse (s=0x400b2b "hello") at pointersExample.c:72
72 *q = *p;
Attached is the source code.
I do not understand why... (9 Replies)
Oddities with gcc, 2.95.3 for the AMIGA and 4.2.1 for MY current OSX 10.14.1...
I am creating a basic calculator for the AMIGA ADE *NIX emulator in C as it does not have one.
Below are two very condensed snippets of which I have added the results inside the each code section.
IMPORTANT!... (11 Replies)
Apologies for any typos...
Well guys, been researching 'goto' in C and they say that you can't 'goto' labels in another function as a segmentation fault will occur.
However I have found a way to 'goto' a label in another function that is NOT main() using the asm() function.
As you know I... (14 Replies)