Skip to content

Replace ANTLR with CoreNLP in text frontend #622

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

Merged
merged 9 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In the following, a list of all supported languages with their supported languag
| [Scheme](http://www.scheme-reports.org) | ? | scheme | unknown | JavaCC |
| [EMF Metamodel](https://www.eclipse.org/modeling/emf/) | 2.25.0 | emf-metamodel | alpha | EMF |
| [EMF Metamodel](https://www.eclipse.org/modeling/emf/) (dynamic) | 2.25.0 | emf-metamodel-dynamic | alpha | EMF |
| Text (naive) | - | text | legacy | ANTLR |
| Text (naive) | - | text | legacy | CoreNLP |

## Download and Installation

Expand Down
29 changes: 4 additions & 25 deletions jplag.frontend.text/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,13 @@
<artifactId>text</artifactId>

<dependencies>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
</dependency>
<dependency>
<groupId>de.jplag</groupId>
<artifactId>frontend-utils</artifactId>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>antlr-maven-plugin</artifactId>
<configuration>
<!-- Comma separated list of grammar files or pattern grammar files
By default, grammar file(s) is in ${basedir}/src/main/antlr -->
<!-- <grammars>*.g</grammars> -->
<grammars>text.g</grammars>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
102 changes: 0 additions & 102 deletions jplag.frontend.text/src/main/antlr/text.g

This file was deleted.

This file was deleted.

49 changes: 0 additions & 49 deletions jplag.frontend.text/src/main/java/de/jplag/text/InputState.java

This file was deleted.

Loading