[SP-pm] Conceito para fazer busca[ OFF ]

Blabos de Blebe blabos at gmail.com
Thu Aug 13 07:03:15 PDT 2009


Interessante,

Abraços

Vesrei

2009/8/13 Nelson Ferraz <nferraz em gmail.com>:
> Algoritmo BUSCABR:
>
> 1. Converter todas as letras para Maiúsculo;
> 2. Eliminar todos os acentos;
> 3. Substituir Y por I;
> 4. Substituir BR por B;
> 5. Substituir PH por F;
> 6. Substituir GR, MG, NG, RG por G;
> 7. Substituir GE, GI, RJ, MJ, NJ por J;
> 8. Substituir Q, CA, CO, CU, C por K;
> 9. Substituir LH por L;
> 10. Substituir N, RM, GM, MD, SM e Terminação AO por M;
> 11. Substituir NH por N;
> 12. Substituir PR por P;
> 13. Substituir Ç, X, TS, C, Z, RS por S;
> 14. Substituir LT, TR, CT, RT, ST por T;
> 15. Substituir W por V;
> 16. Eliminar as terminações S, Z, R, R, M, N, AO e L;
> 17. Substituir R por L;
> 18. Eliminar todas as vogais e o H;
> 19. Eliminar todas as letras em duplicidade;
>
> Fonte:
>
> BUSCA FONÉTICA EM PORTUGUÊS DO BRASIL
>
> http://docs.google.com/gview?a=v&q=cache:6-q0bSFDIywJ:www.unibratec.com.br/jornadacientifica/diretorio/NOVOB.pdf+BUSCA+FON%C3%89TICA+EM+PORTUGU%C3%8AS+DO+BRASIL&hl=en&gl=uk
> _______________________________________________
> SaoPaulo-pm mailing list
> SaoPaulo-pm em pm.org
> http://mail.pm.org/mailman/listinfo/saopaulo-pm
>


More information about the SaoPaulo-pm mailing list