Posts: 210Threads: 12 Member details
Posts: 210
Threads: 12
Thanks Received: 81 in 41 posts
Thanks Given: 51
Joined: Nov 2025
Reputation:
0
Location: United States
17-11-2025, 01:48 AM
(This post was last modified: 17-11-2025, 02:30 AM by Dunsel.)
So, today's update.
I "think" I got GPT to create a parser that works with Prof. Stolfi's Interlinear file.
And, I found a copy of the You are not allowed to view links. Register or Login to view. by Glen Claston hiding on GitHub and decided to modify my Takahashi parser to work with it.
Once I'm satisfied all these parsers work correctly, I'll start a new thread in this forum and provide links to them and the input files I'm using.
Having produced a few dozen of these particular heatmaps, these look pretty accurate. No huge gaps with missing folios, o and e are the top two characters and the different sections are cleanly visible. The V101 may still need some verification to make sure the letter counts are correct, but it's in the ballpark (edit: checked and the first one was generated with an older version of my parser and, the sorting routine for the x axis was skipping to every 9th column The chart data was correct, just missing a 'few' columns Replaced it with I hope, a chart generated by the correct version).
Here's the output.
Heatmap from the Interlinear LSI
Heatmap from the V101
Posts: 2,606Threads: 121 Member details
Posts: 2,606
Threads: 121
Thanks Received: 1,485 in 941 posts
Thanks Given: 1199
Joined: Mar 2017
Reputation:
6
Location: OWL
Country:
~ 1986 Struggled with x86 assembler, gave up
~ 1989 Learned PowerBasic, useless today
~ 2012 Since switching to Linux, only Python and shell scripts
I only really used AI to:
- Beautify Python code (works surprisingly well)
- Translate texts from manuscripts (with some hallucinations, but it's getting better)
For all other requests, especially those that are more fact-based, I find the answers too vague and long-winded.
It always boils down to: “I can do XY, do you want me to do that?”
Posts: 210Threads: 12 Member details
Posts: 210
Threads: 12
Thanks Received: 81 in 41 posts
Thanks Given: 51
Joined: Nov 2025
Reputation:
0
Location: United States
(17-11-2025, 02:11 AM)bi3mw wrote: You are not allowed to view links. Register or Login to view.~ 1986 Struggled with x86 assembler, gave up
~ 1989 Learned PowerBasic, useless today
~ 2012 Since switching to Linux, only Python and shell scripts
I only really used AI to:
- Beautify Python code (works surprisingly well)
- Translate texts from manuscripts (with some hallucinations, but it's getting better)
For all other requests, especially those that are more fact-based, I find the answers too vague and long-winded.
It always boils down to: “I can do XY, do you want me to do that?”
My job requires I travel a lot. That means I have lots of time to chat with AI. Beats listening to ads on the radio. And yea, that whole question at the end gets REAL annoying. The one I really hate is when I spend the time to build these parsers, I get the prompt wrong, and it slips it's own regex in there because it knows it's faster than the parser. Accuracy be damned.
And, that's why I use Colab. I force it to write out the python to Colab, double check it, have Gemini look it over if I'm uncertain and then... only then... trust the output. And still add in good bit of skepticism.
Had it put out the V101 heatmap and then had it create a table of the letter counts. I immediately realized, the two were different. Found out, the routine to sort the columns did so alphabetically and somehow (it blamed mathematica) it skipped to every 9th column. Trust but verify.
Posts: 43Threads: 3 Member details
Posts: 43
Threads: 3
Thanks Received: 23 in 10 posts
Thanks Given: 23
Joined: May 2025
Reputation:
0
Location: Washington State, USA
17-11-2025, 06:57 AM
(This post was last modified: 17-11-2025, 07:01 AM by anyasophira.)
I bet at least some of those extra “e’s” are due to those pesky “eedy” loops. Arriving in full force for bath time and recipes.
Posts: 2,820Threads: 28 Member details
Posts: 2,820
Threads: 28
Thanks Received: 915 in 641 posts
Thanks Given: 928
Joined: May 2025
Reputation:
0
Location: Campinas (SP), Brazil
Country:
17-11-2025, 08:56 AM
(This post was last modified: 17-11-2025, 08:58 AM by Jorge_Stolfi.)
(17-11-2025, 01:21 AM)Dunsel wrote: You are not allowed to view links. Register or Login to view.I am 61 years old. While I can read Python and mostly follow it's logic, I am not going to learn it's syntax because I'm too old and don't have room in my head for yet another coding language.
I am 75 and learned Python maybe 10 years ago. I have learned a couple dozen of useless languages before, but this one was well worth it. I still like C, and need it for fast low-level things that need pointer arithmetic; but it is a pain for strings, lists, sets, tables, ... Python has those built-in, with a fairly logical and simple syntax. And formatting (C printf) is better too...
I have even been replacing Unix shell (bash) scripts for Python programs.
All the best, --stolfi
(17-11-2025, 01:30 AM)Dunsel wrote: You are not allowed to view links. Register or Login to view.For word length statistics: garbage in, garbage out.
Good maxim, but it is not mine.
Posts: 210Threads: 12 Member details
Posts: 210
Threads: 12
Thanks Received: 81 in 41 posts
Thanks Given: 51
Joined: Nov 2025
Reputation:
0
Location: United States
|