https://github.com/clulab/processors
Natural Language Processors
https://github.com/clulab/processors
Last synced: about 1 month ago
JSON representation
Natural Language Processors
- Host: GitHub
- URL: https://github.com/clulab/processors
- Owner: clulab
- Created: 2013-03-28T23:48:12.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T09:32:08.000Z (almost 2 years ago)
- Last Synced: 2024-05-22T10:46:11.214Z (almost 2 years ago)
- Language: Java
- Homepage: https://clulab.github.io/processors/
- Size: 1.7 GB
- Stars: 417
- Watchers: 55
- Forks: 101
- Open Issues: 55
-
Metadata Files:
- Readme: README-M1.md
- Changelog: CHANGES.md
- Citation: CITATION.cff
Awesome Lists containing this project
- awesome-java - Processors
README
# Processors on M1 Macs
This library works natively on M1 Macs.
To install one (or more!) Java Virtual Machines (JVM) on Macs we recommend [sdkman](https://sdkman.io). The steps to follow (instructions by [Gus Hahn-Powell](https://linguistics.arizona.edu/user/gus-hahn-powell)) are the following:
```
# install sdkman from source:
curl -s "https://get.sdkman.io" | bash
# open a new terminal window and run the following:
source "$HOME/.sdkman/bin/sdkman-init.sh"
# test your installation:
sdk version
```
You can configure sdkman using the following command:
```
sdk config
```
which should open `~/.sdkman/etc/config` in your default editor.
For M1 processors, you want to only list ARM64-compatible versions. To this end, alter the following config entry in the config file:
```
sdkman_rosetta2_compatible=false
```
Open a new terminal and try listing ARM64-compatible versions of java:
```
sdk list java
```
To install an ARM64-compatible distribution of Java 11 via `sdkman`, run the following:
```
sdk install java 11.0.14-zulu
```
This version should also work with Intel machines.
To install `sbt` and `scala`, run the following commands:
```
# sbt 1.6
sdk install sbt 1.6.1
# scala 2.12
sdk install scala 2.12.15
```