Search

TOPIC: How the measurement units are detected by KM?

How the measurement units are detected by KM? 4 months 10 hours ago #66

  • javier-fernandez
  • javier-fernandez's Avatar
  • Offline
  • Administrador
  • Posts: 52
  • Thank you received: 1
  • Karma: 0
Hello

Actually, I want to create a pattern to detect the a number and its measurement unit from the requirement. For that, I have define all the measurement unit with term tag “UNIT OF”.

In this term tag I have A = Ampere and Go = GigaOctet and also meter

When I use a very simple pattern “value” “UNIT OF” and after testing it I have the following result
  • 100 A = A is detected as Article and not as UNIT OF
  • 100 Go = Go is detected as VERB and not UNIT OF
  • 100 meters = Meter is detected as NOUN and not UNIT OF

Is it possible to tackle this problem or not?
The administrator has disabled public write access.

How the measurement units are detected by KM? 4 months 10 hours ago #67

  • javier-fernandez
  • javier-fernandez's Avatar
  • Offline
  • Administrador
  • Posts: 52
  • Thank you received: 1
  • Karma: 0
Hi!

There is already a term tag called “Measurement Unit” inside “Noun”. Any term added here will be recognized as Measurement unit. So this is the term tag you should use in your pattern.

I have attached an screenshot of an example of pattern that maybe you find interesting. Notice that it uses a subpattern in the first slot only for numbers without units and a slot at the end with any measurement unit. It also contemplates adjectives or some other terms as optional.
Attachments:
The administrator has disabled public write access.