English 中文(简体)
什么是可能的,与否?
原标题:What is possible and not is with Prolog?

我对Prolog和逻辑范式发展说了新话,但我认为这可以帮助我提出申请。 我的第一个怀疑是我能用这些语言做些什么。

我会做一些文本处理/自然语言处理,我认为,我的法典将以比 Java(即我所使用和将与Prolog合在一起)的逻辑语言更加清楚和容易地这样做。

现在,我的第一个目标是发现一种强硬的果园类型(脑、数字、数字等)。 我有四点初步论点:独创论、异构论、原封不动、 has。

有了Prolog,我可以采用一种方法determineType(),使我回到这四种特性基础上的类型,或者只得到一次测试,如isDigit(,isAlphabetic()等?

问题回答

每一特性的类别或“类型”均与其类型有关。 你们可以在Prolog使用一个前线将其编码。 举例来说,这种前提的有意义的名称是:“类型(C、T)。 在SWI-Prolog,检查图书馆的上游点——类型/2和代码_类型/2,以获取这些信息。 你们可以用来获取特性类型(关于后轨,可能产生替代解决办法)以及测试特性是否属于供应类别。 在语言处理方面,你还可以发现限定语法。





相关问题
How do I convert a MySQL function result to tinyint(1)

Here s the problem. In MySQL s Connector/NET a TINYINT(1) field properly translates back and forth into a .NET bool value. If I select from a table with a TINYINT(1) column, everything is golden. ...

How do I use a Boolean in Python?

Does Python actually contain a Boolean value? I know that you can do: checker = 1 if checker: #dostuff But I m quite pedantic and enjoy seeing booleans in Java. For instance: Boolean checker; ...

Pass a Boolean Ada type in Interfaces.C

I would like to now how to pass a standard Boolean Type in Ada through the Interfaces.C package in order to call a DLL function. The Interfaces.C package does not contain the Ada Boolean type since ...

C# bool expression evaluation order [duplicate]

Possible Duplicate: == Operator and operands Possible Duplicates: Is there any difference between if(a==5) or if(5==a) in C#? == Operator and operands Ok, this may be stupid question, ...

Boolean Expression Evaluation in Java

I m looking for a relatively simpler (when compared with writing a parser) way to evaluate boolean expressions in Java, and I do not want to use the JEP library. I have a String expression like: (x &...

Should I use 0/1 or True/False boolean? [duplicate]

0/1 can be flexible and can add options such as "2, 3, 4" in the future. Does TINYINT in MySQL take up more space than boolean? Personally, I use 0 and 1 for everything. You can answer this ...

热门标签