-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question type classification #451
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I'll merge tomorrow.
FYI @kordjamshidi
It seems I do not have write access and permission to merge? @bhargav |
@kordjamshidi Strange. You had |
I see that I have the permissions now, thanks. This was not the case the other day. |
@@ -245,7 +245,7 @@ trait DataModel extends Logging { | |||
def apply(f: T => List[String])(implicit tag: ClassTag[T], d1: DummyImplicit, d2: DummyImplicit, d3: DummyImplicit, | |||
d4: DummyImplicit, d5: DummyImplicit, d6: DummyImplicit): DiscreteCollectionProperty[T] = { | |||
def cachedF = if (cache) { x: T => getOrUpdate(x, f).asInstanceOf[List[String]] } else f | |||
val a = new DiscreteCollectionProperty[T](name, cachedF, ordered) with NodeProperty[T] { | |||
val a = new DiscreteCollectionProperty[T](name, cachedF, !ordered) with NodeProperty[T] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danyaljj why the order negated here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bug that existed in the system from a long time ago and I noticed it when I was making these changes (also mention in #454).
But fixing it required retraining systems, which at the time I didn't have time to do it. So I left it as an issue.
Adding application: Question Type Classification. Details in the readme.