Powered by Zoomin Software. For more details please contactZoomin

The Semaphore Fact Extraction Framework (FACTS)

Repeating elements

  • Last Updated: May 13, 2026
  • 1 minute read
    • Semaphore
    • Documentation

We can repeat any element in the context (if in an extractor that has a sequence). These repeats are either greedy or non-greedy.

Use a “greedy repeat” metadata to model how many times the element that shares the ordering prefix should repeat by. A greedy repeat will look for the longest match it can find, repeatedly extracting the repeated element up to the number of repeats given, and extract those. This is the one we usually want as it intuitively gets what we typically mean by “repeating”. Use a “non-greedy repeat” metadata to model how many times the element that shares the ordering prefix should repeat by. The non-greedy repeat will look for the shortest match it can find, repeatedly extracting the repeated element up to the number of repeats specified.

TitleResults for “How to create a CRG?”Also Available inAlert