Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 304189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:15:27+00:00 2026-05-12T07:15:27+00:00

For a project I’m working on I’d like to use WordNet to do some

  • 0

For a project I’m working on I’d like to use WordNet to do some linguistic classification of user input, and I’d like to use the Prolog version of the database.

I’ve tried P#, which works reasonably well, but which appears to be unable to handle the sheer size of the WordNet databases. It can compile the smallest of the files I want to use (218 kB), but when I try to compile the two larger ones (2.3 and 7.3 MB, respectively) it fails after about half an hour of work and Windows pops up the “Something went wrong. Send report to Microsoft?” dialog.

I’ve also tried Prolog.Net, which just appears to not work very well.

Finally, I tried the C# bindings for SWI-Prolog, but can’t get them to work properly. When I try to run the example code, it fails at the PLEngine.Initialise() step, claiming that something it tries to load (a DLL I assume) is an invalid Win32 application (a BadImageFormatException).

Does anyone have either any suggestions for other ways to integrate C# and Prolog, or some suggestions to get the solutions I’ve already tried to work? OS is Windows server 2008 (64 bit), SWI Prolog is version 5.7.11.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:15:27+00:00Added an answer on May 12, 2026 at 7:15 am

    Perhaps you are having problems with 32 bit SWI-Prolog on 64 bit Windows. If your platform target is Any CPU it might be the cause of your problems. You can fix this by opening the properties pages for you C# project. Select the Build tab and change the Platform target to x86.

    If you currently are using Any CPU your application will run in 64 bit on 64 bit Windows. Trying to load an 32 bit DLL will fail miserably.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The project I'm working on allows an end-user to modify CSS code to integrate
I project I have been working on has now been split between me and
A project I have been working on for the past year writes out log
Project 1: Foo Project 2: Bar If Foo depends on Bar, and both are
Project structure is: /foo pom.xml /foo-war pom.xml /foo-ear pom.xml This is my parent pom.xml
Project A depends on project B. On compilation time , everything is OK. On
My project requires that I update the contents of a specific column in an
My project needs to have a number of administrators, out of which only one
My project is made out of lots of bits and pieces of older code.
My project has all the visual studio solutions and projects stored in ./win/vc100, sources

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.