This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch scala-2.13
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/scala-2.13 by this push:
     new 35ef78c  Update NCTokenLogger.scala
35ef78c is described below

commit 35ef78c609dc8a6830469945412d0686d946bc7d
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Thu May 20 10:40:15 2021 -0700

    Update NCTokenLogger.scala
---
 .../apache/nlpcraft/model/impl/NCTokenLogger.scala | 25 +++++++++++-----------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/impl/NCTokenLogger.scala 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/impl/NCTokenLogger.scala
index 08d2274..72f8a35 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/impl/NCTokenLogger.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/impl/NCTokenLogger.scala
@@ -376,19 +376,18 @@ object NCTokenLogger extends LazyLogging {
     def prepareTable(toks: Seq[NCToken]): NCAsciiTable = {
         val allFree = toks.forall(_.isFreeWord)
 
-        val headers = ArrayBuffer.empty[String] ++
-            Seq(
-                "idx",
-                "origtext",
-                "lemma",
-                "pos",
-                "quoted",
-                "stopword",
-                "freeword",
-                "wordindexes",
-                "direct",
-                "sparsity"
-            )
+        var headers = Seq(
+            "idx",
+            "Longtext",
+            "lemma",
+            "pos",
+            "quoted",
+            "stopword",
+            "freeword",
+            "wordindexes",
+            "direct",
+            "sparsity"
+        )
 
         if (!allFree)
             headers += "token data"

Reply via email to