menu
Tatoeba
language
Registrar-se Entrar
language Português (Brasil)
menu
Tatoeba

chevron_right Registrar-se

chevron_right Entrar

Navegar

chevron_right Mostrar frase aleatória

chevron_right Navegar por idioma

chevron_right Navegar por lista

chevron_right Navegar por etiqueta

chevron_right Navegar por áudio

Comunidade

chevron_right Mural

chevron_right Lista de todos os membros

chevron_right Idiomas dos membros

chevron_right Falantes nativos

search
clear
swap_horiz
search
gillux gillux Criada em 26 de junho de 2015; editada em em 30 de junho de 2015 Criada em 26 de junho de 2015 04:15:54 UTC; editada em 30 de junho de 2015 05:07:35 UTC link Link permanente

** Advanced Search **

I’ve been working on implementing an advanced search feature. You can test it here: https://dev.tatoeba.org/sentences/search

Now, unapproved and orphan sentences are no longer put at the end of the search results. Instead, they are filtered out by default when performing a search from the top bar. One can later make them appear in the results by changing the appropriate criterion.

Feel free to comment on anything. Note that searches are performed on a copy of tatoeba.org’s database from February 2nd, so you won’t find sentence added past this date. But you can add new sentences just for the sake of searching. They should be visible within ten minutes.

I’d like you to test not only all the criteria, but also searching for newly-added or newly-modified sentences. I changed the way new or modified sentences got indexed, so this part may contains bugs too. In short, every sentence you add or modify should become visible (or disappear) in a search within ten minutes, be it because of a modification of its contents, its tags, ownership, audio, link etc. anything that can be searched.

Previous thread: https://tatoeba.org/wall/show_message/22852

{{vm.hiddenReplies[23234] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
CK CK Criada em 26 de junho de 2015; editada em em 30 de outubro de 2019 Criada em 26 de junho de 2015 04:37:32 UTC; editada em 30 de outubro de 2019 10:18:30 UTC link Link permanente

[not needed anymore- removed by CK]

{{vm.hiddenReplies[23235] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
gillux gillux 27 de junho de 2015 27 de junho de 2015 06:02:37 UTC link Link permanente

I tried to put the search fields to the right, although it feels a bit packed to me, and it requires quite some scrolling to get to the submit button, and it uglify the page when there are no results. Tell me what you think.

{{vm.hiddenReplies[23255] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
AlanF_US AlanF_US Criada em 27 de junho de 2015; editada em em 27 de junho de 2015 Criada em 27 de junho de 2015 15:27:11 UTC; editada em 27 de junho de 2015 15:36:31 UTC link Link permanente

I prefer the original layout, for the reasons you say. (Note that it requires scrolling not only to hit the submit button, but also to access many fields that I would expect would be frequently changed.) However, if you do put it on the right, I would hope that you would at least keep the link to an advanced search, since, as it is now, there's no clue that we support all these additional criteria.

{{vm.hiddenReplies[23262] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
CK CK Criada em 27 de junho de 2015; editada em em 30 de outubro de 2019 Criada em 27 de junho de 2015 16:34:39 UTC; editada em 30 de outubro de 2019 10:18:03 UTC link Link permanente

[not needed anymore- removed by CK]

{{vm.hiddenReplies[23265] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
CK CK Criada em 27 de junho de 2015; editada em em 30 de outubro de 2019 Criada em 27 de junho de 2015 16:41:55 UTC; editada em 30 de outubro de 2019 10:17:56 UTC link Link permanente

[not needed anymore- removed by CK]

{{vm.hiddenReplies[23266] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
AlanF_US AlanF_US 27 de junho de 2015 27 de junho de 2015 18:47:54 UTC link Link permanente

Yes. Also, would it be possible to open up a new window (or tab -- I guess this would depend on how a user's browser is configured) for search results? I've wanted this before, but with the advanced search feature, it makes even more sense. Then one could keep open the search criteria window/tab for future searches even after one has closed the the results window/tab. In that case, the layout that would require less scrolling would be the original "horizontal" one rather than the right-sidebar "vertical" one.

AlanF_US AlanF_US 26 de junho de 2015 26 de junho de 2015 13:05:55 UTC link Link permanente

There's a typo: "Oprhan sentences are likely to be incorrect."

{{vm.hiddenReplies[23237] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
gillux gillux 27 de junho de 2015 27 de junho de 2015 00:30:58 UTC link Link permanente

Where?

AlanF_US AlanF_US 26 de junho de 2015 26 de junho de 2015 13:08:29 UTC link Link permanente

When you type right-to-left text into the "Words" field, it's left-justified rather than right-justified. This differs from the behavior of, say, the "Example sentences with the words:" field in the main search area.

{{vm.hiddenReplies[23238] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
gillux gillux 27 de junho de 2015 27 de junho de 2015 05:56:18 UTC link Link permanente

Thank you, this should be fixed now.

{{vm.hiddenReplies[23252] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
AlanF_US AlanF_US 27 de junho de 2015 27 de junho de 2015 15:23:22 UTC link Link permanente

Yes, it works fine now.

AlanF_US AlanF_US Criada em 26 de junho de 2015; editada em em 26 de junho de 2015 Criada em 26 de junho de 2015 13:24:56 UTC; editada em 26 de junho de 2015 13:25:49 UTC link Link permanente

It would be nice to have a way to "gray out" the whole "Translations" box for those times when you don't want it to affect your search.

It would also be nice to have a "Randomize" feature that displays the sentences in random order so that you don't end up seeing the same sentences over and over again, especially if it produces a search that you want to bookmark and use repeatedly. I did this in a bookmarklet that I wrote ( http://en.wiki.tatoeba.org/arti...ated-sentences ).

In general, the new feature works very well.

{{vm.hiddenReplies[23239] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
gillux gillux 27 de junho de 2015 27 de junho de 2015 00:37:33 UTC link Link permanente

What do you mean by graying out? Do you mean a reset button for that part only? Or do you mean to gray it out automatically when its fields are all set their default values?

{{vm.hiddenReplies[23249] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
AlanF_US AlanF_US 27 de junho de 2015 27 de junho de 2015 15:22:39 UTC link Link permanente

I guess a reset button is what I want. Better not to gray it out, since that might make people think that nothing in that area could be selected.

CK CK Criada em 27 de junho de 2015; editada em em 30 de outubro de 2019 Criada em 27 de junho de 2015 01:21:20 UTC; editada em 30 de outubro de 2019 10:18:10 UTC link Link permanente

[not needed anymore- removed by CK]

{{vm.hiddenReplies[23251] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
gillux gillux 27 de junho de 2015 27 de junho de 2015 05:57:57 UTC link Link permanente

Since adding a “random page” link on every pagination is rather more difficult to do, I only added a random sort order function to the advanced search.

gillux gillux 27 de junho de 2015 27 de junho de 2015 06:20:04 UTC link Link permanente

It’s now possible to randomize the results by selecting the appropriate option of the “Sort” field.

{{vm.hiddenReplies[23256] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
AlanF_US AlanF_US 27 de junho de 2015 27 de junho de 2015 15:20:53 UTC link Link permanente

I love it, including the other sorting options. Thanks!

I suggest these rewordings:

"Results sort" -> "Order" (because the box caption already says "Sort")
"Less number of words should be first" -> "Shortest first" or "Fewest words first"
"Last created first" -> "Most recently created first" (if it fits, otherwise keep what you have)
"Last modified first" -> "Most recently modified first" (if it fits, otherwise keep what you have)

{{vm.hiddenReplies[23259] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
AlanF_US AlanF_US 27 de junho de 2015 27 de junho de 2015 15:30:38 UTC link Link permanente

Also, a rewording for the "More search criteria" group box:

"Owned by a self-proclamed native" -> "Owned by a self-identified native" or "Owned by a self-identified native speaker"

{{vm.hiddenReplies[23263] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
al_ex_an_der al_ex_an_der Criada em 27 de junho de 2015; editada em em 27 de junho de 2015 Criada em 27 de junho de 2015 17:13:22 UTC; editada em 27 de junho de 2015 17:14:21 UTC link Link permanente

And don't forget this one:
"Owned by a self proclaimed hyper-genius allegedly being fluent at a near-native level in fifty languages"
;-)

CK CK Criada em 27 de junho de 2015; editada em em 30 de outubro de 2019 Criada em 27 de junho de 2015 17:20:58 UTC; editada em 30 de outubro de 2019 10:17:49 UTC link Link permanente

[not needed anymore- removed by CK]

{{vm.hiddenReplies[23268] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
tommy_san tommy_san 27 de junho de 2015 27 de junho de 2015 21:58:07 UTC link Link permanente

This is strange indeed.
https://dev.tatoeba.org/jpn/sen...io=&sort=words

I don't mind seeing sentences owned by non-native speakers though, as long as they are tagged OK by native speakers. I'd find the criterion "owned or tagged OK by self-proclaimed native speakers" more useful.

{{vm.hiddenReplies[23271] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
CK CK Criada em 28 de junho de 2015; editada em em 30 de outubro de 2019 Criada em 28 de junho de 2015 01:46:36 UTC; editada em 30 de outubro de 2019 10:17:35 UTC link Link permanente

[not needed anymore- removed by CK]

{{vm.hiddenReplies[23276] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
tommy_san tommy_san 28 de junho de 2015 28 de junho de 2015 02:30:20 UTC link Link permanente

You're right, but I still think that the mother tongue of a sentence has nothing to do with its quality. Are you implying that sentences that are in your OK list and owned by non-native speakers are worse in quality than those owned by native speakers?

It'd be also nice if we could search for/among the sentences owned or tagged OK by one or more particular members.

gillux gillux 28 de junho de 2015 28 de junho de 2015 01:40:12 UTC link Link permanente

That’s because dev.tatoeba.org’s database is so old that doesn’t contain much natives. There are only people who set themselves as natives on dev.tatoeba.org when Trang introduced this feature. See https://dev.tatoeba.org/stats/native_speakers

CK CK Criada em 27 de junho de 2015; editada em em 30 de outubro de 2019 Criada em 27 de junho de 2015 23:34:28 UTC; editada em 30 de outubro de 2019 10:17:42 UTC link Link permanente

[not needed anymore- removed by CK]

{{vm.hiddenReplies[23273] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
gillux gillux Criada em 28 de junho de 2015; editada em em 28 de junho de 2015 Criada em 28 de junho de 2015 01:52:05 UTC; editada em 28 de junho de 2015 01:52:29 UTC link Link permanente

> 1. Another idea to consider would be to allow the option of an alphabetical sort if it doesn't put too much of a load on the server.
> 2. Also, another idea to consider would be to allow the option to sort the sentences by how they end, if this doesn't put too much load on the server.

I think this would be too resource-hungry as we’d need to index all the sentence texts.

> 3. This one may put too much load on the server, but ...

This won’t put any load and is easy to do.

CK CK Criada em 27 de junho de 2015; editada em em 30 de outubro de 2019 Criada em 27 de junho de 2015 00:56:26 UTC; editada em 30 de outubro de 2019 10:18:21 UTC link Link permanente

[not needed anymore- removed by CK]

{{vm.hiddenReplies[23250] ? 'expand_more' : 'expand_less'}} Ocultar respostas Mostrar respostas
gillux gillux 27 de junho de 2015 27 de junho de 2015 06:00:25 UTC link Link permanente

No, it’s not possible to display more than the first 1000 results. Why would you want that by the way? Also, what if the search criteria are set so that sentences disappear from the search results once translated? This way, the contributor only needs to translate the first results.