Changeset 31377 for other-projects/hathitrust/wcsa
- Timestamp:
- 2017-01-31T22:55:17+13:00 (7 years ago)
- Location:
- other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/pom.xml
r31310 r31377 18 18 <version>2.0.1</version> 19 19 <scope>provided</scope> 20 </dependency> 21 22 <dependency> 23 <groupId>org.scala-lang</groupId> 24 <artifactId>scala-library</artifactId> 25 <version>2.12.1</version> 20 26 </dependency> 21 27 -
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/src/main/java/org/hathitrust/extractedfeatures/UniversalPOSLangMap.java
r31375 r31377 3 3 import java.io.File; 4 4 import java.io.IOException; 5 import java.net.URI; 5 6 import java.nio.file.Files; 6 7 import java.nio.file.Path; … … 23 24 List<Path> langmap_paths = null; 24 25 25 try (Stream<Path> stream_paths = Files.walk(Paths.get(langmap_directory))) { 26 URI langmap_directory_uri = null; 27 28 try { 29 langmap_directory_uri = new URI(langmap_directory); 30 } 31 catch (Exception e) { 32 e.printStackTrace(); 33 } 34 try (Stream<Path> stream_paths = Files.walk(Paths.get(langmap_directory_uri))) { 26 35 langmap_paths = stream_paths 27 36 .filter(Files::isRegularFile)
Note:
See TracChangeset
for help on using the changeset viewer.