Compiling Error for tmt-0.4.0 "Stanford topic modeling toolbox"

233 views
Skip to first unread message

Mohammad Akbari

unread,
Nov 12, 2013, 2:01:41 AM11/12/13
to scal...@googlegroups.com

Hi All

I am new in Scala and topic modeling. I have tried to use the Stanford Topic Modeling Toolbox called TMT. 

However, No chance for me to have a competed compile.  I have used different method as follow:

1- Use maven to compile it, as the programmer suggested, but the file pom.xml did not exist in the project. :(

2- I have found some .sbt files and tried www.scala-sbt.org/ . However I have got the following error 

  [info] Resolving org.scala-sbt#test-interface;1.0 ...
  [info] Resolving org.scala-sbt#main-settings;0.13.0 ...
  [info] Resolving org.scala-sbt#apply-macro;0.13.0 ...
  [info] Resolving org.scala-sbt#command;0.13.0 ...
  [info] Resolving org.scala-sbt#compiler-interface;0.13.0 ...
  [info] Resolving org.scala-sbt#precompiled-2_8_2;0.13.0 ...
  [info] Resolving org.scala-sbt#precompiled-2_9_2;0.13.0 ...
  [info] Resolving org.scala-sbt#precompiled-2_9_3;0.13.0 ...
  [info] Resolving org.scala-lang#jline;2.10.2 ...
  [info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
D:\work\TOOLS\Stanford Topic Modeling\sourcecode\build.sbt:49: error: not found:
 value ProguardPlugin
seq(ProguardPlugin.proguardSettings :_*)
    ^
[error] Type error in expression
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q

3- finally I used eclipse and It needs following packages

import scalanlp.collection.LazyIterable;
import scalanlp.text.tokenize.Tokenizer;
import scalanlp.util.Index;

and some others


Could you give me some hint about this issue? How can I compile it? Where can I find the packages ?


Thanks in advance.
Mohammad

David Hall

unread,
Nov 12, 2013, 2:09:11 AM11/12/13
to scal...@googlegroups.com
So, first, Stanford TMT is abandonware. I recommend finding a
different solution, like Factorie or Mallet.

But...

1) just delete that line from the sbt build file
2) SBT should automatically download the relevant (old) versions of
ScalaNLP-core. You might need to look into the sbt eclipse plugin
(again, an older version) if you want to do development that way.

-- David
> --
> You received this message because you are subscribed to the Google Groups
> "ScalaNLP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scalanlp+u...@googlegroups.com.
> To post to this group, send email to scal...@googlegroups.com.
> Visit this group at http://groups.google.com/group/scalanlp.
> For more options, visit https://groups.google.com/groups/opt_out.

Jason Baldridge

unread,
Nov 12, 2013, 10:24:39 AM11/12/13
to scal...@googlegroups.com
A while back, I created a little repo for comparing Factorie and Mallet topic modeling that might be useful:

https://github.com/jasonbaldridge/maul
--
Jason Baldridge
Associate Professor, Dept. of Linguistics, UT Austin
Co-founder & Chief Scientist, People Pattern
http://www.jasonbaldridge.com
http://twitter.com/jasonbaldridge

Reply all
Reply to author
Forward
0 new messages