Skip to content

Instantly share code, notes, and snippets.

@herval
Created December 11, 2009 19:00
Show Gist options
  • Save herval/254415 to your computer and use it in GitHub Desktop.
Save herval/254415 to your computer and use it in GitHub Desktop.
# Configuração do Sphinx para partial matching e caracteres acentuados em português
production:
enable_star: 1
min_infix_len: 2
charset_table: "\
U+00C0->a, U+00C1->a, U+00C2->a, U+00C3->a, U+00C4->a, U+00E0->a, U+00E1->a, U+00E2->a, U+00E3->a, U+00E4->a, \
U+00C7->c, U+00E7->c, \
U+00C8->e, U+00C9->e, U+00CA->e, U+00CB->e, U+00E8->e, U+00E9->e, U+00EA->e, U+00EB->e, \
U+00CC->i, U+00CD->i, U+00CF->i, U+00EC->i, U+00ED->i, \
U+00D2->o, U+00D3->o, U+00D4->o, U+00D5->o, U+00D6->o, U+00F2->o, U+00F3->o, U+00F4->o, U+00F5->o, U+00F6->o, \
U+00D9->u, U+00DA->u, U+00DC->u, U+00F9->u, U+00FA->u, U+00FB->u, U+00FC->u, U+0168->u, U+0169->u,
U+FF10..U+FF19->0..9, U+FF21..U+FF3A->a..z, U+FF41..U+FF5A->a..z, \
0..9, A..Z->a..z, a..z"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment