[www.theword.net]

Twitter live feed  
View unanswered posts | View active topics It is currently Thu Apr 15, 2021 2:05 am



Reply to topic  [ 8 posts ] 
 Program detection of strong's numbers in user module 
Author Message

Joined: Sat Apr 09, 2011 7:42 pm
Posts: 36
Post Program detection of strong's numbers in user module
will the word program detect strong's numbers in a user module?


Fri Jun 19, 2020 2:45 am
Profile

Joined: Sat May 15, 2010 11:23 am
Posts: 92
Location: The Netherlands
Post Re: Program detection of strong's numbers in user module
I am also interested in this feature


Fri Jun 19, 2020 7:35 pm
Profile WWW

Joined: Mon Jul 13, 2009 7:56 pm
Posts: 408
Location: Wind River Range, WY
Post Re: Program detection of strong's numbers in user module
I've used this in the past to enable Strong's numbers using "DB Browser for SQLite" (I'm on Linux, but I think it's cross platform): viewtopic.php?t=297
Code:
This info applies to version 3.
All non-Bible modules have an extension .twm (TheWordModule). These files are sqlite3 database files.
To read more about the sqlite database see here: http://www.sqlite.org

To edit these files you may use any of the free editors that can work with sqlite files. Please, see list here: http://www.sqlite.org/cvstrac/wiki?p=ManagementTools

I personally use the following 3 programs to edit the .twm files:
1. http://www.sqliteexpert.com/ (Personal edition which is free)
2. http://www.singular.gr/sqlite/
3. http://www.yunqa.de/delphi/doku.php/products/sqlitespy/

Although i prefer the first one, the second provides unicode support. It seems that may be better tools that these, it's just a personal opinion.

Since the word 'database' seems to intimidate some people, let me write shortly what it is:
A database file is just a structured file that contains data organized in tables (columns and rows). In order to change the content of a database file, instead of using an editor, you can use a language that is called SQL. The tools above make it easy to give such commands in order to read or alter these files. You don't need to worry how the data are organized in the file itself, the tools above can show you these data in tabular format (something like excel).

The twm files contain a number of tables each where the actual data are stored. The structures are quite simple to understand. As an example, i will tell how you can add to a dictionary the flag that it is a strong dictionary.

All twm file contain a table called 'config'. This table contains 2 columns, one called 'name', the other called 'value'. As you can see, this is used to store parameters (name=value).
In order for a dictionary to be flagged as containing strong definitions, one row should be added with name=strong and value=1. To do that, you open the file with one of the tools and you just execute the following SQL command:
Code:
insert into config(name,value) values('strong',1);


In order to check all the values of this table, just write
Code:
select * from config;


For sqlite explorer: in order to execute one of these statements, you just type it and press Execute (F9). The result are shown below.

I hope this is clear, if not i can add more details,
Costas

_________________
Jeff


Sun Jun 21, 2020 9:09 pm
Profile
User avatar

Joined: Wed Jun 04, 2008 7:34 pm
Posts: 4156
Post Re: Program detection of strong's numbers in user module
I think that the top post is referring to Strong's numbers in the topic text, and the facility to "automatically" make them Strong's Hyperlinks, rather than do it manually one-by-one.

_________________
Jon
the
Word 5 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet


Sun Jun 21, 2020 9:25 pm
Profile
User avatar

Joined: Wed Jun 04, 2008 7:34 pm
Posts: 4156
Post Re: Program detection of strong's numbers in user module
If they are in the topic tree(subject) then yes it just needs the property adding and setting to 1.

But I think that the request is for topic content G123 etc to make them Hyperlinks.

_________________
Jon
the
Word 5 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet


Sun Jun 21, 2020 10:00 pm
Profile

Joined: Mon Jul 13, 2009 7:56 pm
Posts: 408
Location: Wind River Range, WY
Post Re: Program detection of strong's numbers in user module
Sorry, I guess I had misremembered. Could have been something I had imported with strong's formatting already intact that I just had to enable or something.

_________________
Jeff


Sun Jun 21, 2020 10:59 pm
Profile

Joined: Sat May 15, 2010 11:23 am
Posts: 92
Location: The Netherlands
Post Re: Program detection of strong's numbers in user module
Is detecting strongnumbers in modules in the todo list.
I mean an option like detecting verse references.
This would be a great addition to theWord


Sat Jan 30, 2021 5:56 pm
Profile WWW
User avatar

Joined: Wed Jun 04, 2008 7:34 pm
Posts: 4156
Post Re: Program detection of strong's numbers in user module
I will find out for you.

_________________
Jon
the
Word 5 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet


Sat Jan 30, 2021 6:39 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 2.279s | 15 Queries | GZIP : Off ]