This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.basex.util.ft; | |
import static org.basex.util.Token.*; | |
import static org.basex.util.ft.FTFlag.*; | |
import java.io.*; | |
import java.lang.reflect.*; | |
import java.util.*; | |
import org.basex.util.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var resetForm = function() { | |
$('input, textarea, select').not('input[type="radio"], input[type="checkbox"], :hidden, :button, :submit, :reset').val(''); | |
$('input[type="checkbox"]').removeAttr('checked'); | |
var r = []; | |
var v = []; | |
$('input[type=\"radio\"]').each(function(){ | |
var name = $(this).attr("name"); | |
if ($.inArray(name, r) < 0) { | |
r.push(name); | |
v.push($(this).val()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare function local:appendId($node as node()) { | |
typeswitch($node) | |
case $doc as document-node() | |
return document | |
{for $d in $doc/node() return local:appendId($d)} | |
default | |
return element | |
{node-name($node)} | |
{attribute node-id {db:node-id($node)}, $node/@*, | |
for $child in $node/node() return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* English stemming algorithm, based on the publication from | |
* Porter (1980), "An algorithm for suffix stripping". | |
* | |
* This PHP code is based on the product of BaseX Team. | |
* https://github.com/BaseXdb/basex/blob/master/src/main/java/org/basex/util/ft/EnglishStemmer.java | |
* | |
* @package Sugina | |
* @author BaseX Team 2005-12, BSD License |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Token Utilities class | |
* | |
* The part of this PHP code is based on the product of BaseX Team. | |
* https://github.com/BaseXdb/basex/blob/master/src/main/java/org/basex/util/Token.java | |
* | |
* @package Sugina | |
* @author BaseX Team 2005-12, BSD License | |
* @author Christian Gruen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WN4P: To access the Japanese WordNet thesaurus dictionary. | |
* | |
* @package Sugina | |
* @copyright Copyright 2012, Toshio HIRAI <[email protected]> | |
* @license http://opensource.org/licenses/BSD-3-Clause The BSD License | |
* | |
*/ | |
/* |