[TR-131] Parsing of WeightingModel class names could be better Created: 23/Oct/09 Updated: 05/Apr/11 Resolved: 30/Mar/11
|Reporter:||Craig Macdonald||Assignee:||Rodrygo L. T. Santos|
Currently, we parse WeightingModel class names in the following manner:
DPH => uk.ac.gla.terrier.matching.models.DPH ("DPH" doesnt contain a ., so add package).
However, this breaks if the weighting model has parameters, e.g.:
DFRWeightingModel(uk.ac.gla.terrier.matching.models.basicmodel.P, L, 2)
We need a bit more intelligence in how the brackets are parsed.
|Comment by Craig Macdonald [ 28/Jan/10 ]|
Tagged for 3.1
|Comment by Rodrygo L. T. Santos [ 30/Mar/11 ]|
Fixed WeightingModelFactory accordingly.