Structuring natural language

  • 17 Replies
  • 8109 Views
*

ivan.moony

  • Trusty Member
  • ************
  • Bishop
  • *
  • 1723
    • mind-child
Re: Structuring natural language
« Reply #15 on: January 12, 2016, 03:01:03 pm »
Quote
The reason is that I wanted to free { } for another use: embedding other languages, like js scripts for instance.

Yeah, I have a similar idea to embed js inside metafigure. I'm thinking of extending it with native assembler in the future. The idea is to have fragments of code held inside metafigure compiled to js or asm and executed on demand. Metafigure would provide a mechanism for converting any AST (abstract syntax tree) into another AST, so you can convert, say python or java to, say javascript or asm on demand.

*

Zero

  • Eve
  • ***********
  • 1287
Re: Structuring natural language
« Reply #16 on: January 13, 2016, 04:39:10 pm »
I understand, so you can have the raw power of ASM and the flexibility of metafigures...


Here are the updated examples:
Code
    computers < are < 
    (
        (
            (very > good) < at <
            (
                ( following < (exact > orders) )
                =and=
                ( handling < ((very > specific) > things) )
            )
        )
        =but=
        (
            (not > good) < at <
            (
                dealing < with <
                (               
                    (new > things) < they < haven't seen < before
                )
            )
        )
    )
Code
    ( for example ) <
    (
        (
            ( [ a | common | computer ] > program ) < can <
            (
                turn <
                [
                    a > report < of < ( names =and= (hours < worked) )
                |
                    into < paychecks < for <
                    (
                        the > workers < at < (a > company)
                    )
                ]
            )
        )
        =but=
        (
            ( [ the | same ] > program ) < could not <
            (
                answer < questions <
                [
                    from < (an > employee)
                |
                    about < why <
                    (
                        (the > company) < will not < pay < for < (nap time)
                    )
                ]
            )
        )
    )

EDIT: typos
« Last Edit: January 14, 2016, 07:17:50 pm by Zero »

*

spydaz

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 322
  • Developing Conversational AI (Natural Language/ML)
    • Spydaz_Web
Re: Structuring natural language
« Reply #17 on: February 05, 2016, 12:55:21 am »
You have made me go back to "fluent editors" description logic ... Which can be used to describe these "OWL" like structures ..   

For me too many brackets .... Woah .....

 


OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am
Nvidia Hype
by 8pla.net (AI News )
December 06, 2023, 10:04:52 pm
How will the OpenAI CEO being Fired affect ChatGPT?
by 8pla.net (AI News )
December 06, 2023, 09:54:25 pm
Independent AI sovereignties
by WriterOfMinds (AI News )
November 08, 2023, 04:51:21 am
LLaMA2 Meta's chatbot released
by 8pla.net (AI News )
October 18, 2023, 11:41:21 pm

Users Online

258 Guests, 0 Users

Most Online Today: 343. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles