I think that’d be difficult, unless you manage to find a source that’s already mined a lot of religious texts for ethical instruction and put them down in a common format; it’s not like there are any obvious textual markers of ethics that you could plug into, say, a Gutenberg search.
I suppose you could grep for stuff along the lines of “good” or “moral” or “the superior man”, but that’d miss a lot of stuff and include a lot of other stuff with obvious markers of religion in it.
I think that’d be difficult, unless you manage to find a source that’s already mined a lot of religious texts for ethical instruction and put them down in a common format; it’s not like there are any obvious textual markers of ethics that you could plug into, say, a Gutenberg search.
I suppose you could grep for stuff along the lines of “good” or “moral” or “the superior man”, but that’d miss a lot of stuff and include a lot of other stuff with obvious markers of religion in it.
I was just thinking you’d search random passages and remove ones with “god” or whatever in them.
I guess my conception of what goes on in holy texts is probably not quite on spot.