Oddbean new post about | logout
 Is there an app that explores notes from many or all relays, and only returns notes with a sole selected language (e.g. Portuguese, Japanese, Bulgarian etc.)? 

#asknostr

cc @elidy @Karnage @PABLOF7z 
 Not sure. Maybe @brugeman has this feature? 
 There is a relay for that, wss://feeds.nostr.band/lang/{lang} - en, es, jp etc., i.e https://nostrrr.com/relay/nrelay1qq08wumn8ghj7en9v4j8xtnwdaehgu3wvfskuep0d3skuee0v4esg0z4rx 
 I’ve been very interested in creating a service that tags the “predicted language” of every post to my relay in a DB table, and lets you query it by note id. 

The language prediction process in LibreTranslate isn’t too heavy, and it could be used for filters like this. 
 Not app, but nostr-filter-relay can do this

You can test it by using relays with parameters:
wss://nostr-id-relay.hf.space/?lang=en,ja&lang_confidence=50

as example to get English and Japanese notes only.

Parameters usage documented in Github @elsat

 
 Talking to spanish nostr users there’s a frustration in finding other hispanoparlantes on here. In someways it’s and easier prospect than finding other communities. At the moment we don’t tag posts by language but it would be easy to add the tags and filter queries by them.  
 I asked Spanish language nostr for relays and I did not receive relays in return.

In Damus there’s a relay sets for Thai, German, and Japanese users. 

Maybe there is some other way we could explore in the future. Algostore of DVM with output of notes only in language X. 
 One years ago we was talking about this exact matter and I proposed a tag to classify the language, but there was different opinions and many preferred the relay approach.
I suppose we can now use NIP-32 to label notes using ISO 639-1.