HYPERION ECONOMIC JOURNAL

Hyperion University of Bucharest
Blue Colour Green Colour Orange Colour Red Colour

HYPERION ECONOMIC JOURNAL

December 2024
Mo Tu We Th Fr Sa Su
25 26 27 28 29 30 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

Making a Grammar Checker with Autocorrect Options Using NLP Tools

 FULL TEXT

Authors:
  • Radu Bucea Manea TONIS, PhD, Associate Professor, Affiliation: “Hyperion” University of Bucharest, Faculty of Economic Studies, Romania;
  • Adrian BETERINGHE, PhD, Associate Professor, Affiliation: Danubius University- Galati, School of Behavioral and Applied Sciences, Romania;
Pages:  45 : 53
Abstract:

Our natural language approach concerns syntactic analysis using a dedicated Javascript library - wink-nlp - and semantic analysis based on Prolog programming language, facilitated by another Javascript library - tau-prolog - that allows defining logical programs, declaring rules and checking for goals inside Javascript language. Firstly, our program splits the original text into sentences, than into tokens and identifies each part of the sentence, dynamically maps entities into Prolog rules, then check the spelling accordingly to the Definite Clause Grammar (DCG) by querying the pre-defined program for initial goals (the sentence itself). Basically, we let the parser infer its own rules from the syntactic point of view, then check the grammar from a semantic perspective against the DCG inside the same work flow or pipeline of steps. The provided article combines the usage of wink-nlp and tau-prolog packages for natural language processing (NLP) and understanding (NLU).

JEL classification: C88, L86

 FULL TEXT

 

C88, L86