Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Help for the search engine - Ajuda para o buscador 4 days 4 hours ago #1

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 68
Help for the search engine Does anyone have a PHP template to improve the webtree 2.17 search engine?
Accentuation, words with similar spellings, etc.

Alguém tem um modelo de PHP para melhorar o buscador do webtree 2.17?
Accentuation, words with similar spellings, etc.

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 4 days 2 hours ago #2

  • ungeahnt
  • ungeahnt's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 160

Help for the search engine Does anyone have a PHP template to improve the webtree 2.17 search engine?
Accentuation, words with similar spellings, etc.


What do you want to improve? webtrees has different search functions (quick search box on the top of each page) and the search menu with general- / phonetic- and advanced search.
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 2.0.17 | PHP 7.4 | MariaDB 10.3.27 | Apache 2.4 | Debian 4.19.181-1 (2021-03-19) x86_64

Please Log in or Create an account to join the conversation.

Last edit: by ungeahnt.

Help for the search engine - Ajuda para o buscador 4 days 47 minutes ago #3

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 68
Thanks for the help, but it's not a question of roles.
These are problems that happen in some languages.
In Portuguese we have accents.
We have similar phonemes. For example "s" and "z"
None of this works in the default search engine.

Obrigado pela ajuda, mas não é questão de funções.
São problemas que acontecem em algumas línguas.
No português temos acentuação.
Temos fonemas parecidos . Por exemplo "s" e "z"
Nada disso funciona no buscador padrão

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 4 days 12 minutes ago #4

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 68
Foi bom você falar sobre funções, existem algumas que eu não entendo, esta por exemplo:

O que é Russell?

It was good for you to talk about functions, there are some I don't understand, this one for example:

What is Russell?
Attachments:

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 4 days 10 minutes ago #5

  • ungeahnt
  • ungeahnt's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 160
It is still not clear to me what exactly you want to change.

Are you looking for a phonetic algorithm for Portuguese, like here: rdrr.io/cran/SoundexBR/man/soundexBR.html ?
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 2.0.17 | PHP 7.4 | MariaDB 10.3.27 | Apache 2.4 | Debian 4.19.181-1 (2021-03-19) x86_64

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 4 days 7 minutes ago #6

  • ungeahnt
  • ungeahnt's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 160
> What is Russell?

see here: en.wikipedia.org/wiki/Soundex
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 2.0.17 | PHP 7.4 | MariaDB 10.3.27 | Apache 2.4 | Debian 4.19.181-1 (2021-03-19) x86_64

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 4 days 3 minutes ago #7

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 68
Okay, it helped me!! How do I put it in Webtree's PHP?

All that's left now is to differentiate the accent. Example "AND" different from "Is"

Pronto, já me ajudou!!Como eu coloco no PHP do Webtrre?

Falta agora somente diferenciar a acentuação. Exemplo E diferente É

Please Log in or Create an account to join the conversation.

Last edit: by fariasmarcilio@outlook.com.

Help for the search engine - Ajuda para o buscador 3 days 19 hours ago #8

  • ungeahnt
  • ungeahnt's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 160

Okay, it helped me!! How do I put it in Webtree's PHP?

What's about the built-in Russel-phonetic-search? Doesn't it work for you? Otherwise - if you have php skills and the SoundexBR-Algo is helpful - you can implement it in wt or you can add a request here: Soundex algorithms #2021 .
I don't have any knowledge about php, so I can't help you there.

Exemplo E diferente É

Is this currently not already separated? When I do a quicksearch for 'E', then also only individuals with 'E' are found and if I type 'È', then also only 'È' is found. Is this not the case or do you need something else?
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 2.0.17 | PHP 7.4 | MariaDB 10.3.27 | Apache 2.4 | Debian 4.19.181-1 (2021-03-19) x86_64

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Help for the search engine - Ajuda para o buscador 3 days 18 hours ago #9

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 68
Unfortunately I didn't find SoundexBR for php
Do you know where I can download it?

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 3 days 18 hours ago #10

  • ungeahnt
  • ungeahnt's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 160
github.com/ramos3d/SoundexBR

no idea about the quality
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 2.0.17 | PHP 7.4 | MariaDB 10.3.27 | Apache 2.4 | Debian 4.19.181-1 (2021-03-19) x86_64

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 3 days 18 hours ago #11

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 68
Unfortunately this is not for Php.

It's for R language

Infelizmente este não é para Php.

É para linguagem R

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 3 days 18 hours ago #12

  • ungeahnt
  • ungeahnt's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 160

Unfortunately this is not for Php.
It's for R language


You are sure? github.com/ramos3d/SoundexBR/blob/master/classes/Soundex.php
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 2.0.17 | PHP 7.4 | MariaDB 10.3.27 | Apache 2.4 | Debian 4.19.181-1 (2021-03-19) x86_64

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 3 days 18 hours ago #13

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 68
I put "marcelio" and the Webtree's native search engine doesn't find "marcélio", this is just an example. It happens with other words...
So Russell isn't working? How do I identify this?

Coloco "marcelio "e o buscador nativo do Webtree não encontra "marcélio", isto é só um exemplo. Acontece com outras palavras...
Então o Russell não está funcionando?Como eu identifico isso?

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 3 days 18 hours ago #14

  • ungeahnt
  • ungeahnt's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 160

I put "marcelio" and the Webtree's native search engine doesn't find "marcélio", this is just an example. It happens with other words...
So Russell isn't working? How do I identify this?


At this time Russel is working only with the phonetic search (menu -> search). See here: Request: Replace "General Search" with a "Phonetic Search" #3695

[edit] Can you find both names (marcelio + marcélio) with the phonetic search?
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 2.0.17 | PHP 7.4 | MariaDB 10.3.27 | Apache 2.4 | Debian 4.19.181-1 (2021-03-19) x86_64

Please Log in or Create an account to join the conversation.

Last edit: by ungeahnt.

Help for the search engine - Ajuda para o buscador 3 days 18 hours ago #15

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 68
It's very bad, you only have the option to search for people, there is no search for families.
Even so it doesn't work, I put Antonio Pereira Queiroz to Find "Antonio Pereira Queiros" without success.
And the exact search doesn't work either, only in the general search, "nome de nome"

Fica muito ruim, só tem a opção de busca por pessoas, não há busca por famílias.
Mesmo assim não funciona, coloquei Antonio Pereira Queiroz pra Achar "Antonio Pereira Queiros" sem sucesso.
E tambem não funciona a busca exata, só na busca geral, "nome de nome"

Please Log in or Create an account to join the conversation.

Last edit: by fariasmarcilio@outlook.com.

Help for the search engine - Ajuda para o buscador 3 days 17 hours ago #16

  • ungeahnt
  • ungeahnt's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 160

It's very bad, you only have the option to search for people, there is no search for families.
Even so it doesn't work, I put Antonio Pereira Queiroz to Find "Antonio Pereira Queiros" without success.


Please check that you have enclosed the surname in slashes ( like /Queiroz/ ) on the INDI page. If not then Queiroz is indexed as a given name and you will find it below this entry with the phonetic search (both as 'Queiroz' and 'Queiros').
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 2.0.17 | PHP 7.4 | MariaDB 10.3.27 | Apache 2.4 | Debian 4.19.181-1 (2021-03-19) x86_64

Please Log in or Create an account to join the conversation.

Last edit: by ungeahnt.

Help for the search engine - Ajuda para o buscador 3 days 16 hours ago #17

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 68
Thanks friend, but I see that the thing is more complicated than I imagined.
When I imported the GEDCOM from Family Search none of them had the bar, I'm modifying it manually, a lot of work.
I'll try another alternative, at least to immediately solve the search for words with accents because phonetic research is very difficult to solve.


Obrigado amigo, mas estou vendo que a coisa é mais complicada que eu imaginava.
Quando importei o GEDCOM do Family Search nenhum ficou com a barra, estou modficando manualmente, muito trabalho.
Vou tentar uma outra alternativa, pelo menos pra resolver de imediato a busca de palavras com acento pois a pesquisa fonética é muito trabalhosa resolver.

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 3 days 4 hours ago #18

  • hermann
  • hermann's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 391

Unfortunately this is not for Php. It's for R language


I'm not experienced with Soundex nor do I know the language R, but the code at GitHub is PHP.
Hermann
Designer of the custom module "Extended Family"

webtrees 2.0.17 (all available custom modules installed, php 7.4.15, MySQL 5.6) @ ahnen.hartenthaler.eu

Please Log in or Create an account to join the conversation.

Help for the search engine - Ajuda para o buscador 3 days 4 hours ago #19

  • fariasmarcilio@outlook.com
  • fariasmarcilio@outlook.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 68
Thank you Hermann,

But because of the excellent information I got here from ungeahnt, I'll have to finish my job of putting the / in the families that I imported from FS first. I accept suggestions to improve my search engine in order to implement accentuation in Portuguese BR. It remains for a second moment, to work on similar Brazilian phonemes.
Obrigado Hermann,

Mas pelas excelentes informações que eu obtive aqui, do ungeahnt, vou ter que terminar primeiro meu trabalho de colocar as / nas familias que importei do FS. Aceito sugestões para melhorar o meu buscador com o objetivo de implementar acentuação no Português BR. Fica para um segundo momento, trabalhar nos fonemas semelhantes brasileiros.

Please Log in or Create an account to join the conversation.

Last edit: by fariasmarcilio@outlook.com.
  • Page:
  • 1
Powered by Kunena Forum