Second, maximal phrases and their occurrence counts can be enumerated efficiently by using enhanced suffix arrays (Kasai et al., 2001) in linear time with respect to document length, removing the need to set arbitrary limits on the length of strings such as n = 4 used in previous work.
it can be easily noticed that while in the previous example p 2 is included in p 3 , their occurrence counts are close but not equivalent, and thus both are maximal phrases.