I imported a PDF-File with Tika-Parser Node. Now I want to remove hyphenation, because the lines need to be stored in a Database.
Row100 This line was im-
Row100 This line was imported.
I found also something like this:
Row200 This sentence is also in the
Row This sentence is also in the document
I also tried via PDF-Parser Node and Sentence Extractor, but the result looks the same.
Hi @sven-abx, would you be able to upload a reasonable sized sample of your data, or is it sensitive?
Also is there a maximum line length that you can store in your database?
On the face of it, it looks like hyphenation appearing at the end of lines need to be handled but then lines also need to be joined together, possibly using “.” as the actual line terminator… Or do you have some lines that contain multiple sentences?
Hello @takbb Brian,
thanks for your reply. There is no restriction in length.
With a RegEx I could search for a “-”, but in every line/Row it is not possible to find a unique pattern.
It looks like cleaning the data by hand is mich easier.
Thanks and BR,
Hi Sven, Indeed sometimes a manual solution if it’s a “one-off” and there isn’t too much data, is more productive than a very complex, and possibly still-imperfect solution, but if it becomes too much, come back here and we’ll have another think…
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.