Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LORM.xsl:74-95: Implement natural language processing... #503

Open
0pdd opened this issue Feb 5, 2021 · 0 comments
Open

LORM.xsl:74-95: Implement natural language processing... #503

0pdd opened this issue Feb 5, 2021 · 0 comments

Comments

@0pdd
Copy link
Collaborator

0pdd commented Feb 5, 2021

The puzzle 112-f7b740c5 from #112 has to be resolved:

@todo #112:30min Implement natural language processing techniques to analyze
conceptual similarity of methods. Two methods have a `conceptual-relation`
if they contain at least one same `concept`. `concepts` are identified by
semantic processing of the class/method, as being associated in the
knowledge-base with that class/method (original paper in
/papers/etzkorn00.pdf). The original paper does not explicitly define the
implementation of semantic processing, or which NLP methods are being used,
but it is a knowledge-based system, which means that additional input must
inserted into the LORM method - that is, a set of possible concepts -
which are then recognized in a particular method/piece of code. This set of
possible concepts depends on the `domain` that the class is in.
One way of interpreting what the `domain` is (this is not defined in the
original paper), is the business domain the class is used for. Another
definition of `domain` also comes to mind - the programming language being
used. Concepts could be defined as all reserved Java keywords and "semantic
processing" recognizes which reserved keywords are used in a particular
method. Hence, if two methods use same reserved keywords, they have a
`conceptual-relation`. Using this definition would require no additional
input by the user of the LORM method. Right now it is stubbed because
NLP/semantic processing is not implemented yet.k
Ensure that JPeek core implements these techniques, collects information on
such relations and unstub the lines commented below.

The puzzle was created by @yegor256 on 05-Feb-21.

Estimate: 30 minutes, role: DEV.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants