Menu

Spanish OCR problems...

Help
Pakito
2014-05-17
2014-05-18
  • Pakito

    Pakito - 2014-05-17

    I like to work with expressions like this:

    <ERROR UseREOnlyToFind="True" Find="\b[Ss](r|ra|rta)\b\.?" ReplaceBy="S$1.">
    
    <ERROR UseREOnlyToFind="True" Find="(\b\d{1,2})(’|')(\d{2})\s(h)(\W|$)"
    ReplaceBy="$1:$3 $4$5">
    
    <ERROR UseREOnlyToFind="True"
    Find="(\b[Cc]erca|\b[Ee]ncima|\b[Dd]ebajo|\b[Dd]etrás|\b[Dd]elante)(\s)tuyo"
    ReplaceBy="$1 de ti">
    

    For example this expression:

    <ERROR UseREOnlyToFind="True" Find="([\wá-ú])\s((¿|¡)[A-ZÁ-Ú])"
    ReplaceBy="$1.  $2">
    

    I need to edit it to work:

    <ERROR UseREOnlyToFind="True" Find="[\wá-ú]( )[¿¡][A-ZÁ-Ú]" ReplaceBy=". ">
    

    Some I need to split it in 5 o more…

    Who can I use groups for sustitution?

     

    Last edit: Pakito 2014-05-18
  • Pakito

    Pakito - 2014-05-18

    This is and example of my OCR file working properly.

    Here you can see it online: http://pastebin.com/gDXehtAc

    Here the language file for spanish users: http://pastebin.com/CiFnwW2X

     

    Last edit: Pakito 2014-05-18
  • Anonymous

    Anonymous - 2018-05-30
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.