The Japanese copyright law clearly stated decades ago and recent US court favors Anthropic on this regard.
Copyright isn't granted on mere information or thought.
If you take somebody's copyrighted writing, analyze it and publish information such as how many words or sentence in it or other information about that copyrighted work, that's not a derivative works of original copyrighted work.