Re: Access .NET classes from VB 5/6?



Ken,

Like Bob mentioned... something like that would be so easy to write, it wouldn't be worth the hassle of connecting to .Net and it's 20mb framework that would need to go along with your app everywhere you installed it.

My challenge of the moment is to ID the incoming language to an AI application. I have the "guts" working great, but in some obscure languages it is difficult to recognize what a word is, as is needed to determine the language. Most languages have some small core of words that appear in most sentences, e.g. the 24 auxiliary verbs in English, without which you cannot communicate temporal or negation information. Once the input words are separated, the common words for each language can be used to ID the language. However, to get there, you must be able to recognize punctuation in ANY language supported by Unicode. Hence, writing IsPunctuation would require at least a couple of days of hard work to ID the punctuation in EVERY language, which I was hoping to avoid.


OTOH, I wonder about VB 2005 Express, which might give me everything - for free! My one big question/reservation about this is: Does this compile to native code (e.g. via JIT compilation), or am I stuck with IL? In this AI application, I need all of the speed that I can get. Unfortunately, Microsoft is pretty vague about what you get for free.

These days, you can find just about anything the framework has (for desktop use) in the form of a VB code snip/sample, somewhere on the web. PlanetSourceCode.com alone has over 4 million lines of VB5/6 code available...

I've looked pretty hard and not found anything, apparently because the world hasn't yet quite caught up with automatic language identification.


While there's some really good stuff there, you still have to watch out for the whacko's <g>

Like me?! B-)

VB5/6 "Code: 4,296,584. lines"
http://www.planetsourcecode.com/vb/default.asp?lngWId=1

.Net "Code: 338,242. lines"
http://www.planetsourcecode.com/vb/default.asp?lngWId=10

Thanks for your interest and help.

Steve Richfie1d

.


Loading