@Test public void testLookupMultiplicity() throws Exception { assertEquals(Multiplicity.SINGULAR, sgmr.lookupMultiplicity("chair")); assertEquals(Multiplicity.PLURAL, sgmr.lookupMultiplicity("trucks")); assertEquals(Multiplicity.UNKNOWN, sgmr.lookupMultiplicity("abc123")); }
public Multiplicity lookupMultiplicity(String text) { return lookup( exactMultiplicity, startsWithMultiplicity, endsWithMultiplicity, text, Multiplicity.UNKNOWN); }
SharedGenderMultiplicityResource extends BaleenResource { public Multiplicity lookupMultiplicity(String text) { return lookup( exactMultiplicity, startsWithMultiplicity, endsWithMultiplicity, text, Multiplicity.UNKNOWN); } }
SharedGenderMultiplicityResource extends BaleenResource { public Multiplicity lookupMultiplicity(String text) { return lookup( exactMultiplicity, startsWithMultiplicity, endsWithMultiplicity, text, Multiplicity.UNKNOWN); }  }
SharedGenderMultiplicityResource extends BaleenResource { public Multiplicity lookupMultiplicity(String text) { return lookup( exactMultiplicity, startsWithMultiplicity, endsWithMultiplicity, text, Multiplicity.UNKNOWN); }  Gender lookupGender(String text); Multiplicity lookupMultiplicity(String text); }
SharedGenderMultiplicityResource extends BaleenResource { public Multiplicity lookupMultiplicity(String text) { return lookup( exactMultiplicity, startsWithMultiplicity, endsWithMultiplicity, text, Multiplicity.UNKNOWN); }  Gender lookupGender(String text); Multiplicity lookupMultiplicity(String text);  }