TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is LP/NLP Related to AI and ML?

2 pointsby bhnmmhmdalmost 8 years ago
I was wondering, are these fields related to each other?<p>Also, how much programming is needed for LP&#x2F;NLP? From what I hear, it&#x27;s mostly math, but I think I also heard Python is used in this field.

1 comment

PaulHoulealmost 8 years ago
LP = logic programming NLP = natural language processing<p>Strictly speaking, the term &quot;logic programming&quot; is used to describe backwards-chaining reasoning systems such as prolog, although logic inspires other kinds of systems such as production rules (expert systems) and SAT&#x2F;SMT solvers, theorem provers and related tools.<p>Natural Language Processing is a term for systems that process natural language, no matter what techniques are used. These could be systems that use formal grammars (like used for programming languages) or they could be based on machine learning or a hybrid.<p>There is also some overlap between logic-based systems and machine learning. For instance, C4.5 learns a tree of rules that can decide something, Random Forests learns a large number of rule sets that can be combined to make high-accuracy decisions, also there is something called &quot;Inductive Logic Programming&quot; that can combine human-specified rules with learned rules.<p>LP is, by definition, a form of programming.<p>In the case of NLP somebody is doing programming somewhere, but you might have a linguist or other subject matter expert involved. Python has a rich collection of libraries of NLP.
评论 #15047788 未加载