This file contains 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
cwu.edu 2494709 | |
wikifoundry.com 2145313 | |
iit.edu 1930197 | |
highlands.edu 1868155 | |
uwaterloo.ca 1814597 | |
georgetown.edu 1686941 | |
wichita.edu 1548553 | |
uoguelph.ca 1389396 | |
carleton.edu 1261968 | |
baylor.edu 1210951 |
This file contains 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
// Switch from geometric --> semantic zoom at this size. | |
const MAX_DISPLAY_SIZE = 50; | |
// Min picking point size, to produce "envelope" around small points. | |
const MIN_PICKING_SIZE = 10; | |
// Above this size, add a border to the point. | |
const BORDER_THRESHOLD_SIZE = 30; | |
This file contains 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
class Field(PointIndex): | |
fields = { | |
'title': { | |
'type': 'text', | |
'term_vector': 'with_positions_offsets', | |
}, | |
'description': { | |
'type': 'text', | |
'term_vector': 'with_positions_offsets', |
This file contains 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
root | |
|-- article_id: long (nullable = true) | |
|-- text: string (nullable = true) | |
|-- tokens: array (nullable = true) | |
| |-- element: string (containsNull = true) | |
|-- clf_tokens: array (nullable = true) | |
| |-- element: string (containsNull = true) | |
|-- first_ts: integer (nullable = true) | |
|-- url: string (nullable = true) | |
|-- domain: string (nullable = true) |
This file contains 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
[Row(pair=Row(t_tokens=['hamlet', 'on', 'friendship'], a_tokens=['shakespeare']), logp=-39.098968505859375, work_id=223338697031), | |
Row(pair=Row(t_tokens=['hamlet', 'grosse', 'oper', 'in', '5', 'akten', 'und', '7', 'tableaux'], a_tokens=['shakespeare']), logp=-116.32585144042969, work_id=42949996797), | |
Row(pair=Row(t_tokens=['hamlet', 'first', 'quarto', '1603'], a_tokens=['shakespeare']), logp=-50.56448745727539, work_id=42949996797), | |
Row(pair=Row(t_tokens=['hamlet', 'tragedy', 'in', 'five', 'acts'], a_tokens=['shakespeare']), logp=-56.80743408203125, work_id=42949996797), | |
Row(pair=Row(t_tokens=['hamlet', 'first', 'quarto', '1603'], a_tokens=['shakespeare']), logp=-50.56448745727539, work_id=42949996797), | |
Row(pair=Row(t_tokens=['hamlet', 'tragedy', 'in', 'five', 'acts'], a_tokens=['shakespeare']), logp=-56.80743408203125, work_id=42949996797), | |
Row(pair=Row(t_tokens=['hamlet', 'tragedy'], a_tokens=['shakespeare']), logp=-34.793853759765625, work_id=42949996797), | |
Row(pair=Row(t_tokens=['hamlet', 'ishkhan', |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder