• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wikimedia / parsoid / 2014 / 2
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 31 Jul 2018 09:45AM UTC
Files 95
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Jul 2018 09:38AM UTC coverage: 84.638% (+0.08%) from 84.561%
2014.2

push

travis-ci

jenkins-bot
<a href="https://github.com/wikimedia/parsoid/commit/461ed0ab1">LanguageConverter: switch to byte-oriented state machines

For Latin script languages, the maximum degree of a state machine
node is on the order of ~50, since the alphabet (plus digits,
punctuation, and spaces) is not very large.

However for CJK languages like Mandarin, the maximum degree of a
state machine node can be much higher, since there are thousands of
possible characters.  The foma tools seem to contain algorithms
which are ~quadratic (in space and time) in the degree of a node,
and they exhaust space and time bounds and fail for Mandarin
when the FST is expressed in terms of Unicode code points.

Building the machine to operate on UTF-8 octets (&quot;bytes&quot;) instead
of Unicode code points ensures that the maximum degree of an FST
node is 184 (for the first octet) but more commonly 64 (for
continuation bytes, which are 10xxxxxx in binary).  This
refactoring of the state machine allows us to operate directly
on strings in their native UTF-8 encoding, but more importantly
it distributes the out degree among nodes so that the foma
algorithms execute in reasonable amounts of space and time.

Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/93c872a93">93c872a93</a>

9276 of 11686 branches covered (79.38%)

15135 of 17882 relevant lines covered (84.64%)

24422.23 hits per line

Source Files on job 2014.2
  • Tree
  • List 0
  • Changed 41
  • Source Changed 18
  • Coverage Changed 41
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1906
  • Travis Job 2014.2
  • 461ed0ab on github
  • Prev Job for on master (#2013.3)
  • Next Job for on master (#2015.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc