See the top rated post in this thread. Click here

Results 1 to 6 of 6

Thread: Natural Language

  1. #1
    I could stop if I wanted to
    Join Date
    2006-04
    Posts
    466
    Login to Give a bone
    0

    Default Natural Language

    Any ideas for Natural Language for autolisp?

  2. #2
    All AUGI, all the time
    Join Date
    2003-07
    Posts
    555
    Login to Give a bone
    1

    Default Re: Natural Language

    Had a Google. I think what your getting at is the way the code is layed out, I am guilty of line after line no indentation. But then there is the problem of coders using the tab for indentation and code just disappears off to the right making it almost unreadable. The other one I find annoying sometimes is often in VL code 1 line per property then your trying to workout where a vl sub command ends the last line being )))))))

    I like 2 spaces for indentation.

    If this is not what you meant just ignore

    PS in development since 1980.

  3. #3
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,106
    Login to Give a bone
    0

    Default Re: Natural Language

    I have written Visual LISP without the Russian. So
    (vlax-put objItem "color" 1)
    becomes
    (colorput objItem 1)

    But the objItem could be handle, objectid, entitylist, ename, entityselection, vla-object

    I have lisp rewrite itself.

    It also has built in error trapping so if an argument causes and error it just returns nil instead of crashing the program.

    It is like on error resume next or try catch in vb.net

    Peter
    AutomateCAD

  4. #4
    I could stop if I wanted to
    Join Date
    2006-04
    Posts
    466
    Login to Give a bone
    0

    Default Re: Natural Language

    how do i dissect a sentence into useable parts for a query?

  5. #5
    I could stop if I wanted to
    Join Date
    2006-04
    Posts
    466
    Login to Give a bone
    0

    Default Re: Natural Language

    i have some hacked thesural files(attached) i am using for queary expansion
    Attached Files Attached Files

  6. #6
    I could stop if I wanted to
    Join Date
    2006-04
    Posts
    466
    Login to Give a bone
    0

    Default Re: Natural Language

    i wish i knew more about grammer, all i can think to do is classify each word as a adj adv verb or noun. how do i declair things like direct object? how to use conjunctions etc

Similar Threads

  1. Reporte de perfil de terreno natural
    By rochdan in forum AutoCAD Civil 3D - General
    Replies: 6
    Last Post: 2010-07-30, 10:19 PM
  2. Groups & Schedules - Natural Enemies
    By mjward1 in forum Revit Architecture - General
    Replies: 2
    Last Post: 2009-01-16, 03:50 PM
  3. line of Natural Slope
    By chipie088 in forum Revit Architecture - General
    Replies: 0
    Last Post: 2008-03-19, 11:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •