|
|
|
|
|
by thaumasiotes
251 days ago
|
|
By the time you've done that, why not repeat it yourself? I once needed to define a large table of trigrams in C (for the purpose of distinguishing "English" from "not English"). Setting it up looked like this: 1. Download a book from Project Gutenberg. 2. Write something that went through the book character-by-character, and for every character, remembered the trigram ending there. 3. Make the form of "remembering" be "append a line of code to this file that says `array[char1][char2][char3] = 1`". 4. Now I have a really long C file that compiles into the dictionary I want. It sounds to me kind of like you want to replace step 3 with an LLM. If that's right... what value is the LLM adding? |
|
It worked so well that I am always trying to look for opportunities like this but honestly, it isn't that common. Many times you aren't creating a pattern and repeating - you are creating a new pattern. AI is good to chat with to get ideas and come up with an approach in these situations seems to be more effective to me.