Scalafix organize-imports

This commit is contained in:
Eike Kettner
2020-06-28 21:10:38 +02:00
parent 672ed445b1
commit 347a029af8
210 changed files with 886 additions and 605 deletions

View File

@ -2,6 +2,7 @@ package docspell.analysis
import cats.effect._
import cats.implicits._
import docspell.analysis.contact.Contact
import docspell.analysis.date.DateFind
import docspell.analysis.nlp.StanfordNerClassifier

View File

@ -1,10 +1,10 @@
package docspell.analysis.contact
import fs2.Stream
import cats.implicits._
import fs2.Stream
import docspell.common._
import docspell.analysis.split._
import docspell.common._
object Contact {
private[this] val protocols = Set("ftp", "http", "https")

View File

@ -1,6 +1,7 @@
package docspell.analysis.contact
import cats.data.NonEmptyList
import docspell.common.LenientUri
case class Domain(labels: NonEmptyList[String], tld: String) {

View File

@ -2,12 +2,13 @@ package docspell.analysis.date
import java.time.LocalDate
import fs2.{Pure, Stream}
import docspell.common._
import docspell.analysis.split._
import scala.util.Try
import fs2.{Pure, Stream}
import docspell.analysis.split._
import docspell.common._
object DateFind {
def findDates(text: String, lang: Language): Stream[Pure, NerDateLabel] =

View File

@ -3,16 +3,16 @@ package docspell.analysis.nlp
import java.net.URL
import java.util.zip.GZIPInputStream
import scala.jdk.CollectionConverters._
import scala.util.Using
import docspell.common._
import edu.stanford.nlp.ie.AbstractSequenceClassifier
import edu.stanford.nlp.ie.crf.CRFClassifier
import edu.stanford.nlp.ling.{CoreAnnotations, CoreLabel}
import org.log4s.getLogger
import docspell.common._
import scala.util.Using
import scala.jdk.CollectionConverters._
object StanfordNerClassifier {
private[this] val logger = getLogger