mirror of
https://github.com/nhammer514/textfiles-politics.git
synced 2025-07-24 14:55:18 -04:00
cleaning files
This commit is contained in:
parent
50314b5f26
commit
9acc589f06
679 changed files with 7970 additions and 7452 deletions
|
@ -1,25 +0,0 @@
|
|||
<html>
|
||||
{
|
||||
let $conspFiles := collection('personTestingOutput')
|
||||
let $ents := $conspFiles//ent
|
||||
let $entTypes := $ents/@type[. = 'PERSON'] ! string() => distinct-values()
|
||||
for $e in $entTypes
|
||||
return
|
||||
<table id="{$e}">
|
||||
{
|
||||
let $namesE := $conspFiles//ent[@type=$e]
|
||||
let $distNamesE := $namesE ! normalize-space() => distinct-values() => sort()
|
||||
for $t in $distNamesE
|
||||
(: let $countT := $conspFiles//ent[. ! normalize-space() = $t] => count() :)
|
||||
(: where $countT > 10 :)
|
||||
(: order by $countT descending:)
|
||||
return
|
||||
<tr>
|
||||
<td>{$t}</td>
|
||||
<!-- <td>{$countT}</td> -->
|
||||
</tr>
|
||||
}
|
||||
|
||||
</table>
|
||||
}
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue