Live data from Hacker News

Ask HN: Has anybody built search on top of Anna's Archive?

news.ycombinator.com

51–60 of 156 posts

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#51
post #14

Related question, has Anna's archive been thoroughly filtered for non-copyright-related illegal material? Pedo, terrorism, etc. I've considered downloading a few chunks of it but I'm worried of ending up with content I really don't want to be anywhere near from.

Download everything, we know that laws don't apply when you do it on a large enough scale. Not legal advice.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#52
post #28

Earlier quoted context omitted.

It would be incredible for LLMs. Searching it, using it as training data, etc. Would probably have to be done in Russia or some other country that doesn't respect international copyright though.

LLMs already use it, dude )

I think one use would be to search for information directly from a book, rather than get a garbled/half-hallucinated version of it.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#53
post #3

Honestly I don't think it would be that costly, but it would take a pretty long time to put together. I have a (few years old) copy of Library Genesis converted to plaintext and it's around 1TB. I think libgen proper was 50-100TB at the time, so we can probably assume that AA (~1PB) would be around 10-20TB when converted to plaintext. You'd probably spend several weeks torrenting a chunk of the archive, converting ev…

I think there’s a couple ways to improve it: 1. There’s a lot of variants of the same book. We only need one for the index. Perhaps for each ISBN, select the format easiest to parse. 2. We can download, convert and index top 100K books first, launch with these, and then continue indexing and adding other books.

The thing is, for an ISBN, that is one edition, by one publisher and one can easily have the same text under 3 different ISBNs from one publisher (hardcover, trade paperback, mass-market paperback).

I count 80+ editions of J.R.R. Tolkien's _The Hobbit_ at:

https://tolkienlibrary.com/booksbytolkien/hobbit/editions.ph...

granted some predate ISBNs, one is the 3D pop-up version, so not a traditional text, and so forth, but filtering by ISBN will _not_ filter out duplicates.

There is also the problem of the same work being published under multiple titles (and also ISBNs) --- Hal Clement's _Small Changes_ was re-published as _Space Lash_ and that short story collection is now collected in:

https://www.goodreads.com/book/show/939760.Music_of_Many_Sph...

along with others.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#54
post #29

Earlier quoted context omitted.

Considering the anarchist cookbook is just a rebranded selection of freely-available US Army Field Manuals, ... I don't see the problem.

I don't either, but many states have laws regarding books on how to build bombs and they might get enforced more than copyright.

You can get in trouble for having it in the UK (though not necessarily convicted)

https://news.sky.com/story/anarchist-cookbook-case-student-j...

https://www.bbc.co.uk/news/uk-england-oxfordshire-45841291

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#55
post #39

Earlier quoted context omitted.

> It's trivial to normalise the various formats, Ha. Ha. ha ha ha. As someone who as pretty broadly tried to normalize a pile of books and documents I have legitimate access to, no it is not . You can get good results 80% of the time, usable but messy results 18% of the time, and complete garbage the remaining 2%. More effort seems to only result in marginal improvements.

98% sounds good enough for the usecase suggested here.

Writing good validators for data is hard. You can be 100% sure that there will be bad data in those 98%. From my own experience I thought I had 50% of the books converted correctly and then I found I still had junk data and gave up, it is not an impossible problem I just was not motivated to fix it on my own. Working with your own copies is fine, but when you try to share that you get into legal issues that I just do not feel are that interesting to solve.

Edit: my point is that I would like to share my work but that is hard to do in a legal way. That is the main reason I gave up.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#56
post #38

Earlier quoted context omitted.

There should be a way to leverage compression when storing multiple editions of the same book.

From a good search perspective though you probably dont want 500 different versions of the same book popping up for a query

Agreed. I would prefer to see a single result for a single title. The option of pursuing different editions should follow from there.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#57

As far as I know, no one has fully implemented full-text search directly over Anna's Archive. Technically it’s feasible with tools like Meilisearch, Elasticsearch, or Lucene, but the main challenges are: Converting all documents (PDFs, EPUBs, etc.) to clean plaintext. Indexing at scale efficiently. Managing potential legal issues. Z-Library does something similar, but it’s smaller in scope and doesn't integrate AA’s…

To manage the legal issues, you just have to put AI on the search. "AI search".

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#58
post #3

Honestly I don't think it would be that costly, but it would take a pretty long time to put together. I have a (few years old) copy of Library Genesis converted to plaintext and it's around 1TB. I think libgen proper was 50-100TB at the time, so we can probably assume that AA (~1PB) would be around 10-20TB when converted to plaintext. You'd probably spend several weeks torrenting a chunk of the archive, converting ev…

I think there’s a couple ways to improve it: 1. There’s a lot of variants of the same book. We only need one for the index. Perhaps for each ISBN, select the format easiest to parse. 2. We can download, convert and index top 100K books first, launch with these, and then continue indexing and adding other books.

[dead]

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#59
post #52

Earlier quoted context omitted.

LLMs already use it, dude )

I think one use would be to search for information directly from a book, rather than get a garbled/half-hallucinated version of it.

You don't need AI for that. I get the optimistic spirit of what you mean though.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#60

Earlier quoted context omitted.

I think there’s a couple ways to improve it: 1. There’s a lot of variants of the same book. We only need one for the index. Perhaps for each ISBN, select the format easiest to parse. 2. We can download, convert and index top 100K books first, launch with these, and then continue indexing and adding other books.

There should be a way to leverage compression when storing multiple editions of the same book.

[deleted]
Post reply on HN