stbusch

Results 24 comments of stbusch

Is it save to say, that for parsing relatively simple utterances into logical forms that are meant to be executed by `JavaExecutor` mostly the `BeamParser` Class and the `Rule` Feature...

Thanks for the hint. I was asking because I'd like to offer the user a reasonable selection of Features to choose from via checkboxes in my GUI. I'd also like...

I'm back at investigating the features. `whType` is using Part-of-Speech tagging. As far as I managed to trace it, the method `preprocess` in the `Example` class populates the field `posTags`...

Thanks. I will think over if I need this feature. It's probably more relevant for database queries than for the cases the `JavaExecutor` handles.

Shouldn't it be possible to map Strings to categories, e.g. ``` (rule $City (string "hamburg") (IdentityFn)) (rule $City (string "stuttgart") (IdentityFn)) (rule $City (string "munic") (IdentityFn)) (rule $ROOT ($City) (IdentityFn))...

I had tried this; I then get: ``` ERROR: Composition failed: rule = $City -> hamburg (IdentityFn), children = [] java.lang.ArrayIndexOutOfBoundsException Exception in thread "Thread-374" java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException at edu.stanford.nlp.sempre.BeamParserState.applyRule(BeamParser.java:165) at...

The current grammar looks like this: ``` (rule $Dir (from) (ConstantFn (lambda x (call + (string "place of departure") (string :)(var x))))) (rule $From ($Dir $City) (JoinFn forward)) (rule $Dir...

Thanks, but where does this constructor come from? > Response response = new Response(builder); Sorry if I'm missing something.

What is this referring to: > this.repository = repository; ? thanks