[TR-131] Parsing of WeightingModel class names could be better Created: 23/Oct/09  Updated: 05/Apr/11  Resolved: 30/Mar/11

Status: Resolved
Project: Terrier Core
Component/s: .matching
Affects Version/s: None
Fix Version/s: 3.5

Type: Bug Priority: Minor
Reporter: Craig Macdonald Assignee: Rodrygo L. T. Santos
Resolution: Fixed  
Labels: None

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.

Generated at Sat Mar 23 22:59:11 GMT 2019 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.