Skip to content

Commit

Permalink
Merge pull request #622 from SirYwell/feature/corenlp
Browse files Browse the repository at this point in the history
Replace ANTLR with CoreNLP in text frontend
  • Loading branch information
tsaglam authored Sep 6, 2022
2 parents 1d342cd + a0fbfc8 commit adca59d
Show file tree
Hide file tree
Showing 9 changed files with 119 additions and 293 deletions.
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

0 comments on commit adca59d

Please sign in to comment.