Sign in to follow this  
HamiltonLagrange

Transcompilation of Law to Common

Recommended Posts

Hi! It's been awhile since I've been on this forum. I had an idea which I think would be a really useful tool for people to use. I don't know how many of you have tried to sit down and read real legislation, but, it's really dense, difficult to understand, and even if you know what the individual words mean, trying to interpret their real meaning, in full, understanding their loopholes, weaknesses and problems, is one heck of a feat!

Normally, before one can really understand the way that laws are written, you need to have had training as a Lawyer... but these days, that training requires you to fork out close to $100,000-$400,000 total before you can complete that training, once they make it out of that training, most people find that they have dismal job prospects.

We have this concept in computer science of a transcompiler. It's simple, you take something that is written in one language and you transcribe it into a brand new language. An example of this is "f2c", which translates fortran code to c. We have AI programs which attempt to understand human language in all of it's subtleties. There even exists e-discovery software, which can read and analyze legal documents, in a fraction of the amount of time that it would take for a human being to do it. It's used as a legal tool in court cases... I was thinking that one could actually write a transcompiler for the hybrid of English and Latin, which is our Legal-lexicon, and common English.

Knowing that laws come out every day written in this speech that most people can't really understand is a real problem. Software like this could fix that problem, particularly if it was paired with an analysis tool that can summarize points, gists, etc...

What do you folks think?

Share this post


Link to post
Share on other sites
alvaro    21266
[quote name='HamiltonLagrange' timestamp='1348256328' post='4982470']
We have this concept in computer science of a transcompiler. It's simple, you take something that is written in one language and you transcribe it into a brand new language.
[/quote]
"Transcompiler"? We have a word for that already: It's "[url="http://en.wikipedia.org/wiki/Compiler"]compiler[/url]".

EDIT: Hmmm... They seem to use "transcompiler" and other terms in [url="http://en.wikipedia.org/wiki/Source-to-source_compiler"]this other page[/url], but I still don't know what's wrong with using "compiler". Edited by alvaro

Share this post


Link to post
Share on other sites
Alvaro! Yes, you're right. Compilers translate your source code into a binary which is a set of instructions for a computer to follow. It takes a High level language (like c++) and converts it to a lower level language (like Assembly language). [url="http://en.wikipedia.org/wiki/Source-to-source_compiler"]Transcompiler[/url] refers to the fact that you are translating from a High level language to another High level language. Something that translates between human languages would do precisely this. Edited by HamiltonLagrange

Share this post


Link to post
Share on other sites
Bregma    9214
I think natural language parsing is hard. Very hard. Consider for example, the sentence "Mary can stick the stamp on herself." Good for Mary that she doesn;t need help, but will she not end up all sticky? Or, for another example, consider "Time flies like an arrow; fruit flies like a banana."

The natural language parsing alone is hard. Now throw in cultural context such as moral reasoning, ethics, and an [i]a priori[/i] knowledge of historic precents. After becoming fluent in natural languages your AI would need to gobble many volumes of history and philosophy and reconcile many conflicting bodies of work (who is right, Aquinas or Nietzsche? Plato or Locke?).

I'm not saying it can't be done, but I am saying it can't be done quite yet.

Share this post


Link to post
Share on other sites
Bregma    9214
Or, maybe we could just outsource the law to countries where lawyers are paid starvation wages in sweatshops. Our laws would be crap but we could get it cheap and we could wear our sweats to court.

Share this post


Link to post
Share on other sites
[quote]Yet another link to Wikipedia: The field is called [url="http://en.wikipedia.org/wiki/Machine_translation"]Machine Translation[/url]. [/quote]

Cool! Other people have been talking about this kind of thing! This makes me happier.

[quote]I think natural language parsing is hard. Very hard. Consider for example, the sentence "Mary can stick the stamp on herself." Good for Mary that she doesn;t need help, but will she not end up all sticky? Or, for another example, consider "Time flies like an arrow; fruit flies like a banana." [/quote]

Yep, it would be a very tough problem, but it would be a particularly useful one to solve. But that [url="http://en.wikipedia.org/wiki/Electronic_discovery"]e-discovery[/url] software seems to do something very similar... Even an approximate translation would be better than what we have.

[quote]Or, maybe we could just outsource the law to countries where lawyers are paid starvation wages in sweatshops. Our laws would be crap but we could get it cheap and we could wear our sweats to court. [/quote]

Another brilliant business plan... allowing foreign lawyers to create our laws for us, "Taiwan owns USA by definition, here see: Article 15 Sec 13.24.5553." I hope nobody EVER decides to actually DO that. I don't believe you're being serious with this suggestion, but the sad thing is that I could imagine some half-baked business plan that revolves around outsourcing your Country's laws to another country, not even thinking about the security problems it would introduce...

That could make a really interesting Douglas Adams - style plot. Edited by HamiltonLagrange

Share this post


Link to post
Share on other sites
Perhaps I came on a little too strong. Bregma and alvaro, I appreciate your input, I wasn't trying to belittle any of what you were saying. I hope it wasn't coming across that way. I realize that the two of you are brilliant programmers with probably significantly more experience than I have.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this