Is there a calligraphy dictionary that can look up which word is written in lines?

Yes, the book China Calligraphy Dictionary.

***938 pages, including more than 3,000 Chinese characters, and more than 30,000 lines of calligraphy and regular script handed down from generation to generation.

Ways to find the root, such as one, three, ding, Zhang, wan, etc. , mainly traditional works, so radical capital is traditional. Some prefixes are marked with traditional Chinese characters, but ordinary ones are not.