entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1 class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "untaineering.tumblr.com/'+\n 'posts?api_key=wT5v47y54z3yCq95DDGcwJtq03EX9AYxKCoXTtbSvivk18vfo3&\n jsonp=JSON_CALLBACK&id='+id)\n\n this.l",
"end": 812,
"score": 0.9997524619102478,
"start": 762,
"tag": "KEY",
"value": "wT5v47y54z3yCq95DDGcwJtq03EX9AYxKCoXTtbSvi... | src/app/blog/tumblr-api.coffee | javiersuweijie/sutd-mountaineering | 1 | angular.module('tumblrService', [])
.service "TumblrAPI", ($http,$interval,$sce)->
this.posts = []
this.totalPosts = 4294967295
this.currentOffset = 0
this.loading = false
this.end = false
this.clear = ()->
this.posts = []
this.currentOffset = 0
this.end = false
this.fakeLoad = ()->
if this.loading is true
return
this.id++
this.loading = true
$interval ()=>
this.loading = false
this.posts.push
id: this.id
title: "Blog "+this.id
date: "2014-05-22"
return
, 1000, 1
this.loadPostById = (id)->
$http.jsonp(
'http://api.tumblr.com/v2/blog/sutd-mountaineering.tumblr.com/'+
'posts?api_key=wT5v47y54z3yCq95DDGcwJtq03EX9AYxKCoXTtbSvivk18vfo3&
jsonp=JSON_CALLBACK&id='+id)
this.loadPosts = (limit,tag)->
if this.loading
return
if this.currentOffset >= this.totalPosts
this.end = true
return
this.loading = true
$http.jsonp(
'http://api.tumblr.com/v2/blog/sutd-mountaineering.tumblr.com/'+
'posts?api_key=wT5v47y54z3yCq95DDGcwJtq03EX9AYxKCoXTtbSvivk18vfo3&
jsonp=JSON_CALLBACK&offset='+this.currentOffset+
'&limit='+limit+
'&tag='+tag)
.success (data) =>
this.totalPosts = data.response.total_posts
this.posts.push handleText(post) for post in data.response.posts
this.currentOffset += limit
this.loading = false
return
handleText = (post)->
sanitisedPost = post
sanitisedPost.timestamp = post.timestamp*1000
sanitisedPost.coverPhoto = post.body.match(/http[^\"]+/) || []
sanitisedPost.body = $sce.trustAsHtml(post.body)
return sanitisedPost
handlePhoto = (post)->
return
this.getPostById = (id)->
output = post for post in this.posts when post.id is id
return
| 170695 | angular.module('tumblrService', [])
.service "TumblrAPI", ($http,$interval,$sce)->
this.posts = []
this.totalPosts = 4294967295
this.currentOffset = 0
this.loading = false
this.end = false
this.clear = ()->
this.posts = []
this.currentOffset = 0
this.end = false
this.fakeLoad = ()->
if this.loading is true
return
this.id++
this.loading = true
$interval ()=>
this.loading = false
this.posts.push
id: this.id
title: "Blog "+this.id
date: "2014-05-22"
return
, 1000, 1
this.loadPostById = (id)->
$http.jsonp(
'http://api.tumblr.com/v2/blog/sutd-mountaineering.tumblr.com/'+
'posts?api_key=<KEY>&
jsonp=JSON_CALLBACK&id='+id)
this.loadPosts = (limit,tag)->
if this.loading
return
if this.currentOffset >= this.totalPosts
this.end = true
return
this.loading = true
$http.jsonp(
'http://api.tumblr.com/v2/blog/sutd-mountaineering.tumblr.com/'+
'posts?api_key=<KEY>&
jsonp=JSON_CALLBACK&offset='+this.currentOffset+
'&limit='+limit+
'&tag='+tag)
.success (data) =>
this.totalPosts = data.response.total_posts
this.posts.push handleText(post) for post in data.response.posts
this.currentOffset += limit
this.loading = false
return
handleText = (post)->
sanitisedPost = post
sanitisedPost.timestamp = post.timestamp*1000
sanitisedPost.coverPhoto = post.body.match(/http[^\"]+/) || []
sanitisedPost.body = $sce.trustAsHtml(post.body)
return sanitisedPost
handlePhoto = (post)->
return
this.getPostById = (id)->
output = post for post in this.posts when post.id is id
return
| true | angular.module('tumblrService', [])
.service "TumblrAPI", ($http,$interval,$sce)->
this.posts = []
this.totalPosts = 4294967295
this.currentOffset = 0
this.loading = false
this.end = false
this.clear = ()->
this.posts = []
this.currentOffset = 0
this.end = false
this.fakeLoad = ()->
if this.loading is true
return
this.id++
this.loading = true
$interval ()=>
this.loading = false
this.posts.push
id: this.id
title: "Blog "+this.id
date: "2014-05-22"
return
, 1000, 1
this.loadPostById = (id)->
$http.jsonp(
'http://api.tumblr.com/v2/blog/sutd-mountaineering.tumblr.com/'+
'posts?api_key=PI:KEY:<KEY>END_PI&
jsonp=JSON_CALLBACK&id='+id)
this.loadPosts = (limit,tag)->
if this.loading
return
if this.currentOffset >= this.totalPosts
this.end = true
return
this.loading = true
$http.jsonp(
'http://api.tumblr.com/v2/blog/sutd-mountaineering.tumblr.com/'+
'posts?api_key=PI:KEY:<KEY>END_PI&
jsonp=JSON_CALLBACK&offset='+this.currentOffset+
'&limit='+limit+
'&tag='+tag)
.success (data) =>
this.totalPosts = data.response.total_posts
this.posts.push handleText(post) for post in data.response.posts
this.currentOffset += limit
this.loading = false
return
handleText = (post)->
sanitisedPost = post
sanitisedPost.timestamp = post.timestamp*1000
sanitisedPost.coverPhoto = post.body.match(/http[^\"]+/) || []
sanitisedPost.body = $sce.trustAsHtml(post.body)
return sanitisedPost
handlePhoto = (post)->
return
this.getPostById = (id)->
output = post for post in this.posts when post.id is id
return
|
[
{
"context": ")\n\t\t@applyCardToBoard({id: Cards.Faction6.ArcticRhyno}, 8, 0, myPlayerId)\n\n\n\t\tladyLocke = @applyCardToB",
"end": 2899,
"score": 0.7580622434616089,
"start": 2896,
"tag": "NAME",
"value": "yno"
}
] | app/sdk/challenges/vanar/AdvancedVanarChallenge1.coffee | willroberts/duelyst | 5 | Challenge = require("app/sdk/challenges/challenge")
Instruction = require 'app/sdk/challenges/instruction'
MoveAction = require 'app/sdk/actions/moveAction'
AttackAction = require 'app/sdk/actions/attackAction'
PlayCardFromHandAction = require 'app/sdk/actions/playCardFromHandAction'
EndTurnAction = require 'app/sdk/actions/endTurnAction'
Cards = require 'app/sdk/cards/cardsLookupComplete'
Deck = require 'app/sdk/cards/deck'
GameSession = require 'app/sdk/gameSession'
AgentActions = require 'app/sdk/agents/agentActions'
CONFIG = require 'app/common/config'
RSX = require('app/data/resources');
ChallengeCategory = require('app/sdk/challenges/challengeCategory')
ModifierOpeningGambitApplyPlayerModifiers = require('app/sdk/modifiers/modifierOpeningGambitApplyPlayerModifiers')
UtilsGameSession = require 'app/common/utils/utils_game_session'
i18next = require('i18next')
# http://forums.duelyst.com/t/starter-challenge-vanar/7519
class AdvancedVanarChallenge1 extends Challenge
@type: "AdvancedVanarChallenge1"
type: "AdvancedVanarChallenge1"
categoryType: ChallengeCategory.contest2.type
name: i18next.t("challenges.advanced_vanar_1_title")
description:i18next.t("challenges.advanced_vanar_1_description")
iconUrl: RSX.speech_portrait_vanar.img
_musicOverride: RSX.music_battlemap_vanar.audio
otkChallengeStartMessage: i18next.t("challenges.advanced_vanar_1_start")
otkChallengeFailureMessages: [
i18next.t("challenges.advanced_vanar_1_fail")
]
battleMapTemplateIndex: 3
snapShotOnPlayerTurn: 0
startingManaPlayer: CONFIG.MAX_MANA
startingHandSizePlayer: 6
getMyPlayerDeckData: (gameSession)->
return [
{id: Cards.Faction6.General}
{id: Cards.Spell.AspectOfTheWolf}
{id: Cards.Spell.IceCage}
{id: Cards.Spell.RitualOfTheWind}
{id: Cards.Spell.IceCage}
{id: Cards.Spell.RitualOfTheWind}
{id: Cards.Neutral.ZenRui}
]
getOpponentPlayerDeckData: (gameSession)->
return [
{id: Cards.Faction2.General}
{id: Cards.TutorialSpell.TutorialFireOrb}
]
setupBoard: (gameSession) ->
super(gameSession)
myPlayerId = gameSession.getMyPlayerId()
opponentPlayerId = gameSession.getOpponentPlayerId()
general1 = gameSession.getGeneralForPlayerId(myPlayerId)
general1.setPosition({x: 7, y:0})
general1.maxHP = 25
general1.setDamage(25-1)
general2 = gameSession.getGeneralForPlayerId(opponentPlayerId)
general2.setPosition({x: 1, y: 4})
general2.maxHP = 25
general2.setDamage(25-7)
@applyCardToBoard({id: Cards.Neutral.Manaforger}, 5, 1, myPlayerId)
# buff mana forger
@applyCardToBoard({id: Cards.Spell.PermafrostShield},5,1,myPlayerId)
@applyCardToBoard({id: Cards.Faction6.HearthSister}, 8, 3, myPlayerId)
@applyCardToBoard({id: Cards.Neutral.Manaforger}, 8, 1, myPlayerId)
#@applyCardToBoard({id: Cards.Neutral.Manaforger}, 8, 2, myPlayerId)
@applyCardToBoard({id: Cards.Faction6.ArcticRhyno}, 8, 0, myPlayerId)
ladyLocke = @applyCardToBoard({id: Cards.Neutral.LadyLocke},2,4,opponentPlayerId)
chakri1 = @applyCardToBoard({id: Cards.Faction2.ChakriAvatar},1,2,opponentPlayerId)
manaForger = @applyCardToBoard({id: Cards.Neutral.Manaforger},2,3,opponentPlayerId)
owlbeast = @applyCardToBoard({id: Cards.Neutral.OwlbeastSage},2,2,opponentPlayerId)
chakri2 = @applyCardToBoard({id: Cards.Faction2.ChakriAvatar},3,2,opponentPlayerId)
@applyCardToBoard({id: Cards.Neutral.LadyLocke},2,1,opponentPlayerId)
# give lady lockes buffs to enemy manaforger, owlbeast, and both chakris
lockPlayerModifier = ladyLocke.getModifierByType(ModifierOpeningGambitApplyPlayerModifiers.type)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, chakri1)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, manaForger)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, owlbeast)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, chakri2)
# mana orbs
@applyCardToBoard({id: Cards.Tile.BonusMana},4,0)
setupOpponentAgent: (gameSession) ->
super(gameSession)
@_opponentAgent.addActionForTurn(0,AgentActions.createAgentSoftActionShowInstructionLabels([
label:i18next.t("challenges.advanced_vanar_1_taunt")
isSpeech:true
yPosition:.7
isPersistent: true
isOpponent: true
]))
@_opponentAgent.addActionForTurn(0,AgentActions.createAgentActionPlayCardFindPosition(0,(() ->
return [GameSession.getInstance().getGeneralForPlayer1().getPosition()]
).bind(this)))
module.exports = AdvancedVanarChallenge1
| 110453 | Challenge = require("app/sdk/challenges/challenge")
Instruction = require 'app/sdk/challenges/instruction'
MoveAction = require 'app/sdk/actions/moveAction'
AttackAction = require 'app/sdk/actions/attackAction'
PlayCardFromHandAction = require 'app/sdk/actions/playCardFromHandAction'
EndTurnAction = require 'app/sdk/actions/endTurnAction'
Cards = require 'app/sdk/cards/cardsLookupComplete'
Deck = require 'app/sdk/cards/deck'
GameSession = require 'app/sdk/gameSession'
AgentActions = require 'app/sdk/agents/agentActions'
CONFIG = require 'app/common/config'
RSX = require('app/data/resources');
ChallengeCategory = require('app/sdk/challenges/challengeCategory')
ModifierOpeningGambitApplyPlayerModifiers = require('app/sdk/modifiers/modifierOpeningGambitApplyPlayerModifiers')
UtilsGameSession = require 'app/common/utils/utils_game_session'
i18next = require('i18next')
# http://forums.duelyst.com/t/starter-challenge-vanar/7519
class AdvancedVanarChallenge1 extends Challenge
@type: "AdvancedVanarChallenge1"
type: "AdvancedVanarChallenge1"
categoryType: ChallengeCategory.contest2.type
name: i18next.t("challenges.advanced_vanar_1_title")
description:i18next.t("challenges.advanced_vanar_1_description")
iconUrl: RSX.speech_portrait_vanar.img
_musicOverride: RSX.music_battlemap_vanar.audio
otkChallengeStartMessage: i18next.t("challenges.advanced_vanar_1_start")
otkChallengeFailureMessages: [
i18next.t("challenges.advanced_vanar_1_fail")
]
battleMapTemplateIndex: 3
snapShotOnPlayerTurn: 0
startingManaPlayer: CONFIG.MAX_MANA
startingHandSizePlayer: 6
getMyPlayerDeckData: (gameSession)->
return [
{id: Cards.Faction6.General}
{id: Cards.Spell.AspectOfTheWolf}
{id: Cards.Spell.IceCage}
{id: Cards.Spell.RitualOfTheWind}
{id: Cards.Spell.IceCage}
{id: Cards.Spell.RitualOfTheWind}
{id: Cards.Neutral.ZenRui}
]
getOpponentPlayerDeckData: (gameSession)->
return [
{id: Cards.Faction2.General}
{id: Cards.TutorialSpell.TutorialFireOrb}
]
setupBoard: (gameSession) ->
super(gameSession)
myPlayerId = gameSession.getMyPlayerId()
opponentPlayerId = gameSession.getOpponentPlayerId()
general1 = gameSession.getGeneralForPlayerId(myPlayerId)
general1.setPosition({x: 7, y:0})
general1.maxHP = 25
general1.setDamage(25-1)
general2 = gameSession.getGeneralForPlayerId(opponentPlayerId)
general2.setPosition({x: 1, y: 4})
general2.maxHP = 25
general2.setDamage(25-7)
@applyCardToBoard({id: Cards.Neutral.Manaforger}, 5, 1, myPlayerId)
# buff mana forger
@applyCardToBoard({id: Cards.Spell.PermafrostShield},5,1,myPlayerId)
@applyCardToBoard({id: Cards.Faction6.HearthSister}, 8, 3, myPlayerId)
@applyCardToBoard({id: Cards.Neutral.Manaforger}, 8, 1, myPlayerId)
#@applyCardToBoard({id: Cards.Neutral.Manaforger}, 8, 2, myPlayerId)
@applyCardToBoard({id: Cards.Faction6.ArcticRh<NAME>}, 8, 0, myPlayerId)
ladyLocke = @applyCardToBoard({id: Cards.Neutral.LadyLocke},2,4,opponentPlayerId)
chakri1 = @applyCardToBoard({id: Cards.Faction2.ChakriAvatar},1,2,opponentPlayerId)
manaForger = @applyCardToBoard({id: Cards.Neutral.Manaforger},2,3,opponentPlayerId)
owlbeast = @applyCardToBoard({id: Cards.Neutral.OwlbeastSage},2,2,opponentPlayerId)
chakri2 = @applyCardToBoard({id: Cards.Faction2.ChakriAvatar},3,2,opponentPlayerId)
@applyCardToBoard({id: Cards.Neutral.LadyLocke},2,1,opponentPlayerId)
# give lady lockes buffs to enemy manaforger, owlbeast, and both chakris
lockPlayerModifier = ladyLocke.getModifierByType(ModifierOpeningGambitApplyPlayerModifiers.type)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, chakri1)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, manaForger)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, owlbeast)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, chakri2)
# mana orbs
@applyCardToBoard({id: Cards.Tile.BonusMana},4,0)
setupOpponentAgent: (gameSession) ->
super(gameSession)
@_opponentAgent.addActionForTurn(0,AgentActions.createAgentSoftActionShowInstructionLabels([
label:i18next.t("challenges.advanced_vanar_1_taunt")
isSpeech:true
yPosition:.7
isPersistent: true
isOpponent: true
]))
@_opponentAgent.addActionForTurn(0,AgentActions.createAgentActionPlayCardFindPosition(0,(() ->
return [GameSession.getInstance().getGeneralForPlayer1().getPosition()]
).bind(this)))
module.exports = AdvancedVanarChallenge1
| true | Challenge = require("app/sdk/challenges/challenge")
Instruction = require 'app/sdk/challenges/instruction'
MoveAction = require 'app/sdk/actions/moveAction'
AttackAction = require 'app/sdk/actions/attackAction'
PlayCardFromHandAction = require 'app/sdk/actions/playCardFromHandAction'
EndTurnAction = require 'app/sdk/actions/endTurnAction'
Cards = require 'app/sdk/cards/cardsLookupComplete'
Deck = require 'app/sdk/cards/deck'
GameSession = require 'app/sdk/gameSession'
AgentActions = require 'app/sdk/agents/agentActions'
CONFIG = require 'app/common/config'
RSX = require('app/data/resources');
ChallengeCategory = require('app/sdk/challenges/challengeCategory')
ModifierOpeningGambitApplyPlayerModifiers = require('app/sdk/modifiers/modifierOpeningGambitApplyPlayerModifiers')
UtilsGameSession = require 'app/common/utils/utils_game_session'
i18next = require('i18next')
# http://forums.duelyst.com/t/starter-challenge-vanar/7519
class AdvancedVanarChallenge1 extends Challenge
@type: "AdvancedVanarChallenge1"
type: "AdvancedVanarChallenge1"
categoryType: ChallengeCategory.contest2.type
name: i18next.t("challenges.advanced_vanar_1_title")
description:i18next.t("challenges.advanced_vanar_1_description")
iconUrl: RSX.speech_portrait_vanar.img
_musicOverride: RSX.music_battlemap_vanar.audio
otkChallengeStartMessage: i18next.t("challenges.advanced_vanar_1_start")
otkChallengeFailureMessages: [
i18next.t("challenges.advanced_vanar_1_fail")
]
battleMapTemplateIndex: 3
snapShotOnPlayerTurn: 0
startingManaPlayer: CONFIG.MAX_MANA
startingHandSizePlayer: 6
getMyPlayerDeckData: (gameSession)->
return [
{id: Cards.Faction6.General}
{id: Cards.Spell.AspectOfTheWolf}
{id: Cards.Spell.IceCage}
{id: Cards.Spell.RitualOfTheWind}
{id: Cards.Spell.IceCage}
{id: Cards.Spell.RitualOfTheWind}
{id: Cards.Neutral.ZenRui}
]
getOpponentPlayerDeckData: (gameSession)->
return [
{id: Cards.Faction2.General}
{id: Cards.TutorialSpell.TutorialFireOrb}
]
setupBoard: (gameSession) ->
super(gameSession)
myPlayerId = gameSession.getMyPlayerId()
opponentPlayerId = gameSession.getOpponentPlayerId()
general1 = gameSession.getGeneralForPlayerId(myPlayerId)
general1.setPosition({x: 7, y:0})
general1.maxHP = 25
general1.setDamage(25-1)
general2 = gameSession.getGeneralForPlayerId(opponentPlayerId)
general2.setPosition({x: 1, y: 4})
general2.maxHP = 25
general2.setDamage(25-7)
@applyCardToBoard({id: Cards.Neutral.Manaforger}, 5, 1, myPlayerId)
# buff mana forger
@applyCardToBoard({id: Cards.Spell.PermafrostShield},5,1,myPlayerId)
@applyCardToBoard({id: Cards.Faction6.HearthSister}, 8, 3, myPlayerId)
@applyCardToBoard({id: Cards.Neutral.Manaforger}, 8, 1, myPlayerId)
#@applyCardToBoard({id: Cards.Neutral.Manaforger}, 8, 2, myPlayerId)
@applyCardToBoard({id: Cards.Faction6.ArcticRhPI:NAME:<NAME>END_PI}, 8, 0, myPlayerId)
ladyLocke = @applyCardToBoard({id: Cards.Neutral.LadyLocke},2,4,opponentPlayerId)
chakri1 = @applyCardToBoard({id: Cards.Faction2.ChakriAvatar},1,2,opponentPlayerId)
manaForger = @applyCardToBoard({id: Cards.Neutral.Manaforger},2,3,opponentPlayerId)
owlbeast = @applyCardToBoard({id: Cards.Neutral.OwlbeastSage},2,2,opponentPlayerId)
chakri2 = @applyCardToBoard({id: Cards.Faction2.ChakriAvatar},3,2,opponentPlayerId)
@applyCardToBoard({id: Cards.Neutral.LadyLocke},2,1,opponentPlayerId)
# give lady lockes buffs to enemy manaforger, owlbeast, and both chakris
lockPlayerModifier = ladyLocke.getModifierByType(ModifierOpeningGambitApplyPlayerModifiers.type)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, chakri1)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, manaForger)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, owlbeast)
for modifierContextObject in lockPlayerModifier.modifiersContextObjects[0].modifiersContextObjects
gameSession.applyModifierContextObject(modifierContextObject, chakri2)
# mana orbs
@applyCardToBoard({id: Cards.Tile.BonusMana},4,0)
setupOpponentAgent: (gameSession) ->
super(gameSession)
@_opponentAgent.addActionForTurn(0,AgentActions.createAgentSoftActionShowInstructionLabels([
label:i18next.t("challenges.advanced_vanar_1_taunt")
isSpeech:true
yPosition:.7
isPersistent: true
isOpponent: true
]))
@_opponentAgent.addActionForTurn(0,AgentActions.createAgentActionPlayCardFindPosition(0,(() ->
return [GameSession.getInstance().getGeneralForPlayer1().getPosition()]
).bind(this)))
module.exports = AdvancedVanarChallenge1
|
[
{
"context": "./index\")(robot)\n\n userInfo =\n name: \"atmos\",\n room: \"#zf-promo\"\n\n user = robo",
"end": 479,
"score": 0.6033491492271423,
"start": 474,
"tag": "NAME",
"value": "atmos"
}
] | test/scripts/http_test.coffee | alvinvogelzang/hubot-deploy | 310 | Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
describe "Deployment Status HTTP Callbacks", () ->
user = null
robot = null
adapter = null
beforeEach (done) ->
robot = new Robot(null, "mock-adapter", true, "Hubot")
robot.adapter.on "connected", () ->
process.env.HUBOT_DEPLOY_RANDOM_REPLY = "sup-dude"
require("../../index")(robot)
userInfo =
name: "atmos",
room: "#zf-promo"
user = robot.brain.userForId "1", userInfo
adapter = robot.adapter
done()
robot.run()
afterEach () ->
robot.server.close()
robot.shutdown()
| 85015 | Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
describe "Deployment Status HTTP Callbacks", () ->
user = null
robot = null
adapter = null
beforeEach (done) ->
robot = new Robot(null, "mock-adapter", true, "Hubot")
robot.adapter.on "connected", () ->
process.env.HUBOT_DEPLOY_RANDOM_REPLY = "sup-dude"
require("../../index")(robot)
userInfo =
name: "<NAME>",
room: "#zf-promo"
user = robot.brain.userForId "1", userInfo
adapter = robot.adapter
done()
robot.run()
afterEach () ->
robot.server.close()
robot.shutdown()
| true | Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
describe "Deployment Status HTTP Callbacks", () ->
user = null
robot = null
adapter = null
beforeEach (done) ->
robot = new Robot(null, "mock-adapter", true, "Hubot")
robot.adapter.on "connected", () ->
process.env.HUBOT_DEPLOY_RANDOM_REPLY = "sup-dude"
require("../../index")(robot)
userInfo =
name: "PI:NAME:<NAME>END_PI",
room: "#zf-promo"
user = robot.brain.userForId "1", userInfo
adapter = robot.adapter
done()
robot.run()
afterEach () ->
robot.server.close()
robot.shutdown()
|
[
{
"context": "nd leave the rest to us.'\n\ntwitter =\n username: 'hanzoai'\n hashtags: ''\n text: ''\n\npinterest =\n tex",
"end": 334,
"score": 0.9994975924491882,
"start": 327,
"tag": "USERNAME",
"value": "hanzoai"
},
{
"context": " 'Hanzo'\n\n social:\n email:\n ... | settings.coffee | hanzo-io/hanzo.ai | 1 | url = 'https://hanzo.ai'
description = 'Hanzo provides a suite of APIs to grow your company and take advantage of the power of the blockchain. Our tools make blockchain payments easy and drives growth for your business. You can focus on building what you’re passionate about and leave the rest to us.'
twitter =
username: 'hanzoai'
hashtags: ''
text: ''
pinterest =
text: ''
module.exports =
site:
title: 'Hanzo'
name: 'Hanzo.io'
url: url
copyright: '© Hanzo, Inc 2016-2020'
meta:
description: description
facebook:
appid: '726744070795618'
description: description
image: 'https://hanzo.ai/img/opengraph.png'
title: 'Hanzo'
twitter:
description: description
image: 'https://hanzo.ai/img/opengraph.png'
title: 'Hanzo'
social:
email:
shareLink: 'hi@hanzo.ai'
twitter:
username: 'hanzoai'
shareLink: ''
facebook:
username: 'hanzoai'
shareLink: ''
googlePlus:
shareLink: ''
pinterest:
shareLink: ''
legal:
email: 'legal@hanzo.ai'
name: 'Hanzo, Inc'
address: '405 Southwest Blvd, Ste 200 Kansas City, MO 64108'
state: 'Missouri'
contact:
email: 'hi@hanzo.ai'
phone: '(816) 919-1142'
press:
name: 'Zach Kelling'
email: 'press@hanzo.ai'
phone: '(816) 919-1142'
support:
email: 'support@hanzo.ai'
| 112760 | url = 'https://hanzo.ai'
description = 'Hanzo provides a suite of APIs to grow your company and take advantage of the power of the blockchain. Our tools make blockchain payments easy and drives growth for your business. You can focus on building what you’re passionate about and leave the rest to us.'
twitter =
username: 'hanzoai'
hashtags: ''
text: ''
pinterest =
text: ''
module.exports =
site:
title: 'Hanzo'
name: 'Hanzo.io'
url: url
copyright: '© Hanzo, Inc 2016-2020'
meta:
description: description
facebook:
appid: '726744070795618'
description: description
image: 'https://hanzo.ai/img/opengraph.png'
title: 'Hanzo'
twitter:
description: description
image: 'https://hanzo.ai/img/opengraph.png'
title: 'Hanzo'
social:
email:
shareLink: '<EMAIL>'
twitter:
username: 'hanzoai'
shareLink: ''
facebook:
username: 'hanzoai'
shareLink: ''
googlePlus:
shareLink: ''
pinterest:
shareLink: ''
legal:
email: '<EMAIL>'
name: 'Hanzo, Inc'
address: '405 Southwest Blvd, Ste 200 Kansas City, MO 64108'
state: 'Missouri'
contact:
email: '<EMAIL>'
phone: '(816) 919-1142'
press:
name: '<NAME>'
email: '<EMAIL>'
phone: '(816) 919-1142'
support:
email: '<EMAIL>'
| true | url = 'https://hanzo.ai'
description = 'Hanzo provides a suite of APIs to grow your company and take advantage of the power of the blockchain. Our tools make blockchain payments easy and drives growth for your business. You can focus on building what you’re passionate about and leave the rest to us.'
twitter =
username: 'hanzoai'
hashtags: ''
text: ''
pinterest =
text: ''
module.exports =
site:
title: 'Hanzo'
name: 'Hanzo.io'
url: url
copyright: '© Hanzo, Inc 2016-2020'
meta:
description: description
facebook:
appid: '726744070795618'
description: description
image: 'https://hanzo.ai/img/opengraph.png'
title: 'Hanzo'
twitter:
description: description
image: 'https://hanzo.ai/img/opengraph.png'
title: 'Hanzo'
social:
email:
shareLink: 'PI:EMAIL:<EMAIL>END_PI'
twitter:
username: 'hanzoai'
shareLink: ''
facebook:
username: 'hanzoai'
shareLink: ''
googlePlus:
shareLink: ''
pinterest:
shareLink: ''
legal:
email: 'PI:EMAIL:<EMAIL>END_PI'
name: 'Hanzo, Inc'
address: '405 Southwest Blvd, Ste 200 Kansas City, MO 64108'
state: 'Missouri'
contact:
email: 'PI:EMAIL:<EMAIL>END_PI'
phone: '(816) 919-1142'
press:
name: 'PI:NAME:<NAME>END_PI'
email: 'PI:EMAIL:<EMAIL>END_PI'
phone: '(816) 919-1142'
support:
email: 'PI:EMAIL:<EMAIL>END_PI'
|
[
{
"context": "lector: \"text.html - source.php - comment\"\nname: \"Automad\"\npatterns: [\n {\n include: \"#comment\"\n }\n {\n",
"end": 68,
"score": 0.9337772130966187,
"start": 61,
"tag": "NAME",
"value": "Automad"
}
] | grammars/automad.cson | marcantondahmen/atom-language-automad | 1 | injectionSelector: "text.html - source.php - comment"
name: "Automad"
patterns: [
{
include: "#comment"
}
{
include: "#content"
}
{
include: "#statements"
}
]
repository:
comment:
patterns: [
{
begin: "\\<#"
end: "#\\>"
name: "comment.block.automad"
}
]
content:
patterns: [
{
begin: "@\\{"
contentName: "variable.other.automad"
end: "\\}"
name: "variable.other.automad"
patterns: [
{
include: "#pipe"
}
]
}
]
keywords:
patterns: [
{
match: "(\\b(and|else|end|for|foreach|if|in|next|not|or|prev|snippet|to|with)\\b|[\\<\\>\\=]+)"
name: "keyword.other.automad"
}
]
number:
patterns: [
{
match: "\\b\\d[\\d\\.]*\\b"
name: "support.constant.automad"
}
]
options:
patterns: [
{
begin: "\\{"
contentName: "entity.other.attribute-name.automad"
end: "\\}"
name: "entity.other.attribute-name.automad"
patterns: [
{
include: "#content"
}
{
include: "#string"
}
{
include: "#number"
}
]
}
]
pipe:
patterns: [
{
match: "(?<=\\|)\\s*[\\+\\-\\*\\/]?\\s*[\\w\\-\\.]+"
name: "entity.other.attribute-name.automad"
}
{
match: "\\|"
name: "keyword.control.automad"
}
{
begin: "\\("
contentName: "keyword.other.automad"
end: "\\)"
name: "keyword.control.automad"
patterns: [
{
include: "#string"
}
{
include: "#number"
}
{
include: "#content"
}
]
}
]
statements:
patterns: [
{
begin: "\\<@"
contentName: "support.type.automad"
end: "@\\>"
name: "keyword.control.automad"
patterns: [
{
include: "#content"
}
{
include: "#string"
}
{
include: "#number"
}
{
include: "#options"
}
{
include: "#keywords"
}
]
}
]
string:
patterns: [
{
begin: "\""
contentName: "string.automad"
end: "\""
name: "string.automad"
patterns: [
{
include: "#content"
}
]
}
{
begin: "'"
contentName: "string.automad"
end: "'"
name: "string.automad"
patterns: [
{
include: "#content"
}
]
}
]
scopeName: "text.html.automad"
| 129394 | injectionSelector: "text.html - source.php - comment"
name: "<NAME>"
patterns: [
{
include: "#comment"
}
{
include: "#content"
}
{
include: "#statements"
}
]
repository:
comment:
patterns: [
{
begin: "\\<#"
end: "#\\>"
name: "comment.block.automad"
}
]
content:
patterns: [
{
begin: "@\\{"
contentName: "variable.other.automad"
end: "\\}"
name: "variable.other.automad"
patterns: [
{
include: "#pipe"
}
]
}
]
keywords:
patterns: [
{
match: "(\\b(and|else|end|for|foreach|if|in|next|not|or|prev|snippet|to|with)\\b|[\\<\\>\\=]+)"
name: "keyword.other.automad"
}
]
number:
patterns: [
{
match: "\\b\\d[\\d\\.]*\\b"
name: "support.constant.automad"
}
]
options:
patterns: [
{
begin: "\\{"
contentName: "entity.other.attribute-name.automad"
end: "\\}"
name: "entity.other.attribute-name.automad"
patterns: [
{
include: "#content"
}
{
include: "#string"
}
{
include: "#number"
}
]
}
]
pipe:
patterns: [
{
match: "(?<=\\|)\\s*[\\+\\-\\*\\/]?\\s*[\\w\\-\\.]+"
name: "entity.other.attribute-name.automad"
}
{
match: "\\|"
name: "keyword.control.automad"
}
{
begin: "\\("
contentName: "keyword.other.automad"
end: "\\)"
name: "keyword.control.automad"
patterns: [
{
include: "#string"
}
{
include: "#number"
}
{
include: "#content"
}
]
}
]
statements:
patterns: [
{
begin: "\\<@"
contentName: "support.type.automad"
end: "@\\>"
name: "keyword.control.automad"
patterns: [
{
include: "#content"
}
{
include: "#string"
}
{
include: "#number"
}
{
include: "#options"
}
{
include: "#keywords"
}
]
}
]
string:
patterns: [
{
begin: "\""
contentName: "string.automad"
end: "\""
name: "string.automad"
patterns: [
{
include: "#content"
}
]
}
{
begin: "'"
contentName: "string.automad"
end: "'"
name: "string.automad"
patterns: [
{
include: "#content"
}
]
}
]
scopeName: "text.html.automad"
| true | injectionSelector: "text.html - source.php - comment"
name: "PI:NAME:<NAME>END_PI"
patterns: [
{
include: "#comment"
}
{
include: "#content"
}
{
include: "#statements"
}
]
repository:
comment:
patterns: [
{
begin: "\\<#"
end: "#\\>"
name: "comment.block.automad"
}
]
content:
patterns: [
{
begin: "@\\{"
contentName: "variable.other.automad"
end: "\\}"
name: "variable.other.automad"
patterns: [
{
include: "#pipe"
}
]
}
]
keywords:
patterns: [
{
match: "(\\b(and|else|end|for|foreach|if|in|next|not|or|prev|snippet|to|with)\\b|[\\<\\>\\=]+)"
name: "keyword.other.automad"
}
]
number:
patterns: [
{
match: "\\b\\d[\\d\\.]*\\b"
name: "support.constant.automad"
}
]
options:
patterns: [
{
begin: "\\{"
contentName: "entity.other.attribute-name.automad"
end: "\\}"
name: "entity.other.attribute-name.automad"
patterns: [
{
include: "#content"
}
{
include: "#string"
}
{
include: "#number"
}
]
}
]
pipe:
patterns: [
{
match: "(?<=\\|)\\s*[\\+\\-\\*\\/]?\\s*[\\w\\-\\.]+"
name: "entity.other.attribute-name.automad"
}
{
match: "\\|"
name: "keyword.control.automad"
}
{
begin: "\\("
contentName: "keyword.other.automad"
end: "\\)"
name: "keyword.control.automad"
patterns: [
{
include: "#string"
}
{
include: "#number"
}
{
include: "#content"
}
]
}
]
statements:
patterns: [
{
begin: "\\<@"
contentName: "support.type.automad"
end: "@\\>"
name: "keyword.control.automad"
patterns: [
{
include: "#content"
}
{
include: "#string"
}
{
include: "#number"
}
{
include: "#options"
}
{
include: "#keywords"
}
]
}
]
string:
patterns: [
{
begin: "\""
contentName: "string.automad"
end: "\""
name: "string.automad"
patterns: [
{
include: "#content"
}
]
}
{
begin: "'"
contentName: "string.automad"
end: "'"
name: "string.automad"
patterns: [
{
include: "#content"
}
]
}
]
scopeName: "text.html.automad"
|
[
{
"context": "014 GitHub Inc.\n# Modified work Copyright (c) 2016 Lucas Chi\n#\n# Permission is hereby granted, free of charge,",
"end": 91,
"score": 0.9998376369476318,
"start": 82,
"tag": "NAME",
"value": "Lucas Chi"
},
{
"context": " - the status of a nyc subway line\n#\n# Author:... | src/mta.coffee | lchi/hubot-mta | 0 | # Original work Copyright (c) 2014 GitHub Inc.
# Modified work Copyright (c) 2016 Lucas Chi
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Description:
# See the status of NYC subways.
#
# Dependencies:
# "xml2js": "0.1.14"
#
# Configuration:
# None
#
# Commands:
# hubot mta me <train> - the status of a nyc subway line
#
# Author:
# jgv - original
# lchi - updated
striptags = require('striptags')
xml2js = require('xml2js')
module.exports = (robot) ->
robot.respond /mta\s*(?:me)?\s*(\w+)?/i, (response) ->
mta response
mta = (response) ->
response.http('http://web.mta.info/status/serviceStatus.txt')
.get() (err, res, body) ->
if err
throw err
parser = new xml2js.Parser({'explicitRoot' : 'service', 'normalize' : 'false' })
parser.parseString body, (err, res) ->
if err
throw err
requested_line = response.match[1]
requested_line_re = new RegExp(requested_line, 'gi')
for line in res.service.subway.line
line_name = line.name
if line_name.match(requested_line_re)
response_string = "#{line_name} - #{line.status}"
if typeof(line.Time) is "string"
response_string += " (updated #{line.Time})"
response.send response_string
status_text = striptags(line.text).replace(/( |\s)+/g, ' ').trim()
if status_text
response.send "#{status_text}"
| 172970 | # Original work Copyright (c) 2014 GitHub Inc.
# Modified work Copyright (c) 2016 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Description:
# See the status of NYC subways.
#
# Dependencies:
# "xml2js": "0.1.14"
#
# Configuration:
# None
#
# Commands:
# hubot mta me <train> - the status of a nyc subway line
#
# Author:
# jgv - original
# lchi - updated
striptags = require('striptags')
xml2js = require('xml2js')
module.exports = (robot) ->
robot.respond /mta\s*(?:me)?\s*(\w+)?/i, (response) ->
mta response
mta = (response) ->
response.http('http://web.mta.info/status/serviceStatus.txt')
.get() (err, res, body) ->
if err
throw err
parser = new xml2js.Parser({'explicitRoot' : 'service', 'normalize' : 'false' })
parser.parseString body, (err, res) ->
if err
throw err
requested_line = response.match[1]
requested_line_re = new RegExp(requested_line, 'gi')
for line in res.service.subway.line
line_name = line.name
if line_name.match(requested_line_re)
response_string = "#{line_name} - #{line.status}"
if typeof(line.Time) is "string"
response_string += " (updated #{line.Time})"
response.send response_string
status_text = striptags(line.text).replace(/( |\s)+/g, ' ').trim()
if status_text
response.send "#{status_text}"
| true | # Original work Copyright (c) 2014 GitHub Inc.
# Modified work Copyright (c) 2016 PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Description:
# See the status of NYC subways.
#
# Dependencies:
# "xml2js": "0.1.14"
#
# Configuration:
# None
#
# Commands:
# hubot mta me <train> - the status of a nyc subway line
#
# Author:
# jgv - original
# lchi - updated
striptags = require('striptags')
xml2js = require('xml2js')
module.exports = (robot) ->
robot.respond /mta\s*(?:me)?\s*(\w+)?/i, (response) ->
mta response
mta = (response) ->
response.http('http://web.mta.info/status/serviceStatus.txt')
.get() (err, res, body) ->
if err
throw err
parser = new xml2js.Parser({'explicitRoot' : 'service', 'normalize' : 'false' })
parser.parseString body, (err, res) ->
if err
throw err
requested_line = response.match[1]
requested_line_re = new RegExp(requested_line, 'gi')
for line in res.service.subway.line
line_name = line.name
if line_name.match(requested_line_re)
response_string = "#{line_name} - #{line.status}"
if typeof(line.Time) is "string"
response_string += " (updated #{line.Time})"
response.send response_string
status_text = striptags(line.text).replace(/( |\s)+/g, ' ').trim()
if status_text
response.send "#{status_text}"
|
[
{
"context": "ute in collection', ->\n @dreams.add [{name: 'first', sid: '1'}, {name: 'second', sid: '2'}]\n ex",
"end": 558,
"score": 0.9993165731430054,
"start": 553,
"tag": "NAME",
"value": "first"
},
{
"context": " @dreams.add [{name: 'first', sid: '1'}, {name: 'second... | spec/lib/collection_spec.coffee | alekseykulikov/backbone-offline | 33 | describe 'Offline.Collection', ->
beforeEach ->
localStorage.setItem('dreams', '')
@dreams = new Dreams()
@collection = new Offline.Collection(@dreams)
afterEach ->
localStorage.clear()
describe 'dirty', ->
it 'should return items where "dirty" attribute is equal true', ->
@dreams.add [{id: 1, dirty: false}, {id: 2, dirty: true}, {id: 3, dirty: false}]
expect(@collection.dirty().length).toEqual(1)
describe 'get', ->
it 'should find item by "sid" attribute in collection', ->
@dreams.add [{name: 'first', sid: '1'}, {name: 'second', sid: '2'}]
expect(@collection.get('2').get 'name').toEqual('second')
describe 'destroyDiff', ->
beforeEach ->
@dreams.create(name: 'item 1', sid: '1')
@dreams.create(name: 'item 2', sid: '2')
@dreams.create(name: 'item 3', sid: '3')
it 'should destroy items by "sid" which difference from response', ->
response = [{name: 'item 1', id: '2'}]
@collection.destroyDiff(response)
expect(@collection.items.pluck 'sid').toEqual(['2'])
it 'should ignore items which have "sid" attribute equal "new"', ->
response = [{name: 'item 1', id: '1'}]
@dreams.create(name: 'item 4', sid: 'new')
@collection.destroyDiff(response)
expect(@collection.items.pluck 'sid').toEqual(['1', 'new'])
describe 'fakeModel', ->
beforeEach ->
@fakeModel = @collection.fakeModel('4')
it 'sets id', -> expect(@fakeModel.id).toEqual('4')
it 'sets urlRoot', -> expect(@fakeModel.urlRoot).toEqual('/api/dreams')
| 40031 | describe 'Offline.Collection', ->
beforeEach ->
localStorage.setItem('dreams', '')
@dreams = new Dreams()
@collection = new Offline.Collection(@dreams)
afterEach ->
localStorage.clear()
describe 'dirty', ->
it 'should return items where "dirty" attribute is equal true', ->
@dreams.add [{id: 1, dirty: false}, {id: 2, dirty: true}, {id: 3, dirty: false}]
expect(@collection.dirty().length).toEqual(1)
describe 'get', ->
it 'should find item by "sid" attribute in collection', ->
@dreams.add [{name: '<NAME>', sid: '1'}, {name: '<NAME>', sid: '2'}]
expect(@collection.get('2').get 'name').toEqual('second')
describe 'destroyDiff', ->
beforeEach ->
@dreams.create(name: 'item 1', sid: '1')
@dreams.create(name: 'item 2', sid: '2')
@dreams.create(name: 'item 3', sid: '3')
it 'should destroy items by "sid" which difference from response', ->
response = [{name: 'item 1', id: '2'}]
@collection.destroyDiff(response)
expect(@collection.items.pluck 'sid').toEqual(['2'])
it 'should ignore items which have "sid" attribute equal "new"', ->
response = [{name: 'item 1', id: '1'}]
@dreams.create(name: 'item 4', sid: 'new')
@collection.destroyDiff(response)
expect(@collection.items.pluck 'sid').toEqual(['1', 'new'])
describe 'fakeModel', ->
beforeEach ->
@fakeModel = @collection.fakeModel('4')
it 'sets id', -> expect(@fakeModel.id).toEqual('4')
it 'sets urlRoot', -> expect(@fakeModel.urlRoot).toEqual('/api/dreams')
| true | describe 'Offline.Collection', ->
beforeEach ->
localStorage.setItem('dreams', '')
@dreams = new Dreams()
@collection = new Offline.Collection(@dreams)
afterEach ->
localStorage.clear()
describe 'dirty', ->
it 'should return items where "dirty" attribute is equal true', ->
@dreams.add [{id: 1, dirty: false}, {id: 2, dirty: true}, {id: 3, dirty: false}]
expect(@collection.dirty().length).toEqual(1)
describe 'get', ->
it 'should find item by "sid" attribute in collection', ->
@dreams.add [{name: 'PI:NAME:<NAME>END_PI', sid: '1'}, {name: 'PI:NAME:<NAME>END_PI', sid: '2'}]
expect(@collection.get('2').get 'name').toEqual('second')
describe 'destroyDiff', ->
beforeEach ->
@dreams.create(name: 'item 1', sid: '1')
@dreams.create(name: 'item 2', sid: '2')
@dreams.create(name: 'item 3', sid: '3')
it 'should destroy items by "sid" which difference from response', ->
response = [{name: 'item 1', id: '2'}]
@collection.destroyDiff(response)
expect(@collection.items.pluck 'sid').toEqual(['2'])
it 'should ignore items which have "sid" attribute equal "new"', ->
response = [{name: 'item 1', id: '1'}]
@dreams.create(name: 'item 4', sid: 'new')
@collection.destroyDiff(response)
expect(@collection.items.pluck 'sid').toEqual(['1', 'new'])
describe 'fakeModel', ->
beforeEach ->
@fakeModel = @collection.fakeModel('4')
it 'sets id', -> expect(@fakeModel.id).toEqual('4')
it 'sets urlRoot', -> expect(@fakeModel.urlRoot).toEqual('/api/dreams')
|
[
{
"context": "urn {\n from : \"\\\" #{ emailConfig.name } \\\" <noreply@creze.com>\"\n to : args.to\n subject : 'SIGNUP'\n ",
"end": 229,
"score": 0.9999197125434875,
"start": 212,
"tag": "EMAIL",
"value": "noreply@creze.com"
},
{
"context": "html : \"Usuario: #{... | src/email-templates/signup.coffee | rabrux/creze-api | 0 | emailConfig = require '../../conf/email.json'
module.exports = ( args ) ->
return false if not args or not args.to or not args.password or not args.key
return {
from : "\" #{ emailConfig.name } \" <noreply@creze.com>"
to : args.to
subject : 'SIGNUP'
html : "Usuario: #{ args.to }<br />Password: #{ args.password }<br /><a href=\"#{ emailConfig.dashURL }/verify/#{ args.key }\">Verificar cuenta</a>"
}
| 90081 | emailConfig = require '../../conf/email.json'
module.exports = ( args ) ->
return false if not args or not args.to or not args.password or not args.key
return {
from : "\" #{ emailConfig.name } \" <<EMAIL>>"
to : args.to
subject : 'SIGNUP'
html : "Usuario: #{ args.to }<br />Password: #{ <PASSWORD> }<br /><a href=\"#{ emailConfig.dashURL }/verify/#{ args.key }\">Verificar cuenta</a>"
}
| true | emailConfig = require '../../conf/email.json'
module.exports = ( args ) ->
return false if not args or not args.to or not args.password or not args.key
return {
from : "\" #{ emailConfig.name } \" <PI:EMAIL:<EMAIL>END_PI>"
to : args.to
subject : 'SIGNUP'
html : "Usuario: #{ args.to }<br />Password: #{ PI:PASSWORD:<PASSWORD>END_PI }<br /><a href=\"#{ emailConfig.dashURL }/verify/#{ args.key }\">Verificar cuenta</a>"
}
|
[
{
"context": " assert.equal(yield browser.getText(\".author\"), \"BOZE, Taro\")\n assert.equal(yield browser.getText(\".is",
"end": 2629,
"score": 0.9995940327644348,
"start": 2619,
"tag": "NAME",
"value": "BOZE, Taro"
}
] | bin/js/test/scenarioJenkinsATest.coffee | xpfriend/pocci | 1 | ###global describe, it, before, after###
###jshint quotmark:true###
"use strict"
assert = require("chai").assert
fs = require("fs")
webdriver = require("pocci/webdriver.js")
test = require("./resq.js")
scenarioTest = require("./scenarioTest.js")
describe "Scenario A (jenkins)", ->
@timeout(10 * 60 * 1000)
browser = null
before (done) ->
test done,
setup: ->
yield webdriver.init()
browser = webdriver.browser
return
after (done) ->
test done,
setup: ->
yield browser.end()
it "user - login as boze", (done) ->
scenarioTest.user.loginAsBoze(done, test, browser)
it "user - change password", (done) ->
scenarioTest.user.changePassword(done, test, browser)
it "gitlab - signin as boze", (done) ->
scenarioTest.gitlab.signinAsBoze(done, test, browser)
it "gitlab - add ssh key", (done) ->
test done,
setup: ->
yield browser.url(process.env.GITLAB_URL + "/profile/keys")
assert.isNotOk(yield browser.isExisting("table"))
when: ->
text = fs.readFileSync("/tmp/user_home/.ssh/id_rsa.pub", "utf8").replace("\n", "")
yield browser
.url(process.env.GITLAB_URL + "/profile/keys/new")
.save("gitlab-before-add-ssh-key")
.setValue("#key_key", text)
.click("#key_title")
.save("gitlab-doing-add-ssh-key")
.click("input[name='commit']")
.save("gitlab-after-add-ssh-key")
then: ->
yield browser.url(process.env.GITLAB_URL + "/profile/keys")
assert.isOk(yield browser.isExisting("table"))
it "gitlab - assert repository url", (done) ->
test done,
when: ->
yield browser.url(process.env.GITLAB_URL + "/example/example-java")
then: ->
assert.equal(
yield browser.getValue("#project_clone"),
"ssh://git@gitlab.pocci.test:10022/example/example-java.git")
it "gitlab - add an issue", (done) ->
test done,
when: ->
yield browser
.url(process.env.GITLAB_URL + "/example/example-java/issues/new")
.save("gitlab-before-add-issue")
.setValue("#issue_title", "Improve the code")
.save("gitlab-doing-add-issue")
.click("input[name='commit']")
.save("gitlab-after-add-issue")
then: ->
href = (yield browser
.url(process.env.GITLAB_URL + "/example/example-java/issues")
.getAttribute("ul.issues-list a.row_title", "href"))[0]
yield browser.url(href).save("gitlab-after-add-issue")
assert.equal(yield browser.getText(".author"), "BOZE, Taro")
assert.equal(yield browser.getText(".issue-title"), "Improve the code")
| 3034 | ###global describe, it, before, after###
###jshint quotmark:true###
"use strict"
assert = require("chai").assert
fs = require("fs")
webdriver = require("pocci/webdriver.js")
test = require("./resq.js")
scenarioTest = require("./scenarioTest.js")
describe "Scenario A (jenkins)", ->
@timeout(10 * 60 * 1000)
browser = null
before (done) ->
test done,
setup: ->
yield webdriver.init()
browser = webdriver.browser
return
after (done) ->
test done,
setup: ->
yield browser.end()
it "user - login as boze", (done) ->
scenarioTest.user.loginAsBoze(done, test, browser)
it "user - change password", (done) ->
scenarioTest.user.changePassword(done, test, browser)
it "gitlab - signin as boze", (done) ->
scenarioTest.gitlab.signinAsBoze(done, test, browser)
it "gitlab - add ssh key", (done) ->
test done,
setup: ->
yield browser.url(process.env.GITLAB_URL + "/profile/keys")
assert.isNotOk(yield browser.isExisting("table"))
when: ->
text = fs.readFileSync("/tmp/user_home/.ssh/id_rsa.pub", "utf8").replace("\n", "")
yield browser
.url(process.env.GITLAB_URL + "/profile/keys/new")
.save("gitlab-before-add-ssh-key")
.setValue("#key_key", text)
.click("#key_title")
.save("gitlab-doing-add-ssh-key")
.click("input[name='commit']")
.save("gitlab-after-add-ssh-key")
then: ->
yield browser.url(process.env.GITLAB_URL + "/profile/keys")
assert.isOk(yield browser.isExisting("table"))
it "gitlab - assert repository url", (done) ->
test done,
when: ->
yield browser.url(process.env.GITLAB_URL + "/example/example-java")
then: ->
assert.equal(
yield browser.getValue("#project_clone"),
"ssh://git@gitlab.pocci.test:10022/example/example-java.git")
it "gitlab - add an issue", (done) ->
test done,
when: ->
yield browser
.url(process.env.GITLAB_URL + "/example/example-java/issues/new")
.save("gitlab-before-add-issue")
.setValue("#issue_title", "Improve the code")
.save("gitlab-doing-add-issue")
.click("input[name='commit']")
.save("gitlab-after-add-issue")
then: ->
href = (yield browser
.url(process.env.GITLAB_URL + "/example/example-java/issues")
.getAttribute("ul.issues-list a.row_title", "href"))[0]
yield browser.url(href).save("gitlab-after-add-issue")
assert.equal(yield browser.getText(".author"), "<NAME>")
assert.equal(yield browser.getText(".issue-title"), "Improve the code")
| true | ###global describe, it, before, after###
###jshint quotmark:true###
"use strict"
assert = require("chai").assert
fs = require("fs")
webdriver = require("pocci/webdriver.js")
test = require("./resq.js")
scenarioTest = require("./scenarioTest.js")
describe "Scenario A (jenkins)", ->
@timeout(10 * 60 * 1000)
browser = null
before (done) ->
test done,
setup: ->
yield webdriver.init()
browser = webdriver.browser
return
after (done) ->
test done,
setup: ->
yield browser.end()
it "user - login as boze", (done) ->
scenarioTest.user.loginAsBoze(done, test, browser)
it "user - change password", (done) ->
scenarioTest.user.changePassword(done, test, browser)
it "gitlab - signin as boze", (done) ->
scenarioTest.gitlab.signinAsBoze(done, test, browser)
it "gitlab - add ssh key", (done) ->
test done,
setup: ->
yield browser.url(process.env.GITLAB_URL + "/profile/keys")
assert.isNotOk(yield browser.isExisting("table"))
when: ->
text = fs.readFileSync("/tmp/user_home/.ssh/id_rsa.pub", "utf8").replace("\n", "")
yield browser
.url(process.env.GITLAB_URL + "/profile/keys/new")
.save("gitlab-before-add-ssh-key")
.setValue("#key_key", text)
.click("#key_title")
.save("gitlab-doing-add-ssh-key")
.click("input[name='commit']")
.save("gitlab-after-add-ssh-key")
then: ->
yield browser.url(process.env.GITLAB_URL + "/profile/keys")
assert.isOk(yield browser.isExisting("table"))
it "gitlab - assert repository url", (done) ->
test done,
when: ->
yield browser.url(process.env.GITLAB_URL + "/example/example-java")
then: ->
assert.equal(
yield browser.getValue("#project_clone"),
"ssh://git@gitlab.pocci.test:10022/example/example-java.git")
it "gitlab - add an issue", (done) ->
test done,
when: ->
yield browser
.url(process.env.GITLAB_URL + "/example/example-java/issues/new")
.save("gitlab-before-add-issue")
.setValue("#issue_title", "Improve the code")
.save("gitlab-doing-add-issue")
.click("input[name='commit']")
.save("gitlab-after-add-issue")
then: ->
href = (yield browser
.url(process.env.GITLAB_URL + "/example/example-java/issues")
.getAttribute("ul.issues-list a.row_title", "href"))[0]
yield browser.url(href).save("gitlab-after-add-issue")
assert.equal(yield browser.getText(".author"), "PI:NAME:<NAME>END_PI")
assert.equal(yield browser.getText(".issue-title"), "Improve the code")
|
[
{
"context": "{}, @props, @state,\n key: \"category-#{category.name}\"\n eventKey: String",
"end": 5486,
"score": 0.6363993287086487,
"start": 5486,
"tag": "KEY",
"value": ""
}
] | src/components/list.coffee | brianshaler/kerplunk-plugin-manager | 0 | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
Category = require './category'
Search = require './search'
categorize = require './categorize'
{DOM} = React
Accordion = React.createFactory Bootstrap.Accordion
Panel = React.createFactory Bootstrap.Panel
module.exports = React.createFactory React.createClass
getInitialState: ->
plugins: @props.plugins ? []
permissions: @props.permissions ? {}
categorizedPlugins: @categorizePlugins @props.plugins ? []
recommendations: []
showRecommendations: false
togglePlugin: (plugin, permissions = [], additional = []) ->
if plugin.kerplunk?.dependencies
console.log 'add deps', plugin.kerplunk.dependencies
additional = _.uniq additional.concat plugin.kerplunk.dependencies
console.log 'toggle plugin', plugin, additional
action = if plugin.enabled then 'disable' else 'enable'
url = "/admin/plugins/#{plugin.name}/#{action}.json"
console.log url
data =
permissions: permissions.join ','
additional: additional.join ','
@props.request.post url, data, (err, obj) =>
console.log 'response', err, obj
return console.log err if err
return unless @isMounted()
newPlugins = obj?.plugins ? @state.plugins
@setState
plugins: newPlugins
permissions: obj.permissions ? @state.permissions
categorizedPlugins: @categorizePlugins newPlugins
@props.refreshState()
# componentWillReceiveProps: (newProps) ->
# console.log 'receiving props', newProps?.plugins?
# if newProps.plugins and newProps.plugins != @state.plugins
# @setState
# categorizedPlugins: @categorizePlugins newProps.plugins
# @setState
# plugins: newProps.plugins ? @state.plugins
# permissions: newProps.permissions ? @state.permissions
categorizePlugins: (plugins = @state.plugins) ->
all =
active: {}
available: {}
all = _ plugins
.filter (plugin) -> !plugin.isCore
.reduce (memo, plugin) ->
bucket = if plugin.enabled
memo.active
else
memo.available
categories = _ plugin.keywords
.filter (keyword) -> /^kp:/.test keyword
.map (keyword) -> keyword.substring 3
.value()
unless categories.length > 0
categories.push 'Miscellaneous'
for category in categories
bucket[category] = [] unless bucket[category]
bucket[category].push plugin
memo
, {active: {}, available: {}}
all.active = _ all.active
.map (plugins, name) ->
name: name
plugins: _.sortBy plugins, (plugin) ->
plugin.displayName ? plugin.name
.sortBy 'name'
.value()
all.available = _ all.available
.map (plugins, name) ->
name: name
plugins: _.sortBy plugins, (plugin) ->
plugin.displayName ? plugin.name
.sortBy 'name'
.value()
# console.log 'all', all
all
getRecommendations: (e) ->
e.preventDefault()
@setState
showRecommendations: true
recommendations: 'loading'
url = '/admin/plugins/recommended.json'
@props.request.get url, {}, (err, data) =>
if err
@setState
showRecommendations: true
recommendations: 'error'
return console.log err
if data?.plugins?.length > 0
console.log "got #{data.plugins.length} plugins, filtering out #{@state.plugins.length} existing"
newPlugins = _ data.plugins
.map (plugin) ->
try
obj = JSON.parse plugin.data
if obj?.versions?[obj?['dist-tags']?.latest]
_.merge plugin, obj.versions[obj['dist-tags'].latest]
catch ex
console.log "could not parse plugin.data for #{plugin?.name}"
plugin
.filter (plugin) =>
!(_.find @state.plugins, (p) => p.name == plugin.name)
.value()
console.log 'new', newPlugins, @state.plugins[0]
@setState
recommendations: categorize newPlugins
render: ->
{active, available} = @state.categorizedPlugins
DOM.section
className: 'content'
,
DOM.div
className: 'row'
,
DOM.div
className: 'col col-lg-12'
, Search _.extend {}, @props, @state,
togglePlugin: @togglePlugin
DOM.div
className: 'row'
,
DOM.div
className: 'plugin-list col-md-6'
,
DOM.h3 null,
'Active Plugins ('
_.filter(@state.plugins, (p) -> p.enabled and !p.isCore).length
')'
Accordion
className: ''
eventKey: '1'
, _.map active, (category, index) =>
Category _.extend {}, @props, @state,
key: "category-#{category.name}"
eventKey: String index
category: category.name
plugins: category.plugins
allPlugins: @state.plugins
togglePlugin: @togglePlugin
DOM.div
className: 'plugin-list col-md-6'
,
DOM.h3 null,
'Available Plugins ('
_.filter(@state.plugins, (p) -> !p.enabled and !p.isCore).length
')'
Accordion
className: 'plugin-list'
, _.map available, (category, index) =>
Category _.extend {}, @props, @state,
key: "category-#{category.name}"
eventKey: String index
category: category.name
plugins: category.plugins
allPlugins: @state.plugins
togglePlugin: @togglePlugin
DOM.h3 null, 'Recommended Plugins'
if @state.showRecommendations
if @state.recommendations == 'loading'
DOM.div null, 'loading'
else if @state.recommendations == 'error'
DOM.div null, 'error'
else if @state.recommendations instanceof Array
if @state.recommendations.length == 0
DOM.div null, 'no recommendations at this time'
else
Accordion
className: 'plugin-list'
, _.map @state.recommendations, (category, index) =>
Category _.extend {}, @props, @state,
key: "category-#{category.name}"
eventKey: String index
category: category.name
plugins: category.plugins
allPlugins: @state.plugins
togglePlugin: @togglePlugin
else
DOM.a
href: '#'
onClick: @getRecommendations
className: 'btn btn-default'
, 'find recommended plugins'
DOM.div
style:
clear: 'both'
| 91679 | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
Category = require './category'
Search = require './search'
categorize = require './categorize'
{DOM} = React
Accordion = React.createFactory Bootstrap.Accordion
Panel = React.createFactory Bootstrap.Panel
module.exports = React.createFactory React.createClass
getInitialState: ->
plugins: @props.plugins ? []
permissions: @props.permissions ? {}
categorizedPlugins: @categorizePlugins @props.plugins ? []
recommendations: []
showRecommendations: false
togglePlugin: (plugin, permissions = [], additional = []) ->
if plugin.kerplunk?.dependencies
console.log 'add deps', plugin.kerplunk.dependencies
additional = _.uniq additional.concat plugin.kerplunk.dependencies
console.log 'toggle plugin', plugin, additional
action = if plugin.enabled then 'disable' else 'enable'
url = "/admin/plugins/#{plugin.name}/#{action}.json"
console.log url
data =
permissions: permissions.join ','
additional: additional.join ','
@props.request.post url, data, (err, obj) =>
console.log 'response', err, obj
return console.log err if err
return unless @isMounted()
newPlugins = obj?.plugins ? @state.plugins
@setState
plugins: newPlugins
permissions: obj.permissions ? @state.permissions
categorizedPlugins: @categorizePlugins newPlugins
@props.refreshState()
# componentWillReceiveProps: (newProps) ->
# console.log 'receiving props', newProps?.plugins?
# if newProps.plugins and newProps.plugins != @state.plugins
# @setState
# categorizedPlugins: @categorizePlugins newProps.plugins
# @setState
# plugins: newProps.plugins ? @state.plugins
# permissions: newProps.permissions ? @state.permissions
categorizePlugins: (plugins = @state.plugins) ->
all =
active: {}
available: {}
all = _ plugins
.filter (plugin) -> !plugin.isCore
.reduce (memo, plugin) ->
bucket = if plugin.enabled
memo.active
else
memo.available
categories = _ plugin.keywords
.filter (keyword) -> /^kp:/.test keyword
.map (keyword) -> keyword.substring 3
.value()
unless categories.length > 0
categories.push 'Miscellaneous'
for category in categories
bucket[category] = [] unless bucket[category]
bucket[category].push plugin
memo
, {active: {}, available: {}}
all.active = _ all.active
.map (plugins, name) ->
name: name
plugins: _.sortBy plugins, (plugin) ->
plugin.displayName ? plugin.name
.sortBy 'name'
.value()
all.available = _ all.available
.map (plugins, name) ->
name: name
plugins: _.sortBy plugins, (plugin) ->
plugin.displayName ? plugin.name
.sortBy 'name'
.value()
# console.log 'all', all
all
getRecommendations: (e) ->
e.preventDefault()
@setState
showRecommendations: true
recommendations: 'loading'
url = '/admin/plugins/recommended.json'
@props.request.get url, {}, (err, data) =>
if err
@setState
showRecommendations: true
recommendations: 'error'
return console.log err
if data?.plugins?.length > 0
console.log "got #{data.plugins.length} plugins, filtering out #{@state.plugins.length} existing"
newPlugins = _ data.plugins
.map (plugin) ->
try
obj = JSON.parse plugin.data
if obj?.versions?[obj?['dist-tags']?.latest]
_.merge plugin, obj.versions[obj['dist-tags'].latest]
catch ex
console.log "could not parse plugin.data for #{plugin?.name}"
plugin
.filter (plugin) =>
!(_.find @state.plugins, (p) => p.name == plugin.name)
.value()
console.log 'new', newPlugins, @state.plugins[0]
@setState
recommendations: categorize newPlugins
render: ->
{active, available} = @state.categorizedPlugins
DOM.section
className: 'content'
,
DOM.div
className: 'row'
,
DOM.div
className: 'col col-lg-12'
, Search _.extend {}, @props, @state,
togglePlugin: @togglePlugin
DOM.div
className: 'row'
,
DOM.div
className: 'plugin-list col-md-6'
,
DOM.h3 null,
'Active Plugins ('
_.filter(@state.plugins, (p) -> p.enabled and !p.isCore).length
')'
Accordion
className: ''
eventKey: '1'
, _.map active, (category, index) =>
Category _.extend {}, @props, @state,
key: "category-#{category.name}"
eventKey: String index
category: category.name
plugins: category.plugins
allPlugins: @state.plugins
togglePlugin: @togglePlugin
DOM.div
className: 'plugin-list col-md-6'
,
DOM.h3 null,
'Available Plugins ('
_.filter(@state.plugins, (p) -> !p.enabled and !p.isCore).length
')'
Accordion
className: 'plugin-list'
, _.map available, (category, index) =>
Category _.extend {}, @props, @state,
key: "category<KEY>-#{category.name}"
eventKey: String index
category: category.name
plugins: category.plugins
allPlugins: @state.plugins
togglePlugin: @togglePlugin
DOM.h3 null, 'Recommended Plugins'
if @state.showRecommendations
if @state.recommendations == 'loading'
DOM.div null, 'loading'
else if @state.recommendations == 'error'
DOM.div null, 'error'
else if @state.recommendations instanceof Array
if @state.recommendations.length == 0
DOM.div null, 'no recommendations at this time'
else
Accordion
className: 'plugin-list'
, _.map @state.recommendations, (category, index) =>
Category _.extend {}, @props, @state,
key: "category-#{category.name}"
eventKey: String index
category: category.name
plugins: category.plugins
allPlugins: @state.plugins
togglePlugin: @togglePlugin
else
DOM.a
href: '#'
onClick: @getRecommendations
className: 'btn btn-default'
, 'find recommended plugins'
DOM.div
style:
clear: 'both'
| true | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
Category = require './category'
Search = require './search'
categorize = require './categorize'
{DOM} = React
Accordion = React.createFactory Bootstrap.Accordion
Panel = React.createFactory Bootstrap.Panel
module.exports = React.createFactory React.createClass
getInitialState: ->
plugins: @props.plugins ? []
permissions: @props.permissions ? {}
categorizedPlugins: @categorizePlugins @props.plugins ? []
recommendations: []
showRecommendations: false
togglePlugin: (plugin, permissions = [], additional = []) ->
if plugin.kerplunk?.dependencies
console.log 'add deps', plugin.kerplunk.dependencies
additional = _.uniq additional.concat plugin.kerplunk.dependencies
console.log 'toggle plugin', plugin, additional
action = if plugin.enabled then 'disable' else 'enable'
url = "/admin/plugins/#{plugin.name}/#{action}.json"
console.log url
data =
permissions: permissions.join ','
additional: additional.join ','
@props.request.post url, data, (err, obj) =>
console.log 'response', err, obj
return console.log err if err
return unless @isMounted()
newPlugins = obj?.plugins ? @state.plugins
@setState
plugins: newPlugins
permissions: obj.permissions ? @state.permissions
categorizedPlugins: @categorizePlugins newPlugins
@props.refreshState()
# componentWillReceiveProps: (newProps) ->
# console.log 'receiving props', newProps?.plugins?
# if newProps.plugins and newProps.plugins != @state.plugins
# @setState
# categorizedPlugins: @categorizePlugins newProps.plugins
# @setState
# plugins: newProps.plugins ? @state.plugins
# permissions: newProps.permissions ? @state.permissions
categorizePlugins: (plugins = @state.plugins) ->
all =
active: {}
available: {}
all = _ plugins
.filter (plugin) -> !plugin.isCore
.reduce (memo, plugin) ->
bucket = if plugin.enabled
memo.active
else
memo.available
categories = _ plugin.keywords
.filter (keyword) -> /^kp:/.test keyword
.map (keyword) -> keyword.substring 3
.value()
unless categories.length > 0
categories.push 'Miscellaneous'
for category in categories
bucket[category] = [] unless bucket[category]
bucket[category].push plugin
memo
, {active: {}, available: {}}
all.active = _ all.active
.map (plugins, name) ->
name: name
plugins: _.sortBy plugins, (plugin) ->
plugin.displayName ? plugin.name
.sortBy 'name'
.value()
all.available = _ all.available
.map (plugins, name) ->
name: name
plugins: _.sortBy plugins, (plugin) ->
plugin.displayName ? plugin.name
.sortBy 'name'
.value()
# console.log 'all', all
all
getRecommendations: (e) ->
e.preventDefault()
@setState
showRecommendations: true
recommendations: 'loading'
url = '/admin/plugins/recommended.json'
@props.request.get url, {}, (err, data) =>
if err
@setState
showRecommendations: true
recommendations: 'error'
return console.log err
if data?.plugins?.length > 0
console.log "got #{data.plugins.length} plugins, filtering out #{@state.plugins.length} existing"
newPlugins = _ data.plugins
.map (plugin) ->
try
obj = JSON.parse plugin.data
if obj?.versions?[obj?['dist-tags']?.latest]
_.merge plugin, obj.versions[obj['dist-tags'].latest]
catch ex
console.log "could not parse plugin.data for #{plugin?.name}"
plugin
.filter (plugin) =>
!(_.find @state.plugins, (p) => p.name == plugin.name)
.value()
console.log 'new', newPlugins, @state.plugins[0]
@setState
recommendations: categorize newPlugins
render: ->
{active, available} = @state.categorizedPlugins
DOM.section
className: 'content'
,
DOM.div
className: 'row'
,
DOM.div
className: 'col col-lg-12'
, Search _.extend {}, @props, @state,
togglePlugin: @togglePlugin
DOM.div
className: 'row'
,
DOM.div
className: 'plugin-list col-md-6'
,
DOM.h3 null,
'Active Plugins ('
_.filter(@state.plugins, (p) -> p.enabled and !p.isCore).length
')'
Accordion
className: ''
eventKey: '1'
, _.map active, (category, index) =>
Category _.extend {}, @props, @state,
key: "category-#{category.name}"
eventKey: String index
category: category.name
plugins: category.plugins
allPlugins: @state.plugins
togglePlugin: @togglePlugin
DOM.div
className: 'plugin-list col-md-6'
,
DOM.h3 null,
'Available Plugins ('
_.filter(@state.plugins, (p) -> !p.enabled and !p.isCore).length
')'
Accordion
className: 'plugin-list'
, _.map available, (category, index) =>
Category _.extend {}, @props, @state,
key: "categoryPI:KEY:<KEY>END_PI-#{category.name}"
eventKey: String index
category: category.name
plugins: category.plugins
allPlugins: @state.plugins
togglePlugin: @togglePlugin
DOM.h3 null, 'Recommended Plugins'
if @state.showRecommendations
if @state.recommendations == 'loading'
DOM.div null, 'loading'
else if @state.recommendations == 'error'
DOM.div null, 'error'
else if @state.recommendations instanceof Array
if @state.recommendations.length == 0
DOM.div null, 'no recommendations at this time'
else
Accordion
className: 'plugin-list'
, _.map @state.recommendations, (category, index) =>
Category _.extend {}, @props, @state,
key: "category-#{category.name}"
eventKey: String index
category: category.name
plugins: category.plugins
allPlugins: @state.plugins
togglePlugin: @togglePlugin
else
DOM.a
href: '#'
onClick: @getRecommendations
className: 'btn btn-default'
, 'find recommended plugins'
DOM.div
style:
clear: 'both'
|
[
{
"context": "Tells you about hubot-puppet-utils\n#\n# Author:\n# gene@technicalissues.us\n\nmodule.exports = (robot) ->\n robot.respond /pup",
"end": 240,
"score": 0.9999167919158936,
"start": 217,
"tag": "EMAIL",
"value": "gene@technicalissues.us"
}
] | src/hubot-puppet-utils.coffee | genebean/hubot-puppet-utils | 0 | # Description
# Hubot scripts for interacting with your Puppet infrastructure
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot puppet utils - Tells you about hubot-puppet-utils
#
# Author:
# gene@technicalissues.us
module.exports = (robot) ->
robot.respond /puppet utils/, (res) ->
res.reply "hubot-puppet-utils lets you interact with r10k and PuppetDB."
res.reply "The PuppetDB script is desinged to help you easily query for information about your environment such as when a node last reported, which nodes use a particular resource, or simply a count of how many nodes use a particular resource."
res.reply "The r10k script is designed to let you see what all r10k manages and to let you trigger deployment of a module, an entire environment, or everything."
| 213360 | # Description
# Hubot scripts for interacting with your Puppet infrastructure
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot puppet utils - Tells you about hubot-puppet-utils
#
# Author:
# <EMAIL>
module.exports = (robot) ->
robot.respond /puppet utils/, (res) ->
res.reply "hubot-puppet-utils lets you interact with r10k and PuppetDB."
res.reply "The PuppetDB script is desinged to help you easily query for information about your environment such as when a node last reported, which nodes use a particular resource, or simply a count of how many nodes use a particular resource."
res.reply "The r10k script is designed to let you see what all r10k manages and to let you trigger deployment of a module, an entire environment, or everything."
| true | # Description
# Hubot scripts for interacting with your Puppet infrastructure
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot puppet utils - Tells you about hubot-puppet-utils
#
# Author:
# PI:EMAIL:<EMAIL>END_PI
module.exports = (robot) ->
robot.respond /puppet utils/, (res) ->
res.reply "hubot-puppet-utils lets you interact with r10k and PuppetDB."
res.reply "The PuppetDB script is desinged to help you easily query for information about your environment such as when a node last reported, which nodes use a particular resource, or simply a count of how many nodes use a particular resource."
res.reply "The r10k script is designed to let you see what all r10k manages and to let you trigger deployment of a module, an entire environment, or everything."
|
[
{
"context": "'name': 'Test Ruby'\n'scopeName': 'test.rb'\n'firstLineMatch': '^",
"end": 13,
"score": 0.8422375917434692,
"start": 9,
"tag": "NAME",
"value": "Test"
}
] | spec/fixtures/packages/package-with-rb-filetype/grammars/rb.cson | ukm/atom | 3 | 'name': 'Test Ruby'
'scopeName': 'test.rb'
'firstLineMatch': '^\\#!.*(?:\\s|\\/)(?:testruby)(?:$|\\s)'
'fileTypes': [
'rb'
]
'patterns': [
{
'match': 'ruby'
'name': 'meta.class.ruby'
}
]
| 77455 | 'name': '<NAME> Ruby'
'scopeName': 'test.rb'
'firstLineMatch': '^\\#!.*(?:\\s|\\/)(?:testruby)(?:$|\\s)'
'fileTypes': [
'rb'
]
'patterns': [
{
'match': 'ruby'
'name': 'meta.class.ruby'
}
]
| true | 'name': 'PI:NAME:<NAME>END_PI Ruby'
'scopeName': 'test.rb'
'firstLineMatch': '^\\#!.*(?:\\s|\\/)(?:testruby)(?:$|\\s)'
'fileTypes': [
'rb'
]
'patterns': [
{
'match': 'ruby'
'name': 'meta.class.ruby'
}
]
|
[
{
"context": "\n\n\t\t# I learned this from:\n\t\t# https://github.com/dfcreative/photoshopr/blob/master/include/debug.jsxinc\n\t\t#\n\t",
"end": 2735,
"score": 0.9994189143180847,
"start": 2725,
"tag": "USERNAME",
"value": "dfcreative"
},
{
"context": "blob/master/include/debug.jsxi... | src/tools/console.coffee | AriaMinaei/photoshopjs-core | 11 | hasProp = {}.hasOwnProperty
module.exports = console =
inspectLimit: 500
actionListLimit: 5
depthLimit: 6
native: no
_useAlert: no
useAlert: ->
self._useAlert = yes
self
useLog: ->
self._useAlert = no
self
_inspectSingle: (given, persist = {}) ->
persist.limit ?= console.inspectLimit
persist.covered ?= []
persist.depthLimit ?= console.depthLimit
persist.curDepth ?= 0
r = ''
if given is null
return 'null'
if typeof given in ['object', 'function']
return @_inspectIterable given, persist
else if given is undefined
return 'undefined'
else if typeof given is 'string'
if given.length > 200
given = given.substr 0, 200
return '"' + given + '"'
else if typeof given in ['boolean', 'number']
return String given
else
r = given
unless type
type = typeof given
type + ' -> ' + r
_inspectIterable: (given, persist) ->
if given in persist.covered then return '[Recursive]' else persist.covered.push given
persist.curDepth++
if persist.curDepth > 2 and given is $.global
persist.curDepth--
return '[$.global]'
if persist.curDepth > persist.depthLimit
persist.curDepth--
return '[...]'
items = []
iterator = (v, k, addCursor = yes) ->
persist.limit--
return if persist.limit <= 0
k = k + " -> " if addCursor
items.push k + console._inspectSingle(v, persist)
iterator.addLine = (stuff) ->
items.push stuff
if given instanceof Array
type = 'array'
@_iterateArray given, iterator
else
if typeof given is 'function'
type = '#Function'
else
type = '#Object'
try
if given.constructor?.name?
name = given.constructor.name
if name isnt 'Object'
type = '#' + name
if isPhotoshopThingy given
@_iteratePhotoshopThingy given, iterator
else
@_iterateObject given, iterator
r = prependToEachLine ("\n" + items.join(", \n")), ' '
persist.curDepth--
type + ' -> ' + r
_iterateArray: (given, iterator) ->
iterator(v, i) for v, i in given
return
_iterateObject: (given, iterator) ->
for k of given
continue if k in ['prototype', 'parent']
try
continue unless hasProp.call(given, k)
catch
continue
try
v = given[k]
iterator(v, k)
return
_iteratePhotoshopThingy: (given, iterator) ->
if given.constructor is ActionDescriptor
@_iterateActionDescriptor given, iterator
else if given.constructor is ActionList
@_iterateActionList given, iterator
else if given.constructor is ActionReference
@_iterateActionReference given, iterator
_iterateActionDescriptor: (d, iterator) ->
# I learned this from:
# https://github.com/dfcreative/photoshopr/blob/master/include/debug.jsxinc
#
# Thanks to @dfcreative
for i in [0...d.count]
id = d.getKey i
keyName = t2s id
type = d.getType id
if type is DescValueType.INTEGERTYPE
iterator d.getInteger(id), "#{keyName}(int)"
else if type is DescValueType.STRINGTYPE
iterator d.getString(id), "#{keyName}(string)"
else if type is DescValueType.DOUBLETYPE
iterator d.getDouble(id), "#{keyName}(double)"
else if type is DescValueType.BOOLEANTYPE
iterator d.getBoolean(id), "#{keyName}(bool)"
else if type is DescValueType.UNITDOUBLE
# not tested
iterator d.getUnitDoubleValue(id), "#{keyName}(unitDouble, #{t2s(d.getUnitDoubleType(id))})"
else if type is DescValueType.ENUMERATEDTYPE
iterator t2s(d.getEnumerationValue(id)), "#{keyName}(enum)"
else if type is DescValueType.LISTTYPE
iterator d.getList(id), "#{keyName}(list)"
else if type is DescValueType.OBJECTTYPE
iterator d.getObjectValue(id), "#{keyName}(object)"
else
iterator "unkown", "#{keyName}(object)"
return
_iterateActionList: (l, iterator) ->
for i in [0...l.count]
type = l.getType i
if i is 0
iterator.addLine "type: #{shortenDescValueType(type)}"
if i > console.actionListLimit - 1
iterator.addLine "... total: #{l.count}"
break
if type is DescValueType.INTEGERTYPE
iterator l.getInteger(i), i
else if type is DescValueType.STRINGTYPE
iterator l.getString(i), i
else if type is DescValueType.DOUBLETYPE
iterator l.getDouble(i), i
else if type is DescValueType.BOOLEANTYPE
iterator l.getBoolean(i), i
else if type is DescValueType.UNITDOUBLE
iterator l.getUnitDoubleValue(i), i
else if type is DescValueType.ENUMERATEDTYPE
iterator t2s(l.getEnumerationValue(i)), i
else if type is DescValueType.LISTTYPE
iterator l.getList(i), i
else if type is DescValueType.OBJECTTYPE
iterator l.getObjectValue(i), i
else if type is DescValueType.REFERENCETYPE
iterator l.getReference(i), i
else
iterator "unkown", "#{i}(unkown)"
return
_iterateActionReference: (ref, iterator) ->
form = ref.getForm()
if form is ReferenceFormType.CLASSTYPE
iterator.addLine "[class]"
else if form is ReferenceFormType.ENUMERATED
iterator.addLine "[enum]"
else if form is ReferenceFormType.IDENTIFIER
iterator.addLine "[ident]"
else if form is ReferenceFormType.INDEX
iterator.addLine "[index]"
else if form is ReferenceFormType.NAME
iterator.addLine "[name]"
else if form is ReferenceFormType.OFFSET
iterator.addLine "[offset]"
else if form is ReferenceFormType.PROPERTY
iterator.addLine "[prop]"
else
iterator.addLine "#[Unkown]"
@_iterateActionDescriptor executeActionGet(ref), iterator
_output: (s) ->
if self._useAlert
alert s
else
$.write '\n----------------------\n' + s + '\n'
return
_inspect: (args) ->
r = for v in args
console._inspectSingle v
r.join " "
log: ->
self._output self._inspect arguments
lig: (what, depth = 2, limit = 50) ->
self._output self._inspectSingle what, {depthLimit: depth, limit: limit}
alert: ->
alert self._inspect.apply(self, arguments)
error: (e) ->
if typeof e is 'string'
self._output "Error: " + e
throw e
self._output("Error: " + e.message + "\n"
+ "@" + e.sourceURL + ":" + e.line
)
throw e
warn: (args...) ->
args.unshift 'Warning'
@log.apply @, args
typeOf: (what) ->
if what is null
return 'null'
switch typeof what
when 'string' then return 'String'
when 'number' then return 'Number'
when 'boolean' then return 'Boolean'
when 'undefined' then return 'undefined'
when 'object'
if what instanceof Function
return 'Function'
return '#' + what.constructor.name
else
return typeof what
notice: ->
args.unshift 'Notice'
@log.apply @, args
keys: (obj) ->
unless typeof obj is 'object'
return @console.apply @, arguments
s = ''
for k of obj
try
v = obj[k]
type = @typeOf v
catch
type = '#inaccessible'
s += '\n ' + k + ' -> ' + type
@_output s
return
self = console
prependToEachLine = (str, toPrepend) ->
String(str).split("\n").join("\n" + toPrepend)
s2t = stringIDToTypeID
t2s = typeIDToStringID
isPhotoshopThingy = (thingy) ->
try c = thingy.constructor
return no unless c?
return yes if c in [ActionDescriptor, ActionList, ActionReference]
no
shortenDescValueType = (type) ->
return switch type
when DescValueType.LISTTYPE
"list"
when DescValueType.INTEGERTYPE
"int"
when DescValueType.ENUMERATEDTYPE
"enum"
when DescValueType.STRINGTYPE
"str"
when DescValueType.DOUBLETYPE
"double"
when DescValueType.BOOLEANTYPE
"bool"
when DescValueType.OBJECTTYPE
"obj"
when DescValueType.ALIASTYPE
"alias"
when DescValueType.CLASSTYPE
"class"
when DescValueType.UNITDOUBLE
"unitDouble"
when DescValueType.REFERENCETYPE
"ref"
when DescValueType.RAWTYPE
"raw"
else
t2s(type) | 124256 | hasProp = {}.hasOwnProperty
module.exports = console =
inspectLimit: 500
actionListLimit: 5
depthLimit: 6
native: no
_useAlert: no
useAlert: ->
self._useAlert = yes
self
useLog: ->
self._useAlert = no
self
_inspectSingle: (given, persist = {}) ->
persist.limit ?= console.inspectLimit
persist.covered ?= []
persist.depthLimit ?= console.depthLimit
persist.curDepth ?= 0
r = ''
if given is null
return 'null'
if typeof given in ['object', 'function']
return @_inspectIterable given, persist
else if given is undefined
return 'undefined'
else if typeof given is 'string'
if given.length > 200
given = given.substr 0, 200
return '"' + given + '"'
else if typeof given in ['boolean', 'number']
return String given
else
r = given
unless type
type = typeof given
type + ' -> ' + r
_inspectIterable: (given, persist) ->
if given in persist.covered then return '[Recursive]' else persist.covered.push given
persist.curDepth++
if persist.curDepth > 2 and given is $.global
persist.curDepth--
return '[$.global]'
if persist.curDepth > persist.depthLimit
persist.curDepth--
return '[...]'
items = []
iterator = (v, k, addCursor = yes) ->
persist.limit--
return if persist.limit <= 0
k = k + " -> " if addCursor
items.push k + console._inspectSingle(v, persist)
iterator.addLine = (stuff) ->
items.push stuff
if given instanceof Array
type = 'array'
@_iterateArray given, iterator
else
if typeof given is 'function'
type = '#Function'
else
type = '#Object'
try
if given.constructor?.name?
name = given.constructor.name
if name isnt 'Object'
type = '#' + name
if isPhotoshopThingy given
@_iteratePhotoshopThingy given, iterator
else
@_iterateObject given, iterator
r = prependToEachLine ("\n" + items.join(", \n")), ' '
persist.curDepth--
type + ' -> ' + r
_iterateArray: (given, iterator) ->
iterator(v, i) for v, i in given
return
_iterateObject: (given, iterator) ->
for k of given
continue if k in ['prototype', 'parent']
try
continue unless hasProp.call(given, k)
catch
continue
try
v = given[k]
iterator(v, k)
return
_iteratePhotoshopThingy: (given, iterator) ->
if given.constructor is ActionDescriptor
@_iterateActionDescriptor given, iterator
else if given.constructor is ActionList
@_iterateActionList given, iterator
else if given.constructor is ActionReference
@_iterateActionReference given, iterator
_iterateActionDescriptor: (d, iterator) ->
# I learned this from:
# https://github.com/dfcreative/photoshopr/blob/master/include/debug.jsxinc
#
# Thanks to @dfcreative
for i in [0...d.count]
id = d.getKey i
keyName = <KEY>
type = d.getType id
if type is DescValueType.INTEGERTYPE
iterator d.getInteger(id), "#{keyName}(int)"
else if type is DescValueType.STRINGTYPE
iterator d.getString(id), "#{keyName}(string)"
else if type is DescValueType.DOUBLETYPE
iterator d.getDouble(id), "#{keyName}(double)"
else if type is DescValueType.BOOLEANTYPE
iterator d.getBoolean(id), "#{keyName}(bool)"
else if type is DescValueType.UNITDOUBLE
# not tested
iterator d.getUnitDoubleValue(id), "#{keyName}(unitDouble, #{t2s(d.getUnitDoubleType(id))})"
else if type is DescValueType.ENUMERATEDTYPE
iterator t2s(d.getEnumerationValue(id)), "#{keyName}(enum)"
else if type is DescValueType.LISTTYPE
iterator d.getList(id), "#{keyName}(list)"
else if type is DescValueType.OBJECTTYPE
iterator d.getObjectValue(id), "#{keyName}(object)"
else
iterator "unkown", "#{keyName}(object)"
return
_iterateActionList: (l, iterator) ->
for i in [0...l.count]
type = l.getType i
if i is 0
iterator.addLine "type: #{shortenDescValueType(type)}"
if i > console.actionListLimit - 1
iterator.addLine "... total: #{l.count}"
break
if type is DescValueType.INTEGERTYPE
iterator l.getInteger(i), i
else if type is DescValueType.STRINGTYPE
iterator l.getString(i), i
else if type is DescValueType.DOUBLETYPE
iterator l.getDouble(i), i
else if type is DescValueType.BOOLEANTYPE
iterator l.getBoolean(i), i
else if type is DescValueType.UNITDOUBLE
iterator l.getUnitDoubleValue(i), i
else if type is DescValueType.ENUMERATEDTYPE
iterator t2s(l.getEnumerationValue(i)), i
else if type is DescValueType.LISTTYPE
iterator l.getList(i), i
else if type is DescValueType.OBJECTTYPE
iterator l.getObjectValue(i), i
else if type is DescValueType.REFERENCETYPE
iterator l.getReference(i), i
else
iterator "unkown", "#{i}(unkown)"
return
_iterateActionReference: (ref, iterator) ->
form = ref.getForm()
if form is ReferenceFormType.CLASSTYPE
iterator.addLine "[class]"
else if form is ReferenceFormType.ENUMERATED
iterator.addLine "[enum]"
else if form is ReferenceFormType.IDENTIFIER
iterator.addLine "[ident]"
else if form is ReferenceFormType.INDEX
iterator.addLine "[index]"
else if form is ReferenceFormType.NAME
iterator.addLine "[name]"
else if form is ReferenceFormType.OFFSET
iterator.addLine "[offset]"
else if form is ReferenceFormType.PROPERTY
iterator.addLine "[prop]"
else
iterator.addLine "#[Unkown]"
@_iterateActionDescriptor executeActionGet(ref), iterator
_output: (s) ->
if self._useAlert
alert s
else
$.write '\n----------------------\n' + s + '\n'
return
_inspect: (args) ->
r = for v in args
console._inspectSingle v
r.join " "
log: ->
self._output self._inspect arguments
lig: (what, depth = 2, limit = 50) ->
self._output self._inspectSingle what, {depthLimit: depth, limit: limit}
alert: ->
alert self._inspect.apply(self, arguments)
error: (e) ->
if typeof e is 'string'
self._output "Error: " + e
throw e
self._output("Error: " + e.message + "\n"
+ "@" + e.sourceURL + ":" + e.line
)
throw e
warn: (args...) ->
args.unshift 'Warning'
@log.apply @, args
typeOf: (what) ->
if what is null
return 'null'
switch typeof what
when 'string' then return 'String'
when 'number' then return 'Number'
when 'boolean' then return 'Boolean'
when 'undefined' then return 'undefined'
when 'object'
if what instanceof Function
return 'Function'
return '#' + what.constructor.name
else
return typeof what
notice: ->
args.unshift 'Notice'
@log.apply @, args
keys: (obj) ->
unless typeof obj is 'object'
return @console.apply @, arguments
s = ''
for k of obj
try
v = obj[k]
type = @typeOf v
catch
type = '#inaccessible'
s += '\n ' + k + ' -> ' + type
@_output s
return
self = console
prependToEachLine = (str, toPrepend) ->
String(str).split("\n").join("\n" + toPrepend)
s2t = stringIDToTypeID
t2s = typeIDToStringID
isPhotoshopThingy = (thingy) ->
try c = thingy.constructor
return no unless c?
return yes if c in [ActionDescriptor, ActionList, ActionReference]
no
shortenDescValueType = (type) ->
return switch type
when DescValueType.LISTTYPE
"list"
when DescValueType.INTEGERTYPE
"int"
when DescValueType.ENUMERATEDTYPE
"enum"
when DescValueType.STRINGTYPE
"str"
when DescValueType.DOUBLETYPE
"double"
when DescValueType.BOOLEANTYPE
"bool"
when DescValueType.OBJECTTYPE
"obj"
when DescValueType.ALIASTYPE
"alias"
when DescValueType.CLASSTYPE
"class"
when DescValueType.UNITDOUBLE
"unitDouble"
when DescValueType.REFERENCETYPE
"ref"
when DescValueType.RAWTYPE
"raw"
else
t2s(type) | true | hasProp = {}.hasOwnProperty
module.exports = console =
inspectLimit: 500
actionListLimit: 5
depthLimit: 6
native: no
_useAlert: no
useAlert: ->
self._useAlert = yes
self
useLog: ->
self._useAlert = no
self
_inspectSingle: (given, persist = {}) ->
persist.limit ?= console.inspectLimit
persist.covered ?= []
persist.depthLimit ?= console.depthLimit
persist.curDepth ?= 0
r = ''
if given is null
return 'null'
if typeof given in ['object', 'function']
return @_inspectIterable given, persist
else if given is undefined
return 'undefined'
else if typeof given is 'string'
if given.length > 200
given = given.substr 0, 200
return '"' + given + '"'
else if typeof given in ['boolean', 'number']
return String given
else
r = given
unless type
type = typeof given
type + ' -> ' + r
_inspectIterable: (given, persist) ->
if given in persist.covered then return '[Recursive]' else persist.covered.push given
persist.curDepth++
if persist.curDepth > 2 and given is $.global
persist.curDepth--
return '[$.global]'
if persist.curDepth > persist.depthLimit
persist.curDepth--
return '[...]'
items = []
iterator = (v, k, addCursor = yes) ->
persist.limit--
return if persist.limit <= 0
k = k + " -> " if addCursor
items.push k + console._inspectSingle(v, persist)
iterator.addLine = (stuff) ->
items.push stuff
if given instanceof Array
type = 'array'
@_iterateArray given, iterator
else
if typeof given is 'function'
type = '#Function'
else
type = '#Object'
try
if given.constructor?.name?
name = given.constructor.name
if name isnt 'Object'
type = '#' + name
if isPhotoshopThingy given
@_iteratePhotoshopThingy given, iterator
else
@_iterateObject given, iterator
r = prependToEachLine ("\n" + items.join(", \n")), ' '
persist.curDepth--
type + ' -> ' + r
_iterateArray: (given, iterator) ->
iterator(v, i) for v, i in given
return
_iterateObject: (given, iterator) ->
for k of given
continue if k in ['prototype', 'parent']
try
continue unless hasProp.call(given, k)
catch
continue
try
v = given[k]
iterator(v, k)
return
_iteratePhotoshopThingy: (given, iterator) ->
if given.constructor is ActionDescriptor
@_iterateActionDescriptor given, iterator
else if given.constructor is ActionList
@_iterateActionList given, iterator
else if given.constructor is ActionReference
@_iterateActionReference given, iterator
_iterateActionDescriptor: (d, iterator) ->
# I learned this from:
# https://github.com/dfcreative/photoshopr/blob/master/include/debug.jsxinc
#
# Thanks to @dfcreative
for i in [0...d.count]
id = d.getKey i
keyName = PI:KEY:<KEY>END_PI
type = d.getType id
if type is DescValueType.INTEGERTYPE
iterator d.getInteger(id), "#{keyName}(int)"
else if type is DescValueType.STRINGTYPE
iterator d.getString(id), "#{keyName}(string)"
else if type is DescValueType.DOUBLETYPE
iterator d.getDouble(id), "#{keyName}(double)"
else if type is DescValueType.BOOLEANTYPE
iterator d.getBoolean(id), "#{keyName}(bool)"
else if type is DescValueType.UNITDOUBLE
# not tested
iterator d.getUnitDoubleValue(id), "#{keyName}(unitDouble, #{t2s(d.getUnitDoubleType(id))})"
else if type is DescValueType.ENUMERATEDTYPE
iterator t2s(d.getEnumerationValue(id)), "#{keyName}(enum)"
else if type is DescValueType.LISTTYPE
iterator d.getList(id), "#{keyName}(list)"
else if type is DescValueType.OBJECTTYPE
iterator d.getObjectValue(id), "#{keyName}(object)"
else
iterator "unkown", "#{keyName}(object)"
return
_iterateActionList: (l, iterator) ->
for i in [0...l.count]
type = l.getType i
if i is 0
iterator.addLine "type: #{shortenDescValueType(type)}"
if i > console.actionListLimit - 1
iterator.addLine "... total: #{l.count}"
break
if type is DescValueType.INTEGERTYPE
iterator l.getInteger(i), i
else if type is DescValueType.STRINGTYPE
iterator l.getString(i), i
else if type is DescValueType.DOUBLETYPE
iterator l.getDouble(i), i
else if type is DescValueType.BOOLEANTYPE
iterator l.getBoolean(i), i
else if type is DescValueType.UNITDOUBLE
iterator l.getUnitDoubleValue(i), i
else if type is DescValueType.ENUMERATEDTYPE
iterator t2s(l.getEnumerationValue(i)), i
else if type is DescValueType.LISTTYPE
iterator l.getList(i), i
else if type is DescValueType.OBJECTTYPE
iterator l.getObjectValue(i), i
else if type is DescValueType.REFERENCETYPE
iterator l.getReference(i), i
else
iterator "unkown", "#{i}(unkown)"
return
_iterateActionReference: (ref, iterator) ->
form = ref.getForm()
if form is ReferenceFormType.CLASSTYPE
iterator.addLine "[class]"
else if form is ReferenceFormType.ENUMERATED
iterator.addLine "[enum]"
else if form is ReferenceFormType.IDENTIFIER
iterator.addLine "[ident]"
else if form is ReferenceFormType.INDEX
iterator.addLine "[index]"
else if form is ReferenceFormType.NAME
iterator.addLine "[name]"
else if form is ReferenceFormType.OFFSET
iterator.addLine "[offset]"
else if form is ReferenceFormType.PROPERTY
iterator.addLine "[prop]"
else
iterator.addLine "#[Unkown]"
@_iterateActionDescriptor executeActionGet(ref), iterator
_output: (s) ->
if self._useAlert
alert s
else
$.write '\n----------------------\n' + s + '\n'
return
_inspect: (args) ->
r = for v in args
console._inspectSingle v
r.join " "
log: ->
self._output self._inspect arguments
lig: (what, depth = 2, limit = 50) ->
self._output self._inspectSingle what, {depthLimit: depth, limit: limit}
alert: ->
alert self._inspect.apply(self, arguments)
error: (e) ->
if typeof e is 'string'
self._output "Error: " + e
throw e
self._output("Error: " + e.message + "\n"
+ "@" + e.sourceURL + ":" + e.line
)
throw e
warn: (args...) ->
args.unshift 'Warning'
@log.apply @, args
typeOf: (what) ->
if what is null
return 'null'
switch typeof what
when 'string' then return 'String'
when 'number' then return 'Number'
when 'boolean' then return 'Boolean'
when 'undefined' then return 'undefined'
when 'object'
if what instanceof Function
return 'Function'
return '#' + what.constructor.name
else
return typeof what
notice: ->
args.unshift 'Notice'
@log.apply @, args
keys: (obj) ->
unless typeof obj is 'object'
return @console.apply @, arguments
s = ''
for k of obj
try
v = obj[k]
type = @typeOf v
catch
type = '#inaccessible'
s += '\n ' + k + ' -> ' + type
@_output s
return
self = console
prependToEachLine = (str, toPrepend) ->
String(str).split("\n").join("\n" + toPrepend)
s2t = stringIDToTypeID
t2s = typeIDToStringID
isPhotoshopThingy = (thingy) ->
try c = thingy.constructor
return no unless c?
return yes if c in [ActionDescriptor, ActionList, ActionReference]
no
shortenDescValueType = (type) ->
return switch type
when DescValueType.LISTTYPE
"list"
when DescValueType.INTEGERTYPE
"int"
when DescValueType.ENUMERATEDTYPE
"enum"
when DescValueType.STRINGTYPE
"str"
when DescValueType.DOUBLETYPE
"double"
when DescValueType.BOOLEANTYPE
"bool"
when DescValueType.OBJECTTYPE
"obj"
when DescValueType.ALIASTYPE
"alias"
when DescValueType.CLASSTYPE
"class"
when DescValueType.UNITDOUBLE
"unitDouble"
when DescValueType.REFERENCETYPE
"ref"
when DescValueType.RAWTYPE
"raw"
else
t2s(type) |
[
{
"context": "xists\n# # => true\n#\n# file = new File('/Users/donovan/Desktop/File.coffee')\n# while file\n# lo",
"end": 500,
"score": 0.7370114922523499,
"start": 497,
"tag": "USERNAME",
"value": "don"
},
{
"context": "ts\n# # => true\n#\n# file = new File('/Users/don... | application/chrome/content/wesabe/io/phantom/File.coffee | wesabe/ssu | 28 | fs = require 'fs'
Dir = null
dirAtPath = (path) ->
Dir ||= require 'io/phantom/Dir'
new Dir path
# Public: Provides functions for reading and writing files.
#
# Examples
#
# File.read 'us-declaration-of-independence.txt'
# # => "When in the Course of human events it becomes necessary for one ..."
#
# file = new File '/idontexistyet'
# # => { File path: '/idontexistyet' }
# file.exists
# # => false
# file.create()
# file.exists
# # => true
#
# file = new File('/Users/donovan/Desktop/File.coffee')
# while file
# logger.debug file.basename
# file = file.parent
# # DEBUG File.coffee
# # DEBUG Desktop
# # DEBUG donovan
# # DEBUG Users
# # DEBUG
class File
constructor: (@path) ->
# Public: Tests for file existence.
#
# Examples
#
# new File('/').exists
# # => true
#
# new File('/idonotexist').exists
# # => false
#
# Returns a Boolean indicating whether this file exists.
@::__defineGetter__ 'exists', ->
fs.exists @path
# Public: Gets a new File by appending a path component to this File's path.
#
# pathComponent - A String representing a path component to add.
#
# Examples
#
# tmp = Dir.tmp
# # => { Dir path: '/tmp' }
# tmp.child 'test'
# # => { Dir path: '/tmp/test' }
#
# Returns a File representing a descendant of this File.
child: (pathComponent) ->
newPath = @path
newPath += '/' unless newPath.substring(newPath.length-1) is '/'
newPath += pathComponent
new @constructor newPath
# Public: Gets the number of bytes contained in this file.
#
# Returns a Number of bytes.
@::__defineGetter__ 'size', ->
fs.size(@path)
# Public: Gets the time at which this File was last modified.
#
# NOTE: PhantomJS's fs module does not yet expose mtime, so until it does
# this will return undefined.
#
# Returns a Date representing this File's last modified timestamp.
@::__defineGetter__ 'lastModifiedTime', ->
undefined
# Public: Gets the basename for this File.
#
# Examples
#
# new File("/tmp/test.txt").basename
# # => 'test.txt'
#
# Returns a String representing this File's basename.
@::__defineGetter__ 'basename', ->
@constructor.basename @path
# Public: Gets the basename for the given filePath.
#
# filePath - A String representing a full file path.
#
# Examples
#
# File.basename("/tmp/test.txt")
# # => 'test.txt'
#
# Returns a String representing filePath's basename.
@basename: (filePath) ->
path.basename filePath
# Public: Gets a Dir representing the same path as this File. This is useful
# for converting a File into a Dir.
#
# Returns a Dir instance.
@::__defineGetter__ 'asDir', ->
dirAtPath @path
# Public: Gets a File representing the same path as this File. This is useful
# for converting a Dir into a File.
#
# Returns a File instance.
@::__defineGetter__ 'asFile', ->
new File @path
# Public: Gets the parent Dir for this File.
#
# Returns a Dir representing this File's parent or null if it has no parent.
@::__defineGetter__ 'parent', ->
dirAtPath(@path.slice(0, @path.length - @basename.length))
# Public: Reads the entire contents of the file, starting at the beginning.
#
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns a String with the file's contents.
read: ->
fs.read @path
# Public: Reads the entire contents of the file, starting at the beginning.
#
# file - Either a File or a String representing a file path.
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns a String with the file's contents.
@read: (file) ->
file = new @ file if type.isString file
file.read()
# Public: Writes data with an optional type of encoding.
#
# data - A String containing the data to write to the file.
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns nothing.
write: (data) ->
fs.write @path, data, 'w'
# Public: Writes data with an optional type of encoding.
#
# file - Either a File or a String representing a file path.
# data - A String containing the data to write to the file.
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns nothing.
@write: (file, data) ->
file = new @ file if type.isString file
file.write data
# Public: Create the File at the path.
#
# Returns a Boolean indicating whether the creation succeeded.
create: ->
fs.touch @path unless fs.exists @path
return true
# Public: Removes this File from the file system.
#
# Returns a Boolean indicating whether the unlink succeeded.
unlink: ->
fs.remove @path
# Public: Checks for file vs. directory type.
#
# Returns a Boolean indicating whether this File is actually a directory.
@::__defineGetter__ 'isDirectory', ->
fs.isDirectory @path
# Public: Gets a String representation.
#
# Returns a String of the path of this File.
toString: ->
@path
# Internal: Gets the contents to show when inspecting this File.
#
# Returns an Object to use in place of this File's actual contents.
contentForInspect: ->
{@path}
module.exports = File
| 64477 | fs = require 'fs'
Dir = null
dirAtPath = (path) ->
Dir ||= require 'io/phantom/Dir'
new Dir path
# Public: Provides functions for reading and writing files.
#
# Examples
#
# File.read 'us-declaration-of-independence.txt'
# # => "When in the Course of human events it becomes necessary for one ..."
#
# file = new File '/idontexistyet'
# # => { File path: '/idontexistyet' }
# file.exists
# # => false
# file.create()
# file.exists
# # => true
#
# file = new File('/Users/don<NAME>/Desktop/File.coffee')
# while file
# logger.debug file.basename
# file = file.parent
# # DEBUG File.coffee
# # DEBUG Desktop
# # DEBUG <NAME>
# # DEBUG Users
# # DEBUG
class File
constructor: (@path) ->
# Public: Tests for file existence.
#
# Examples
#
# new File('/').exists
# # => true
#
# new File('/idonotexist').exists
# # => false
#
# Returns a Boolean indicating whether this file exists.
@::__defineGetter__ 'exists', ->
fs.exists @path
# Public: Gets a new File by appending a path component to this File's path.
#
# pathComponent - A String representing a path component to add.
#
# Examples
#
# tmp = Dir.tmp
# # => { Dir path: '/tmp' }
# tmp.child 'test'
# # => { Dir path: '/tmp/test' }
#
# Returns a File representing a descendant of this File.
child: (pathComponent) ->
newPath = @path
newPath += '/' unless newPath.substring(newPath.length-1) is '/'
newPath += pathComponent
new @constructor newPath
# Public: Gets the number of bytes contained in this file.
#
# Returns a Number of bytes.
@::__defineGetter__ 'size', ->
fs.size(@path)
# Public: Gets the time at which this File was last modified.
#
# NOTE: PhantomJS's fs module does not yet expose mtime, so until it does
# this will return undefined.
#
# Returns a Date representing this File's last modified timestamp.
@::__defineGetter__ 'lastModifiedTime', ->
undefined
# Public: Gets the basename for this File.
#
# Examples
#
# new File("/tmp/test.txt").basename
# # => 'test.txt'
#
# Returns a String representing this File's basename.
@::__defineGetter__ 'basename', ->
@constructor.basename @path
# Public: Gets the basename for the given filePath.
#
# filePath - A String representing a full file path.
#
# Examples
#
# File.basename("/tmp/test.txt")
# # => 'test.txt'
#
# Returns a String representing filePath's basename.
@basename: (filePath) ->
path.basename filePath
# Public: Gets a Dir representing the same path as this File. This is useful
# for converting a File into a Dir.
#
# Returns a Dir instance.
@::__defineGetter__ 'asDir', ->
dirAtPath @path
# Public: Gets a File representing the same path as this File. This is useful
# for converting a Dir into a File.
#
# Returns a File instance.
@::__defineGetter__ 'asFile', ->
new File @path
# Public: Gets the parent Dir for this File.
#
# Returns a Dir representing this File's parent or null if it has no parent.
@::__defineGetter__ 'parent', ->
dirAtPath(@path.slice(0, @path.length - @basename.length))
# Public: Reads the entire contents of the file, starting at the beginning.
#
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns a String with the file's contents.
read: ->
fs.read @path
# Public: Reads the entire contents of the file, starting at the beginning.
#
# file - Either a File or a String representing a file path.
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns a String with the file's contents.
@read: (file) ->
file = new @ file if type.isString file
file.read()
# Public: Writes data with an optional type of encoding.
#
# data - A String containing the data to write to the file.
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns nothing.
write: (data) ->
fs.write @path, data, 'w'
# Public: Writes data with an optional type of encoding.
#
# file - Either a File or a String representing a file path.
# data - A String containing the data to write to the file.
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns nothing.
@write: (file, data) ->
file = new @ file if type.isString file
file.write data
# Public: Create the File at the path.
#
# Returns a Boolean indicating whether the creation succeeded.
create: ->
fs.touch @path unless fs.exists @path
return true
# Public: Removes this File from the file system.
#
# Returns a Boolean indicating whether the unlink succeeded.
unlink: ->
fs.remove @path
# Public: Checks for file vs. directory type.
#
# Returns a Boolean indicating whether this File is actually a directory.
@::__defineGetter__ 'isDirectory', ->
fs.isDirectory @path
# Public: Gets a String representation.
#
# Returns a String of the path of this File.
toString: ->
@path
# Internal: Gets the contents to show when inspecting this File.
#
# Returns an Object to use in place of this File's actual contents.
contentForInspect: ->
{@path}
module.exports = File
| true | fs = require 'fs'
Dir = null
dirAtPath = (path) ->
Dir ||= require 'io/phantom/Dir'
new Dir path
# Public: Provides functions for reading and writing files.
#
# Examples
#
# File.read 'us-declaration-of-independence.txt'
# # => "When in the Course of human events it becomes necessary for one ..."
#
# file = new File '/idontexistyet'
# # => { File path: '/idontexistyet' }
# file.exists
# # => false
# file.create()
# file.exists
# # => true
#
# file = new File('/Users/donPI:NAME:<NAME>END_PI/Desktop/File.coffee')
# while file
# logger.debug file.basename
# file = file.parent
# # DEBUG File.coffee
# # DEBUG Desktop
# # DEBUG PI:NAME:<NAME>END_PI
# # DEBUG Users
# # DEBUG
class File
constructor: (@path) ->
# Public: Tests for file existence.
#
# Examples
#
# new File('/').exists
# # => true
#
# new File('/idonotexist').exists
# # => false
#
# Returns a Boolean indicating whether this file exists.
@::__defineGetter__ 'exists', ->
fs.exists @path
# Public: Gets a new File by appending a path component to this File's path.
#
# pathComponent - A String representing a path component to add.
#
# Examples
#
# tmp = Dir.tmp
# # => { Dir path: '/tmp' }
# tmp.child 'test'
# # => { Dir path: '/tmp/test' }
#
# Returns a File representing a descendant of this File.
child: (pathComponent) ->
newPath = @path
newPath += '/' unless newPath.substring(newPath.length-1) is '/'
newPath += pathComponent
new @constructor newPath
# Public: Gets the number of bytes contained in this file.
#
# Returns a Number of bytes.
@::__defineGetter__ 'size', ->
fs.size(@path)
# Public: Gets the time at which this File was last modified.
#
# NOTE: PhantomJS's fs module does not yet expose mtime, so until it does
# this will return undefined.
#
# Returns a Date representing this File's last modified timestamp.
@::__defineGetter__ 'lastModifiedTime', ->
undefined
# Public: Gets the basename for this File.
#
# Examples
#
# new File("/tmp/test.txt").basename
# # => 'test.txt'
#
# Returns a String representing this File's basename.
@::__defineGetter__ 'basename', ->
@constructor.basename @path
# Public: Gets the basename for the given filePath.
#
# filePath - A String representing a full file path.
#
# Examples
#
# File.basename("/tmp/test.txt")
# # => 'test.txt'
#
# Returns a String representing filePath's basename.
@basename: (filePath) ->
path.basename filePath
# Public: Gets a Dir representing the same path as this File. This is useful
# for converting a File into a Dir.
#
# Returns a Dir instance.
@::__defineGetter__ 'asDir', ->
dirAtPath @path
# Public: Gets a File representing the same path as this File. This is useful
# for converting a Dir into a File.
#
# Returns a File instance.
@::__defineGetter__ 'asFile', ->
new File @path
# Public: Gets the parent Dir for this File.
#
# Returns a Dir representing this File's parent or null if it has no parent.
@::__defineGetter__ 'parent', ->
dirAtPath(@path.slice(0, @path.length - @basename.length))
# Public: Reads the entire contents of the file, starting at the beginning.
#
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns a String with the file's contents.
read: ->
fs.read @path
# Public: Reads the entire contents of the file, starting at the beginning.
#
# file - Either a File or a String representing a file path.
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns a String with the file's contents.
@read: (file) ->
file = new @ file if type.isString file
file.read()
# Public: Writes data with an optional type of encoding.
#
# data - A String containing the data to write to the file.
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns nothing.
write: (data) ->
fs.write @path, data, 'w'
# Public: Writes data with an optional type of encoding.
#
# file - Either a File or a String representing a file path.
# data - A String containing the data to write to the file.
# encoding - A string indicating the encoding to use when reading this file.
#
# Returns nothing.
@write: (file, data) ->
file = new @ file if type.isString file
file.write data
# Public: Create the File at the path.
#
# Returns a Boolean indicating whether the creation succeeded.
create: ->
fs.touch @path unless fs.exists @path
return true
# Public: Removes this File from the file system.
#
# Returns a Boolean indicating whether the unlink succeeded.
unlink: ->
fs.remove @path
# Public: Checks for file vs. directory type.
#
# Returns a Boolean indicating whether this File is actually a directory.
@::__defineGetter__ 'isDirectory', ->
fs.isDirectory @path
# Public: Gets a String representation.
#
# Returns a String of the path of this File.
toString: ->
@path
# Internal: Gets the contents to show when inspecting this File.
#
# Returns an Object to use in place of this File's actual contents.
contentForInspect: ->
{@path}
module.exports = File
|
[
{
"context": "\n# Project's main unit test\n#\n# Copyright (C) 2013 Nikolay Nemshilov\n#\n{Test, should} = require('lovely')\n\n\nTest.set \"",
"end": 69,
"score": 0.9998689889907837,
"start": 52,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | E008/table/test/table_test.coffee | lovely-io/lovely.io-show | 1 | #
# Project's main unit test
#
# Copyright (C) 2013 Nikolay Nemshilov
#
{Test, should} = require('lovely')
Test.set "/table.html", """
<html>
<head>
<script src="core.js"></script>
<script src="table.js"></script>
</head>
<body>
<table id="test">
<thead>
<tr>
<th>Name</th>
<th>Awesomeness</th>
</tr>
</thead>
<tbody>
<tr><td>lovely.io</td><td>10</td></tr>
<tr><td>jquery</td><td>9</td></tr>
</tbody>
<tfoot>
<tr><td>Total:</td><td>19</td></tr>
</tfoot>
</table>
</body>
</html>
"""
describe "Table", ->
Table = table = window = document = $ = null
before Test.load "/table.html", (build, win)->
window = win
document = win.document
$ = win.Lovely.module('dom')
Table = build
table = new Table(document.getElementById('test'))
describe 'constructor', ->
it "should build instances Table", ->
t = new Table()
t.should.be.instanceOf Table
it "should build TABLE elements", ->
t = new Table()
t._.tagName.should.eql 'TABLE'
it "should bypass options", ->
t = new Table(id: 'my-table')
t._.id.should.eql 'my-table'
it "should accept raw dom elements", ->
el = document.createElement('table')
t = new Table(el)
t.should.be.instanceOf Table
t._.should.equal el
describe '#header', ->
it "should return the table header rows", ->
header = table.header()
header.should.be.instanceOf $.NodeList
header[0].should.equal $('#test thead tr')[0]
describe '#footer', ->
it "should return the footer rows", ->
footer = table.footer()
footer.should.be.instanceOf $.NodeList
footer[0].should.equal $('#test tfoot tr')[0]
describe '#rows', ->
it "should return the list of rows", ->
rows = table.rows()
rows.should.be.instanceOf $.NodeList
rows[0].should.equal $('#test tbody tr')[0]
rows[1].should.equal $('#test tbody tr')[1]
describe '#sort', ->
it "should sort things by column index", ->
table.sort(0)
table.rows().map('text').join("\n").should.eql """
jquery9
lovely.io10
"""
it "should sort by another columns as well", ->
table.sort(1)
table.rows().map('text').join("\n").should.eql """
jquery9
lovely.io10
"""
it "should allow to sort columns both ways", ->
table.sort(1, 'asc')
table.rows().map('text').join("\n").should.eql """
jquery9
lovely.io10
"""
table.sort(1, 'desc')
table.rows().map('text').join("\n").should.eql """
lovely.io10
jquery9
"""
it "should return the table itself back", ->
table.sort(0).should.equal table
| 225756 | #
# Project's main unit test
#
# Copyright (C) 2013 <NAME>
#
{Test, should} = require('lovely')
Test.set "/table.html", """
<html>
<head>
<script src="core.js"></script>
<script src="table.js"></script>
</head>
<body>
<table id="test">
<thead>
<tr>
<th>Name</th>
<th>Awesomeness</th>
</tr>
</thead>
<tbody>
<tr><td>lovely.io</td><td>10</td></tr>
<tr><td>jquery</td><td>9</td></tr>
</tbody>
<tfoot>
<tr><td>Total:</td><td>19</td></tr>
</tfoot>
</table>
</body>
</html>
"""
describe "Table", ->
Table = table = window = document = $ = null
before Test.load "/table.html", (build, win)->
window = win
document = win.document
$ = win.Lovely.module('dom')
Table = build
table = new Table(document.getElementById('test'))
describe 'constructor', ->
it "should build instances Table", ->
t = new Table()
t.should.be.instanceOf Table
it "should build TABLE elements", ->
t = new Table()
t._.tagName.should.eql 'TABLE'
it "should bypass options", ->
t = new Table(id: 'my-table')
t._.id.should.eql 'my-table'
it "should accept raw dom elements", ->
el = document.createElement('table')
t = new Table(el)
t.should.be.instanceOf Table
t._.should.equal el
describe '#header', ->
it "should return the table header rows", ->
header = table.header()
header.should.be.instanceOf $.NodeList
header[0].should.equal $('#test thead tr')[0]
describe '#footer', ->
it "should return the footer rows", ->
footer = table.footer()
footer.should.be.instanceOf $.NodeList
footer[0].should.equal $('#test tfoot tr')[0]
describe '#rows', ->
it "should return the list of rows", ->
rows = table.rows()
rows.should.be.instanceOf $.NodeList
rows[0].should.equal $('#test tbody tr')[0]
rows[1].should.equal $('#test tbody tr')[1]
describe '#sort', ->
it "should sort things by column index", ->
table.sort(0)
table.rows().map('text').join("\n").should.eql """
jquery9
lovely.io10
"""
it "should sort by another columns as well", ->
table.sort(1)
table.rows().map('text').join("\n").should.eql """
jquery9
lovely.io10
"""
it "should allow to sort columns both ways", ->
table.sort(1, 'asc')
table.rows().map('text').join("\n").should.eql """
jquery9
lovely.io10
"""
table.sort(1, 'desc')
table.rows().map('text').join("\n").should.eql """
lovely.io10
jquery9
"""
it "should return the table itself back", ->
table.sort(0).should.equal table
| true | #
# Project's main unit test
#
# Copyright (C) 2013 PI:NAME:<NAME>END_PI
#
{Test, should} = require('lovely')
Test.set "/table.html", """
<html>
<head>
<script src="core.js"></script>
<script src="table.js"></script>
</head>
<body>
<table id="test">
<thead>
<tr>
<th>Name</th>
<th>Awesomeness</th>
</tr>
</thead>
<tbody>
<tr><td>lovely.io</td><td>10</td></tr>
<tr><td>jquery</td><td>9</td></tr>
</tbody>
<tfoot>
<tr><td>Total:</td><td>19</td></tr>
</tfoot>
</table>
</body>
</html>
"""
describe "Table", ->
Table = table = window = document = $ = null
before Test.load "/table.html", (build, win)->
window = win
document = win.document
$ = win.Lovely.module('dom')
Table = build
table = new Table(document.getElementById('test'))
describe 'constructor', ->
it "should build instances Table", ->
t = new Table()
t.should.be.instanceOf Table
it "should build TABLE elements", ->
t = new Table()
t._.tagName.should.eql 'TABLE'
it "should bypass options", ->
t = new Table(id: 'my-table')
t._.id.should.eql 'my-table'
it "should accept raw dom elements", ->
el = document.createElement('table')
t = new Table(el)
t.should.be.instanceOf Table
t._.should.equal el
describe '#header', ->
it "should return the table header rows", ->
header = table.header()
header.should.be.instanceOf $.NodeList
header[0].should.equal $('#test thead tr')[0]
describe '#footer', ->
it "should return the footer rows", ->
footer = table.footer()
footer.should.be.instanceOf $.NodeList
footer[0].should.equal $('#test tfoot tr')[0]
describe '#rows', ->
it "should return the list of rows", ->
rows = table.rows()
rows.should.be.instanceOf $.NodeList
rows[0].should.equal $('#test tbody tr')[0]
rows[1].should.equal $('#test tbody tr')[1]
describe '#sort', ->
it "should sort things by column index", ->
table.sort(0)
table.rows().map('text').join("\n").should.eql """
jquery9
lovely.io10
"""
it "should sort by another columns as well", ->
table.sort(1)
table.rows().map('text').join("\n").should.eql """
jquery9
lovely.io10
"""
it "should allow to sort columns both ways", ->
table.sort(1, 'asc')
table.rows().map('text').join("\n").should.eql """
jquery9
lovely.io10
"""
table.sort(1, 'desc')
table.rows().map('text').join("\n").should.eql """
lovely.io10
jquery9
"""
it "should return the table itself back", ->
table.sort(0).should.equal table
|
[
{
"context": "ring'}}\n\n # denormalization\n userName: {title: 'Player Name', type: 'string'}\n contactName: {title: 'Contact",
"end": 855,
"score": 0.9984445571899414,
"start": 844,
"tag": "NAME",
"value": "Player Name"
},
{
"context": "er Name', type: 'string'}\n contactName: ... | app/schemas/models/user_remark.coffee | maurovanetti/codecombat | 1 | c = require './../schemas'
UserRemarkSchema = c.object {
title: 'Remark'
description: 'Remarks on a user, point of contact, tasks.'
}
_.extend UserRemarkSchema.properties,
user: c.objectId links: [{rel: 'extra', href: '/db/user/{($)}'}]
contact: c.objectId links: [{rel: 'extra', href: '/db/user/{($)}'}]
created: c.date title: 'Created', readOnly: true
history: c.array {title: 'History', description: 'Records of our interactions with the user.'},
c.object {title: 'Record'}, {date: c.date(title: 'Date'), content: {title: 'Content', type: 'string', format: 'markdown'}}
tasks: c.array {title: 'Tasks', description: 'Task entries: when to email the contact about something.'},
c.object {title: 'Task'}, {date: c.date(title: 'Date'), action: {title: 'Action', type: 'string'}}
# denormalization
userName: {title: 'Player Name', type: 'string'}
contactName: {title: 'Contact Name', type: 'string'} # Not actually our usernames
c.extendBasicProperties UserRemarkSchema, 'user.remark'
module.exports = UserRemarkSchema
| 174344 | c = require './../schemas'
UserRemarkSchema = c.object {
title: 'Remark'
description: 'Remarks on a user, point of contact, tasks.'
}
_.extend UserRemarkSchema.properties,
user: c.objectId links: [{rel: 'extra', href: '/db/user/{($)}'}]
contact: c.objectId links: [{rel: 'extra', href: '/db/user/{($)}'}]
created: c.date title: 'Created', readOnly: true
history: c.array {title: 'History', description: 'Records of our interactions with the user.'},
c.object {title: 'Record'}, {date: c.date(title: 'Date'), content: {title: 'Content', type: 'string', format: 'markdown'}}
tasks: c.array {title: 'Tasks', description: 'Task entries: when to email the contact about something.'},
c.object {title: 'Task'}, {date: c.date(title: 'Date'), action: {title: 'Action', type: 'string'}}
# denormalization
userName: {title: '<NAME>', type: 'string'}
contactName: {title: '<NAME>', type: 'string'} # Not actually our usernames
c.extendBasicProperties UserRemarkSchema, 'user.remark'
module.exports = UserRemarkSchema
| true | c = require './../schemas'
UserRemarkSchema = c.object {
title: 'Remark'
description: 'Remarks on a user, point of contact, tasks.'
}
_.extend UserRemarkSchema.properties,
user: c.objectId links: [{rel: 'extra', href: '/db/user/{($)}'}]
contact: c.objectId links: [{rel: 'extra', href: '/db/user/{($)}'}]
created: c.date title: 'Created', readOnly: true
history: c.array {title: 'History', description: 'Records of our interactions with the user.'},
c.object {title: 'Record'}, {date: c.date(title: 'Date'), content: {title: 'Content', type: 'string', format: 'markdown'}}
tasks: c.array {title: 'Tasks', description: 'Task entries: when to email the contact about something.'},
c.object {title: 'Task'}, {date: c.date(title: 'Date'), action: {title: 'Action', type: 'string'}}
# denormalization
userName: {title: 'PI:NAME:<NAME>END_PI', type: 'string'}
contactName: {title: 'PI:NAME:<NAME>END_PI', type: 'string'} # Not actually our usernames
c.extendBasicProperties UserRemarkSchema, 'user.remark'
module.exports = UserRemarkSchema
|
[
{
"context": " @socket.emit 'ready', {uuid: 'cats', token: 'dogs'}\n @socket.emit 'disconnect'\n\n it 'sh",
"end": 620,
"score": 0.9876482486724854,
"start": 616,
"tag": "PASSWORD",
"value": "dogs"
},
{
"context": "ts'\n expect(config.token).to.deep.equal 'do... | test/lib/Connection-spec.coffee | Christopheraburns/projecttelemetry-npm | 0 | {EventEmitter} = require 'events'
Connection = require '../../lib/Connection'
NodeRSA = require 'node-rsa'
describe 'Connection', ->
describe 'when we pass in a fake socket.io', ->
beforeEach ->
@console = error: sinon.spy()
@sut = new Connection( {}, {
socketIoClient: -> new EventEmitter(),
console: @console
})
it 'should instantiate', ->
expect(@sut).to.exist
describe 'when connect, then ready, then disconnect', ->
beforeEach ->
@socket = @sut.socket
@socket.emit 'connect'
@socket.emit 'ready', {uuid: 'cats', token: 'dogs'}
@socket.emit 'disconnect'
it 'should emit the uuid and token on identify', (done) ->
@socket.on 'identity', (config) ->
expect(config.uuid).to.deep.equal 'cats'
expect(config.token).to.deep.equal 'dogs'
done()
@socket.emit 'identify'
it 'should have a function called "resetToken"', ->
expect(@sut.resetToken).to.exist
describe 'when resetToken is called with a uuid', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@sut.resetToken 'uuid'
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid: 'uuid'
describe 'when resetToken is called with a different uuid', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@sut.resetToken 'uuid2'
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid: 'uuid2'
describe 'when resetToken is called with an object containing a uuid', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@sut.resetToken uuid: 'uuid3'
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid:'uuid3'
describe 'when resetToken is called with a uuid and a callback', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@callback = =>
@sut.resetToken 'uuid4', @callback
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid:'uuid4', @callback
describe 'encryptMessage', ->
beforeEach ->
@sut.getPublicKey = sinon.stub()
describe 'when encryptMessage is called with a device of uuid 1', ->
it 'should call getPublicKey', ->
@sut.encryptMessage 1
expect(@sut.getPublicKey).to.have.been.called
it 'should call getPublicKey with the uuid of the target device 1', ->
@sut.encryptMessage 1
expect(@sut.getPublicKey).to.have.been.calledWith 1
describe 'when getPublicKey returns with a public key', ->
beforeEach ->
@sut.message = sinon.stub()
@publicKey = {encrypt: sinon.stub().returns('54321')}
@sut.getPublicKey.yields null, @publicKey
it 'should call encrypt on the response from getPublicKey', ->
@sut.encryptMessage 1, hello : 'world'
expect(@publicKey.encrypt).to.have.been.calledWith JSON.stringify(hello : 'world')
describe 'when publicKey.encrypt returns with a buffer of "12345"', ->
beforeEach ->
@publicKey.encrypt.returns new Buffer '12345',
it 'should call message with an encrypted payload', ->
@sut.encryptMessage 1, hello : 'world'
expect(@sut.message).to.have.been.calledWith 1, null, encryptedPayload: 'MTIzNDU='
describe 'when getPublicKey returns with an error', ->
beforeEach ->
@sut.getPublicKey.yields true, null
it 'should call console.error and report the error', ->
@sut.encryptMessage 1, { hello : 'world' }
expect(@console.error).to.have.been.calledWith 'can\'t find public key for device'
describe 'when encryptMessage is called with a different uuid', ->
it 'should call getPublicKey with the uuid of the target device', ->
@sut.encryptMessage 2
expect(@sut.getPublicKey).to.have.been.calledWith 2
describe 'when encryptMessage is called with options', ->
beforeEach ->
@uuid = '54063a2f-fcfb-4f97-8438-f8b0b0c635ad'
@callback = =>
@options = payload: 'plain-text'
@publicKey = {encrypt: sinon.stub().returns('54321')}
@sut.getPublicKey.yields null, @publicKey
@sut.message = sinon.stub()
@sut.encryptMessage @uuid, 'encrypt-this', @options, @callback
it 'should call message with the options ', ->
expect(@sut.message).to.have.been.calledWith @uuid, null, {payload: 'plain-text', encryptedPayload: '54321'}, @callback
describe 'getPublicKey', ->
it 'should exist', ->
expect(@sut.getPublicKey).to.exist
describe 'when called', ->
beforeEach () ->
@sut.socket.emit = sinon.stub()
@callback = sinon.spy()
it 'should call device on itself with the uuid of the device we are getting the key for', ->
@sut.getPublicKey 'c9707ff2-b3e7-4363-b164-90f5753dac68', @callback
expect(@sut.socket.emit).to.have.been.calledWith 'getPublicKey', 'c9707ff2-b3e7-4363-b164-90f5753dac68'
describe 'when called with a different uuid', ->
it 'should call device with the different uuid', ->
@sut.getPublicKey '4df5ee81-8f60-437d-8c19-2375df745b70', @callback
expect(@sut.socket.emit).to.have.been.calledWith 'getPublicKey', '4df5ee81-8f60-437d-8c19-2375df745b70'
describe 'when device returns an invalid device', ->
beforeEach ->
@sut.socket.emit.yields new Error('you suck'), null
it 'should call the callback with an error', ->
@sut.getPublicKey 'c9707ff2-b3e7-4363-b164-90f5753dac68', @callback
error = @callback.args[0][0]
expect(error).to.exist
describe 'when device returns a valid device without a public key', ->
beforeEach ->
@sut.socket.emit.yields null, null
it 'should call the callback with an error', ->
@sut.getPublicKey 'c9707ff2-b3e7-4363-b164-90f5753dac68', @callback
error = @callback.args[0][0]
expect(error).to.exist
describe 'when device returns a valid device with a public key', ->
beforeEach ->
@publicKey = '-----BEGIN PUBLIC KEY-----\nMFswDQYJKoZIhvcNAQEBBQADSgAwRwJAX9eHOOux3ycXbc/FVzM+z9OQeouRePWA\nT0QRcsAHeDNy4HwNrME7xxI2LH36g8H3S+zCapYYdCyc1LwSDEAfcQIDAQAB\n-----END PUBLIC KEY-----'
@privateKey = new NodeRSA '-----BEGIN RSA PRIVATE KEY-----\nMIIBOAIBAAJAX9eHOOux3ycXbc/FVzM+z9OQeouRePWAT0QRcsAHeDNy4HwNrME7\nxxI2LH36g8H3S+zCapYYdCyc1LwSDEAfcQIDAQABAkA+59C6PIDvzdGj4rZM6La2\nY881j7u4n7JK1It7PKzqaFPzY+Aee0tRp1kOF8+/xOG1NGYLFyYBbCM38bnjnkwB\nAiEAqzkA7zUZl1at5zoERm9YyV/FUntQWBYCvdWS+5U7G8ECIQCPS8hY8yZwOL39\n8JuCJl5TvkGRg/w3GFjAo1kwJKmvsQIgNoRw8rlCi7hSqNQFNnQPnha7WlbfLxzb\nBJyzLx3F80ECIGjiPi2lI5BmZ+IUF67mqIpBKrr40UX+Yw/1QBW18CGxAiBPN3i9\nIyTOw01DUqSmXcgrhHJM0RogYtJbpJkT6qbPXw==\n-----END RSA PRIVATE KEY-----'
@sut.socket.emit.yields null, @publicKey
it 'should call the callback without an error', ->
@sut.getPublicKey 'c9707ff2-b3e7-4363-b164-90f5753dac68', @callback
error = @callback.args[0][0]
expect(error).to.not.exist
it 'should only call the callback once', ->
@sut.getPublicKey 'c9707ff2-b3e7-4363-b164-90f5753dac68', @callback
expect(@callback.calledOnce).to.be.true
it 'should return an object with a method encrypt', ->
@sut.getPublicKey 'c9707ff2-b3e7-4363-b164-90f5753dac68', @callback
key = @callback.args[0][1]
expect(key.encrypt).to.exist
describe 'when encrypt is called with a message on the returned key', ->
beforeEach ->
@sut.getPublicKey 'c9707ff2-b3e7-4363-b164-90f5753dac68', @callback
key = @callback.args[0][1]
@encryptedMessage = key.encrypt('hi').toString 'base64'
it 'should be able to decrypt the result with the private key', ->
decryptedMessage = @privateKey.decrypt(@encryptedMessage).toString()
expect(decryptedMessage).to.equal 'hi'
describe 'generateKeyPair', ->
beforeEach ->
class FakeNodeRSA
generateKeyPair: sinon.spy()
exportKey: (arg) => {public: 'the-public', private: 'the-private'}[arg]
@nodeRSA = new FakeNodeRSA()
@sut = new Connection( {}, {
socketIoClient: -> new EventEmitter(),
console: @console
NodeRSA: => @nodeRSA
});
@result = @sut.generateKeyPair()
it 'should have called generateKeyPair on an instance of nodeRSA', ->
expect(@nodeRSA.generateKeyPair).to.have.been.called
it 'should generate a public key', ->
expect(@result.publicKey).to.equal 'the-public'
it 'should generate a private key', ->
expect(@result.privateKey).to.equal 'the-private'
describe 'when we create a connection with a private key', ->
beforeEach ->
@console = error: sinon.spy()
@privateKey = '-----BEGIN RSA PRIVATE KEY-----\nMIIBOAIBAAJAX9eHOOux3ycXbc/FVzM+z9OQeouRePWAT0QRcsAHeDNy4HwNrME7\nxxI2LH36g8H3S+zCapYYdCyc1LwSDEAfcQIDAQABAkA+59C6PIDvzdGj4rZM6La2\nY881j7u4n7JK1It7PKzqaFPzY+Aee0tRp1kOF8+/xOG1NGYLFyYBbCM38bnjnkwB\nAiEAqzkA7zUZl1at5zoERm9YyV/FUntQWBYCvdWS+5U7G8ECIQCPS8hY8yZwOL39\n8JuCJl5TvkGRg/w3GFjAo1kwJKmvsQIgNoRw8rlCi7hSqNQFNnQPnha7WlbfLxzb\nBJyzLx3F80ECIGjiPi2lI5BmZ+IUF67mqIpBKrr40UX+Yw/1QBW18CGxAiBPN3i9\nIyTOw01DUqSmXcgrhHJM0RogYtJbpJkT6qbPXw==\n-----END RSA PRIVATE KEY-----'
@sut = new Connection( { privateKey: @privateKey }, {
socketIoClient: -> new EventEmitter(),
console: @console
})
it 'should create a private key property on itself', ->
expect(@sut.privateKey).to.exist;
it 'should have a private key property that is based on the key passed in', ->
expect(@sut.privateKey.exportKey('private')).to.equal @privateKey
describe 'when we get a message with an "encryptedPayload" property', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns null
it 'should decrypt the encryptedPayload', ->
@sut._handleAckRequest 'message', encryptedPayload: 'hello!'
expect(@sut.privateKey.decrypt).to.be.calledWith 'hello!'
describe 'when we get a message with a different value for "encryptedPayload"', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns null
it 'should decrypt that encryptedPayload', ->
@sut._handleAckRequest 'message', encryptedPayload: 'world!'
expect(@sut.privateKey.decrypt).to.be.calledWith 'world!'
describe 'when the privatekey decrypts the payload', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns 5
sinon.stub @sut, 'emit'
it 'should assign the decrypted payload to the message before emitting it', ->
@sut._handleAckRequest 'message', encryptedPayload: 'world!'
expect(@sut.emit.args[0][1]).to.deep.equal( decryptedPayload: 5, encryptedPayload: 'world!' )
describe 'when the privatekey decrypts a different encryptedPayload', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns 10
sinon.stub @sut, 'emit'
it 'should assign the decrypted payload to the message before emitting it', ->
@sut._handleAckRequest 'message', encryptedPayload: 'hello!'
expect(@sut.emit.args[0][1]).to.deep.equal( decryptedPayload: 10, encryptedPayload: 'hello!' )
describe 'when the encrypted payload is a json object', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns '{"foo": "bar"}'
sinon.stub @sut, 'emit'
it 'should parse the json', ->
@sut._handleAckRequest 'message', encryptedPayload: 'world!'
expect(@sut.emit.args[0][1]).to.deep.equal( decryptedPayload: {"foo": "bar"}, encryptedPayload: 'world!' )
describe 'message', ->
beforeEach ->
@sut._emitWithAck = sinon.stub()
describe 'when message is called with a uuid and a message body', ->
it 'should call emitWithAck with an object with a devices and payload property', ->
@object = {}
@sut.message 1, @object
messageObject = @sut._emitWithAck.args[0][1]
expect(messageObject).to.deep.equal {devices: 1, payload: @object}
describe 'when message is called with a different uuid and message body', ->
it 'should call emitWithAck with an object with that uuid and payload', ->
@object = hello: 'world'
@sut.message 2, @object
messageObject = @sut._emitWithAck.args[0][1]
expect(messageObject).to.deep.equal {devices: 2, payload: @object}
describe 'when message is called with a callback', ->
it 'should call emitWithAck with a callback', ->
@callback = sinon.spy()
@object = {}
@sut.message 1, @object, @callback
passedCallback = @sut._emitWithAck.args[0][2]
expect(passedCallback).to.equal @callback
describe 'when message is called the old way, with one big object', ->
it 'should call _emitWithAck with the entire object and a callback', ->
callback = sinon.spy()
message = {devices: [ 1 ], payload: { hello: 'world' }}
@sut.message message, callback
expect(@sut._emitWithAck).to.have.been.calledWith 'message', message, callback
describe 'when message is called with options', ->
it 'should call _emitWithAck with an object with the options in it', ->
callback = sinon.spy()
message = cats: true
options = hello: 'world'
messageObject = {
devices: [1],
payload:
cats: true,
hello: 'world'
}
@sut.message [1], message, options, callback
emitArgs = @sut._emitWithAck.args[0]
expect(emitArgs[1]).to.deep.equal messageObject
| 57843 | {EventEmitter} = require 'events'
Connection = require '../../lib/Connection'
NodeRSA = require 'node-rsa'
describe 'Connection', ->
describe 'when we pass in a fake socket.io', ->
beforeEach ->
@console = error: sinon.spy()
@sut = new Connection( {}, {
socketIoClient: -> new EventEmitter(),
console: @console
})
it 'should instantiate', ->
expect(@sut).to.exist
describe 'when connect, then ready, then disconnect', ->
beforeEach ->
@socket = @sut.socket
@socket.emit 'connect'
@socket.emit 'ready', {uuid: 'cats', token: '<PASSWORD>'}
@socket.emit 'disconnect'
it 'should emit the uuid and token on identify', (done) ->
@socket.on 'identity', (config) ->
expect(config.uuid).to.deep.equal 'cats'
expect(config.token).to.deep.equal '<PASSWORD>'
done()
@socket.emit 'identify'
it 'should have a function called "resetToken"', ->
expect(@sut.resetToken).to.exist
describe 'when resetToken is called with a uuid', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@sut.resetToken 'uuid'
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid: 'uuid'
describe 'when resetToken is called with a different uuid', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@sut.resetToken 'uuid2'
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid: 'uuid2'
describe 'when resetToken is called with an object containing a uuid', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@sut.resetToken uuid: 'uuid3'
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid:'uuid3'
describe 'when resetToken is called with a uuid and a callback', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@callback = =>
@sut.resetToken 'uuid4', @callback
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid:'uuid4', @callback
describe 'encryptMessage', ->
beforeEach ->
@sut.getPublicKey = sinon.stub()
describe 'when encryptMessage is called with a device of uuid 1', ->
it 'should call getPublicKey', ->
@sut.encryptMessage 1
expect(@sut.getPublicKey).to.have.been.called
it 'should call getPublicKey with the uuid of the target device 1', ->
@sut.encryptMessage 1
expect(@sut.getPublicKey).to.have.been.calledWith 1
describe 'when getPublicKey returns with a public key', ->
beforeEach ->
@sut.message = sinon.stub()
@publicKey = {encrypt: sinon.stub().returns('<KEY>')}
@sut.getPublicKey.yields null, @publicKey
it 'should call encrypt on the response from getPublicKey', ->
@sut.encryptMessage 1, hello : 'world'
expect(@publicKey.encrypt).to.have.been.calledWith JSON.stringify(hello : 'world')
describe 'when publicKey.encrypt returns with a buffer of "12345"', ->
beforeEach ->
@publicKey.encrypt.returns new Buffer '12345',
it 'should call message with an encrypted payload', ->
@sut.encryptMessage 1, hello : 'world'
expect(@sut.message).to.have.been.calledWith 1, null, encryptedPayload: 'MTIzNDU='
describe 'when getPublicKey returns with an error', ->
beforeEach ->
@sut.getPublicKey.yields true, null
it 'should call console.error and report the error', ->
@sut.encryptMessage 1, { hello : 'world' }
expect(@console.error).to.have.been.calledWith 'can\'t find public key for device'
describe 'when encryptMessage is called with a different uuid', ->
it 'should call getPublicKey with the uuid of the target device', ->
@sut.encryptMessage 2
expect(@sut.getPublicKey).to.have.been.calledWith 2
describe 'when encryptMessage is called with options', ->
beforeEach ->
@uuid = '54063a2f-fcfb-4f97-8438-f8b0b0c635ad'
@callback = =>
@options = payload: 'plain-text'
@publicKey = {encrypt: sinon.stub().returns('<KEY>')}
@sut.getPublicKey.yields null, @publicKey
@sut.message = sinon.stub()
@sut.encryptMessage @uuid, 'encrypt-this', @options, @callback
it 'should call message with the options ', ->
expect(@sut.message).to.have.been.calledWith @uuid, null, {payload: 'plain-text', encryptedPayload: '54321'}, @callback
describe 'getPublicKey', ->
it 'should exist', ->
expect(@sut.getPublicKey).to.exist
describe 'when called', ->
beforeEach () ->
@sut.socket.emit = sinon.stub()
@callback = sinon.spy()
it 'should call device on itself with the uuid of the device we are getting the key for', ->
@sut.getPublicKey '<KEY>', @callback
expect(@sut.socket.emit).to.have.been.calledWith 'getPublicKey', '<KEY>'
describe 'when called with a different uuid', ->
it 'should call device with the different uuid', ->
@sut.getPublicKey '<KEY>', @callback
expect(@sut.socket.emit).to.have.been.calledWith 'getPublicKey', '<KEY>'
describe 'when device returns an invalid device', ->
beforeEach ->
@sut.socket.emit.yields new Error('you suck'), null
it 'should call the callback with an error', ->
@sut.getPublicKey '<KEY>', @callback
error = @callback.args[0][0]
expect(error).to.exist
describe 'when device returns a valid device without a public key', ->
beforeEach ->
@sut.socket.emit.yields null, null
it 'should call the callback with an error', ->
@sut.getPublicKey '<KEY>', @callback
error = @callback.args[0][0]
expect(error).to.exist
describe 'when device returns a valid device with a public key', ->
beforeEach ->
@publicKey = '-----<KEY>'
@privateKey = new NodeRSA '-----<KEY>'
@sut.socket.emit.yields null, @publicKey
it 'should call the callback without an error', ->
@sut.getPublicKey '<KEY>', @callback
error = @callback.args[0][0]
expect(error).to.not.exist
it 'should only call the callback once', ->
@sut.getPublicKey '<KEY>', @callback
expect(@callback.calledOnce).to.be.true
it 'should return an object with a method encrypt', ->
@sut.getPublicKey '<KEY>', @callback
key = @callback.args[0][1]
expect(key.encrypt).to.exist
describe 'when encrypt is called with a message on the returned key', ->
beforeEach ->
@sut.getPublicKey '<KEY>', @callback
key = @callback.args[0][1]
@encryptedMessage = key.encrypt('hi').toString 'base64'
it 'should be able to decrypt the result with the private key', ->
decryptedMessage = @privateKey.decrypt(@encryptedMessage).toString()
expect(decryptedMessage).to.equal 'hi'
describe 'generateKeyPair', ->
beforeEach ->
class FakeNodeRSA
generateKeyPair: sinon.spy()
exportKey: (arg) => {public: 'the-public', private: 'the-private'}[arg]
@nodeRSA = new FakeNodeRSA()
@sut = new Connection( {}, {
socketIoClient: -> new EventEmitter(),
console: @console
NodeRSA: => @nodeRSA
});
@result = @sut.generateKeyPair()
it 'should have called generateKeyPair on an instance of nodeRSA', ->
expect(@nodeRSA.generateKeyPair).to.have.been.called
it 'should generate a public key', ->
expect(@result.publicKey).to.equal 'the-public'
it 'should generate a private key', ->
expect(@result.privateKey).to.equal 'the-private'
describe 'when we create a connection with a private key', ->
beforeEach ->
@console = error: sinon.spy()
@privateKey = '-----<KEY>==\n-----END RSA PRIVATE KEY-----'
@sut = new Connection( { privateKey: @privateKey }, {
socketIoClient: -> new EventEmitter(),
console: @console
})
it 'should create a private key property on itself', ->
expect(@sut.privateKey).to.exist;
it 'should have a private key property that is based on the key passed in', ->
expect(@sut.privateKey.exportKey('private')).to.equal @privateKey
describe 'when we get a message with an "encryptedPayload" property', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns null
it 'should decrypt the encryptedPayload', ->
@sut._handleAckRequest 'message', encryptedPayload: 'hello!'
expect(@sut.privateKey.decrypt).to.be.calledWith 'hello!'
describe 'when we get a message with a different value for "encryptedPayload"', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns null
it 'should decrypt that encryptedPayload', ->
@sut._handleAckRequest 'message', encryptedPayload: 'world!'
expect(@sut.privateKey.decrypt).to.be.calledWith 'world!'
describe 'when the privatekey decrypts the payload', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns 5
sinon.stub @sut, 'emit'
it 'should assign the decrypted payload to the message before emitting it', ->
@sut._handleAckRequest 'message', encryptedPayload: 'world!'
expect(@sut.emit.args[0][1]).to.deep.equal( decryptedPayload: 5, encryptedPayload: 'world!' )
describe 'when the privatekey decrypts a different encryptedPayload', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns 10
sinon.stub @sut, 'emit'
it 'should assign the decrypted payload to the message before emitting it', ->
@sut._handleAckRequest 'message', encryptedPayload: 'hello!'
expect(@sut.emit.args[0][1]).to.deep.equal( decryptedPayload: 10, encryptedPayload: 'hello!' )
describe 'when the encrypted payload is a json object', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns '{"foo": "bar"}'
sinon.stub @sut, 'emit'
it 'should parse the json', ->
@sut._handleAckRequest 'message', encryptedPayload: 'world!'
expect(@sut.emit.args[0][1]).to.deep.equal( decryptedPayload: {"foo": "bar"}, encryptedPayload: 'world!' )
describe 'message', ->
beforeEach ->
@sut._emitWithAck = sinon.stub()
describe 'when message is called with a uuid and a message body', ->
it 'should call emitWithAck with an object with a devices and payload property', ->
@object = {}
@sut.message 1, @object
messageObject = @sut._emitWithAck.args[0][1]
expect(messageObject).to.deep.equal {devices: 1, payload: @object}
describe 'when message is called with a different uuid and message body', ->
it 'should call emitWithAck with an object with that uuid and payload', ->
@object = hello: 'world'
@sut.message 2, @object
messageObject = @sut._emitWithAck.args[0][1]
expect(messageObject).to.deep.equal {devices: 2, payload: @object}
describe 'when message is called with a callback', ->
it 'should call emitWithAck with a callback', ->
@callback = sinon.spy()
@object = {}
@sut.message 1, @object, @callback
passedCallback = @sut._emitWithAck.args[0][2]
expect(passedCallback).to.equal @callback
describe 'when message is called the old way, with one big object', ->
it 'should call _emitWithAck with the entire object and a callback', ->
callback = sinon.spy()
message = {devices: [ 1 ], payload: { hello: 'world' }}
@sut.message message, callback
expect(@sut._emitWithAck).to.have.been.calledWith 'message', message, callback
describe 'when message is called with options', ->
it 'should call _emitWithAck with an object with the options in it', ->
callback = sinon.spy()
message = cats: true
options = hello: 'world'
messageObject = {
devices: [1],
payload:
cats: true,
hello: 'world'
}
@sut.message [1], message, options, callback
emitArgs = @sut._emitWithAck.args[0]
expect(emitArgs[1]).to.deep.equal messageObject
| true | {EventEmitter} = require 'events'
Connection = require '../../lib/Connection'
NodeRSA = require 'node-rsa'
describe 'Connection', ->
describe 'when we pass in a fake socket.io', ->
beforeEach ->
@console = error: sinon.spy()
@sut = new Connection( {}, {
socketIoClient: -> new EventEmitter(),
console: @console
})
it 'should instantiate', ->
expect(@sut).to.exist
describe 'when connect, then ready, then disconnect', ->
beforeEach ->
@socket = @sut.socket
@socket.emit 'connect'
@socket.emit 'ready', {uuid: 'cats', token: 'PI:PASSWORD:<PASSWORD>END_PI'}
@socket.emit 'disconnect'
it 'should emit the uuid and token on identify', (done) ->
@socket.on 'identity', (config) ->
expect(config.uuid).to.deep.equal 'cats'
expect(config.token).to.deep.equal 'PI:PASSWORD:<PASSWORD>END_PI'
done()
@socket.emit 'identify'
it 'should have a function called "resetToken"', ->
expect(@sut.resetToken).to.exist
describe 'when resetToken is called with a uuid', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@sut.resetToken 'uuid'
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid: 'uuid'
describe 'when resetToken is called with a different uuid', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@sut.resetToken 'uuid2'
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid: 'uuid2'
describe 'when resetToken is called with an object containing a uuid', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@sut.resetToken uuid: 'uuid3'
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid:'uuid3'
describe 'when resetToken is called with a uuid and a callback', ->
beforeEach ->
@sut.socket.emit = sinon.spy @sut.socket.emit
it 'emit resetToken with the uuid', ->
@callback = =>
@sut.resetToken 'uuid4', @callback
expect(@sut.socket.emit).to.have.been.calledWith 'resetToken', uuid:'uuid4', @callback
describe 'encryptMessage', ->
beforeEach ->
@sut.getPublicKey = sinon.stub()
describe 'when encryptMessage is called with a device of uuid 1', ->
it 'should call getPublicKey', ->
@sut.encryptMessage 1
expect(@sut.getPublicKey).to.have.been.called
it 'should call getPublicKey with the uuid of the target device 1', ->
@sut.encryptMessage 1
expect(@sut.getPublicKey).to.have.been.calledWith 1
describe 'when getPublicKey returns with a public key', ->
beforeEach ->
@sut.message = sinon.stub()
@publicKey = {encrypt: sinon.stub().returns('PI:KEY:<KEY>END_PI')}
@sut.getPublicKey.yields null, @publicKey
it 'should call encrypt on the response from getPublicKey', ->
@sut.encryptMessage 1, hello : 'world'
expect(@publicKey.encrypt).to.have.been.calledWith JSON.stringify(hello : 'world')
describe 'when publicKey.encrypt returns with a buffer of "12345"', ->
beforeEach ->
@publicKey.encrypt.returns new Buffer '12345',
it 'should call message with an encrypted payload', ->
@sut.encryptMessage 1, hello : 'world'
expect(@sut.message).to.have.been.calledWith 1, null, encryptedPayload: 'MTIzNDU='
describe 'when getPublicKey returns with an error', ->
beforeEach ->
@sut.getPublicKey.yields true, null
it 'should call console.error and report the error', ->
@sut.encryptMessage 1, { hello : 'world' }
expect(@console.error).to.have.been.calledWith 'can\'t find public key for device'
describe 'when encryptMessage is called with a different uuid', ->
it 'should call getPublicKey with the uuid of the target device', ->
@sut.encryptMessage 2
expect(@sut.getPublicKey).to.have.been.calledWith 2
describe 'when encryptMessage is called with options', ->
beforeEach ->
@uuid = '54063a2f-fcfb-4f97-8438-f8b0b0c635ad'
@callback = =>
@options = payload: 'plain-text'
@publicKey = {encrypt: sinon.stub().returns('PI:KEY:<KEY>END_PI')}
@sut.getPublicKey.yields null, @publicKey
@sut.message = sinon.stub()
@sut.encryptMessage @uuid, 'encrypt-this', @options, @callback
it 'should call message with the options ', ->
expect(@sut.message).to.have.been.calledWith @uuid, null, {payload: 'plain-text', encryptedPayload: '54321'}, @callback
describe 'getPublicKey', ->
it 'should exist', ->
expect(@sut.getPublicKey).to.exist
describe 'when called', ->
beforeEach () ->
@sut.socket.emit = sinon.stub()
@callback = sinon.spy()
it 'should call device on itself with the uuid of the device we are getting the key for', ->
@sut.getPublicKey 'PI:KEY:<KEY>END_PI', @callback
expect(@sut.socket.emit).to.have.been.calledWith 'getPublicKey', 'PI:KEY:<KEY>END_PI'
describe 'when called with a different uuid', ->
it 'should call device with the different uuid', ->
@sut.getPublicKey 'PI:KEY:<KEY>END_PI', @callback
expect(@sut.socket.emit).to.have.been.calledWith 'getPublicKey', 'PI:KEY:<KEY>END_PI'
describe 'when device returns an invalid device', ->
beforeEach ->
@sut.socket.emit.yields new Error('you suck'), null
it 'should call the callback with an error', ->
@sut.getPublicKey 'PI:KEY:<KEY>END_PI', @callback
error = @callback.args[0][0]
expect(error).to.exist
describe 'when device returns a valid device without a public key', ->
beforeEach ->
@sut.socket.emit.yields null, null
it 'should call the callback with an error', ->
@sut.getPublicKey 'PI:KEY:<KEY>END_PI', @callback
error = @callback.args[0][0]
expect(error).to.exist
describe 'when device returns a valid device with a public key', ->
beforeEach ->
@publicKey = '-----PI:KEY:<KEY>END_PI'
@privateKey = new NodeRSA '-----PI:KEY:<KEY>END_PI'
@sut.socket.emit.yields null, @publicKey
it 'should call the callback without an error', ->
@sut.getPublicKey 'PI:KEY:<KEY>END_PI', @callback
error = @callback.args[0][0]
expect(error).to.not.exist
it 'should only call the callback once', ->
@sut.getPublicKey 'PI:KEY:<KEY>END_PI', @callback
expect(@callback.calledOnce).to.be.true
it 'should return an object with a method encrypt', ->
@sut.getPublicKey 'PI:KEY:<KEY>END_PI', @callback
key = @callback.args[0][1]
expect(key.encrypt).to.exist
describe 'when encrypt is called with a message on the returned key', ->
beforeEach ->
@sut.getPublicKey 'PI:KEY:<KEY>END_PI', @callback
key = @callback.args[0][1]
@encryptedMessage = key.encrypt('hi').toString 'base64'
it 'should be able to decrypt the result with the private key', ->
decryptedMessage = @privateKey.decrypt(@encryptedMessage).toString()
expect(decryptedMessage).to.equal 'hi'
describe 'generateKeyPair', ->
beforeEach ->
class FakeNodeRSA
generateKeyPair: sinon.spy()
exportKey: (arg) => {public: 'the-public', private: 'the-private'}[arg]
@nodeRSA = new FakeNodeRSA()
@sut = new Connection( {}, {
socketIoClient: -> new EventEmitter(),
console: @console
NodeRSA: => @nodeRSA
});
@result = @sut.generateKeyPair()
it 'should have called generateKeyPair on an instance of nodeRSA', ->
expect(@nodeRSA.generateKeyPair).to.have.been.called
it 'should generate a public key', ->
expect(@result.publicKey).to.equal 'the-public'
it 'should generate a private key', ->
expect(@result.privateKey).to.equal 'the-private'
describe 'when we create a connection with a private key', ->
beforeEach ->
@console = error: sinon.spy()
@privateKey = '-----PI:KEY:<KEY>END_PI==\n-----END RSA PRIVATE KEY-----'
@sut = new Connection( { privateKey: @privateKey }, {
socketIoClient: -> new EventEmitter(),
console: @console
})
it 'should create a private key property on itself', ->
expect(@sut.privateKey).to.exist;
it 'should have a private key property that is based on the key passed in', ->
expect(@sut.privateKey.exportKey('private')).to.equal @privateKey
describe 'when we get a message with an "encryptedPayload" property', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns null
it 'should decrypt the encryptedPayload', ->
@sut._handleAckRequest 'message', encryptedPayload: 'hello!'
expect(@sut.privateKey.decrypt).to.be.calledWith 'hello!'
describe 'when we get a message with a different value for "encryptedPayload"', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns null
it 'should decrypt that encryptedPayload', ->
@sut._handleAckRequest 'message', encryptedPayload: 'world!'
expect(@sut.privateKey.decrypt).to.be.calledWith 'world!'
describe 'when the privatekey decrypts the payload', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns 5
sinon.stub @sut, 'emit'
it 'should assign the decrypted payload to the message before emitting it', ->
@sut._handleAckRequest 'message', encryptedPayload: 'world!'
expect(@sut.emit.args[0][1]).to.deep.equal( decryptedPayload: 5, encryptedPayload: 'world!' )
describe 'when the privatekey decrypts a different encryptedPayload', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns 10
sinon.stub @sut, 'emit'
it 'should assign the decrypted payload to the message before emitting it', ->
@sut._handleAckRequest 'message', encryptedPayload: 'hello!'
expect(@sut.emit.args[0][1]).to.deep.equal( decryptedPayload: 10, encryptedPayload: 'hello!' )
describe 'when the encrypted payload is a json object', ->
beforeEach ->
@sut.privateKey.decrypt = sinon.stub().returns '{"foo": "bar"}'
sinon.stub @sut, 'emit'
it 'should parse the json', ->
@sut._handleAckRequest 'message', encryptedPayload: 'world!'
expect(@sut.emit.args[0][1]).to.deep.equal( decryptedPayload: {"foo": "bar"}, encryptedPayload: 'world!' )
describe 'message', ->
beforeEach ->
@sut._emitWithAck = sinon.stub()
describe 'when message is called with a uuid and a message body', ->
it 'should call emitWithAck with an object with a devices and payload property', ->
@object = {}
@sut.message 1, @object
messageObject = @sut._emitWithAck.args[0][1]
expect(messageObject).to.deep.equal {devices: 1, payload: @object}
describe 'when message is called with a different uuid and message body', ->
it 'should call emitWithAck with an object with that uuid and payload', ->
@object = hello: 'world'
@sut.message 2, @object
messageObject = @sut._emitWithAck.args[0][1]
expect(messageObject).to.deep.equal {devices: 2, payload: @object}
describe 'when message is called with a callback', ->
it 'should call emitWithAck with a callback', ->
@callback = sinon.spy()
@object = {}
@sut.message 1, @object, @callback
passedCallback = @sut._emitWithAck.args[0][2]
expect(passedCallback).to.equal @callback
describe 'when message is called the old way, with one big object', ->
it 'should call _emitWithAck with the entire object and a callback', ->
callback = sinon.spy()
message = {devices: [ 1 ], payload: { hello: 'world' }}
@sut.message message, callback
expect(@sut._emitWithAck).to.have.been.calledWith 'message', message, callback
describe 'when message is called with options', ->
it 'should call _emitWithAck with an object with the options in it', ->
callback = sinon.spy()
message = cats: true
options = hello: 'world'
messageObject = {
devices: [1],
payload:
cats: true,
hello: 'world'
}
@sut.message [1], message, options, callback
emitArgs = @sut._emitWithAck.args[0]
expect(emitArgs[1]).to.deep.equal messageObject
|
[
{
"context": "es()\n beforeEach ->\n Team.save [\n {_id: 'qiita', name: \"qiita\", local: false}\n {_id: 'foo1'",
"end": 151,
"score": 0.9929081201553345,
"start": 146,
"tag": "USERNAME",
"value": "qiita"
},
{
"context": "ch ->\n Team.save [\n {_id: 'qiita', nam... | application/api/test/queries/get-team-ids-test.coffee | CHU-BURA/clone-app-kobito-oss | 215 | # require '../../src/queries/get-team-ids'
describe "src/queries/get-team-ids", ->
stubDatabases()
beforeEach ->
Team.save [
{_id: 'qiita', name: "qiita", local: false}
{_id: 'foo1', name: "foo1", local: false}
{_id: 'foo2', name: "foo2", local: true}
{_id: 'foo3', name: "foo3", local: false}
]
it "should collect registered qiita team", ->
kobito.queries.getTeamIds()
.then (ids) =>
assert.deepEqual ids, ['foo1', 'foo3']
| 103486 | # require '../../src/queries/get-team-ids'
describe "src/queries/get-team-ids", ->
stubDatabases()
beforeEach ->
Team.save [
{_id: 'qiita', name: "<NAME>", local: false}
{_id: 'foo1', name: "<NAME>", local: false}
{_id: 'foo2', name: "foo2", local: true}
{_id: 'foo3', name: "<NAME>", local: false}
]
it "should collect registered qiita team", ->
kobito.queries.getTeamIds()
.then (ids) =>
assert.deepEqual ids, ['foo1', 'foo3']
| true | # require '../../src/queries/get-team-ids'
describe "src/queries/get-team-ids", ->
stubDatabases()
beforeEach ->
Team.save [
{_id: 'qiita', name: "PI:NAME:<NAME>END_PI", local: false}
{_id: 'foo1', name: "PI:NAME:<NAME>END_PI", local: false}
{_id: 'foo2', name: "foo2", local: true}
{_id: 'foo3', name: "PI:NAME:<NAME>END_PI", local: false}
]
it "should collect registered qiita team", ->
kobito.queries.getTeamIds()
.then (ids) =>
assert.deepEqual ids, ['foo1', 'foo3']
|
[
{
"context": "- Shows PHP function information.\n#\n# Authors:\n# nebiros\n# Carter McKendry\n\nmodule.exports = (robot) ->\n",
"end": 214,
"score": 0.9994203448295593,
"start": 207,
"tag": "USERNAME",
"value": "nebiros"
},
{
"context": "function information.\n#\n# Authors:\n# ... | src/scripts/phpdoc.coffee | contolini/hubot-scripts | 1,450 | # Description:
# PHP's functions reference.
#
# Dependencies:
# "cheerio": ""
#
# Configuration:
# None
#
# Commands:
# hubot phpdoc for <function> - Shows PHP function information.
#
# Authors:
# nebiros
# Carter McKendry
module.exports = (robot) ->
robot.respond /phpdoc for (.+)$/i, (msg) ->
msg
.http("http://www.php.net/manual/en/function." + msg.match[1].replace(/[_-]+/, "-") + ".php")
.get() (err, res, body) ->
$ = require("cheerio").load(body)
ver = $(".refnamediv p.verinfo").text()
desc = $(".refnamediv span.dc-title").text()
syn = $(".methodsynopsis").text().replace(/\s+/g, " ").replace(/(\r\n|\n|\r)/gm, " ")
if ver and desc and syn
msg.send "#{ver} - #{desc}"
msg.send syn
else
msg.send "Not found."
| 63924 | # Description:
# PHP's functions reference.
#
# Dependencies:
# "cheerio": ""
#
# Configuration:
# None
#
# Commands:
# hubot phpdoc for <function> - Shows PHP function information.
#
# Authors:
# nebiros
# <NAME>
module.exports = (robot) ->
robot.respond /phpdoc for (.+)$/i, (msg) ->
msg
.http("http://www.php.net/manual/en/function." + msg.match[1].replace(/[_-]+/, "-") + ".php")
.get() (err, res, body) ->
$ = require("cheerio").load(body)
ver = $(".refnamediv p.verinfo").text()
desc = $(".refnamediv span.dc-title").text()
syn = $(".methodsynopsis").text().replace(/\s+/g, " ").replace(/(\r\n|\n|\r)/gm, " ")
if ver and desc and syn
msg.send "#{ver} - #{desc}"
msg.send syn
else
msg.send "Not found."
| true | # Description:
# PHP's functions reference.
#
# Dependencies:
# "cheerio": ""
#
# Configuration:
# None
#
# Commands:
# hubot phpdoc for <function> - Shows PHP function information.
#
# Authors:
# nebiros
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.respond /phpdoc for (.+)$/i, (msg) ->
msg
.http("http://www.php.net/manual/en/function." + msg.match[1].replace(/[_-]+/, "-") + ".php")
.get() (err, res, body) ->
$ = require("cheerio").load(body)
ver = $(".refnamediv p.verinfo").text()
desc = $(".refnamediv span.dc-title").text()
syn = $(".methodsynopsis").text().replace(/\s+/g, " ").replace(/(\r\n|\n|\r)/gm, " ")
if ver and desc and syn
msg.send "#{ver} - #{desc}"
msg.send syn
else
msg.send "Not found."
|
[
{
"context": "stall casperjs\n# - git clone git://github.com/n1k0/casperjs.git\n# - cd casperjs\n# - git chec",
"end": 354,
"score": 0.999006986618042,
"start": 350,
"tag": "USERNAME",
"value": "n1k0"
},
{
"context": "ng the login form...'\n @fill \"form\", {username: 'k... | levels/4/browser.coffee | industrydive/stripe-ctf-2-vm | 1 | # Install instructions:
# - Install phantomjs 1.5+
# - wget http://phantomjs.googlecode.com/files/phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - tar -xjvf phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - ln -s phantomjs-1.6.1-linux-x86_64-dynamic/bin/phantomjs /usr/bin/local
# - Install casperjs
# - git clone git://github.com/n1k0/casperjs.git
# - cd casperjs
# - git checkout tags/1.0.0-RC1
# - ln -sf `pwd`/bin/casperjs /usr/local/bin/casperjs
# - Run it!
# - casperjs browser.coffee http://level04.stripe-ctf.com/
# - (change above path to match the actual CTF path)
#
# Will exit(0) if success, exit(other) if failure
# Profit!
casper = require('casper').create()
system = require 'system'
utils = require 'utils'
fs = require 'fs'
if not casper.cli.has(0)
console.log 'Usage: browser.coffee <url to visit>'
casper.exit 1
password = fs.open('password.txt', 'r').read().trim()
page_address = casper.cli.get(0)
console.log "Page address is: #{page_address}"
casper.start page_address, ->
# Fill and submit the login form
console.log 'Filling the login form...'
@fill "form", {username: 'karma_fountain', password: password}, true
casper.then ->
# Log the page title.
console.log "On the main page, provided login worked."
page_title = @getTitle()
page_url = @getCurrentUrl()
console.log "Page title is: #{page_title} (url: #{page_url})"
credits = @evaluate ->
return document.querySelectorAll('p')[1].innerHTML
# Will break here if login fails, i.e. if the test setup was incorrect,
# because it is still on the login page, not the main page.
credits_left = credits.match /-?\d+/
console.log "Guard Llama has #{credits_left} credits left"
casper.run ->
console.log "Running!"
casper.exit 0
| 174740 | # Install instructions:
# - Install phantomjs 1.5+
# - wget http://phantomjs.googlecode.com/files/phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - tar -xjvf phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - ln -s phantomjs-1.6.1-linux-x86_64-dynamic/bin/phantomjs /usr/bin/local
# - Install casperjs
# - git clone git://github.com/n1k0/casperjs.git
# - cd casperjs
# - git checkout tags/1.0.0-RC1
# - ln -sf `pwd`/bin/casperjs /usr/local/bin/casperjs
# - Run it!
# - casperjs browser.coffee http://level04.stripe-ctf.com/
# - (change above path to match the actual CTF path)
#
# Will exit(0) if success, exit(other) if failure
# Profit!
casper = require('casper').create()
system = require 'system'
utils = require 'utils'
fs = require 'fs'
if not casper.cli.has(0)
console.log 'Usage: browser.coffee <url to visit>'
casper.exit 1
password = fs.open('password.txt', 'r').read().trim()
page_address = casper.cli.get(0)
console.log "Page address is: #{page_address}"
casper.start page_address, ->
# Fill and submit the login form
console.log 'Filling the login form...'
@fill "form", {username: 'karma_fountain', password: <PASSWORD>}, true
casper.then ->
# Log the page title.
console.log "On the main page, provided login worked."
page_title = @getTitle()
page_url = @getCurrentUrl()
console.log "Page title is: #{page_title} (url: #{page_url})"
credits = @evaluate ->
return document.querySelectorAll('p')[1].innerHTML
# Will break here if login fails, i.e. if the test setup was incorrect,
# because it is still on the login page, not the main page.
credits_left = credits.match /-?\d+/
console.log "Guard Llama has #{credits_left} credits left"
casper.run ->
console.log "Running!"
casper.exit 0
| true | # Install instructions:
# - Install phantomjs 1.5+
# - wget http://phantomjs.googlecode.com/files/phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - tar -xjvf phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - ln -s phantomjs-1.6.1-linux-x86_64-dynamic/bin/phantomjs /usr/bin/local
# - Install casperjs
# - git clone git://github.com/n1k0/casperjs.git
# - cd casperjs
# - git checkout tags/1.0.0-RC1
# - ln -sf `pwd`/bin/casperjs /usr/local/bin/casperjs
# - Run it!
# - casperjs browser.coffee http://level04.stripe-ctf.com/
# - (change above path to match the actual CTF path)
#
# Will exit(0) if success, exit(other) if failure
# Profit!
casper = require('casper').create()
system = require 'system'
utils = require 'utils'
fs = require 'fs'
if not casper.cli.has(0)
console.log 'Usage: browser.coffee <url to visit>'
casper.exit 1
password = fs.open('password.txt', 'r').read().trim()
page_address = casper.cli.get(0)
console.log "Page address is: #{page_address}"
casper.start page_address, ->
# Fill and submit the login form
console.log 'Filling the login form...'
@fill "form", {username: 'karma_fountain', password: PI:PASSWORD:<PASSWORD>END_PI}, true
casper.then ->
# Log the page title.
console.log "On the main page, provided login worked."
page_title = @getTitle()
page_url = @getCurrentUrl()
console.log "Page title is: #{page_title} (url: #{page_url})"
credits = @evaluate ->
return document.querySelectorAll('p')[1].innerHTML
# Will break here if login fails, i.e. if the test setup was incorrect,
# because it is still on the login page, not the main page.
credits_left = credits.match /-?\d+/
console.log "Guard Llama has #{credits_left} credits left"
casper.run ->
console.log "Running!"
casper.exit 0
|
[
{
"context": "mal resolution\n if fullHero.get('name') in ['Knight', 'Robot Walker'] # These are too big, so shrink",
"end": 4452,
"score": 0.9995076060295105,
"start": 4446,
"tag": "NAME",
"value": "Knight"
},
{
"context": "tion\n if fullHero.get('name') in ['Knight', 'Ro... | app/views/game-menu/ChooseHeroView.coffee | enricpc/codecombat | 0 | CocoView = require 'views/kinds/CocoView'
template = require 'templates/game-menu/choose-hero-view'
{me} = require 'lib/auth'
ThangType = require 'models/ThangType'
CocoCollection = require 'collections/CocoCollection'
SpriteBuilder = require 'lib/sprites/SpriteBuilder'
AudioPlayer = require 'lib/AudioPlayer'
module.exports = class ChooseHeroView extends CocoView
id: 'choose-hero-view'
className: 'tab-pane'
template: template
events:
'click #restart-level-confirm-button': -> Backbone.Mediator.publish 'level:restart', {}
'slide.bs.carousel #hero-carousel': 'onHeroChanged'
'change #option-code-language': 'onCodeLanguageChanged'
shortcuts:
'left': -> @$el.find('#hero-carousel').carousel('prev') unless @$el.hasClass 'secret'
'right': -> @$el.find('#hero-carousel').carousel('next') unless @$el.hasClass 'secret'
constructor: (options) ->
super options
@heroes = new CocoCollection([], {model: ThangType})
@heroes.url = '/db/thang.type?view=heroes&project=original,name,slug,soundTriggers'
@supermodel.loadCollection(@heroes, 'heroes')
@stages = {}
destroy: ->
for heroIndex, stage of @stages
createjs.Ticker.removeEventListener "tick", stage
stage.removeAllChildren()
super()
getRenderData: (context={}) ->
context = super(context)
context.heroes = @heroes.models
context.level = @options.level
context.codeLanguages = [
{id: 'python', name: 'Python'}
{id: 'javascript', name: 'JavaScript'}
{id: 'coffeescript', name: 'CoffeeScript'}
{id: 'clojure', name: 'Clojure (Experimental)'}
{id: 'lua', name: 'Lua (Experimental)'}
{id: 'io', name: 'Io (Experimental)'}
]
context.codeLanguage = @codeLanguage = @options.session.get('codeLanguage') ? me.get('aceConfig')?.language ? 'python'
context.heroInfo = temporaryHeroInfo
context
afterRender: ->
super()
return unless @supermodel.finished()
heroes = @heroes.models
@$el.find('.hero-indicator').each ->
heroID = $(@).data('hero-id')
hero = _.find heroes, (hero) -> hero.get('original') is heroID
$(@).css('background-image', "url(#{hero.getPortraitURL()})").tooltip()
_.defer => $(@).addClass 'initialized'
@canvasWidth = 313 # @$el.find('canvas').width() # unreliable, whatever
@canvasHeight = @$el.find('canvas').height()
heroConfig = @options.session.get('heroConfig') ? me.get('heroConfig') ? {}
heroIndex = Math.max 0, _.findIndex(heroes, ((hero) -> hero.get('original') is heroConfig.thangType))
@$el.find(".hero-item:nth-child(#{heroIndex + 1}), .hero-indicator:nth-child(#{heroIndex + 1})").addClass('active')
@onHeroChanged direction: null, relatedTarget: @$el.find('.hero-item')[heroIndex]
onHeroChanged: (e) ->
direction = e.direction # 'left' or 'right'
heroItem = $(e.relatedTarget)
hero = _.find @heroes.models, (hero) -> hero.get('original') is heroItem.data('hero-id')
heroIndex = heroItem.index()
@$el.find('.hero-indicator').each ->
distance = Math.min 3, Math.abs $(@).index() - heroIndex
size = 100 - (50 / 3) * distance
$(@).css width: size, height: size, top: -(100 - size) / 2
heroInfo = temporaryHeroInfo[hero.get('slug')]
locked = heroInfo.status is 'Locked'
hero = @loadHero hero, heroIndex
@selectedHero = hero unless locked
Backbone.Mediator.publish 'level:hero-selection-updated', hero: @selectedHero
$('#choose-inventory-button').prop 'disabled', locked
loadHero: (hero, heroIndex) ->
createjs.Ticker.removeEventListener 'tick', stage for stage in _.values @stages
if stage = @stages[heroIndex]
createjs.Ticker.addEventListener 'tick', stage
@playSelectionSound hero
return hero
fullHero = new ThangType()
fullHero.setURL "/db/thang.type/#{hero.get('original')}/version"
fullHero = (@supermodel.loadModel fullHero, 'thang').model
onLoaded = =>
return unless canvas = $(".hero-item[data-hero-id='#{fullHero.get('original')}'] canvas")
canvas.prop width: @canvasWidth, height: @canvasHeight
builder = new SpriteBuilder(fullHero)
movieClip = builder.buildMovieClip(fullHero.get('actions').attack?.animation ? fullHero.get('actions').idle.animation)
movieClip.scaleX = movieClip.scaleY = canvas.prop('height') / 120 # Average hero height is ~110px tall at normal resolution
if fullHero.get('name') in ['Knight', 'Robot Walker'] # These are too big, so shrink them.
movieClip.scaleX *= 0.7
movieClip.scaleY *= 0.7
movieClip.regX = -fullHero.get('positions').registration.x
movieClip.regY = -fullHero.get('positions').registration.y
movieClip.x = canvas.prop('width') * 0.5
movieClip.y = canvas.prop('height') * 0.925 # This is where the feet go.
stage = new createjs.Stage(canvas[0])
stage.addChild movieClip
stage.update()
createjs.Ticker.addEventListener 'tick', stage
movieClip.gotoAndPlay 0
@stages[heroIndex] = stage
@playSelectionSound hero
if fullHero.loaded
_.defer onLoaded
else
@listenToOnce fullHero, 'sync', onLoaded
fullHero
playSelectionSound: (hero) ->
return if @$el.hasClass 'secret'
@currentSoundInstance?.stop()
return unless sounds = hero.get('soundTriggers')?.selected
return unless sound = sounds[Math.floor Math.random() * sounds.length]
name = AudioPlayer.nameForSoundReference sound
AudioPlayer.preloadSoundReference sound
@currentSoundInstance = AudioPlayer.playSound name, 1
@currentSoundInstance
onCodeLanguageChanged: (e) ->
@codeLanguage = @$el.find('#option-code-language').val()
@codeLanguageChanged = true
onShown: ->
# Called when we switch tabs to this within the modal
onHidden: ->
# Called when the modal itself is dismissed
temporaryHeroInfo =
captain:
fullName: 'Captain Anya Weston'
weapons: 'Razor Discs'
status: 'Available'
health: '35'
speed: '4 m/s'
knight:
fullName: 'Tharin Thunderfist'
weapons: 'Swords'
status: 'Available'
health: '35'
speed: '4 m/s'
thoktar:
fullName: 'Thoktar the Devourer'
weapons: 'Magic'
status: 'Locked'
health: '???'
speed: '???'
equestrian:
fullName: 'Rider Reynaldo'
weapons: 'Axes'
status: 'Locked'
health: '???'
speed: '???'
'potion-master':
fullName: 'Master Snake'
weapons: 'Magic'
status: 'Locked'
health: '???'
speed: '???'
librarian:
fullName: 'Hushbaum'
weapons: 'Magic'
status: 'Locked'
health: '???'
speed: '???'
'robot-walker':
fullName: '???'
weapons: '???'
status: 'Locked'
health: '???'
speed: '???'
'michael-heasell':
fullName: '???'
weapons: '???'
status: 'Locked'
health: '???'
speed: '???'
'ian-elliott':
fullName: '???'
weapons: '???'
status: 'Locked'
health: '???'
speed: '???'
| 200721 | CocoView = require 'views/kinds/CocoView'
template = require 'templates/game-menu/choose-hero-view'
{me} = require 'lib/auth'
ThangType = require 'models/ThangType'
CocoCollection = require 'collections/CocoCollection'
SpriteBuilder = require 'lib/sprites/SpriteBuilder'
AudioPlayer = require 'lib/AudioPlayer'
module.exports = class ChooseHeroView extends CocoView
id: 'choose-hero-view'
className: 'tab-pane'
template: template
events:
'click #restart-level-confirm-button': -> Backbone.Mediator.publish 'level:restart', {}
'slide.bs.carousel #hero-carousel': 'onHeroChanged'
'change #option-code-language': 'onCodeLanguageChanged'
shortcuts:
'left': -> @$el.find('#hero-carousel').carousel('prev') unless @$el.hasClass 'secret'
'right': -> @$el.find('#hero-carousel').carousel('next') unless @$el.hasClass 'secret'
constructor: (options) ->
super options
@heroes = new CocoCollection([], {model: ThangType})
@heroes.url = '/db/thang.type?view=heroes&project=original,name,slug,soundTriggers'
@supermodel.loadCollection(@heroes, 'heroes')
@stages = {}
destroy: ->
for heroIndex, stage of @stages
createjs.Ticker.removeEventListener "tick", stage
stage.removeAllChildren()
super()
getRenderData: (context={}) ->
context = super(context)
context.heroes = @heroes.models
context.level = @options.level
context.codeLanguages = [
{id: 'python', name: 'Python'}
{id: 'javascript', name: 'JavaScript'}
{id: 'coffeescript', name: 'CoffeeScript'}
{id: 'clojure', name: 'Clojure (Experimental)'}
{id: 'lua', name: 'Lua (Experimental)'}
{id: 'io', name: 'Io (Experimental)'}
]
context.codeLanguage = @codeLanguage = @options.session.get('codeLanguage') ? me.get('aceConfig')?.language ? 'python'
context.heroInfo = temporaryHeroInfo
context
afterRender: ->
super()
return unless @supermodel.finished()
heroes = @heroes.models
@$el.find('.hero-indicator').each ->
heroID = $(@).data('hero-id')
hero = _.find heroes, (hero) -> hero.get('original') is heroID
$(@).css('background-image', "url(#{hero.getPortraitURL()})").tooltip()
_.defer => $(@).addClass 'initialized'
@canvasWidth = 313 # @$el.find('canvas').width() # unreliable, whatever
@canvasHeight = @$el.find('canvas').height()
heroConfig = @options.session.get('heroConfig') ? me.get('heroConfig') ? {}
heroIndex = Math.max 0, _.findIndex(heroes, ((hero) -> hero.get('original') is heroConfig.thangType))
@$el.find(".hero-item:nth-child(#{heroIndex + 1}), .hero-indicator:nth-child(#{heroIndex + 1})").addClass('active')
@onHeroChanged direction: null, relatedTarget: @$el.find('.hero-item')[heroIndex]
onHeroChanged: (e) ->
direction = e.direction # 'left' or 'right'
heroItem = $(e.relatedTarget)
hero = _.find @heroes.models, (hero) -> hero.get('original') is heroItem.data('hero-id')
heroIndex = heroItem.index()
@$el.find('.hero-indicator').each ->
distance = Math.min 3, Math.abs $(@).index() - heroIndex
size = 100 - (50 / 3) * distance
$(@).css width: size, height: size, top: -(100 - size) / 2
heroInfo = temporaryHeroInfo[hero.get('slug')]
locked = heroInfo.status is 'Locked'
hero = @loadHero hero, heroIndex
@selectedHero = hero unless locked
Backbone.Mediator.publish 'level:hero-selection-updated', hero: @selectedHero
$('#choose-inventory-button').prop 'disabled', locked
loadHero: (hero, heroIndex) ->
createjs.Ticker.removeEventListener 'tick', stage for stage in _.values @stages
if stage = @stages[heroIndex]
createjs.Ticker.addEventListener 'tick', stage
@playSelectionSound hero
return hero
fullHero = new ThangType()
fullHero.setURL "/db/thang.type/#{hero.get('original')}/version"
fullHero = (@supermodel.loadModel fullHero, 'thang').model
onLoaded = =>
return unless canvas = $(".hero-item[data-hero-id='#{fullHero.get('original')}'] canvas")
canvas.prop width: @canvasWidth, height: @canvasHeight
builder = new SpriteBuilder(fullHero)
movieClip = builder.buildMovieClip(fullHero.get('actions').attack?.animation ? fullHero.get('actions').idle.animation)
movieClip.scaleX = movieClip.scaleY = canvas.prop('height') / 120 # Average hero height is ~110px tall at normal resolution
if fullHero.get('name') in ['<NAME>', '<NAME>'] # These are too big, so shrink them.
movieClip.scaleX *= 0.7
movieClip.scaleY *= 0.7
movieClip.regX = -fullHero.get('positions').registration.x
movieClip.regY = -fullHero.get('positions').registration.y
movieClip.x = canvas.prop('width') * 0.5
movieClip.y = canvas.prop('height') * 0.925 # This is where the feet go.
stage = new createjs.Stage(canvas[0])
stage.addChild movieClip
stage.update()
createjs.Ticker.addEventListener 'tick', stage
movieClip.gotoAndPlay 0
@stages[heroIndex] = stage
@playSelectionSound hero
if fullHero.loaded
_.defer onLoaded
else
@listenToOnce fullHero, 'sync', onLoaded
fullHero
playSelectionSound: (hero) ->
return if @$el.hasClass 'secret'
@currentSoundInstance?.stop()
return unless sounds = hero.get('soundTriggers')?.selected
return unless sound = sounds[Math.floor Math.random() * sounds.length]
name = AudioPlayer.nameForSoundReference sound
AudioPlayer.preloadSoundReference sound
@currentSoundInstance = AudioPlayer.playSound name, 1
@currentSoundInstance
onCodeLanguageChanged: (e) ->
@codeLanguage = @$el.find('#option-code-language').val()
@codeLanguageChanged = true
onShown: ->
# Called when we switch tabs to this within the modal
onHidden: ->
# Called when the modal itself is dismissed
temporaryHeroInfo =
captain:
fullName: '<NAME>'
weapons: 'Razor Discs'
status: 'Available'
health: '35'
speed: '4 m/s'
knight:
fullName: '<NAME>'
weapons: 'Swords'
status: 'Available'
health: '35'
speed: '4 m/s'
thoktar:
fullName: '<NAME>'
weapons: 'Magic'
status: 'Locked'
health: '???'
speed: '???'
equestrian:
fullName: '<NAME>'
weapons: 'Axes'
status: 'Locked'
health: '???'
speed: '???'
'potion-master':
fullName: '<NAME>'
weapons: 'Magic'
status: 'Locked'
health: '???'
speed: '???'
librarian:
fullName: '<NAME>'
weapons: 'Magic'
status: 'Locked'
health: '???'
speed: '???'
'robot-walker':
fullName: '???'
weapons: '???'
status: 'Locked'
health: '???'
speed: '???'
'michael-heasell':
fullName: '???'
weapons: '???'
status: 'Locked'
health: '???'
speed: '???'
'ian-elliott':
fullName: '???'
weapons: '???'
status: 'Locked'
health: '???'
speed: '???'
| true | CocoView = require 'views/kinds/CocoView'
template = require 'templates/game-menu/choose-hero-view'
{me} = require 'lib/auth'
ThangType = require 'models/ThangType'
CocoCollection = require 'collections/CocoCollection'
SpriteBuilder = require 'lib/sprites/SpriteBuilder'
AudioPlayer = require 'lib/AudioPlayer'
module.exports = class ChooseHeroView extends CocoView
id: 'choose-hero-view'
className: 'tab-pane'
template: template
events:
'click #restart-level-confirm-button': -> Backbone.Mediator.publish 'level:restart', {}
'slide.bs.carousel #hero-carousel': 'onHeroChanged'
'change #option-code-language': 'onCodeLanguageChanged'
shortcuts:
'left': -> @$el.find('#hero-carousel').carousel('prev') unless @$el.hasClass 'secret'
'right': -> @$el.find('#hero-carousel').carousel('next') unless @$el.hasClass 'secret'
constructor: (options) ->
super options
@heroes = new CocoCollection([], {model: ThangType})
@heroes.url = '/db/thang.type?view=heroes&project=original,name,slug,soundTriggers'
@supermodel.loadCollection(@heroes, 'heroes')
@stages = {}
destroy: ->
for heroIndex, stage of @stages
createjs.Ticker.removeEventListener "tick", stage
stage.removeAllChildren()
super()
getRenderData: (context={}) ->
context = super(context)
context.heroes = @heroes.models
context.level = @options.level
context.codeLanguages = [
{id: 'python', name: 'Python'}
{id: 'javascript', name: 'JavaScript'}
{id: 'coffeescript', name: 'CoffeeScript'}
{id: 'clojure', name: 'Clojure (Experimental)'}
{id: 'lua', name: 'Lua (Experimental)'}
{id: 'io', name: 'Io (Experimental)'}
]
context.codeLanguage = @codeLanguage = @options.session.get('codeLanguage') ? me.get('aceConfig')?.language ? 'python'
context.heroInfo = temporaryHeroInfo
context
afterRender: ->
super()
return unless @supermodel.finished()
heroes = @heroes.models
@$el.find('.hero-indicator').each ->
heroID = $(@).data('hero-id')
hero = _.find heroes, (hero) -> hero.get('original') is heroID
$(@).css('background-image', "url(#{hero.getPortraitURL()})").tooltip()
_.defer => $(@).addClass 'initialized'
@canvasWidth = 313 # @$el.find('canvas').width() # unreliable, whatever
@canvasHeight = @$el.find('canvas').height()
heroConfig = @options.session.get('heroConfig') ? me.get('heroConfig') ? {}
heroIndex = Math.max 0, _.findIndex(heroes, ((hero) -> hero.get('original') is heroConfig.thangType))
@$el.find(".hero-item:nth-child(#{heroIndex + 1}), .hero-indicator:nth-child(#{heroIndex + 1})").addClass('active')
@onHeroChanged direction: null, relatedTarget: @$el.find('.hero-item')[heroIndex]
onHeroChanged: (e) ->
direction = e.direction # 'left' or 'right'
heroItem = $(e.relatedTarget)
hero = _.find @heroes.models, (hero) -> hero.get('original') is heroItem.data('hero-id')
heroIndex = heroItem.index()
@$el.find('.hero-indicator').each ->
distance = Math.min 3, Math.abs $(@).index() - heroIndex
size = 100 - (50 / 3) * distance
$(@).css width: size, height: size, top: -(100 - size) / 2
heroInfo = temporaryHeroInfo[hero.get('slug')]
locked = heroInfo.status is 'Locked'
hero = @loadHero hero, heroIndex
@selectedHero = hero unless locked
Backbone.Mediator.publish 'level:hero-selection-updated', hero: @selectedHero
$('#choose-inventory-button').prop 'disabled', locked
loadHero: (hero, heroIndex) ->
createjs.Ticker.removeEventListener 'tick', stage for stage in _.values @stages
if stage = @stages[heroIndex]
createjs.Ticker.addEventListener 'tick', stage
@playSelectionSound hero
return hero
fullHero = new ThangType()
fullHero.setURL "/db/thang.type/#{hero.get('original')}/version"
fullHero = (@supermodel.loadModel fullHero, 'thang').model
onLoaded = =>
return unless canvas = $(".hero-item[data-hero-id='#{fullHero.get('original')}'] canvas")
canvas.prop width: @canvasWidth, height: @canvasHeight
builder = new SpriteBuilder(fullHero)
movieClip = builder.buildMovieClip(fullHero.get('actions').attack?.animation ? fullHero.get('actions').idle.animation)
movieClip.scaleX = movieClip.scaleY = canvas.prop('height') / 120 # Average hero height is ~110px tall at normal resolution
if fullHero.get('name') in ['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI'] # These are too big, so shrink them.
movieClip.scaleX *= 0.7
movieClip.scaleY *= 0.7
movieClip.regX = -fullHero.get('positions').registration.x
movieClip.regY = -fullHero.get('positions').registration.y
movieClip.x = canvas.prop('width') * 0.5
movieClip.y = canvas.prop('height') * 0.925 # This is where the feet go.
stage = new createjs.Stage(canvas[0])
stage.addChild movieClip
stage.update()
createjs.Ticker.addEventListener 'tick', stage
movieClip.gotoAndPlay 0
@stages[heroIndex] = stage
@playSelectionSound hero
if fullHero.loaded
_.defer onLoaded
else
@listenToOnce fullHero, 'sync', onLoaded
fullHero
playSelectionSound: (hero) ->
return if @$el.hasClass 'secret'
@currentSoundInstance?.stop()
return unless sounds = hero.get('soundTriggers')?.selected
return unless sound = sounds[Math.floor Math.random() * sounds.length]
name = AudioPlayer.nameForSoundReference sound
AudioPlayer.preloadSoundReference sound
@currentSoundInstance = AudioPlayer.playSound name, 1
@currentSoundInstance
onCodeLanguageChanged: (e) ->
@codeLanguage = @$el.find('#option-code-language').val()
@codeLanguageChanged = true
onShown: ->
# Called when we switch tabs to this within the modal
onHidden: ->
# Called when the modal itself is dismissed
temporaryHeroInfo =
captain:
fullName: 'PI:NAME:<NAME>END_PI'
weapons: 'Razor Discs'
status: 'Available'
health: '35'
speed: '4 m/s'
knight:
fullName: 'PI:NAME:<NAME>END_PI'
weapons: 'Swords'
status: 'Available'
health: '35'
speed: '4 m/s'
thoktar:
fullName: 'PI:NAME:<NAME>END_PI'
weapons: 'Magic'
status: 'Locked'
health: '???'
speed: '???'
equestrian:
fullName: 'PI:NAME:<NAME>END_PI'
weapons: 'Axes'
status: 'Locked'
health: '???'
speed: '???'
'potion-master':
fullName: 'PI:NAME:<NAME>END_PI'
weapons: 'Magic'
status: 'Locked'
health: '???'
speed: '???'
librarian:
fullName: 'PI:NAME:<NAME>END_PI'
weapons: 'Magic'
status: 'Locked'
health: '???'
speed: '???'
'robot-walker':
fullName: '???'
weapons: '???'
status: 'Locked'
health: '???'
speed: '???'
'michael-heasell':
fullName: '???'
weapons: '???'
status: 'Locked'
health: '???'
speed: '???'
'ian-elliott':
fullName: '???'
weapons: '???'
status: 'Locked'
health: '???'
speed: '???'
|
[
{
"context": "dh', ->\n it 'works', ->\n pubkey = new Buffer '03a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd', 'hex'\n privkey = new Buffer 'e3b0c44298fc1c1",
"end": 196,
"score": 0.9997363686561584,
"start": 130,
"tag": "KEY",
"value": "03a34b99f22c790c4e36b2b3c2c... | test/ecdh.coffee | shesek/ecdh-es | 1 | ecdh = require '../src/ecdh'
{ equal: eq } = ok = require 'assert'
describe 'ecdh', ->
it 'works', ->
pubkey = new Buffer '03a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd', 'hex'
privkey = new Buffer 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'hex'
for i in [1..5]
pt = 'hello'+i
pt += pt for [1..(0|Math.random()*10)]
eq pt, (ecdh.decrypt privkey, ecdh.encrypt pubkey, pt).toString()
| 65053 | ecdh = require '../src/ecdh'
{ equal: eq } = ok = require 'assert'
describe 'ecdh', ->
it 'works', ->
pubkey = new Buffer '<KEY>', 'hex'
privkey = new Buffer '<KEY>', 'hex'
for i in [1..5]
pt = 'hello'+i
pt += pt for [1..(0|Math.random()*10)]
eq pt, (ecdh.decrypt privkey, ecdh.encrypt pubkey, pt).toString()
| true | ecdh = require '../src/ecdh'
{ equal: eq } = ok = require 'assert'
describe 'ecdh', ->
it 'works', ->
pubkey = new Buffer 'PI:KEY:<KEY>END_PI', 'hex'
privkey = new Buffer 'PI:KEY:<KEY>END_PI', 'hex'
for i in [1..5]
pt = 'hello'+i
pt += pt for [1..(0|Math.random()*10)]
eq pt, (ecdh.decrypt privkey, ecdh.encrypt pubkey, pt).toString()
|
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998716711997986,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
}
] | src/app/components/services/SessionService.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
angular.module "webClient"
.service 'SessionService', (Restangular, $document, $q, localStorageService, PhoneService) ->
@session =
currentStep:
resource: {} #Contains raw data, received from server
return
| 17765 | # Copyright (c) 2015 naymspace software (<NAME>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
angular.module "webClient"
.service 'SessionService', (Restangular, $document, $q, localStorageService, PhoneService) ->
@session =
currentStep:
resource: {} #Contains raw data, received from server
return
| true | # Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
angular.module "webClient"
.service 'SessionService', (Restangular, $document, $q, localStorageService, PhoneService) ->
@session =
currentStep:
resource: {} #Contains raw data, received from server
return
|
[
{
"context": "\n \"id\": 1, \"mbid\": \"x\", \"name\": \"Dummy\", \"disambiguation\": \"Dummy\", \"listeners\": 78616, ",
"end": 754,
"score": 0.9927184581756592,
"start": 749,
"tag": "NAME",
"value": "Dummy"
}
] | spec/javascripts/jquery-music_metadata/artists_spec.js.coffee | volontariat/jquery-discography | 1 | describe 'MusicMetadata.Artists', ->
beforeEach ->
jasmine.Ajax.install()
affix '#music_artists_list'
jasmine.Ajax.requests.reset()
describe '#showPage', ->
describe 'successful response', ->
describe 'any artists', ->
it 'adds rows to the table with artist metadata', ->
$('#music_artists_list').musicArtists()
request = jasmine.Ajax.requests.mostRecent()
expect(request.url).toBe('http://Volontari.at/api/v1/music/artists.json?state=active&page=1')
body = """
{
"current_page": 1, "per_page": 10, "total_entries": 1, "total_pages": 1,
"entries": [
{
"id": 1, "mbid": "x", "name": "Dummy", "disambiguation": "Dummy", "listeners": 78616, "plays": 3033578,
"founded_at": "2010-01-01T00:00:00Z", "dissolved_at": null, "state": "active"
}
]
}
"""
request.respondWith
status: 200
responseText: body
expect($($('.music_artist_link')[0]).data('id')).toBe(1)
describe 'no artists', ->
it 'adds a row to the table with the error message', ->
$('#music_artists_list').musicArtists()
request = jasmine.Ajax.requests.mostRecent()
expect(request.url).toBe('http://Volontari.at/api/v1/music/artists.json?state=active&page=1')
body = """
{
"current_page": 1, "per_page": 10, "total_entries": 1, "total_pages": 1,
"entries": []
}
"""
request.respondWith
status: 200
responseText: body
expect($('#music_artists_list:contains("No artists found!")').length).toBe(1)
describe 'faulty response', ->
it 'adds rows to the table with an error message', ->
$('#music_artists_list').musicArtists()
request = jasmine.Ajax.requests.mostRecent()
expect(request.url).toBe('http://Volontari.at/api/v1/music/artists.json?state=active&page=1')
request.respondWith
status: 500
responseText: ''
expect($("td:contains('Failed to load artists!')").length).toBe(1)
| 142929 | describe 'MusicMetadata.Artists', ->
beforeEach ->
jasmine.Ajax.install()
affix '#music_artists_list'
jasmine.Ajax.requests.reset()
describe '#showPage', ->
describe 'successful response', ->
describe 'any artists', ->
it 'adds rows to the table with artist metadata', ->
$('#music_artists_list').musicArtists()
request = jasmine.Ajax.requests.mostRecent()
expect(request.url).toBe('http://Volontari.at/api/v1/music/artists.json?state=active&page=1')
body = """
{
"current_page": 1, "per_page": 10, "total_entries": 1, "total_pages": 1,
"entries": [
{
"id": 1, "mbid": "x", "name": "<NAME>", "disambiguation": "Dummy", "listeners": 78616, "plays": 3033578,
"founded_at": "2010-01-01T00:00:00Z", "dissolved_at": null, "state": "active"
}
]
}
"""
request.respondWith
status: 200
responseText: body
expect($($('.music_artist_link')[0]).data('id')).toBe(1)
describe 'no artists', ->
it 'adds a row to the table with the error message', ->
$('#music_artists_list').musicArtists()
request = jasmine.Ajax.requests.mostRecent()
expect(request.url).toBe('http://Volontari.at/api/v1/music/artists.json?state=active&page=1')
body = """
{
"current_page": 1, "per_page": 10, "total_entries": 1, "total_pages": 1,
"entries": []
}
"""
request.respondWith
status: 200
responseText: body
expect($('#music_artists_list:contains("No artists found!")').length).toBe(1)
describe 'faulty response', ->
it 'adds rows to the table with an error message', ->
$('#music_artists_list').musicArtists()
request = jasmine.Ajax.requests.mostRecent()
expect(request.url).toBe('http://Volontari.at/api/v1/music/artists.json?state=active&page=1')
request.respondWith
status: 500
responseText: ''
expect($("td:contains('Failed to load artists!')").length).toBe(1)
| true | describe 'MusicMetadata.Artists', ->
beforeEach ->
jasmine.Ajax.install()
affix '#music_artists_list'
jasmine.Ajax.requests.reset()
describe '#showPage', ->
describe 'successful response', ->
describe 'any artists', ->
it 'adds rows to the table with artist metadata', ->
$('#music_artists_list').musicArtists()
request = jasmine.Ajax.requests.mostRecent()
expect(request.url).toBe('http://Volontari.at/api/v1/music/artists.json?state=active&page=1')
body = """
{
"current_page": 1, "per_page": 10, "total_entries": 1, "total_pages": 1,
"entries": [
{
"id": 1, "mbid": "x", "name": "PI:NAME:<NAME>END_PI", "disambiguation": "Dummy", "listeners": 78616, "plays": 3033578,
"founded_at": "2010-01-01T00:00:00Z", "dissolved_at": null, "state": "active"
}
]
}
"""
request.respondWith
status: 200
responseText: body
expect($($('.music_artist_link')[0]).data('id')).toBe(1)
describe 'no artists', ->
it 'adds a row to the table with the error message', ->
$('#music_artists_list').musicArtists()
request = jasmine.Ajax.requests.mostRecent()
expect(request.url).toBe('http://Volontari.at/api/v1/music/artists.json?state=active&page=1')
body = """
{
"current_page": 1, "per_page": 10, "total_entries": 1, "total_pages": 1,
"entries": []
}
"""
request.respondWith
status: 200
responseText: body
expect($('#music_artists_list:contains("No artists found!")').length).toBe(1)
describe 'faulty response', ->
it 'adds rows to the table with an error message', ->
$('#music_artists_list').musicArtists()
request = jasmine.Ajax.requests.mostRecent()
expect(request.url).toBe('http://Volontari.at/api/v1/music/artists.json?state=active&page=1')
request.respondWith
status: 500
responseText: ''
expect($("td:contains('Failed to load artists!')").length).toBe(1)
|
[
{
"context": " {\n id: \"get-around-dublin\"\n name: \"Get Around Dublin\"\n description: 'Discover your city'\n ",
"end": 305,
"score": 0.9636940360069275,
"start": 288,
"tag": "NAME",
"value": "Get Around Dublin"
},
{
"context": "n: \"personal website\"\n ... | models/ProjectsModel.coffee | balazspete/eliendrae.net | 0 |
Model = require './index'
class ProjectsModel extends Model
_setup: ->
super()
@setBody "Projects"
@_setViewProperty "title", "Projects"
@_setViewProperty "scripts", ["projects"], false
@add "projects", [
{
id: "get-around-dublin"
name: "Get Around Dublin"
description: 'Discover your city'
link: "//get-around-dublin.eliendrae.net"
date: "2015"
skills: ["iOS", "Swift"]
details: [
"Get Around Dublin is an application that aims to solve the comon problems with real time transport information applications. Most of the alternatives, especially for dublin, have bad user experience, they are slow, and not intuitive to use. They do not consider the main use-case of such application..."
"I don't neessarily know the ID of my bus stop, nor its name. This is worse if I'm around a less frequently encountered area. Get Around Dublin shows contextual information regarding Dublin's public transport, allowing access to the information that most people would care about with little effort on the users."
"Get Around Dublin also aims to help its users to know where they are travelling to or how to get where they want to, without requiring to know a destination addredd or name. The application indicates which direction a bus is headed to (Noth, South, etc..) and where the closest stops per direction are. In addition turn-by-turn navigation is available to a bus stop."
"The application aims to be fast and responsive, aiming to reduce users' frustration with a transport application."
"Planned features include support for additional services, performance improvements, and solutions to suggest transport information as well as aim to be a companion app for people living in Dublin: suggest events, nearby attractions or things to do when you are bored..."
]
}
{
inverse: true
id: "tcd-dissertation"
name: "Usable Mobile Geographical Linked Data Visualisation"
description: 'MSc dissertation'
date: "2014"
skills: ["Linked data", "SPARQL", "iOS", "Usability evaluation", "Information visualisation"]
details: [
"Applications: PVGeoVisualisation, PVGeoVisualisation mobile"
"In this study, the usability of the visualisation of geographical Linked Data on a mobile device was investigated. A mobile application was developed through an iterative process where the development of later prototype iterations were guided by analysing the results of usability studies. After a paper-based study and three prototype iterations, this application was compared to a desktop-based Linked Data geographical visualisation. This work is important because the amount of available spatial Linked Data is growing every day and the need to visualise this information to help users understand it increases correspondingly. There has been less effort to date in mobile Linked Data research, and not many mobile applications focus on visualising geographical data."
"The experiments showed that the usability of the mobile app was affected by the addition visual feedback, the increased number of features, the introduction of visual cues, and whether users preferred the mobile app over the desktop one. The results indicated that achieving equivalent usability to the desktop application on mobile is possible. These results show that both applications are suitable for the exploration of geographical Linked Data, however one application cannot fully replace the other as the suitability of an application ultimately depended on the user’s platform preferences."
"The analysis of the results of the usability experiments enable readers to identify the main challenges to consider when designing a mobile Linked Data application. This is supported by the presented investigation of how different mobile and Linked Data visualisation challenges can apply to a tablet application. The findings of this study could help in making appropriate design decisions for future applications. However, it is important to note that the experiments have been carried out with a small number of participants and that more data would need to be gathered through user studies prior to making any final conclusions."
]
}
{
id: "eliendrae-net"
name: "eliendrae.net"
description: "personal website"
link: "//github.com/balazspete/eliendrae.net"
date: "2014"
skills: ['Web development', 'HTML', 'LESS', 'CSS', 'JavaScript', 'Node.js', 'CoffeeScript', 'Handlebars.js', 'jQuery']
details: [
"Redesigned my personal website with a direction towards minimalistic UI design"
]
}
{
inverse: true
id: "tcd-fall-detection"
link: "//github.com/balazspete/wearable-fall-sensor"
name: "A fully mobile and unobtrusive wearable fall detection system"
date: "2014"
skills: ["Android", "Arduino", "BLE", "Java"]
details: [
"A wearable fall detection system, focusing on developing a fully mobile and location independent approach that results in a reliable fall detection system that is comparable in performance to existing solutions, however it should be comfortable to use by its wearer and should be non-intrusive requiring very little attention."
"Based on mainstream platforms to aim to reduce costs and investigate whether good performance is achievable."
]
}
{
id: "tcd-learn"
name: "Learn"
link: "//github.com/balazspete/smart-collaborations"
description: "Classroom collaboration environment"
date: "2014"
skills: ["iOS", "Node.js", "OpenCV"]
details: [
"A system that is capable to draw in and organise external resources for students, such as the white-board or the student's notes and intelligently link them to online resources such as lecture slides. In addition, the system offers real time in-class collaboration between students."
"Targeted for iPads (with the possibility to expand to other platforms), includes use of OpenCV, machine learning, and web based services."
]
}
{
inverse: true
id: "tcd-crystal-game"
name: "Crystal Game"
link: "//github.com/balazspete/crystal-game"
description: "Augmented reality multi-player game"
date: "2014"
skills: ['Android', 'jUnit', 'XP', 'Scrum', 'Java', 'Socket programming', 'Distributed systems', 'Networks']
details: [
"An augmented reality mobile game, allowing users to collect crystals in the environment and duel with each other. The project focuses on the implementation of a reliable and concurrent distributed application."
]
}
{
id: "tcd-train"
name: "Multi-hop train journey booking system"
link: "//github.com/balazspete/multi-hop-train-journey-booking"
date: "2013"
skills: ['Java', 'Socket programming', 'Networks', 'Distributed Systems']
details: [
"A distributed multi-hop train journey booking application, capable to scale to millions of users."
]
}
{
inverse: true
id: "ucd-final-project"
name: "Gesture Recognition for Exercise"
link: "//github.com/balazspete/Gesture-Recognition-for-Exercise"
description: "BSc final year project"
date: "2012 - 2013"
skills: ['Java', 'Gesture recognition', 'Machine learning', 'Signal processing']
details: [
"Created a system capable to recognise different physical activities using position sensors"
]
}
{
id: "ucdsufb"
name: "UCD Students' Union Facebook Application"
date: "2012"
skills: ['HTML', 'CSS', 'LESS', 'JavaScript', 'CoffeeScript', 'Handlebars.js', 'JSON', 'Facebook API', 'jQuery']
details: [
"Created an information portal for incoming students"
]
}
{
inverse: true
id: "ucd-scisoc"
name: "UCD Science Society's Website"
date: "2011"
skills: ['HTML', 'CSS', 'MySQL', 'JavaScript', 'PHP', 'Facebook API', 'jQuery']
details: [
"As part of my responsibilities, I have developed the website for the Science Society."
"The site possessed features such as tickets selling, members and events management, to help the committee in its duties. In addition, the website was integrated with Facebook in order to automatically relay information to the members."
]
}
{
id: "ucd-fole"
name: "FOL-E"
description: "a first order logic editor"
date: "2011"
skills: ['Java']
link: 'http://www.youtube.com/watch?v=FRAyMdXee0c'
details: [
"A college project to develop a first order logic editor, named Fol-E. The introductory video is on Youtube."
]
}
]
module.exports = ProjectsModel
| 71690 |
Model = require './index'
class ProjectsModel extends Model
_setup: ->
super()
@setBody "Projects"
@_setViewProperty "title", "Projects"
@_setViewProperty "scripts", ["projects"], false
@add "projects", [
{
id: "get-around-dublin"
name: "<NAME>"
description: 'Discover your city'
link: "//get-around-dublin.eliendrae.net"
date: "2015"
skills: ["iOS", "Swift"]
details: [
"Get Around Dublin is an application that aims to solve the comon problems with real time transport information applications. Most of the alternatives, especially for dublin, have bad user experience, they are slow, and not intuitive to use. They do not consider the main use-case of such application..."
"I don't neessarily know the ID of my bus stop, nor its name. This is worse if I'm around a less frequently encountered area. Get Around Dublin shows contextual information regarding Dublin's public transport, allowing access to the information that most people would care about with little effort on the users."
"Get Around Dublin also aims to help its users to know where they are travelling to or how to get where they want to, without requiring to know a destination addredd or name. The application indicates which direction a bus is headed to (Noth, South, etc..) and where the closest stops per direction are. In addition turn-by-turn navigation is available to a bus stop."
"The application aims to be fast and responsive, aiming to reduce users' frustration with a transport application."
"Planned features include support for additional services, performance improvements, and solutions to suggest transport information as well as aim to be a companion app for people living in Dublin: suggest events, nearby attractions or things to do when you are bored..."
]
}
{
inverse: true
id: "tcd-dissertation"
name: "Usable Mobile Geographical Linked Data Visualisation"
description: 'MSc dissertation'
date: "2014"
skills: ["Linked data", "SPARQL", "iOS", "Usability evaluation", "Information visualisation"]
details: [
"Applications: PVGeoVisualisation, PVGeoVisualisation mobile"
"In this study, the usability of the visualisation of geographical Linked Data on a mobile device was investigated. A mobile application was developed through an iterative process where the development of later prototype iterations were guided by analysing the results of usability studies. After a paper-based study and three prototype iterations, this application was compared to a desktop-based Linked Data geographical visualisation. This work is important because the amount of available spatial Linked Data is growing every day and the need to visualise this information to help users understand it increases correspondingly. There has been less effort to date in mobile Linked Data research, and not many mobile applications focus on visualising geographical data."
"The experiments showed that the usability of the mobile app was affected by the addition visual feedback, the increased number of features, the introduction of visual cues, and whether users preferred the mobile app over the desktop one. The results indicated that achieving equivalent usability to the desktop application on mobile is possible. These results show that both applications are suitable for the exploration of geographical Linked Data, however one application cannot fully replace the other as the suitability of an application ultimately depended on the user’s platform preferences."
"The analysis of the results of the usability experiments enable readers to identify the main challenges to consider when designing a mobile Linked Data application. This is supported by the presented investigation of how different mobile and Linked Data visualisation challenges can apply to a tablet application. The findings of this study could help in making appropriate design decisions for future applications. However, it is important to note that the experiments have been carried out with a small number of participants and that more data would need to be gathered through user studies prior to making any final conclusions."
]
}
{
id: "eliendrae-net"
name: "eliendrae.net"
description: "personal website"
link: "//github.com/balazspete/eliendrae.net"
date: "2014"
skills: ['Web development', 'HTML', 'LESS', 'CSS', 'JavaScript', 'Node.js', 'CoffeeScript', 'Handlebars.js', 'jQuery']
details: [
"Redesigned my personal website with a direction towards minimalistic UI design"
]
}
{
inverse: true
id: "tcd-fall-detection"
link: "//github.com/balazspete/wearable-fall-sensor"
name: "A fully mobile and unobtrusive wearable fall detection system"
date: "2014"
skills: ["Android", "Arduino", "BLE", "Java"]
details: [
"A wearable fall detection system, focusing on developing a fully mobile and location independent approach that results in a reliable fall detection system that is comparable in performance to existing solutions, however it should be comfortable to use by its wearer and should be non-intrusive requiring very little attention."
"Based on mainstream platforms to aim to reduce costs and investigate whether good performance is achievable."
]
}
{
id: "tcd-learn"
name: "Learn"
link: "//github.com/balazspete/smart-collaborations"
description: "Classroom collaboration environment"
date: "2014"
skills: ["iOS", "Node.js", "OpenCV"]
details: [
"A system that is capable to draw in and organise external resources for students, such as the white-board or the student's notes and intelligently link them to online resources such as lecture slides. In addition, the system offers real time in-class collaboration between students."
"Targeted for iPads (with the possibility to expand to other platforms), includes use of OpenCV, machine learning, and web based services."
]
}
{
inverse: true
id: "tcd-crystal-game"
name: "Crystal Game"
link: "//github.com/balazspete/crystal-game"
description: "Augmented reality multi-player game"
date: "2014"
skills: ['Android', 'jUnit', 'XP', 'Scrum', 'Java', 'Socket programming', 'Distributed systems', 'Networks']
details: [
"An augmented reality mobile game, allowing users to collect crystals in the environment and duel with each other. The project focuses on the implementation of a reliable and concurrent distributed application."
]
}
{
id: "tcd-train"
name: "Multi-hop train journey booking system"
link: "//github.com/balazspete/multi-hop-train-journey-booking"
date: "2013"
skills: ['Java', 'Socket programming', 'Networks', 'Distributed Systems']
details: [
"A distributed multi-hop train journey booking application, capable to scale to millions of users."
]
}
{
inverse: true
id: "ucd-final-project"
name: "Gesture Recognition for Exercise"
link: "//github.com/balazspete/Gesture-Recognition-for-Exercise"
description: "BSc final year project"
date: "2012 - 2013"
skills: ['Java', 'Gesture recognition', 'Machine learning', 'Signal processing']
details: [
"Created a system capable to recognise different physical activities using position sensors"
]
}
{
id: "ucdsufb"
name: "UCD Students' Union Facebook Application"
date: "2012"
skills: ['HTML', 'CSS', 'LESS', 'JavaScript', 'CoffeeScript', 'Handlebars.js', 'JSON', 'Facebook API', 'jQuery']
details: [
"Created an information portal for incoming students"
]
}
{
inverse: true
id: "ucd-scisoc"
name: "UCD Science Society's Website"
date: "2011"
skills: ['HTML', 'CSS', 'MySQL', 'JavaScript', 'PHP', 'Facebook API', 'jQuery']
details: [
"As part of my responsibilities, I have developed the website for the Science Society."
"The site possessed features such as tickets selling, members and events management, to help the committee in its duties. In addition, the website was integrated with Facebook in order to automatically relay information to the members."
]
}
{
id: "ucd-fole"
name: "<NAME>"
description: "a first order logic editor"
date: "2011"
skills: ['Java']
link: 'http://www.youtube.com/watch?v=FRAyMdXee0c'
details: [
"A college project to develop a first order logic editor, named <NAME>. The introductory video is on Youtube."
]
}
]
module.exports = ProjectsModel
| true |
Model = require './index'
class ProjectsModel extends Model
_setup: ->
super()
@setBody "Projects"
@_setViewProperty "title", "Projects"
@_setViewProperty "scripts", ["projects"], false
@add "projects", [
{
id: "get-around-dublin"
name: "PI:NAME:<NAME>END_PI"
description: 'Discover your city'
link: "//get-around-dublin.eliendrae.net"
date: "2015"
skills: ["iOS", "Swift"]
details: [
"Get Around Dublin is an application that aims to solve the comon problems with real time transport information applications. Most of the alternatives, especially for dublin, have bad user experience, they are slow, and not intuitive to use. They do not consider the main use-case of such application..."
"I don't neessarily know the ID of my bus stop, nor its name. This is worse if I'm around a less frequently encountered area. Get Around Dublin shows contextual information regarding Dublin's public transport, allowing access to the information that most people would care about with little effort on the users."
"Get Around Dublin also aims to help its users to know where they are travelling to or how to get where they want to, without requiring to know a destination addredd or name. The application indicates which direction a bus is headed to (Noth, South, etc..) and where the closest stops per direction are. In addition turn-by-turn navigation is available to a bus stop."
"The application aims to be fast and responsive, aiming to reduce users' frustration with a transport application."
"Planned features include support for additional services, performance improvements, and solutions to suggest transport information as well as aim to be a companion app for people living in Dublin: suggest events, nearby attractions or things to do when you are bored..."
]
}
{
inverse: true
id: "tcd-dissertation"
name: "Usable Mobile Geographical Linked Data Visualisation"
description: 'MSc dissertation'
date: "2014"
skills: ["Linked data", "SPARQL", "iOS", "Usability evaluation", "Information visualisation"]
details: [
"Applications: PVGeoVisualisation, PVGeoVisualisation mobile"
"In this study, the usability of the visualisation of geographical Linked Data on a mobile device was investigated. A mobile application was developed through an iterative process where the development of later prototype iterations were guided by analysing the results of usability studies. After a paper-based study and three prototype iterations, this application was compared to a desktop-based Linked Data geographical visualisation. This work is important because the amount of available spatial Linked Data is growing every day and the need to visualise this information to help users understand it increases correspondingly. There has been less effort to date in mobile Linked Data research, and not many mobile applications focus on visualising geographical data."
"The experiments showed that the usability of the mobile app was affected by the addition visual feedback, the increased number of features, the introduction of visual cues, and whether users preferred the mobile app over the desktop one. The results indicated that achieving equivalent usability to the desktop application on mobile is possible. These results show that both applications are suitable for the exploration of geographical Linked Data, however one application cannot fully replace the other as the suitability of an application ultimately depended on the user’s platform preferences."
"The analysis of the results of the usability experiments enable readers to identify the main challenges to consider when designing a mobile Linked Data application. This is supported by the presented investigation of how different mobile and Linked Data visualisation challenges can apply to a tablet application. The findings of this study could help in making appropriate design decisions for future applications. However, it is important to note that the experiments have been carried out with a small number of participants and that more data would need to be gathered through user studies prior to making any final conclusions."
]
}
{
id: "eliendrae-net"
name: "eliendrae.net"
description: "personal website"
link: "//github.com/balazspete/eliendrae.net"
date: "2014"
skills: ['Web development', 'HTML', 'LESS', 'CSS', 'JavaScript', 'Node.js', 'CoffeeScript', 'Handlebars.js', 'jQuery']
details: [
"Redesigned my personal website with a direction towards minimalistic UI design"
]
}
{
inverse: true
id: "tcd-fall-detection"
link: "//github.com/balazspete/wearable-fall-sensor"
name: "A fully mobile and unobtrusive wearable fall detection system"
date: "2014"
skills: ["Android", "Arduino", "BLE", "Java"]
details: [
"A wearable fall detection system, focusing on developing a fully mobile and location independent approach that results in a reliable fall detection system that is comparable in performance to existing solutions, however it should be comfortable to use by its wearer and should be non-intrusive requiring very little attention."
"Based on mainstream platforms to aim to reduce costs and investigate whether good performance is achievable."
]
}
{
id: "tcd-learn"
name: "Learn"
link: "//github.com/balazspete/smart-collaborations"
description: "Classroom collaboration environment"
date: "2014"
skills: ["iOS", "Node.js", "OpenCV"]
details: [
"A system that is capable to draw in and organise external resources for students, such as the white-board or the student's notes and intelligently link them to online resources such as lecture slides. In addition, the system offers real time in-class collaboration between students."
"Targeted for iPads (with the possibility to expand to other platforms), includes use of OpenCV, machine learning, and web based services."
]
}
{
inverse: true
id: "tcd-crystal-game"
name: "Crystal Game"
link: "//github.com/balazspete/crystal-game"
description: "Augmented reality multi-player game"
date: "2014"
skills: ['Android', 'jUnit', 'XP', 'Scrum', 'Java', 'Socket programming', 'Distributed systems', 'Networks']
details: [
"An augmented reality mobile game, allowing users to collect crystals in the environment and duel with each other. The project focuses on the implementation of a reliable and concurrent distributed application."
]
}
{
id: "tcd-train"
name: "Multi-hop train journey booking system"
link: "//github.com/balazspete/multi-hop-train-journey-booking"
date: "2013"
skills: ['Java', 'Socket programming', 'Networks', 'Distributed Systems']
details: [
"A distributed multi-hop train journey booking application, capable to scale to millions of users."
]
}
{
inverse: true
id: "ucd-final-project"
name: "Gesture Recognition for Exercise"
link: "//github.com/balazspete/Gesture-Recognition-for-Exercise"
description: "BSc final year project"
date: "2012 - 2013"
skills: ['Java', 'Gesture recognition', 'Machine learning', 'Signal processing']
details: [
"Created a system capable to recognise different physical activities using position sensors"
]
}
{
id: "ucdsufb"
name: "UCD Students' Union Facebook Application"
date: "2012"
skills: ['HTML', 'CSS', 'LESS', 'JavaScript', 'CoffeeScript', 'Handlebars.js', 'JSON', 'Facebook API', 'jQuery']
details: [
"Created an information portal for incoming students"
]
}
{
inverse: true
id: "ucd-scisoc"
name: "UCD Science Society's Website"
date: "2011"
skills: ['HTML', 'CSS', 'MySQL', 'JavaScript', 'PHP', 'Facebook API', 'jQuery']
details: [
"As part of my responsibilities, I have developed the website for the Science Society."
"The site possessed features such as tickets selling, members and events management, to help the committee in its duties. In addition, the website was integrated with Facebook in order to automatically relay information to the members."
]
}
{
id: "ucd-fole"
name: "PI:NAME:<NAME>END_PI"
description: "a first order logic editor"
date: "2011"
skills: ['Java']
link: 'http://www.youtube.com/watch?v=FRAyMdXee0c'
details: [
"A college project to develop a first order logic editor, named PI:NAME:<NAME>END_PI. The introductory video is on Youtube."
]
}
]
module.exports = ProjectsModel
|
[
{
"context": "e'\n description: 'Recipe description'\n author: 'Anonymous Brewer'\n boilSize: 10.0\n batchSize: 20.0\n servingSize",
"end": 333,
"score": 0.9995887875556946,
"start": 317,
"tag": "NAME",
"value": "Anonymous Brewer"
},
{
"context": "8C\n new Brauhaus.MashSt... | src/recipe.coffee | Metgezel/brauhausjs | 94 | ###
A beer recipe, consisting of various ingredients and metadata which
provides a calculate() method to calculate OG, FG, IBU, ABV, and a
timeline of instructions for brewing the recipe.
###
class Brauhaus.Recipe extends Brauhaus.OptionConstructor
name: 'New Recipe'
description: 'Recipe description'
author: 'Anonymous Brewer'
boilSize: 10.0
batchSize: 20.0
servingSize: 0.355
steepEfficiency: 50
steepTime: 20
mashEfficiency: 75
style: null
# The IBU calculation method (tinseth or rager)
ibuMethod: 'tinseth'
fermentables: null
spices: null
yeast: null
mash: null
og: 0.0
fg: 0.0
color: 0.0
ibu: 0.0
abv: 0.0
price: 0.0
# Bitterness to gravity ratio
buToGu: 0.0
# Balance value (http://klugscheisserbrauerei.wordpress.com/beer-balance/)
bv: 0.0
ogPlato: 0.0
fgPlato: 0.0
abw: 0.0
realExtract: 0.0
calories: 0.0
bottlingTemp: 0.0
bottlingPressure: 0.0
primingCornSugar: 0.0
primingSugar: 0.0
primingHoney: 0.0
primingDme: 0.0
primaryDays: 14.0
primaryTemp: 20.0
secondaryDays: 0.0
secondaryTemp: 0.0
tertiaryDays: 0.0
tertiaryTemp: 0.0
agingDays: 14
agingTemp: 20.0
brewDayDuration: null
boilStartTime: null
boilEndTime: null
# A mapping of values used to build a recipe timeline / instructions
timelineMap: null
# A mapping of parameter names to object constructors
_paramMap:
fermentables: Brauhaus.Fermentable
spices: Brauhaus.Spice
yeast: Brauhaus.Yeast
mash: Brauhaus.Mash
constructor: (options) ->
@fermentables = []
@spices = []
@yeast = []
super(options)
# Export a recipe to JSON, which stores all values which are not
# easily computed via Recipe.prototype.calculate(). This method
# gets called when using JSON.stringify(recipe).
toJSON: ->
json = {
@name
@description
@author
@boilSize
@batchSize
@servingSize
@steepEfficiency
@steepTime
@mashEfficiency
@style
@ibuMethod
@fermentables
@spices
@yeast
@mash
@bottlingTemp
@bottlingPressure
@primaryDays
@primaryTemp
@secondaryDays
@secondaryTemp
@tertiaryDays
@tertiaryTemp
@agingDays
@agingTemp
}
# Get the batch size in gallons
batchSizeGallons: ->
Brauhaus.litersToGallons @batchSize
# Get the boil size in gallons
boilSizeGallons: ->
Brauhaus.litersToGallons @boilSize
add: (type, values) ->
switch type
when 'fermentable'
@fermentables.push new Brauhaus.Fermentable(values)
when 'spice', 'hop'
@spices.push new Brauhaus.Spice(values)
when 'yeast'
@yeast.push new Brauhaus.Yeast(values)
# Get the total weight of grains in kg
grainWeight: ->
weight = 0.0
for fermentable in @fermentables
weight += fermentable.weight if fermentable.type() is 'grain'
weight
# Get the total number of whole bottles (i.e. servings)
bottleCount: ->
Math.floor(@batchSize / @servingSize)
# Get a friendly human-readable color name
colorName: ->
Brauhaus.srmToName @color
# Scale this recipe, keeping gravity and bitterness the same
scale: (batchSize, boilSize) ->
earlyOg = 1.0
newEarlyOg = 1.0
for fermentable in @fermentables
# Store early gravity for bitterness calculations
efficiency = switch fermentable.addition()
when 'steep' then @steepEfficiency / 100.0
when 'mash' then @mashEfficiency / 100.0
else 1.0
if not fermentable.late
earlyOg += fermentable.gu(@boilSize) * efficiency / 1000.0
# Adjust fermentable weight
fermentable.weight *= batchSize / @batchSize
if not fermentable.late
newEarlyOg += fermentable.gu(boilSize) * efficiency / 1000.0
for spice in @spices
if spice.aa and spice.time
bitterness = spice.bitterness @ibuMethod, earlyOg, @batchSize
switch @ibuMethod
when 'tinseth'
spice.weight = (bitterness * batchSize) / (1.65 * Math.pow(0.000125, newEarlyOg - 1.0) * ((1 - Math.pow(2.718, -0.04 * spice.time)) / 4.15) * (spice.aa / 100 * 1000000) * spice.utilizationFactor())
when 'rager'
utilization = 18.11 + 13.86 * tanh((spice.time - 31.32) / 18.27)
adjustment = Math.max(0, (newEarlyOg - 1.050) / 0.2)
spice.weight = bitterness / (100 * utilization * spice.utilizationFactor() * spice.aa / (batchSize * (1 + adjustment)))
else
# Scale linearly, no bitterness
spice.weight *= batchSize / @batchSize
@batchSize = batchSize
@boilSize = boilSize
# Give this recipe a grade based on the completeness and quality
# of the recipe, where the larger the grade, the better the
# recipe quality. A totally blank recipe will return zero.
grade: ->
grade = 0.0
# Basic recipe name, description, and author should be set
if @name.toLowerCase() not in ['', 'new recipe', 'untitled']
grade += 1.0
if @description.toLowerCase() not in ['', 'recipe description']
grade += 1.0
if @author.toLowerCase() not in ['', 'anonymous brewer']
grade += 1.0
# A BJCP or other target style should be set
if @style
grade += 0.5
# Do we have at least one of each fermentable/spice/yeast?
for ingredients in [@fermentables, @spices, @yeast]
if ingredients.length
grade += 1.0
filterFunc = (x) ->
x.name.toLowerCase() in [
'',
'new fermentable',
'new spice',
'new yeast'
]
# Do all items have a name?
if not ingredients.filter(filterFunc).length
grade += 0.5
return grade
calculate: ->
@og = 1.0
@fg = 0.0
@ibu = 0.0
@price = 0.0
earlyOg = 1.0
mcu = 0.0
attenuation = 0.0
# A map of various ingredient values used to generate the timeline
# steps below.
@timelineMap =
fermentables:
mash: []
steep: []
boil: []
boilEnd: []
times: {}
drySpice: {}
yeast: []
# Calculate gravities and color from fermentables
for fermentable in @fermentables
efficiency = switch fermentable.addition()
when 'steep' then @steepEfficiency / 100.0
when 'mash' then @mashEfficiency / 100.0
else 1.0
mcu += fermentable.color * fermentable.weightLb() / @batchSizeGallons()
# Update gravities
gu = fermentable.gu(@batchSize) * efficiency
gravity = gu / 1000.0
@og += gravity
if not fermentable.late
earlyOg += fermentable.gu(@boilSize) * efficiency / 1000.0
# Update recipe price with fermentable
@price += fermentable.price()
# Add fermentable info into the timeline map
switch fermentable.addition()
when 'boil'
if not fermentable.late
@timelineMap.fermentables.boil.push [fermentable, gu]
else
@timelineMap.fermentables.boilEnd.push [fermentable, gu]
when 'steep'
@timelineMap.fermentables.steep.push [fermentable, gu]
when 'mash'
@timelineMap.fermentables.mash.push [fermentable, gu]
@color = 1.4922 * Math.pow(mcu, 0.6859)
# Get attenuation for final gravity
for yeast in @yeast
attenuation = yeast.attenuation if yeast.attenuation > attenuation
# Update recipe price with yeast
@price += yeast.price()
# Add yeast info into the timeline map
@timelineMap.yeast.push yeast
attenuation = 75.0 if attenuation is 0
# Update final gravity based on original gravity and maximum
# attenuation from yeast.
@fg = @og - ((@og - 1.0) * attenuation / 100.0)
# Update alcohol by volume based on original and final gravity
@abv = ((1.05 * (@og - @fg)) / @fg) / 0.79 * 100.0
# Gravity degrees plato approximations
@ogPlato = (-463.37) + (668.72 * @og) - (205.35 * (@og * @og))
@fgPlato = (-463.37) + (668.72 * @fg) - (205.35 * (@fg * @fg))
# Update calories
@realExtract = (0.1808 * @ogPlato) + (0.8192 * @fgPlato)
@abw = 0.79 * @abv / @fg
@calories = Math.max(0, ((6.9 * @abw) + 4.0 * (@realExtract - 0.10)) * @fg * @servingSize * 10)
# Calculate bottle / keg priming amounts
v = @bottlingPressure or 2.5
t = Brauhaus.cToF(@bottlingTemp or Brauhaus.ROOM_TEMP)
@primingCornSugar = .015195 * 5 * (v - 3.0378 + (0.050062 * t) - (0.00026555 * t * t))
@primingSugar = @primingCornSugar * 0.90995
@primingHoney = @primingCornSugar * 1.22496
@primingDme = @primingCornSugar * 1.33249
# Calculate bitterness
for spice in @spices
bitterness = 0.0
time = spice.time
if spice.aa and spice.use.toLowerCase() is 'boil'
@ibu += spice.bitterness @ibuMethod, earlyOg, @batchSize
# Update recipe price with spice
@price += spice.price()
# Update timeline map with hop information
if spice.dry()
@timelineMap['drySpice'][time] ?= []
@timelineMap['drySpice'][time].push([spice, bitterness])
else
@timelineMap['times'][time] ?= []
@timelineMap['times'][time].push([spice, bitterness])
# Calculate bitterness to gravity ratios
@buToGu = @ibu / (@og - 1.000) / 1000.0
# http://klugscheisserbrauerei.wordpress.com/beer-balance/
rte = (0.82 * (@fg - 1.000) + 0.18 * (@og - 1.000)) * 1000.0
@bv = 0.8 * @ibu / rte
# Get a timeline as a list of [[time, description], ...] that can be put
# into a list or table. If siUnits is true, then use metric units,
# otherwise use imperial units.
# You MUST call `calculate()` on this recipe before this method.
timeline: (siUnits = true) ->
timeline = []
boilName = 'water'
totalTime = 0
currentTemp = Brauhaus.ROOM_TEMP
liquidVolume = 0
# Get a list of fermentable descriptions taking siUnits into account
fermentableList = (items) ->
ingredients = []
for [fermentable, gravity] in items or []
if siUnits
weight = "#{fermentable.weight.toFixed 1}kg"
else
lboz = fermentable.weightLbOz()
weight = "#{parseInt(lboz.lb)}lb #{parseInt(lboz.oz)}oz"
ingredients.push "#{weight} of #{fermentable.name} (#{gravity.toFixed 1} GU)"
return ingredients
# Get a list of spice descriptions taking siUnits into account
spiceList = (items) ->
ingredients = []
for [spice, ibu] in items or []
if siUnits
weight = "#{parseInt(spice.weight * 1000)}g"
else
weight = "#{(spice.weightLb() * 16.0).toFixed 2}oz"
extra = ''
if ibu
extra = " (#{ibu.toFixed 1} IBU)"
ingredients.push "#{weight} of #{spice.name}#{extra}"
return ingredients
if @timelineMap.fermentables.mash.length
boilName = 'wort'
mash = @mash
mash ?= new Brauhaus.Mash()
ingredients = fermentableList @timelineMap.fermentables.mash
timeline.push [totalTime, "Begin #{mash.name} mash. Add #{ingredients.join ', '}."]
steps = @mash?.steps or [
# Default to a basic 60 minute single-infustion mash at 68C
new Brauhaus.MashStep
name: 'Saccharification'
type: 'Infusion'
time: 60
rampTime: Brauhaus.timeToHeat @grainWeight(), 68 - currentTemp
temp: 68
waterRatio: 2.75
]
for step in steps
strikeVolume = (step.waterRatio * @grainWeight()) - liquidVolume
if step.temp != currentTemp and strikeVolume > 0
# We are adding hot or cold water!
strikeTemp = ((step.temp - currentTemp) * (0.4184 * @grainWeight()) / strikeVolume) + step.temp
timeToHeat = Brauhaus.timeToHeat strikeVolume, strikeTemp - currentTemp
if siUnits
strikeVolumeDesc = "#{strikeVolume.toFixed 1}l"
strikeTempDesc = "#{Math.round strikeTemp}°C"
else
strikeVolumeDesc = "#{(Brauhaus.litersToGallons(strikeVolume) * 4).toFixed 1}qts"
strikeTempDesc = "#{Math.round Brauhaus.cToF(strikeTemp)}°F"
timeline.push [totalTime, "Heat #{strikeVolumeDesc} to #{strikeTempDesc} (about #{Math.round timeToHeat} minutes)"]
liquidVolume += strikeVolume
totalTime += timeToHeat
else if step.temp != currentTemp
timeToHeat = Brauhaus.timeToHeat liquidVolume, step.temp - currentTemp
if siUnits
heatTemp = "#{Math.round step.temp}°C"
else
heatTemp = "#{Math.round Brauhaus.cToF(step.temp)}°F"
timeline.push [totalTime, "Heat the mash to #{heatTemp} (about #{Math.round timeToHeat} minutes)"]
totalTime += timeToHeat
timeline.push [totalTime, "#{step.name}: #{step.description(siUnits, @grainWeight())}."]
totalTime += step.time
currentTemp = step.temp - (step.time * Brauhaus.MASH_HEAT_LOSS / 60.0)
timeline.push [totalTime, 'Remove grains from mash. This is now your wort.']
totalTime += 5
if @timelineMap.fermentables.steep.length
boilName = 'wort'
steepWeight = (fermentable.weight for [fermentable, gravity] in @timelineMap.fermentables.steep).reduce (x, y) -> x + y
steepHeatTime = Brauhaus.timeToHeat steepWeight * 2.75, 68 - currentTemp
currentTemp = 68
liquidVolume += steepWeight * 2.75
if siUnits
steepVolume = "#{(steepWeight * 2.75).toFixed 1}l"
steepTemp = "#{68}°C"
else
steepVolume = "#{Brauhaus.litersToGallons(steepWeight * 2.75).toFixed 1}gal"
steepTemp = "#{Brauhaus.cToF(68).toFixed 1}°F"
timeline.push [totalTime, "Heat #{steepVolume} to #{steepTemp} (about #{Math.round steepHeatTime} minutes)"]
totalTime += steepHeatTime
ingredients = fermentableList @timelineMap.fermentables.steep
timeline.push [totalTime, "Add #{ingredients.join ', '} and steep for #{@steepTime} minutes."]
totalTime += 20
# Adjust temperature based on added water
waterChangeRatio = Math.min(1, liquidVolume / @boilSize)
currentTemp = (currentTemp * waterChangeRatio) + (Brauhaus.ROOM_TEMP * (1.0 - waterChangeRatio))
if siUnits
boilVolume = "#{@boilSize.toFixed 1}l"
else
boilVolume = "#{@boilSizeGallons().toFixed 1}gal"
if @boilSize - liquidVolume < @boilSize
action = "Top up the #{boilName} to #{boilVolume} and heat to a rolling boil"
else
action = "Bring #{boilVolume} to a rolling boil"
boilTime = parseInt(Brauhaus.timeToHeat @boilSize, 100 - currentTemp)
timeline.push [totalTime, "#{action} (about #{boilTime} minutes)."]
totalTime += boilTime
@boilStartTime = totalTime
times = (parseInt(key) for own key, value of @timelineMap.times)
# If we have late additions and no late addition time, add it
if @timelineMap.fermentables.boilEnd.length and 5 not in times
@timelineMap.times[5] = []
times.push 5
previousSpiceTime = 0
for time, i in times.sort((x, y) -> y - x)
ingredients = spiceList @timelineMap.times[time]
if i is 0
ingredients = fermentableList(@timelineMap.fermentables.boil).concat ingredients
previousSpiceTime = time
totalTime += previousSpiceTime - time
previousSpiceTime = time
if time is 5 and @timelineMap.fermentables.boilEnd.length
ingredients = fermentableList(@timelineMap.fermentables.boilEnd).concat ingredients
timeline.push [totalTime, "Add #{ingredients.join ', '}"]
totalTime += previousSpiceTime
@boilEndTime = totalTime
if siUnits
chillTemp = "#{@primaryTemp}°C"
else
chillTemp = "#{Brauhaus.cToF @primaryTemp}°F"
timeline.push [totalTime, "Flame out. Begin chilling to #{chillTemp} and aerate the cooled wort (about 20 minutes)."]
totalTime += 20
yeasts = (yeast.name for yeast in @yeast)
if not yeasts.length and @primaryDays
# No yeast given, but primary fermentation should happen...
# Let's just use a generic "yeast" to pitch.
yeasts = ['yeast']
if yeasts.length
timeline.push [totalTime, "Pitch #{yeasts.join ', '} and seal the fermenter. You should see bubbles in the airlock within 24 hours."]
# The brew day is over! Fermenting starts now.
@brewDayDuration = totalTime
if not @primaryDays and not @secondaryDays and not @tertiaryDays
timeline.push [totalTime, "Drink immediately (about #{@bottleCount()} bottles)."]
return timeline
totalTime += @primaryDays * 1440
if @secondaryDays
timeline.push [totalTime, "Move to secondary fermenter for #{Brauhaus.displayDuration(@secondaryDays * 1440, 2)}."]
totalTime += @secondaryDays * 1440
else if @tertiaryDays
timeline.push [totalTime, "Move to tertiary fermenter for #{Brauhaus.displayDuration(@tertiaryDays * 1440, 2)}."]
totalTime += @tertiaryDays * 1440
primeMsg = "Prime and bottle about #{@bottleCount()} bottles."
if @agingDays
if siUnits
ageTemp = "#{@agingTemp}C"
else
ageTemp = "#{Brauhaus.cToF @agingTemp}F"
primeMsg += " Age at #{ageTemp} for #{@agingDays} days."
timeline.push [totalTime, primeMsg]
totalTime += @agingDays * 1440
timeline.push [totalTime, 'Relax, don\'t worry and have a homebrew!']
return timeline
| 68204 | ###
A beer recipe, consisting of various ingredients and metadata which
provides a calculate() method to calculate OG, FG, IBU, ABV, and a
timeline of instructions for brewing the recipe.
###
class Brauhaus.Recipe extends Brauhaus.OptionConstructor
name: 'New Recipe'
description: 'Recipe description'
author: '<NAME>'
boilSize: 10.0
batchSize: 20.0
servingSize: 0.355
steepEfficiency: 50
steepTime: 20
mashEfficiency: 75
style: null
# The IBU calculation method (tinseth or rager)
ibuMethod: 'tinseth'
fermentables: null
spices: null
yeast: null
mash: null
og: 0.0
fg: 0.0
color: 0.0
ibu: 0.0
abv: 0.0
price: 0.0
# Bitterness to gravity ratio
buToGu: 0.0
# Balance value (http://klugscheisserbrauerei.wordpress.com/beer-balance/)
bv: 0.0
ogPlato: 0.0
fgPlato: 0.0
abw: 0.0
realExtract: 0.0
calories: 0.0
bottlingTemp: 0.0
bottlingPressure: 0.0
primingCornSugar: 0.0
primingSugar: 0.0
primingHoney: 0.0
primingDme: 0.0
primaryDays: 14.0
primaryTemp: 20.0
secondaryDays: 0.0
secondaryTemp: 0.0
tertiaryDays: 0.0
tertiaryTemp: 0.0
agingDays: 14
agingTemp: 20.0
brewDayDuration: null
boilStartTime: null
boilEndTime: null
# A mapping of values used to build a recipe timeline / instructions
timelineMap: null
# A mapping of parameter names to object constructors
_paramMap:
fermentables: Brauhaus.Fermentable
spices: Brauhaus.Spice
yeast: Brauhaus.Yeast
mash: Brauhaus.Mash
constructor: (options) ->
@fermentables = []
@spices = []
@yeast = []
super(options)
# Export a recipe to JSON, which stores all values which are not
# easily computed via Recipe.prototype.calculate(). This method
# gets called when using JSON.stringify(recipe).
toJSON: ->
json = {
@name
@description
@author
@boilSize
@batchSize
@servingSize
@steepEfficiency
@steepTime
@mashEfficiency
@style
@ibuMethod
@fermentables
@spices
@yeast
@mash
@bottlingTemp
@bottlingPressure
@primaryDays
@primaryTemp
@secondaryDays
@secondaryTemp
@tertiaryDays
@tertiaryTemp
@agingDays
@agingTemp
}
# Get the batch size in gallons
batchSizeGallons: ->
Brauhaus.litersToGallons @batchSize
# Get the boil size in gallons
boilSizeGallons: ->
Brauhaus.litersToGallons @boilSize
add: (type, values) ->
switch type
when 'fermentable'
@fermentables.push new Brauhaus.Fermentable(values)
when 'spice', 'hop'
@spices.push new Brauhaus.Spice(values)
when 'yeast'
@yeast.push new Brauhaus.Yeast(values)
# Get the total weight of grains in kg
grainWeight: ->
weight = 0.0
for fermentable in @fermentables
weight += fermentable.weight if fermentable.type() is 'grain'
weight
# Get the total number of whole bottles (i.e. servings)
bottleCount: ->
Math.floor(@batchSize / @servingSize)
# Get a friendly human-readable color name
colorName: ->
Brauhaus.srmToName @color
# Scale this recipe, keeping gravity and bitterness the same
scale: (batchSize, boilSize) ->
earlyOg = 1.0
newEarlyOg = 1.0
for fermentable in @fermentables
# Store early gravity for bitterness calculations
efficiency = switch fermentable.addition()
when 'steep' then @steepEfficiency / 100.0
when 'mash' then @mashEfficiency / 100.0
else 1.0
if not fermentable.late
earlyOg += fermentable.gu(@boilSize) * efficiency / 1000.0
# Adjust fermentable weight
fermentable.weight *= batchSize / @batchSize
if not fermentable.late
newEarlyOg += fermentable.gu(boilSize) * efficiency / 1000.0
for spice in @spices
if spice.aa and spice.time
bitterness = spice.bitterness @ibuMethod, earlyOg, @batchSize
switch @ibuMethod
when 'tinseth'
spice.weight = (bitterness * batchSize) / (1.65 * Math.pow(0.000125, newEarlyOg - 1.0) * ((1 - Math.pow(2.718, -0.04 * spice.time)) / 4.15) * (spice.aa / 100 * 1000000) * spice.utilizationFactor())
when 'rager'
utilization = 18.11 + 13.86 * tanh((spice.time - 31.32) / 18.27)
adjustment = Math.max(0, (newEarlyOg - 1.050) / 0.2)
spice.weight = bitterness / (100 * utilization * spice.utilizationFactor() * spice.aa / (batchSize * (1 + adjustment)))
else
# Scale linearly, no bitterness
spice.weight *= batchSize / @batchSize
@batchSize = batchSize
@boilSize = boilSize
# Give this recipe a grade based on the completeness and quality
# of the recipe, where the larger the grade, the better the
# recipe quality. A totally blank recipe will return zero.
grade: ->
grade = 0.0
# Basic recipe name, description, and author should be set
if @name.toLowerCase() not in ['', 'new recipe', 'untitled']
grade += 1.0
if @description.toLowerCase() not in ['', 'recipe description']
grade += 1.0
if @author.toLowerCase() not in ['', 'anonymous brewer']
grade += 1.0
# A BJCP or other target style should be set
if @style
grade += 0.5
# Do we have at least one of each fermentable/spice/yeast?
for ingredients in [@fermentables, @spices, @yeast]
if ingredients.length
grade += 1.0
filterFunc = (x) ->
x.name.toLowerCase() in [
'',
'new fermentable',
'new spice',
'new yeast'
]
# Do all items have a name?
if not ingredients.filter(filterFunc).length
grade += 0.5
return grade
calculate: ->
@og = 1.0
@fg = 0.0
@ibu = 0.0
@price = 0.0
earlyOg = 1.0
mcu = 0.0
attenuation = 0.0
# A map of various ingredient values used to generate the timeline
# steps below.
@timelineMap =
fermentables:
mash: []
steep: []
boil: []
boilEnd: []
times: {}
drySpice: {}
yeast: []
# Calculate gravities and color from fermentables
for fermentable in @fermentables
efficiency = switch fermentable.addition()
when 'steep' then @steepEfficiency / 100.0
when 'mash' then @mashEfficiency / 100.0
else 1.0
mcu += fermentable.color * fermentable.weightLb() / @batchSizeGallons()
# Update gravities
gu = fermentable.gu(@batchSize) * efficiency
gravity = gu / 1000.0
@og += gravity
if not fermentable.late
earlyOg += fermentable.gu(@boilSize) * efficiency / 1000.0
# Update recipe price with fermentable
@price += fermentable.price()
# Add fermentable info into the timeline map
switch fermentable.addition()
when 'boil'
if not fermentable.late
@timelineMap.fermentables.boil.push [fermentable, gu]
else
@timelineMap.fermentables.boilEnd.push [fermentable, gu]
when 'steep'
@timelineMap.fermentables.steep.push [fermentable, gu]
when 'mash'
@timelineMap.fermentables.mash.push [fermentable, gu]
@color = 1.4922 * Math.pow(mcu, 0.6859)
# Get attenuation for final gravity
for yeast in @yeast
attenuation = yeast.attenuation if yeast.attenuation > attenuation
# Update recipe price with yeast
@price += yeast.price()
# Add yeast info into the timeline map
@timelineMap.yeast.push yeast
attenuation = 75.0 if attenuation is 0
# Update final gravity based on original gravity and maximum
# attenuation from yeast.
@fg = @og - ((@og - 1.0) * attenuation / 100.0)
# Update alcohol by volume based on original and final gravity
@abv = ((1.05 * (@og - @fg)) / @fg) / 0.79 * 100.0
# Gravity degrees plato approximations
@ogPlato = (-463.37) + (668.72 * @og) - (205.35 * (@og * @og))
@fgPlato = (-463.37) + (668.72 * @fg) - (205.35 * (@fg * @fg))
# Update calories
@realExtract = (0.1808 * @ogPlato) + (0.8192 * @fgPlato)
@abw = 0.79 * @abv / @fg
@calories = Math.max(0, ((6.9 * @abw) + 4.0 * (@realExtract - 0.10)) * @fg * @servingSize * 10)
# Calculate bottle / keg priming amounts
v = @bottlingPressure or 2.5
t = Brauhaus.cToF(@bottlingTemp or Brauhaus.ROOM_TEMP)
@primingCornSugar = .015195 * 5 * (v - 3.0378 + (0.050062 * t) - (0.00026555 * t * t))
@primingSugar = @primingCornSugar * 0.90995
@primingHoney = @primingCornSugar * 1.22496
@primingDme = @primingCornSugar * 1.33249
# Calculate bitterness
for spice in @spices
bitterness = 0.0
time = spice.time
if spice.aa and spice.use.toLowerCase() is 'boil'
@ibu += spice.bitterness @ibuMethod, earlyOg, @batchSize
# Update recipe price with spice
@price += spice.price()
# Update timeline map with hop information
if spice.dry()
@timelineMap['drySpice'][time] ?= []
@timelineMap['drySpice'][time].push([spice, bitterness])
else
@timelineMap['times'][time] ?= []
@timelineMap['times'][time].push([spice, bitterness])
# Calculate bitterness to gravity ratios
@buToGu = @ibu / (@og - 1.000) / 1000.0
# http://klugscheisserbrauerei.wordpress.com/beer-balance/
rte = (0.82 * (@fg - 1.000) + 0.18 * (@og - 1.000)) * 1000.0
@bv = 0.8 * @ibu / rte
# Get a timeline as a list of [[time, description], ...] that can be put
# into a list or table. If siUnits is true, then use metric units,
# otherwise use imperial units.
# You MUST call `calculate()` on this recipe before this method.
timeline: (siUnits = true) ->
timeline = []
boilName = 'water'
totalTime = 0
currentTemp = Brauhaus.ROOM_TEMP
liquidVolume = 0
# Get a list of fermentable descriptions taking siUnits into account
fermentableList = (items) ->
ingredients = []
for [fermentable, gravity] in items or []
if siUnits
weight = "#{fermentable.weight.toFixed 1}kg"
else
lboz = fermentable.weightLbOz()
weight = "#{parseInt(lboz.lb)}lb #{parseInt(lboz.oz)}oz"
ingredients.push "#{weight} of #{fermentable.name} (#{gravity.toFixed 1} GU)"
return ingredients
# Get a list of spice descriptions taking siUnits into account
spiceList = (items) ->
ingredients = []
for [spice, ibu] in items or []
if siUnits
weight = "#{parseInt(spice.weight * 1000)}g"
else
weight = "#{(spice.weightLb() * 16.0).toFixed 2}oz"
extra = ''
if ibu
extra = " (#{ibu.toFixed 1} IBU)"
ingredients.push "#{weight} of #{spice.name}#{extra}"
return ingredients
if @timelineMap.fermentables.mash.length
boilName = 'wort'
mash = @mash
mash ?= new Brauhaus.Mash()
ingredients = fermentableList @timelineMap.fermentables.mash
timeline.push [totalTime, "Begin #{mash.name} mash. Add #{ingredients.join ', '}."]
steps = @mash?.steps or [
# Default to a basic 60 minute single-infustion mash at 68C
new Brauhaus.MashStep
name: '<NAME>'
type: 'Infusion'
time: 60
rampTime: Brauhaus.timeToHeat @grainWeight(), 68 - currentTemp
temp: 68
waterRatio: 2.75
]
for step in steps
strikeVolume = (step.waterRatio * @grainWeight()) - liquidVolume
if step.temp != currentTemp and strikeVolume > 0
# We are adding hot or cold water!
strikeTemp = ((step.temp - currentTemp) * (0.4184 * @grainWeight()) / strikeVolume) + step.temp
timeToHeat = Brauhaus.timeToHeat strikeVolume, strikeTemp - currentTemp
if siUnits
strikeVolumeDesc = "#{strikeVolume.toFixed 1}l"
strikeTempDesc = "#{Math.round strikeTemp}°C"
else
strikeVolumeDesc = "#{(Brauhaus.litersToGallons(strikeVolume) * 4).toFixed 1}qts"
strikeTempDesc = "#{Math.round Brauhaus.cToF(strikeTemp)}°F"
timeline.push [totalTime, "Heat #{strikeVolumeDesc} to #{strikeTempDesc} (about #{Math.round timeToHeat} minutes)"]
liquidVolume += strikeVolume
totalTime += timeToHeat
else if step.temp != currentTemp
timeToHeat = Brauhaus.timeToHeat liquidVolume, step.temp - currentTemp
if siUnits
heatTemp = "#{Math.round step.temp}°C"
else
heatTemp = "#{Math.round Brauhaus.cToF(step.temp)}°F"
timeline.push [totalTime, "Heat the mash to #{heatTemp} (about #{Math.round timeToHeat} minutes)"]
totalTime += timeToHeat
timeline.push [totalTime, "#{step.name}: #{step.description(siUnits, @grainWeight())}."]
totalTime += step.time
currentTemp = step.temp - (step.time * Brauhaus.MASH_HEAT_LOSS / 60.0)
timeline.push [totalTime, 'Remove grains from mash. This is now your wort.']
totalTime += 5
if @timelineMap.fermentables.steep.length
boilName = 'wort'
steepWeight = (fermentable.weight for [fermentable, gravity] in @timelineMap.fermentables.steep).reduce (x, y) -> x + y
steepHeatTime = Brauhaus.timeToHeat steepWeight * 2.75, 68 - currentTemp
currentTemp = 68
liquidVolume += steepWeight * 2.75
if siUnits
steepVolume = "#{(steepWeight * 2.75).toFixed 1}l"
steepTemp = "#{68}°C"
else
steepVolume = "#{Brauhaus.litersToGallons(steepWeight * 2.75).toFixed 1}gal"
steepTemp = "#{Brauhaus.cToF(68).toFixed 1}°F"
timeline.push [totalTime, "Heat #{steepVolume} to #{steepTemp} (about #{Math.round steepHeatTime} minutes)"]
totalTime += steepHeatTime
ingredients = fermentableList @timelineMap.fermentables.steep
timeline.push [totalTime, "Add #{ingredients.join ', '} and steep for #{@steepTime} minutes."]
totalTime += 20
# Adjust temperature based on added water
waterChangeRatio = Math.min(1, liquidVolume / @boilSize)
currentTemp = (currentTemp * waterChangeRatio) + (Brauhaus.ROOM_TEMP * (1.0 - waterChangeRatio))
if siUnits
boilVolume = "#{@boilSize.toFixed 1}l"
else
boilVolume = "#{@boilSizeGallons().toFixed 1}gal"
if @boilSize - liquidVolume < @boilSize
action = "Top up the #{boilName} to #{boilVolume} and heat to a rolling boil"
else
action = "Bring #{boilVolume} to a rolling boil"
boilTime = parseInt(Brauhaus.timeToHeat @boilSize, 100 - currentTemp)
timeline.push [totalTime, "#{action} (about #{boilTime} minutes)."]
totalTime += boilTime
@boilStartTime = totalTime
times = (parseInt(key) for own key, value of @timelineMap.times)
# If we have late additions and no late addition time, add it
if @timelineMap.fermentables.boilEnd.length and 5 not in times
@timelineMap.times[5] = []
times.push 5
previousSpiceTime = 0
for time, i in times.sort((x, y) -> y - x)
ingredients = spiceList @timelineMap.times[time]
if i is 0
ingredients = fermentableList(@timelineMap.fermentables.boil).concat ingredients
previousSpiceTime = time
totalTime += previousSpiceTime - time
previousSpiceTime = time
if time is 5 and @timelineMap.fermentables.boilEnd.length
ingredients = fermentableList(@timelineMap.fermentables.boilEnd).concat ingredients
timeline.push [totalTime, "Add #{ingredients.join ', '}"]
totalTime += previousSpiceTime
@boilEndTime = totalTime
if siUnits
chillTemp = "#{@primaryTemp}°C"
else
chillTemp = "#{Brauhaus.cToF @primaryTemp}°F"
timeline.push [totalTime, "Flame out. Begin chilling to #{chillTemp} and aerate the cooled wort (about 20 minutes)."]
totalTime += 20
yeasts = (yeast.name for yeast in @yeast)
if not yeasts.length and @primaryDays
# No yeast given, but primary fermentation should happen...
# Let's just use a generic "yeast" to pitch.
yeasts = ['yeast']
if yeasts.length
timeline.push [totalTime, "Pitch #{yeasts.join ', '} and seal the fermenter. You should see bubbles in the airlock within 24 hours."]
# The brew day is over! Fermenting starts now.
@brewDayDuration = totalTime
if not @primaryDays and not @secondaryDays and not @tertiaryDays
timeline.push [totalTime, "Drink immediately (about #{@bottleCount()} bottles)."]
return timeline
totalTime += @primaryDays * 1440
if @secondaryDays
timeline.push [totalTime, "Move to secondary fermenter for #{Brauhaus.displayDuration(@secondaryDays * 1440, 2)}."]
totalTime += @secondaryDays * 1440
else if @tertiaryDays
timeline.push [totalTime, "Move to tertiary fermenter for #{Brauhaus.displayDuration(@tertiaryDays * 1440, 2)}."]
totalTime += @tertiaryDays * 1440
primeMsg = "Prime and bottle about #{@bottleCount()} bottles."
if @agingDays
if siUnits
ageTemp = "#{@agingTemp}C"
else
ageTemp = "#{Brauhaus.cToF @agingTemp}F"
primeMsg += " Age at #{ageTemp} for #{@agingDays} days."
timeline.push [totalTime, primeMsg]
totalTime += @agingDays * 1440
timeline.push [totalTime, 'Relax, don\'t worry and have a homebrew!']
return timeline
| true | ###
A beer recipe, consisting of various ingredients and metadata which
provides a calculate() method to calculate OG, FG, IBU, ABV, and a
timeline of instructions for brewing the recipe.
###
class Brauhaus.Recipe extends Brauhaus.OptionConstructor
name: 'New Recipe'
description: 'Recipe description'
author: 'PI:NAME:<NAME>END_PI'
boilSize: 10.0
batchSize: 20.0
servingSize: 0.355
steepEfficiency: 50
steepTime: 20
mashEfficiency: 75
style: null
# The IBU calculation method (tinseth or rager)
ibuMethod: 'tinseth'
fermentables: null
spices: null
yeast: null
mash: null
og: 0.0
fg: 0.0
color: 0.0
ibu: 0.0
abv: 0.0
price: 0.0
# Bitterness to gravity ratio
buToGu: 0.0
# Balance value (http://klugscheisserbrauerei.wordpress.com/beer-balance/)
bv: 0.0
ogPlato: 0.0
fgPlato: 0.0
abw: 0.0
realExtract: 0.0
calories: 0.0
bottlingTemp: 0.0
bottlingPressure: 0.0
primingCornSugar: 0.0
primingSugar: 0.0
primingHoney: 0.0
primingDme: 0.0
primaryDays: 14.0
primaryTemp: 20.0
secondaryDays: 0.0
secondaryTemp: 0.0
tertiaryDays: 0.0
tertiaryTemp: 0.0
agingDays: 14
agingTemp: 20.0
brewDayDuration: null
boilStartTime: null
boilEndTime: null
# A mapping of values used to build a recipe timeline / instructions
timelineMap: null
# A mapping of parameter names to object constructors
_paramMap:
fermentables: Brauhaus.Fermentable
spices: Brauhaus.Spice
yeast: Brauhaus.Yeast
mash: Brauhaus.Mash
constructor: (options) ->
@fermentables = []
@spices = []
@yeast = []
super(options)
# Export a recipe to JSON, which stores all values which are not
# easily computed via Recipe.prototype.calculate(). This method
# gets called when using JSON.stringify(recipe).
toJSON: ->
json = {
@name
@description
@author
@boilSize
@batchSize
@servingSize
@steepEfficiency
@steepTime
@mashEfficiency
@style
@ibuMethod
@fermentables
@spices
@yeast
@mash
@bottlingTemp
@bottlingPressure
@primaryDays
@primaryTemp
@secondaryDays
@secondaryTemp
@tertiaryDays
@tertiaryTemp
@agingDays
@agingTemp
}
# Get the batch size in gallons
batchSizeGallons: ->
Brauhaus.litersToGallons @batchSize
# Get the boil size in gallons
boilSizeGallons: ->
Brauhaus.litersToGallons @boilSize
add: (type, values) ->
switch type
when 'fermentable'
@fermentables.push new Brauhaus.Fermentable(values)
when 'spice', 'hop'
@spices.push new Brauhaus.Spice(values)
when 'yeast'
@yeast.push new Brauhaus.Yeast(values)
# Get the total weight of grains in kg
grainWeight: ->
weight = 0.0
for fermentable in @fermentables
weight += fermentable.weight if fermentable.type() is 'grain'
weight
# Get the total number of whole bottles (i.e. servings)
bottleCount: ->
Math.floor(@batchSize / @servingSize)
# Get a friendly human-readable color name
colorName: ->
Brauhaus.srmToName @color
# Scale this recipe, keeping gravity and bitterness the same
scale: (batchSize, boilSize) ->
earlyOg = 1.0
newEarlyOg = 1.0
for fermentable in @fermentables
# Store early gravity for bitterness calculations
efficiency = switch fermentable.addition()
when 'steep' then @steepEfficiency / 100.0
when 'mash' then @mashEfficiency / 100.0
else 1.0
if not fermentable.late
earlyOg += fermentable.gu(@boilSize) * efficiency / 1000.0
# Adjust fermentable weight
fermentable.weight *= batchSize / @batchSize
if not fermentable.late
newEarlyOg += fermentable.gu(boilSize) * efficiency / 1000.0
for spice in @spices
if spice.aa and spice.time
bitterness = spice.bitterness @ibuMethod, earlyOg, @batchSize
switch @ibuMethod
when 'tinseth'
spice.weight = (bitterness * batchSize) / (1.65 * Math.pow(0.000125, newEarlyOg - 1.0) * ((1 - Math.pow(2.718, -0.04 * spice.time)) / 4.15) * (spice.aa / 100 * 1000000) * spice.utilizationFactor())
when 'rager'
utilization = 18.11 + 13.86 * tanh((spice.time - 31.32) / 18.27)
adjustment = Math.max(0, (newEarlyOg - 1.050) / 0.2)
spice.weight = bitterness / (100 * utilization * spice.utilizationFactor() * spice.aa / (batchSize * (1 + adjustment)))
else
# Scale linearly, no bitterness
spice.weight *= batchSize / @batchSize
@batchSize = batchSize
@boilSize = boilSize
# Give this recipe a grade based on the completeness and quality
# of the recipe, where the larger the grade, the better the
# recipe quality. A totally blank recipe will return zero.
grade: ->
grade = 0.0
# Basic recipe name, description, and author should be set
if @name.toLowerCase() not in ['', 'new recipe', 'untitled']
grade += 1.0
if @description.toLowerCase() not in ['', 'recipe description']
grade += 1.0
if @author.toLowerCase() not in ['', 'anonymous brewer']
grade += 1.0
# A BJCP or other target style should be set
if @style
grade += 0.5
# Do we have at least one of each fermentable/spice/yeast?
for ingredients in [@fermentables, @spices, @yeast]
if ingredients.length
grade += 1.0
filterFunc = (x) ->
x.name.toLowerCase() in [
'',
'new fermentable',
'new spice',
'new yeast'
]
# Do all items have a name?
if not ingredients.filter(filterFunc).length
grade += 0.5
return grade
calculate: ->
@og = 1.0
@fg = 0.0
@ibu = 0.0
@price = 0.0
earlyOg = 1.0
mcu = 0.0
attenuation = 0.0
# A map of various ingredient values used to generate the timeline
# steps below.
@timelineMap =
fermentables:
mash: []
steep: []
boil: []
boilEnd: []
times: {}
drySpice: {}
yeast: []
# Calculate gravities and color from fermentables
for fermentable in @fermentables
efficiency = switch fermentable.addition()
when 'steep' then @steepEfficiency / 100.0
when 'mash' then @mashEfficiency / 100.0
else 1.0
mcu += fermentable.color * fermentable.weightLb() / @batchSizeGallons()
# Update gravities
gu = fermentable.gu(@batchSize) * efficiency
gravity = gu / 1000.0
@og += gravity
if not fermentable.late
earlyOg += fermentable.gu(@boilSize) * efficiency / 1000.0
# Update recipe price with fermentable
@price += fermentable.price()
# Add fermentable info into the timeline map
switch fermentable.addition()
when 'boil'
if not fermentable.late
@timelineMap.fermentables.boil.push [fermentable, gu]
else
@timelineMap.fermentables.boilEnd.push [fermentable, gu]
when 'steep'
@timelineMap.fermentables.steep.push [fermentable, gu]
when 'mash'
@timelineMap.fermentables.mash.push [fermentable, gu]
@color = 1.4922 * Math.pow(mcu, 0.6859)
# Get attenuation for final gravity
for yeast in @yeast
attenuation = yeast.attenuation if yeast.attenuation > attenuation
# Update recipe price with yeast
@price += yeast.price()
# Add yeast info into the timeline map
@timelineMap.yeast.push yeast
attenuation = 75.0 if attenuation is 0
# Update final gravity based on original gravity and maximum
# attenuation from yeast.
@fg = @og - ((@og - 1.0) * attenuation / 100.0)
# Update alcohol by volume based on original and final gravity
@abv = ((1.05 * (@og - @fg)) / @fg) / 0.79 * 100.0
# Gravity degrees plato approximations
@ogPlato = (-463.37) + (668.72 * @og) - (205.35 * (@og * @og))
@fgPlato = (-463.37) + (668.72 * @fg) - (205.35 * (@fg * @fg))
# Update calories
@realExtract = (0.1808 * @ogPlato) + (0.8192 * @fgPlato)
@abw = 0.79 * @abv / @fg
@calories = Math.max(0, ((6.9 * @abw) + 4.0 * (@realExtract - 0.10)) * @fg * @servingSize * 10)
# Calculate bottle / keg priming amounts
v = @bottlingPressure or 2.5
t = Brauhaus.cToF(@bottlingTemp or Brauhaus.ROOM_TEMP)
@primingCornSugar = .015195 * 5 * (v - 3.0378 + (0.050062 * t) - (0.00026555 * t * t))
@primingSugar = @primingCornSugar * 0.90995
@primingHoney = @primingCornSugar * 1.22496
@primingDme = @primingCornSugar * 1.33249
# Calculate bitterness
for spice in @spices
bitterness = 0.0
time = spice.time
if spice.aa and spice.use.toLowerCase() is 'boil'
@ibu += spice.bitterness @ibuMethod, earlyOg, @batchSize
# Update recipe price with spice
@price += spice.price()
# Update timeline map with hop information
if spice.dry()
@timelineMap['drySpice'][time] ?= []
@timelineMap['drySpice'][time].push([spice, bitterness])
else
@timelineMap['times'][time] ?= []
@timelineMap['times'][time].push([spice, bitterness])
# Calculate bitterness to gravity ratios
@buToGu = @ibu / (@og - 1.000) / 1000.0
# http://klugscheisserbrauerei.wordpress.com/beer-balance/
rte = (0.82 * (@fg - 1.000) + 0.18 * (@og - 1.000)) * 1000.0
@bv = 0.8 * @ibu / rte
# Get a timeline as a list of [[time, description], ...] that can be put
# into a list or table. If siUnits is true, then use metric units,
# otherwise use imperial units.
# You MUST call `calculate()` on this recipe before this method.
timeline: (siUnits = true) ->
timeline = []
boilName = 'water'
totalTime = 0
currentTemp = Brauhaus.ROOM_TEMP
liquidVolume = 0
# Get a list of fermentable descriptions taking siUnits into account
fermentableList = (items) ->
ingredients = []
for [fermentable, gravity] in items or []
if siUnits
weight = "#{fermentable.weight.toFixed 1}kg"
else
lboz = fermentable.weightLbOz()
weight = "#{parseInt(lboz.lb)}lb #{parseInt(lboz.oz)}oz"
ingredients.push "#{weight} of #{fermentable.name} (#{gravity.toFixed 1} GU)"
return ingredients
# Get a list of spice descriptions taking siUnits into account
spiceList = (items) ->
ingredients = []
for [spice, ibu] in items or []
if siUnits
weight = "#{parseInt(spice.weight * 1000)}g"
else
weight = "#{(spice.weightLb() * 16.0).toFixed 2}oz"
extra = ''
if ibu
extra = " (#{ibu.toFixed 1} IBU)"
ingredients.push "#{weight} of #{spice.name}#{extra}"
return ingredients
if @timelineMap.fermentables.mash.length
boilName = 'wort'
mash = @mash
mash ?= new Brauhaus.Mash()
ingredients = fermentableList @timelineMap.fermentables.mash
timeline.push [totalTime, "Begin #{mash.name} mash. Add #{ingredients.join ', '}."]
steps = @mash?.steps or [
# Default to a basic 60 minute single-infustion mash at 68C
new Brauhaus.MashStep
name: 'PI:NAME:<NAME>END_PI'
type: 'Infusion'
time: 60
rampTime: Brauhaus.timeToHeat @grainWeight(), 68 - currentTemp
temp: 68
waterRatio: 2.75
]
for step in steps
strikeVolume = (step.waterRatio * @grainWeight()) - liquidVolume
if step.temp != currentTemp and strikeVolume > 0
# We are adding hot or cold water!
strikeTemp = ((step.temp - currentTemp) * (0.4184 * @grainWeight()) / strikeVolume) + step.temp
timeToHeat = Brauhaus.timeToHeat strikeVolume, strikeTemp - currentTemp
if siUnits
strikeVolumeDesc = "#{strikeVolume.toFixed 1}l"
strikeTempDesc = "#{Math.round strikeTemp}°C"
else
strikeVolumeDesc = "#{(Brauhaus.litersToGallons(strikeVolume) * 4).toFixed 1}qts"
strikeTempDesc = "#{Math.round Brauhaus.cToF(strikeTemp)}°F"
timeline.push [totalTime, "Heat #{strikeVolumeDesc} to #{strikeTempDesc} (about #{Math.round timeToHeat} minutes)"]
liquidVolume += strikeVolume
totalTime += timeToHeat
else if step.temp != currentTemp
timeToHeat = Brauhaus.timeToHeat liquidVolume, step.temp - currentTemp
if siUnits
heatTemp = "#{Math.round step.temp}°C"
else
heatTemp = "#{Math.round Brauhaus.cToF(step.temp)}°F"
timeline.push [totalTime, "Heat the mash to #{heatTemp} (about #{Math.round timeToHeat} minutes)"]
totalTime += timeToHeat
timeline.push [totalTime, "#{step.name}: #{step.description(siUnits, @grainWeight())}."]
totalTime += step.time
currentTemp = step.temp - (step.time * Brauhaus.MASH_HEAT_LOSS / 60.0)
timeline.push [totalTime, 'Remove grains from mash. This is now your wort.']
totalTime += 5
if @timelineMap.fermentables.steep.length
boilName = 'wort'
steepWeight = (fermentable.weight for [fermentable, gravity] in @timelineMap.fermentables.steep).reduce (x, y) -> x + y
steepHeatTime = Brauhaus.timeToHeat steepWeight * 2.75, 68 - currentTemp
currentTemp = 68
liquidVolume += steepWeight * 2.75
if siUnits
steepVolume = "#{(steepWeight * 2.75).toFixed 1}l"
steepTemp = "#{68}°C"
else
steepVolume = "#{Brauhaus.litersToGallons(steepWeight * 2.75).toFixed 1}gal"
steepTemp = "#{Brauhaus.cToF(68).toFixed 1}°F"
timeline.push [totalTime, "Heat #{steepVolume} to #{steepTemp} (about #{Math.round steepHeatTime} minutes)"]
totalTime += steepHeatTime
ingredients = fermentableList @timelineMap.fermentables.steep
timeline.push [totalTime, "Add #{ingredients.join ', '} and steep for #{@steepTime} minutes."]
totalTime += 20
# Adjust temperature based on added water
waterChangeRatio = Math.min(1, liquidVolume / @boilSize)
currentTemp = (currentTemp * waterChangeRatio) + (Brauhaus.ROOM_TEMP * (1.0 - waterChangeRatio))
if siUnits
boilVolume = "#{@boilSize.toFixed 1}l"
else
boilVolume = "#{@boilSizeGallons().toFixed 1}gal"
if @boilSize - liquidVolume < @boilSize
action = "Top up the #{boilName} to #{boilVolume} and heat to a rolling boil"
else
action = "Bring #{boilVolume} to a rolling boil"
boilTime = parseInt(Brauhaus.timeToHeat @boilSize, 100 - currentTemp)
timeline.push [totalTime, "#{action} (about #{boilTime} minutes)."]
totalTime += boilTime
@boilStartTime = totalTime
times = (parseInt(key) for own key, value of @timelineMap.times)
# If we have late additions and no late addition time, add it
if @timelineMap.fermentables.boilEnd.length and 5 not in times
@timelineMap.times[5] = []
times.push 5
previousSpiceTime = 0
for time, i in times.sort((x, y) -> y - x)
ingredients = spiceList @timelineMap.times[time]
if i is 0
ingredients = fermentableList(@timelineMap.fermentables.boil).concat ingredients
previousSpiceTime = time
totalTime += previousSpiceTime - time
previousSpiceTime = time
if time is 5 and @timelineMap.fermentables.boilEnd.length
ingredients = fermentableList(@timelineMap.fermentables.boilEnd).concat ingredients
timeline.push [totalTime, "Add #{ingredients.join ', '}"]
totalTime += previousSpiceTime
@boilEndTime = totalTime
if siUnits
chillTemp = "#{@primaryTemp}°C"
else
chillTemp = "#{Brauhaus.cToF @primaryTemp}°F"
timeline.push [totalTime, "Flame out. Begin chilling to #{chillTemp} and aerate the cooled wort (about 20 minutes)."]
totalTime += 20
yeasts = (yeast.name for yeast in @yeast)
if not yeasts.length and @primaryDays
# No yeast given, but primary fermentation should happen...
# Let's just use a generic "yeast" to pitch.
yeasts = ['yeast']
if yeasts.length
timeline.push [totalTime, "Pitch #{yeasts.join ', '} and seal the fermenter. You should see bubbles in the airlock within 24 hours."]
# The brew day is over! Fermenting starts now.
@brewDayDuration = totalTime
if not @primaryDays and not @secondaryDays and not @tertiaryDays
timeline.push [totalTime, "Drink immediately (about #{@bottleCount()} bottles)."]
return timeline
totalTime += @primaryDays * 1440
if @secondaryDays
timeline.push [totalTime, "Move to secondary fermenter for #{Brauhaus.displayDuration(@secondaryDays * 1440, 2)}."]
totalTime += @secondaryDays * 1440
else if @tertiaryDays
timeline.push [totalTime, "Move to tertiary fermenter for #{Brauhaus.displayDuration(@tertiaryDays * 1440, 2)}."]
totalTime += @tertiaryDays * 1440
primeMsg = "Prime and bottle about #{@bottleCount()} bottles."
if @agingDays
if siUnits
ageTemp = "#{@agingTemp}C"
else
ageTemp = "#{Brauhaus.cToF @agingTemp}F"
primeMsg += " Age at #{ageTemp} for #{@agingDays} days."
timeline.push [totalTime, primeMsg]
totalTime += @agingDays * 1440
timeline.push [totalTime, 'Relax, don\'t worry and have a homebrew!']
return timeline
|
[
{
"context": "\n\n if user\n options.auth =\n 'user': user\n 'pass': '',\n 'sendImmediately': tr",
"end": 2013,
"score": 0.9933401942253113,
"start": 2009,
"tag": "USERNAME",
"value": "user"
},
{
"context": "ptions.auth =\n 'user': user\n 'p... | nylas-connection.coffee | lever/nylas-nodejs | 0 | _ = require 'underscore'
clone = require 'clone'
request = require 'request'
Promise = require 'bluebird'
RestfulModel = require './models/restful-model'
RestfulModelCollection = require './models/restful-model-collection'
RestfulModelInstance = require './models/restful-model-instance'
Account = require './models/account'
ManagementAccount = require './models/management-account'
ManagementModelCollection = require './models/management-model-collection'
Thread = require './models/thread'
Contact = require './models/contact'
Message = require './models/message'
Draft = require './models/draft'
File = require './models/file'
Calendar = require './models/calendar'
Event = require './models/event'
Tag = require './models/tag'
Delta = require './models/delta'
Label = require('./models/folder').Label
Folder = require('./models/folder').Folder
Attributes = require './models/attributes'
module.exports =
class NylasConnection
constructor: (@accessToken) ->
@threads = new RestfulModelCollection(Thread, @)
@contacts = new RestfulModelCollection(Contact, @)
@messages = new RestfulModelCollection(Message, @)
@drafts = new RestfulModelCollection(Draft, @)
@files = new RestfulModelCollection(File, @)
@calendars = new RestfulModelCollection(Calendar, @)
@events = new RestfulModelCollection(Event, @)
@tags = new RestfulModelCollection(Tag, @)
@deltas = new Delta(@)
@labels = new RestfulModelCollection(Label, @)
@folders = new RestfulModelCollection(Folder, @)
@account = new RestfulModelInstance(Account, @)
requestOptions: (options={}) ->
options = clone(options)
Nylas = require './nylas'
options.method ?= 'GET'
options.url ?= "#{Nylas.apiServer}#{options.path}" if options.path
options.body ?= {} unless options.formData
options.json ?= true
options.downloadRequest ?= false
user = if options.path.substr(0,3) == '/a/' then Nylas.appSecret else @accessToken
if user
options.auth =
'user': user
'pass': '',
'sendImmediately': true
return options
request: (options={}) ->
options = @requestOptions(options)
new Promise (resolve, reject) ->
request options, (error, response, body) ->
try
body = JSON.parse(body) if _.isString body
catch e
error = e unless error
if error or response.statusCode > 299
unless error
if _.isString(body?.message)
error = new Error(body?.message)
else
error = new Error(JSON.stringify(body?.message))
error.code = body.type if body?.type
error.server_error = body.server_error if body?.server_error
logOnError(error, response, body)
reject(error)
else
if options.downloadRequest
return resolve(response)
else
resolve(body)
logOnError = (error, response, body) ->
console.log('nylas-connection#request error: ', error.toString())
if error.code?
console.log('nylas-connection#request error.code: ', error.code)
if error.stack
console.log('nylas-connection#request stack: ', error.stack)
if response
console.log('nylas-connection#request response.statusCode: ', response.statusCode)
console.log('nylas-connection#request response.statusMessage: ', response.statusMessage)
if body
console.log('nylas-connection#request body', body)
| 225968 | _ = require 'underscore'
clone = require 'clone'
request = require 'request'
Promise = require 'bluebird'
RestfulModel = require './models/restful-model'
RestfulModelCollection = require './models/restful-model-collection'
RestfulModelInstance = require './models/restful-model-instance'
Account = require './models/account'
ManagementAccount = require './models/management-account'
ManagementModelCollection = require './models/management-model-collection'
Thread = require './models/thread'
Contact = require './models/contact'
Message = require './models/message'
Draft = require './models/draft'
File = require './models/file'
Calendar = require './models/calendar'
Event = require './models/event'
Tag = require './models/tag'
Delta = require './models/delta'
Label = require('./models/folder').Label
Folder = require('./models/folder').Folder
Attributes = require './models/attributes'
module.exports =
class NylasConnection
constructor: (@accessToken) ->
@threads = new RestfulModelCollection(Thread, @)
@contacts = new RestfulModelCollection(Contact, @)
@messages = new RestfulModelCollection(Message, @)
@drafts = new RestfulModelCollection(Draft, @)
@files = new RestfulModelCollection(File, @)
@calendars = new RestfulModelCollection(Calendar, @)
@events = new RestfulModelCollection(Event, @)
@tags = new RestfulModelCollection(Tag, @)
@deltas = new Delta(@)
@labels = new RestfulModelCollection(Label, @)
@folders = new RestfulModelCollection(Folder, @)
@account = new RestfulModelInstance(Account, @)
requestOptions: (options={}) ->
options = clone(options)
Nylas = require './nylas'
options.method ?= 'GET'
options.url ?= "#{Nylas.apiServer}#{options.path}" if options.path
options.body ?= {} unless options.formData
options.json ?= true
options.downloadRequest ?= false
user = if options.path.substr(0,3) == '/a/' then Nylas.appSecret else @accessToken
if user
options.auth =
'user': user
'pass':<PASSWORD> '',
'sendImmediately': true
return options
request: (options={}) ->
options = @requestOptions(options)
new Promise (resolve, reject) ->
request options, (error, response, body) ->
try
body = JSON.parse(body) if _.isString body
catch e
error = e unless error
if error or response.statusCode > 299
unless error
if _.isString(body?.message)
error = new Error(body?.message)
else
error = new Error(JSON.stringify(body?.message))
error.code = body.type if body?.type
error.server_error = body.server_error if body?.server_error
logOnError(error, response, body)
reject(error)
else
if options.downloadRequest
return resolve(response)
else
resolve(body)
logOnError = (error, response, body) ->
console.log('nylas-connection#request error: ', error.toString())
if error.code?
console.log('nylas-connection#request error.code: ', error.code)
if error.stack
console.log('nylas-connection#request stack: ', error.stack)
if response
console.log('nylas-connection#request response.statusCode: ', response.statusCode)
console.log('nylas-connection#request response.statusMessage: ', response.statusMessage)
if body
console.log('nylas-connection#request body', body)
| true | _ = require 'underscore'
clone = require 'clone'
request = require 'request'
Promise = require 'bluebird'
RestfulModel = require './models/restful-model'
RestfulModelCollection = require './models/restful-model-collection'
RestfulModelInstance = require './models/restful-model-instance'
Account = require './models/account'
ManagementAccount = require './models/management-account'
ManagementModelCollection = require './models/management-model-collection'
Thread = require './models/thread'
Contact = require './models/contact'
Message = require './models/message'
Draft = require './models/draft'
File = require './models/file'
Calendar = require './models/calendar'
Event = require './models/event'
Tag = require './models/tag'
Delta = require './models/delta'
Label = require('./models/folder').Label
Folder = require('./models/folder').Folder
Attributes = require './models/attributes'
module.exports =
class NylasConnection
constructor: (@accessToken) ->
@threads = new RestfulModelCollection(Thread, @)
@contacts = new RestfulModelCollection(Contact, @)
@messages = new RestfulModelCollection(Message, @)
@drafts = new RestfulModelCollection(Draft, @)
@files = new RestfulModelCollection(File, @)
@calendars = new RestfulModelCollection(Calendar, @)
@events = new RestfulModelCollection(Event, @)
@tags = new RestfulModelCollection(Tag, @)
@deltas = new Delta(@)
@labels = new RestfulModelCollection(Label, @)
@folders = new RestfulModelCollection(Folder, @)
@account = new RestfulModelInstance(Account, @)
requestOptions: (options={}) ->
options = clone(options)
Nylas = require './nylas'
options.method ?= 'GET'
options.url ?= "#{Nylas.apiServer}#{options.path}" if options.path
options.body ?= {} unless options.formData
options.json ?= true
options.downloadRequest ?= false
user = if options.path.substr(0,3) == '/a/' then Nylas.appSecret else @accessToken
if user
options.auth =
'user': user
'pass':PI:PASSWORD:<PASSWORD>END_PI '',
'sendImmediately': true
return options
request: (options={}) ->
options = @requestOptions(options)
new Promise (resolve, reject) ->
request options, (error, response, body) ->
try
body = JSON.parse(body) if _.isString body
catch e
error = e unless error
if error or response.statusCode > 299
unless error
if _.isString(body?.message)
error = new Error(body?.message)
else
error = new Error(JSON.stringify(body?.message))
error.code = body.type if body?.type
error.server_error = body.server_error if body?.server_error
logOnError(error, response, body)
reject(error)
else
if options.downloadRequest
return resolve(response)
else
resolve(body)
logOnError = (error, response, body) ->
console.log('nylas-connection#request error: ', error.toString())
if error.code?
console.log('nylas-connection#request error.code: ', error.code)
if error.stack
console.log('nylas-connection#request stack: ', error.stack)
if response
console.log('nylas-connection#request response.statusCode: ', response.statusCode)
console.log('nylas-connection#request response.statusMessage: ', response.statusMessage)
if body
console.log('nylas-connection#request body', body)
|
[
{
"context": "w'\n\t\t\tmodel = $el.data 'model' || 'model'\n\t\t\tkey = \"#{view}-#{model}\"\n\t\t\tkeyIndexes[key] = if keyIndexes[key] then keyI",
"end": 2466,
"score": 0.9982379078865051,
"start": 2448,
"tag": "KEY",
"value": "\"#{view}-#{model}\""
},
{
"context": "dexes[key] the... | app/assets/javascripts/engine/views/baseView.coffee | ssachtleben/herowar | 1 | log = require 'util/logger'
db = require 'database'
class BaseView extends Backbone.View
# The name of the model that has to be pulled with the given model id from the db object
entity: null
initialize: (options) ->
@views = {}
# modelId is a optional parameter (the whole collection is returned otherwise)
if @entity and not @model
@model = db.get @entity, @options.modelId
@bindEvents()
@bindFetchEvents()
#clean subview dom element
@$el.removeAttr 'data-view data-model'
#add body class if is set:
$('body').addClass options.bodyClass if options?.bodyClass
# OVERRIDE to listen just to a specific field or something else
bindEvents: ->
if @model
@listenTo @model, 'change', @render if @model instanceof Backbone.Model
@listenTo @model, 'add remove change reset', @render if @model instanceof Backbone.Collection
bindFetchEvents: ->
if @model
@listenTo @model, 'fetching', => @$el.addClass 'loading'
@listenTo @model, 'fetched', => @$el.removeClass 'loading'
# if any custom event handlers have been added (the @listenTo will be removed by Backbone.View
unbindEvents: ->
render: ->
@$el.empty()
html = ''
if @template
data = @getTemplateData()
html = if data then @template data else @template()
html = @_stripWhitespaces html
$html = $ html
@_renderSubviews $html
@postRender $html
@$el.append $html
setTimeout @afterRender, 1
# OVERRIDE to add some post render behavior
postRender: ($html) ->
# OVERRIDE to do stuff after view is rendered
afterRender: ->
# OVERRIDE allow view dependand modifications of the model
getTemplateData: ->
unless @model then return {}
if _.isFunction @model.toJSON then @model.toJSON() else @model
_stripWhitespaces: (html) ->
return html.replace(/>\s+</g, '><').replace(/^\s*/, '').replace /\s*$/, ''
# subviews are saved for each view with "viewName-modelId-index" as key and the corresponding subview as view
# with viewName the name of the view, modelId the id of the model required for that view (without entity name)
# and index a counter if a view is used multiple times with the same
_renderSubviews: ($html) ->
$list = $html.filter('[data-view]').add $html.find '[data-view]'
# keyIndexes counts up if a view-model combination occurs multiple times
keyIndexes = {}
$list.each (i, el) =>
$el = $ el
view = $el.data 'view'
model = $el.data 'model' || 'model'
key = "#{view}-#{model}"
keyIndexes[key] = if keyIndexes[key] then keyIndexes[key]++ else 1
key += "-#{keyIndexes[key]}"
if @views[key]
@views[key].setElement el
else
@views[key] = new (require view) el: $el, modelId: model, parent: @
@views[key].render()
remove: ->
@unbindEvents()
#remove all subviews
view.remove() for key,view of @views
$('body').removeClass @options.bodyClass if @options?.bodyClass
super()
getEntry: (event, modul) ->
$currentTarget = $ event.currentTarget
property = $currentTarget.attr('name').replace modul, ""
if $currentTarget.attr('type') is 'checkbox'
val = $currentTarget.is(':checked')
else
val = $currentTarget.val()
log.debug "Found \"#{val}\" for input field \"#{modul}property #{property}\""
property: property, value:val
return BaseView | 108856 | log = require 'util/logger'
db = require 'database'
class BaseView extends Backbone.View
# The name of the model that has to be pulled with the given model id from the db object
entity: null
initialize: (options) ->
@views = {}
# modelId is a optional parameter (the whole collection is returned otherwise)
if @entity and not @model
@model = db.get @entity, @options.modelId
@bindEvents()
@bindFetchEvents()
#clean subview dom element
@$el.removeAttr 'data-view data-model'
#add body class if is set:
$('body').addClass options.bodyClass if options?.bodyClass
# OVERRIDE to listen just to a specific field or something else
bindEvents: ->
if @model
@listenTo @model, 'change', @render if @model instanceof Backbone.Model
@listenTo @model, 'add remove change reset', @render if @model instanceof Backbone.Collection
bindFetchEvents: ->
if @model
@listenTo @model, 'fetching', => @$el.addClass 'loading'
@listenTo @model, 'fetched', => @$el.removeClass 'loading'
# if any custom event handlers have been added (the @listenTo will be removed by Backbone.View
unbindEvents: ->
render: ->
@$el.empty()
html = ''
if @template
data = @getTemplateData()
html = if data then @template data else @template()
html = @_stripWhitespaces html
$html = $ html
@_renderSubviews $html
@postRender $html
@$el.append $html
setTimeout @afterRender, 1
# OVERRIDE to add some post render behavior
postRender: ($html) ->
# OVERRIDE to do stuff after view is rendered
afterRender: ->
# OVERRIDE allow view dependand modifications of the model
getTemplateData: ->
unless @model then return {}
if _.isFunction @model.toJSON then @model.toJSON() else @model
_stripWhitespaces: (html) ->
return html.replace(/>\s+</g, '><').replace(/^\s*/, '').replace /\s*$/, ''
# subviews are saved for each view with "viewName-modelId-index" as key and the corresponding subview as view
# with viewName the name of the view, modelId the id of the model required for that view (without entity name)
# and index a counter if a view is used multiple times with the same
_renderSubviews: ($html) ->
$list = $html.filter('[data-view]').add $html.find '[data-view]'
# keyIndexes counts up if a view-model combination occurs multiple times
keyIndexes = {}
$list.each (i, el) =>
$el = $ el
view = $el.data 'view'
model = $el.data 'model' || 'model'
key = <KEY>
keyIndexes[key] = if keyIndexes[key] then keyIndexes[key]++ else 1
key += <KEY>key<KEY>]}"
if @views[key]
@views[key].setElement el
else
@views[key] = new (require view) el: $el, modelId: model, parent: @
@views[key].render()
remove: ->
@unbindEvents()
#remove all subviews
view.remove() for key,view of @views
$('body').removeClass @options.bodyClass if @options?.bodyClass
super()
getEntry: (event, modul) ->
$currentTarget = $ event.currentTarget
property = $currentTarget.attr('name').replace modul, ""
if $currentTarget.attr('type') is 'checkbox'
val = $currentTarget.is(':checked')
else
val = $currentTarget.val()
log.debug "Found \"#{val}\" for input field \"#{modul}property #{property}\""
property: property, value:val
return BaseView | true | log = require 'util/logger'
db = require 'database'
class BaseView extends Backbone.View
# The name of the model that has to be pulled with the given model id from the db object
entity: null
initialize: (options) ->
@views = {}
# modelId is a optional parameter (the whole collection is returned otherwise)
if @entity and not @model
@model = db.get @entity, @options.modelId
@bindEvents()
@bindFetchEvents()
#clean subview dom element
@$el.removeAttr 'data-view data-model'
#add body class if is set:
$('body').addClass options.bodyClass if options?.bodyClass
# OVERRIDE to listen just to a specific field or something else
bindEvents: ->
if @model
@listenTo @model, 'change', @render if @model instanceof Backbone.Model
@listenTo @model, 'add remove change reset', @render if @model instanceof Backbone.Collection
bindFetchEvents: ->
if @model
@listenTo @model, 'fetching', => @$el.addClass 'loading'
@listenTo @model, 'fetched', => @$el.removeClass 'loading'
# if any custom event handlers have been added (the @listenTo will be removed by Backbone.View
unbindEvents: ->
render: ->
@$el.empty()
html = ''
if @template
data = @getTemplateData()
html = if data then @template data else @template()
html = @_stripWhitespaces html
$html = $ html
@_renderSubviews $html
@postRender $html
@$el.append $html
setTimeout @afterRender, 1
# OVERRIDE to add some post render behavior
postRender: ($html) ->
# OVERRIDE to do stuff after view is rendered
afterRender: ->
# OVERRIDE allow view dependand modifications of the model
getTemplateData: ->
unless @model then return {}
if _.isFunction @model.toJSON then @model.toJSON() else @model
_stripWhitespaces: (html) ->
return html.replace(/>\s+</g, '><').replace(/^\s*/, '').replace /\s*$/, ''
# subviews are saved for each view with "viewName-modelId-index" as key and the corresponding subview as view
# with viewName the name of the view, modelId the id of the model required for that view (without entity name)
# and index a counter if a view is used multiple times with the same
_renderSubviews: ($html) ->
$list = $html.filter('[data-view]').add $html.find '[data-view]'
# keyIndexes counts up if a view-model combination occurs multiple times
keyIndexes = {}
$list.each (i, el) =>
$el = $ el
view = $el.data 'view'
model = $el.data 'model' || 'model'
key = PI:KEY:<KEY>END_PI
keyIndexes[key] = if keyIndexes[key] then keyIndexes[key]++ else 1
key += PI:KEY:<KEY>END_PIkeyPI:KEY:<KEY>END_PI]}"
if @views[key]
@views[key].setElement el
else
@views[key] = new (require view) el: $el, modelId: model, parent: @
@views[key].render()
remove: ->
@unbindEvents()
#remove all subviews
view.remove() for key,view of @views
$('body').removeClass @options.bodyClass if @options?.bodyClass
super()
getEntry: (event, modul) ->
$currentTarget = $ event.currentTarget
property = $currentTarget.attr('name').replace modul, ""
if $currentTarget.attr('type') is 'checkbox'
val = $currentTarget.is(':checked')
else
val = $currentTarget.val()
log.debug "Found \"#{val}\" for input field \"#{modul}property #{property}\""
property: property, value:val
return BaseView |
[
{
"context": "LoopSource\n context = Batman\n keys: ['foo', 'bar', 'baz', 'qux']\n sets: new Batman.H",
"end": 1712,
"score": 0.928432285785675,
"start": 1709,
"tag": "KEY",
"value": "foo"
},
{
"context": "rce\n context = Batman\n keys: ['foo', 'bar', '... | tests/prof/tests/view/simple_view_rendering.coffee | airhorns/batman | 1 | Batman = require '../../../../lib/batman'
Watson = require 'watson'
jsdom = require 'jsdom'
global.window = jsdom.jsdom("<html><head><script></script></head><body></body></html>").createWindow()
global.window.Benchmark = Watson.Benchmark
global.document = window.document
simpleSource = '''
<div data-bind="foo"></div>
'''
loopSource = '''
<div data-foreach-obj="objects">
<span data-bind="obj"></span>
</div>
'''
nestedLoopSource = '''
<div data-foreach-key="keys">
<div data-foreach-val="sets[key]">
<span data-bind="val"></span>
</div>
</div>
'''
Watson.benchmark 'simple view rendering', (error, suite) ->
throw error if error
do ->
suite.add('simple bindings rendering',((deferred) ->
node = document.createElement 'div'
node.innerHTML = simpleSource
context = Batman(foo: 'bar')
view = new Batman.View
contexts: [context]
node: node
if view.on?
view.on 'ready', -> deferred.resolve()
else
view.ready -> deferred.resolve()
return
),{
defer: true
})
do ->
suite.add('simple loop rendering', ((deferred) ->
node = document.createElement 'div'
node.innerHTML = loopSource
context = Batman(objects: new Batman.Set([0...100]...))
view = new Batman.View
contexts: [context]
node: node
if view.on?
view.on 'ready', -> deferred.resolve()
else
view.ready -> deferred.resolve()
return
),{
defer: true
maxTime: 6
})
do ->
suite.add('nested loop rendering', ((deferred) ->
node = document.createElement 'div'
node.innerHTML = nestedLoopSource
context = Batman
keys: ['foo', 'bar', 'baz', 'qux']
sets: new Batman.Hash
foo: new Batman.Set([0...100]...)
bar: new Batman.Set([0...100]...)
baz: new Batman.Set([0...100]...)
qux: new Batman.Set([0...100]...)
view = new Batman.View
contexts: [context]
node: node
if view.on?
view.on 'ready', -> deferred.resolve()
else
view.ready -> deferred.resolve()
return
),{
maxTime: 10
defer: true
})
suite.run()
| 47622 | Batman = require '../../../../lib/batman'
Watson = require 'watson'
jsdom = require 'jsdom'
global.window = jsdom.jsdom("<html><head><script></script></head><body></body></html>").createWindow()
global.window.Benchmark = Watson.Benchmark
global.document = window.document
simpleSource = '''
<div data-bind="foo"></div>
'''
loopSource = '''
<div data-foreach-obj="objects">
<span data-bind="obj"></span>
</div>
'''
nestedLoopSource = '''
<div data-foreach-key="keys">
<div data-foreach-val="sets[key]">
<span data-bind="val"></span>
</div>
</div>
'''
Watson.benchmark 'simple view rendering', (error, suite) ->
throw error if error
do ->
suite.add('simple bindings rendering',((deferred) ->
node = document.createElement 'div'
node.innerHTML = simpleSource
context = Batman(foo: 'bar')
view = new Batman.View
contexts: [context]
node: node
if view.on?
view.on 'ready', -> deferred.resolve()
else
view.ready -> deferred.resolve()
return
),{
defer: true
})
do ->
suite.add('simple loop rendering', ((deferred) ->
node = document.createElement 'div'
node.innerHTML = loopSource
context = Batman(objects: new Batman.Set([0...100]...))
view = new Batman.View
contexts: [context]
node: node
if view.on?
view.on 'ready', -> deferred.resolve()
else
view.ready -> deferred.resolve()
return
),{
defer: true
maxTime: 6
})
do ->
suite.add('nested loop rendering', ((deferred) ->
node = document.createElement 'div'
node.innerHTML = nestedLoopSource
context = Batman
keys: ['<KEY>', '<KEY>', '<KEY>', '<KEY>']
sets: new Batman.Hash
foo: new Batman.Set([0...100]...)
bar: new Batman.Set([0...100]...)
baz: new Batman.Set([0...100]...)
qux: new Batman.Set([0...100]...)
view = new Batman.View
contexts: [context]
node: node
if view.on?
view.on 'ready', -> deferred.resolve()
else
view.ready -> deferred.resolve()
return
),{
maxTime: 10
defer: true
})
suite.run()
| true | Batman = require '../../../../lib/batman'
Watson = require 'watson'
jsdom = require 'jsdom'
global.window = jsdom.jsdom("<html><head><script></script></head><body></body></html>").createWindow()
global.window.Benchmark = Watson.Benchmark
global.document = window.document
simpleSource = '''
<div data-bind="foo"></div>
'''
loopSource = '''
<div data-foreach-obj="objects">
<span data-bind="obj"></span>
</div>
'''
nestedLoopSource = '''
<div data-foreach-key="keys">
<div data-foreach-val="sets[key]">
<span data-bind="val"></span>
</div>
</div>
'''
Watson.benchmark 'simple view rendering', (error, suite) ->
throw error if error
do ->
suite.add('simple bindings rendering',((deferred) ->
node = document.createElement 'div'
node.innerHTML = simpleSource
context = Batman(foo: 'bar')
view = new Batman.View
contexts: [context]
node: node
if view.on?
view.on 'ready', -> deferred.resolve()
else
view.ready -> deferred.resolve()
return
),{
defer: true
})
do ->
suite.add('simple loop rendering', ((deferred) ->
node = document.createElement 'div'
node.innerHTML = loopSource
context = Batman(objects: new Batman.Set([0...100]...))
view = new Batman.View
contexts: [context]
node: node
if view.on?
view.on 'ready', -> deferred.resolve()
else
view.ready -> deferred.resolve()
return
),{
defer: true
maxTime: 6
})
do ->
suite.add('nested loop rendering', ((deferred) ->
node = document.createElement 'div'
node.innerHTML = nestedLoopSource
context = Batman
keys: ['PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI']
sets: new Batman.Hash
foo: new Batman.Set([0...100]...)
bar: new Batman.Set([0...100]...)
baz: new Batman.Set([0...100]...)
qux: new Batman.Set([0...100]...)
view = new Batman.View
contexts: [context]
node: node
if view.on?
view.on 'ready', -> deferred.resolve()
else
view.ready -> deferred.resolve()
return
),{
maxTime: 10
defer: true
})
suite.run()
|
[
{
"context": " Xyz: 'xyz'\n Abc: 'abc'\n Name: 'john'\n xml = \"\"\"\n <Data xmlns=\"#{xmlns}\">\n ",
"end": 1422,
"score": 0.992031991481781,
"start": 1418,
"tag": "NAME",
"value": "john"
},
{
"context": "= \"\"\"\n <Data xmlns=\"#{xmlns}\">\n ... | node_modules/ghost-s3/node_modules/aws-sdk/test/xml/builder.spec.coffee | 100health/RedoxBlog | 15 | helpers = require('../helpers')
AWS = helpers.AWS
matchXML = helpers.matchXML
describe 'AWS.XML.Builder', ->
xmlns = 'http://mockservice.com/xmlns'
toXML = (rules, params, options) ->
options = {} if (!options)
options.xmlnamespace = xmlns
builder = new AWS.XML.Builder('Data', rules, options)
builder.toXML(params)
describe 'toXML', ->
it 'returns an empty element when there are no params', ->
expect(toXML(null, null)).toEqual("<Data xmlns=\"#{xmlns}\"/>")
it 'wraps simple structures with location of body', ->
rules = {Name:{},State:{}}
params = { Name:'abc', State: 'Enabled' }
xml = """
<Data xmlns="#{xmlns}">
<Name>abc</Name>
<State>Enabled</State>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'orders xml members by the order they appear in the rules', ->
rules = {Count:{type:'integer'},State:{}}
params = { State: 'Disabled', Count: 123 }
xml = """
<Data xmlns="#{xmlns}">
<Count>123</Count>
<State>Disabled</State>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'can serializes structures into XML', ->
rules =
Name: {}
Details:
type: 'structure'
members:
Abc: {}
Xyz: {}
params =
Details:
Xyz: 'xyz'
Abc: 'abc'
Name: 'john'
xml = """
<Data xmlns="#{xmlns}">
<Name>john</Name>
<Details>
<Abc>abc</Abc>
<Xyz>xyz</Xyz>
</Details>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes empty structures as empty element', ->
rules = {Config:{type:'structure',members:{Foo:{},Bar:{}}}}
params = { Config: {} }
xml = """
<Data xmlns="#{xmlns}">
<Config/>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'does not serialize missing members', ->
rules = {Config:{type:'structure',members:{Foo:{},Bar:{}}}}
params = { Config: { Foo: 'abc' } }
xml = """
<Data xmlns="#{xmlns}">
<Config>
<Foo>abc</Foo>
</Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'lists', ->
it 'serializes lists (default member names)', ->
rules = {Aliases:{type:'list',members:{}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Aliases>
<member>abc</member>
<member>mno</member>
<member>xyz</member>
</Aliases>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists (custom member names)', ->
rules = {Aliases:{type:'list',members:{name:'Alias'}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Aliases>
<Alias>abc</Alias>
<Alias>mno</Alias>
<Alias>xyz</Alias>
</Aliases>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'includes lists elements even if they have no members', ->
rules = {Aliases:{type:'list',members:{name:'Alias'}}}
params = {Aliases:[]}
xml = """
<Data xmlns="#{xmlns}">
<Aliases/>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists of structures', ->
rules =
Points:
type: 'list'
members:
type: 'structure'
name: 'Point'
members:
X: {type:'float'}
Y: {type:'float'}
params = {Points:[{X:1.2,Y:2.1},{X:3.4,Y:4.3}]}
xml = """
<Data xmlns="#{xmlns}">
<Points>
<Point>
<X>1.2</X>
<Y>2.1</Y>
</Point>
<Point>
<X>3.4</X>
<Y>4.3</Y>
</Point>
</Points>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'lists', ->
it 'serializes lists without a base wrapper', ->
rules = {Aliases:{type:'list',flattened:true,members:{}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Aliases>abc</Aliases>
<Aliases>mno</Aliases>
<Aliases>xyz</Aliases>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists (custom member names)', ->
rules = {Aliases:{type:'list',flattened:true,name:'Alias',members:{}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Alias>abc</Alias>
<Alias>mno</Alias>
<Alias>xyz</Alias>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'omits lists elements when no members are given', ->
rules = {Aliases:{type:'list',flattened:true,members:{name:'Alias'}}}
params = {Aliases:[]}
xml = """
<Data xmlns="#{xmlns}"/>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists of structures', ->
rules =
Points:
type: 'list'
flattened: true
name: 'Point'
members:
type: 'structure'
name: 'Point'
members:
X: {type:'float'}
Y: {type:'float'}
params = {Points:[{X:1.2,Y:2.1},{X:3.4,Y:4.3}]}
xml = """
<Data xmlns="#{xmlns}">
<Point>
<X>1.2</X>
<Y>2.1</Y>
</Point>
<Point>
<X>3.4</X>
<Y>4.3</Y>
</Point>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'numbers', ->
it 'integers', ->
rules = {Count:{type:'integer'}}
params = { Count: 123.0 }
xml = """
<Data xmlns="#{xmlns}">
<Count>123</Count>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'floats', ->
rules = {Count:{type:'float'}}
params = { Count: 123.123 }
xml = """
<Data xmlns="#{xmlns}">
<Count>123.123</Count>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'ints and floats formatted as numbers', ->
rules = {CountI:{type:'integer'},CountF:{type:'float'}}
params = { CountI: '123', CountF: '1.23' }
xml = """
<Data xmlns="#{xmlns}">
<CountI>123</CountI>
<CountF>1.23</CountF>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'booleans', ->
it 'true', ->
rules = {Enabled:{type:'boolean'}}
params = { Enabled: true }
xml = """
<Data xmlns="#{xmlns}">
<Enabled>true</Enabled>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'false', ->
rules = {Enabled:{type:'booleans'}}
params = { Enabled: false }
xml = """
<Data xmlns="#{xmlns}">
<Enabled>false</Enabled>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'timestamps', ->
time = new Date()
time.setMilliseconds(0)
it 'iso8601', ->
rules = {Expires:{type:'timestamp'}}
params = { Expires: time }
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.iso8601(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'iso8601'}), xml)
it 'rfc822', ->
rules = {Expires:{type:'timestamp'}}
params = { Expires: time }
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.rfc822(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'rfc822'}), xml)
it 'unix timestamp', ->
rules = {Expires:{type:'timestamp'}}
params = { Expires: time }
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.unixTimestamp(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'unixTimestamp'}), xml)
it 'follows the forat given on the shape', ->
rules = {Expires:{type:'timestamp',format:'rfc822'}}
params = { Expires: time }
# despite the api configuration will specify unixTimesmap, we expect
# an rfc822 formatted date based on the format attribute
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.rfc822(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'unixTimestamp'}), xml)
describe 'xml attributes', ->
it 'can serialize xml attributes', ->
rules =
Config:
type: 'structure'
members:
Foo:
type: 'string'
Attr:
type: 'string'
attribute: true
name: 'attr:name'
params = { Config: { Foo: 'bar', Attr: 'abc' } }
xml = """
<Data xmlns="#{xmlns}">
<Config attr:name="abc"><Foo>bar</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'xml namespaces', ->
it 'can apply xml namespaces on structures', ->
rules =
Config:
type: 'structure'
xmlns:
uri: 'URI'
members:
Foo:
type: 'string'
params = { Config: { Foo: 'bar' } }
xml = """
<Data xmlns="#{xmlns}">
<Config xmlns="URI"><Foo>bar</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'applies namespace prefixes to the xmlns attribute', ->
rules =
Config:
type: 'structure'
xmlns:
prefix: 'xsi'
uri: 'URI'
members:
Foo:
type: 'string'
params = { Config: { Foo: 'bar' } }
xml = """
<Data xmlns="#{xmlns}">
<Config xmlns:xsi="URI"><Foo>bar</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'can apply namespaces to elements that have other attributes', ->
rules =
Config:
type: 'structure'
xmlns:
prefix: 'xsi'
uri: 'URI'
members:
Foo:
type: 'string'
Bar:
type: 'string'
attribute: true
name: 'xsi:label'
params = { Config: { Foo: 'abc', Bar: 'xyz' } }
xml = """
<Data xmlns="#{xmlns}">
<Config xsi:label="xyz" xmlns:xsi="URI"><Foo>abc</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
| 33087 | helpers = require('../helpers')
AWS = helpers.AWS
matchXML = helpers.matchXML
describe 'AWS.XML.Builder', ->
xmlns = 'http://mockservice.com/xmlns'
toXML = (rules, params, options) ->
options = {} if (!options)
options.xmlnamespace = xmlns
builder = new AWS.XML.Builder('Data', rules, options)
builder.toXML(params)
describe 'toXML', ->
it 'returns an empty element when there are no params', ->
expect(toXML(null, null)).toEqual("<Data xmlns=\"#{xmlns}\"/>")
it 'wraps simple structures with location of body', ->
rules = {Name:{},State:{}}
params = { Name:'abc', State: 'Enabled' }
xml = """
<Data xmlns="#{xmlns}">
<Name>abc</Name>
<State>Enabled</State>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'orders xml members by the order they appear in the rules', ->
rules = {Count:{type:'integer'},State:{}}
params = { State: 'Disabled', Count: 123 }
xml = """
<Data xmlns="#{xmlns}">
<Count>123</Count>
<State>Disabled</State>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'can serializes structures into XML', ->
rules =
Name: {}
Details:
type: 'structure'
members:
Abc: {}
Xyz: {}
params =
Details:
Xyz: 'xyz'
Abc: 'abc'
Name: '<NAME>'
xml = """
<Data xmlns="#{xmlns}">
<Name><NAME></Name>
<Details>
<Abc>abc</Abc>
<Xyz>xyz</Xyz>
</Details>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes empty structures as empty element', ->
rules = {Config:{type:'structure',members:{Foo:{},Bar:{}}}}
params = { Config: {} }
xml = """
<Data xmlns="#{xmlns}">
<Config/>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'does not serialize missing members', ->
rules = {Config:{type:'structure',members:{Foo:{},Bar:{}}}}
params = { Config: { Foo: 'abc' } }
xml = """
<Data xmlns="#{xmlns}">
<Config>
<Foo>abc</Foo>
</Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'lists', ->
it 'serializes lists (default member names)', ->
rules = {Aliases:{type:'list',members:{}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Aliases>
<member>abc</member>
<member>mno</member>
<member>xyz</member>
</Aliases>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists (custom member names)', ->
rules = {Aliases:{type:'list',members:{name:'Alias'}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Aliases>
<Alias>abc</Alias>
<Alias>mno</Alias>
<Alias>xyz</Alias>
</Aliases>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'includes lists elements even if they have no members', ->
rules = {Aliases:{type:'list',members:{name:'Alias'}}}
params = {Aliases:[]}
xml = """
<Data xmlns="#{xmlns}">
<Aliases/>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists of structures', ->
rules =
Points:
type: 'list'
members:
type: 'structure'
name: 'Point'
members:
X: {type:'float'}
Y: {type:'float'}
params = {Points:[{X:1.2,Y:2.1},{X:3.4,Y:4.3}]}
xml = """
<Data xmlns="#{xmlns}">
<Points>
<Point>
<X>1.2</X>
<Y>2.1</Y>
</Point>
<Point>
<X>3.4</X>
<Y>4.3</Y>
</Point>
</Points>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'lists', ->
it 'serializes lists without a base wrapper', ->
rules = {Aliases:{type:'list',flattened:true,members:{}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Aliases>abc</Aliases>
<Aliases>mno</Aliases>
<Aliases>xyz</Aliases>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists (custom member names)', ->
rules = {Aliases:{type:'list',flattened:true,name:'Alias',members:{}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Alias>abc</Alias>
<Alias>mno</Alias>
<Alias>xyz</Alias>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'omits lists elements when no members are given', ->
rules = {Aliases:{type:'list',flattened:true,members:{name:'Alias'}}}
params = {Aliases:[]}
xml = """
<Data xmlns="#{xmlns}"/>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists of structures', ->
rules =
Points:
type: 'list'
flattened: true
name: 'Point'
members:
type: 'structure'
name: 'Point'
members:
X: {type:'float'}
Y: {type:'float'}
params = {Points:[{X:1.2,Y:2.1},{X:3.4,Y:4.3}]}
xml = """
<Data xmlns="#{xmlns}">
<Point>
<X>1.2</X>
<Y>2.1</Y>
</Point>
<Point>
<X>3.4</X>
<Y>4.3</Y>
</Point>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'numbers', ->
it 'integers', ->
rules = {Count:{type:'integer'}}
params = { Count: 123.0 }
xml = """
<Data xmlns="#{xmlns}">
<Count>123</Count>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'floats', ->
rules = {Count:{type:'float'}}
params = { Count: 123.123 }
xml = """
<Data xmlns="#{xmlns}">
<Count>123.123</Count>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'ints and floats formatted as numbers', ->
rules = {CountI:{type:'integer'},CountF:{type:'float'}}
params = { CountI: '123', CountF: '1.23' }
xml = """
<Data xmlns="#{xmlns}">
<CountI>123</CountI>
<CountF>1.23</CountF>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'booleans', ->
it 'true', ->
rules = {Enabled:{type:'boolean'}}
params = { Enabled: true }
xml = """
<Data xmlns="#{xmlns}">
<Enabled>true</Enabled>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'false', ->
rules = {Enabled:{type:'booleans'}}
params = { Enabled: false }
xml = """
<Data xmlns="#{xmlns}">
<Enabled>false</Enabled>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'timestamps', ->
time = new Date()
time.setMilliseconds(0)
it 'iso8601', ->
rules = {Expires:{type:'timestamp'}}
params = { Expires: time }
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.iso8601(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'iso8601'}), xml)
it 'rfc822', ->
rules = {Expires:{type:'timestamp'}}
params = { Expires: time }
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.rfc822(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'rfc822'}), xml)
it 'unix timestamp', ->
rules = {Expires:{type:'timestamp'}}
params = { Expires: time }
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.unixTimestamp(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'unixTimestamp'}), xml)
it 'follows the forat given on the shape', ->
rules = {Expires:{type:'timestamp',format:'rfc822'}}
params = { Expires: time }
# despite the api configuration will specify unixTimesmap, we expect
# an rfc822 formatted date based on the format attribute
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.rfc822(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'unixTimestamp'}), xml)
describe 'xml attributes', ->
it 'can serialize xml attributes', ->
rules =
Config:
type: 'structure'
members:
Foo:
type: 'string'
Attr:
type: 'string'
attribute: true
name: 'attr:name'
params = { Config: { Foo: 'bar', Attr: 'abc' } }
xml = """
<Data xmlns="#{xmlns}">
<Config attr:name="abc"><Foo>bar</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'xml namespaces', ->
it 'can apply xml namespaces on structures', ->
rules =
Config:
type: 'structure'
xmlns:
uri: 'URI'
members:
Foo:
type: 'string'
params = { Config: { Foo: 'bar' } }
xml = """
<Data xmlns="#{xmlns}">
<Config xmlns="URI"><Foo>bar</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'applies namespace prefixes to the xmlns attribute', ->
rules =
Config:
type: 'structure'
xmlns:
prefix: 'xsi'
uri: 'URI'
members:
Foo:
type: 'string'
params = { Config: { Foo: 'bar' } }
xml = """
<Data xmlns="#{xmlns}">
<Config xmlns:xsi="URI"><Foo>bar</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'can apply namespaces to elements that have other attributes', ->
rules =
Config:
type: 'structure'
xmlns:
prefix: 'xsi'
uri: 'URI'
members:
Foo:
type: 'string'
Bar:
type: 'string'
attribute: true
name: 'xsi:label'
params = { Config: { Foo: 'abc', Bar: 'xyz' } }
xml = """
<Data xmlns="#{xmlns}">
<Config xsi:label="xyz" xmlns:xsi="URI"><Foo>abc</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
| true | helpers = require('../helpers')
AWS = helpers.AWS
matchXML = helpers.matchXML
describe 'AWS.XML.Builder', ->
xmlns = 'http://mockservice.com/xmlns'
toXML = (rules, params, options) ->
options = {} if (!options)
options.xmlnamespace = xmlns
builder = new AWS.XML.Builder('Data', rules, options)
builder.toXML(params)
describe 'toXML', ->
it 'returns an empty element when there are no params', ->
expect(toXML(null, null)).toEqual("<Data xmlns=\"#{xmlns}\"/>")
it 'wraps simple structures with location of body', ->
rules = {Name:{},State:{}}
params = { Name:'abc', State: 'Enabled' }
xml = """
<Data xmlns="#{xmlns}">
<Name>abc</Name>
<State>Enabled</State>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'orders xml members by the order they appear in the rules', ->
rules = {Count:{type:'integer'},State:{}}
params = { State: 'Disabled', Count: 123 }
xml = """
<Data xmlns="#{xmlns}">
<Count>123</Count>
<State>Disabled</State>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'can serializes structures into XML', ->
rules =
Name: {}
Details:
type: 'structure'
members:
Abc: {}
Xyz: {}
params =
Details:
Xyz: 'xyz'
Abc: 'abc'
Name: 'PI:NAME:<NAME>END_PI'
xml = """
<Data xmlns="#{xmlns}">
<Name>PI:NAME:<NAME>END_PI</Name>
<Details>
<Abc>abc</Abc>
<Xyz>xyz</Xyz>
</Details>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes empty structures as empty element', ->
rules = {Config:{type:'structure',members:{Foo:{},Bar:{}}}}
params = { Config: {} }
xml = """
<Data xmlns="#{xmlns}">
<Config/>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'does not serialize missing members', ->
rules = {Config:{type:'structure',members:{Foo:{},Bar:{}}}}
params = { Config: { Foo: 'abc' } }
xml = """
<Data xmlns="#{xmlns}">
<Config>
<Foo>abc</Foo>
</Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'lists', ->
it 'serializes lists (default member names)', ->
rules = {Aliases:{type:'list',members:{}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Aliases>
<member>abc</member>
<member>mno</member>
<member>xyz</member>
</Aliases>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists (custom member names)', ->
rules = {Aliases:{type:'list',members:{name:'Alias'}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Aliases>
<Alias>abc</Alias>
<Alias>mno</Alias>
<Alias>xyz</Alias>
</Aliases>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'includes lists elements even if they have no members', ->
rules = {Aliases:{type:'list',members:{name:'Alias'}}}
params = {Aliases:[]}
xml = """
<Data xmlns="#{xmlns}">
<Aliases/>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists of structures', ->
rules =
Points:
type: 'list'
members:
type: 'structure'
name: 'Point'
members:
X: {type:'float'}
Y: {type:'float'}
params = {Points:[{X:1.2,Y:2.1},{X:3.4,Y:4.3}]}
xml = """
<Data xmlns="#{xmlns}">
<Points>
<Point>
<X>1.2</X>
<Y>2.1</Y>
</Point>
<Point>
<X>3.4</X>
<Y>4.3</Y>
</Point>
</Points>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'lists', ->
it 'serializes lists without a base wrapper', ->
rules = {Aliases:{type:'list',flattened:true,members:{}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Aliases>abc</Aliases>
<Aliases>mno</Aliases>
<Aliases>xyz</Aliases>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists (custom member names)', ->
rules = {Aliases:{type:'list',flattened:true,name:'Alias',members:{}}}
params = {Aliases:['abc','mno','xyz']}
xml = """
<Data xmlns="#{xmlns}">
<Alias>abc</Alias>
<Alias>mno</Alias>
<Alias>xyz</Alias>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'omits lists elements when no members are given', ->
rules = {Aliases:{type:'list',flattened:true,members:{name:'Alias'}}}
params = {Aliases:[]}
xml = """
<Data xmlns="#{xmlns}"/>
"""
matchXML(toXML(rules, params), xml)
it 'serializes lists of structures', ->
rules =
Points:
type: 'list'
flattened: true
name: 'Point'
members:
type: 'structure'
name: 'Point'
members:
X: {type:'float'}
Y: {type:'float'}
params = {Points:[{X:1.2,Y:2.1},{X:3.4,Y:4.3}]}
xml = """
<Data xmlns="#{xmlns}">
<Point>
<X>1.2</X>
<Y>2.1</Y>
</Point>
<Point>
<X>3.4</X>
<Y>4.3</Y>
</Point>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'numbers', ->
it 'integers', ->
rules = {Count:{type:'integer'}}
params = { Count: 123.0 }
xml = """
<Data xmlns="#{xmlns}">
<Count>123</Count>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'floats', ->
rules = {Count:{type:'float'}}
params = { Count: 123.123 }
xml = """
<Data xmlns="#{xmlns}">
<Count>123.123</Count>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'ints and floats formatted as numbers', ->
rules = {CountI:{type:'integer'},CountF:{type:'float'}}
params = { CountI: '123', CountF: '1.23' }
xml = """
<Data xmlns="#{xmlns}">
<CountI>123</CountI>
<CountF>1.23</CountF>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'booleans', ->
it 'true', ->
rules = {Enabled:{type:'boolean'}}
params = { Enabled: true }
xml = """
<Data xmlns="#{xmlns}">
<Enabled>true</Enabled>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'false', ->
rules = {Enabled:{type:'booleans'}}
params = { Enabled: false }
xml = """
<Data xmlns="#{xmlns}">
<Enabled>false</Enabled>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'timestamps', ->
time = new Date()
time.setMilliseconds(0)
it 'iso8601', ->
rules = {Expires:{type:'timestamp'}}
params = { Expires: time }
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.iso8601(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'iso8601'}), xml)
it 'rfc822', ->
rules = {Expires:{type:'timestamp'}}
params = { Expires: time }
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.rfc822(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'rfc822'}), xml)
it 'unix timestamp', ->
rules = {Expires:{type:'timestamp'}}
params = { Expires: time }
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.unixTimestamp(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'unixTimestamp'}), xml)
it 'follows the forat given on the shape', ->
rules = {Expires:{type:'timestamp',format:'rfc822'}}
params = { Expires: time }
# despite the api configuration will specify unixTimesmap, we expect
# an rfc822 formatted date based on the format attribute
xml = """
<Data xmlns="#{xmlns}">
<Expires>#{AWS.util.date.rfc822(time)}</Expires>
</Data>
"""
matchXML(toXML(rules, params, {timestampFormat:'unixTimestamp'}), xml)
describe 'xml attributes', ->
it 'can serialize xml attributes', ->
rules =
Config:
type: 'structure'
members:
Foo:
type: 'string'
Attr:
type: 'string'
attribute: true
name: 'attr:name'
params = { Config: { Foo: 'bar', Attr: 'abc' } }
xml = """
<Data xmlns="#{xmlns}">
<Config attr:name="abc"><Foo>bar</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
describe 'xml namespaces', ->
it 'can apply xml namespaces on structures', ->
rules =
Config:
type: 'structure'
xmlns:
uri: 'URI'
members:
Foo:
type: 'string'
params = { Config: { Foo: 'bar' } }
xml = """
<Data xmlns="#{xmlns}">
<Config xmlns="URI"><Foo>bar</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'applies namespace prefixes to the xmlns attribute', ->
rules =
Config:
type: 'structure'
xmlns:
prefix: 'xsi'
uri: 'URI'
members:
Foo:
type: 'string'
params = { Config: { Foo: 'bar' } }
xml = """
<Data xmlns="#{xmlns}">
<Config xmlns:xsi="URI"><Foo>bar</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
it 'can apply namespaces to elements that have other attributes', ->
rules =
Config:
type: 'structure'
xmlns:
prefix: 'xsi'
uri: 'URI'
members:
Foo:
type: 'string'
Bar:
type: 'string'
attribute: true
name: 'xsi:label'
params = { Config: { Foo: 'abc', Bar: 'xyz' } }
xml = """
<Data xmlns="#{xmlns}">
<Config xsi:label="xyz" xmlns:xsi="URI"><Foo>abc</Foo></Config>
</Data>
"""
matchXML(toXML(rules, params), xml)
|
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2013 git-j, Refeus\n# Hallo may be freely distributed und",
"end": 71,
"score": 0.9995386600494385,
"start": 66,
"tag": "USERNAME",
"value": "git-j"
},
{
"context": "ext editing jQuery UI widget\n# (c) 2013 git-j, R... | src/plugins/plaintext.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2013 git-j, Refeus
# Hallo may be freely distributed under the MIT license
# Plugin to access & modify the raw data for the editable
# desireable for paste from oo-text
((jQuery) ->
jQuery.widget 'IKS.halloplaintext',
name: "plaintext"
html: null
editable_element: null
stored_content_selection_marker: ''
plain_editor: null # optional component (codeMirror)
overlay: null
debug: false
options:
editable: null
toolbar: null
uuid: ''
buttonCssClass: null
overlayCss:
'position': 'fixed'
'z-index': 100000 # over toolbar
'background': 'white'
'border':'2px solid silver'
cancel: () ->
console.log('cancel') if @debug
@restore()
commit: () ->
sel_html = @textarea.val()
sel_html = sel_html.replace(/\n<table/g,'<table')
sel_html = sel_html.replace(/\n<ol/g,'<ol')
sel_html = sel_html.replace(/\n<ul/g,'<ul')
sel_html = sel_html.replace(/\n <li/g,'<li')
sel_html = sel_html.replace(/\n <tr/g,'<tr')
sel_html = sel_html.replace(/\n <td/g,'<td')
sel_html = sel_html.replace(/\n<div/g,'<div')
sel_html = sel_html.replace(/\n<p/g,'<p')
sel_html = sel_html.replace(/\n<br/g,'<br')
sel_html = sel_html + @stored_content_selection_marker
@editable_element.html(sel_html)
@options.editable.store()
@restore()
execute: () ->
jQuery('body').css
'overflow':'hidden'
@editable_element.css
'opacity': '0.5'
@options.editable.storeContentPosition()
@options.editable.undoWaypointStart('plaintext')
jQuery('.misspelled').remove()
@id = "#{@options.uuid}-#{@widgetName}-area"
@editable_element = @options.editable.element
console.log('execute::editable html',@editable_element.html()) if @debug
overlay = @_create_overlay(@id)
@editable_element.parent().append overlay
overlay.fadeIn 100, =>
@options.editable._ignoreEvents = true
@textarea.focus()
sel_html = @textarea.val();
selm_start = '<' + @options.editable.selection_marker + '>'
selm_end = '</' + @options.editable.selection_marker + '>'
sel_html = sel_html.replace(/<span class="rangySelectionBoundary[^>]*>[^<]*<\/span>/,selm_start)
if ( sel_html.match(/<span class="rangySelectionBoundary[^>]*>[^<]*<\/span>/) )
sel_html = sel_html.replace(/<span class="rangySelectionBoundary[^>]*>[^<]*<\/span>/,selm_end)
else
sel_html = sel_html.replace(selm_start,selm_start+selm_end);
# 8< prepareTextForStorage
#sel_html = sel_html.replace(/<p/g,'\n<p')
sel_html = sel_html.replace(/<table/g,'\n<table')
sel_html = sel_html.replace(/<ol/g,'\n<ol')
sel_html = sel_html.replace(/<ul/g,'\n<ul')
sel_html = sel_html.replace(/<li/g,'\n <li')
sel_html = sel_html.replace(/<tr/g,'\n <tr')
sel_html = sel_html.replace(/<td/g,'\n <td')
sel_html = sel_html.replace(/<div/g,'\n<div')
sel_html = sel_html.replace(/<p/g,'\n<p')
sel_html = sel_html.replace(/<br/g,'\n<br')
selection_pos_start = sel_html.indexOf(selm_start)
if ( selection_pos_start >= 0)
sel_html = sel_html.replace(new RegExp(selm_start,'g'),'')
selection_pos_end = sel_html.indexOf(selm_end)
if ( selection_pos_end >= 0 )
sel_html = sel_html.replace(new RegExp(selm_end,'g'),'')
@textarea.val(sel_html)
if ( selection_pos_start >= 0 && selection_pos_end >= 0)
@options.editable.setSelectionRange(@textarea.get(0),selection_pos_start,selection_pos_end)
@_setup_syntax_highlight()
@options.editable._ignoreEvents = false
restore: () ->
jQuery('body').css
'overflow':'auto'
@editable_element.css
'opacity': '1'
@overlay.fadeOut 100, =>
@overlay.remove()
dom = new DOMNugget()
dom.prepareTextForEdit(@editable_element)
dom.resetCitations(@editable_element)
if ( typeof MathJax == 'object' )
MathJax.Hub.Queue(['Typeset',MathJax.Hub])
@options.editable.undoWaypointCommit()
@options.editable.restoreContentPosition()
setup: () ->
# on activate toolbar (focus in)
return if ! @options.editable.element
@editable_element = @options.editable.element
_create_form_button: (name,event_handler) ->
button_label = utils.tr_action_title(name);
button_tooltip = utils.tr_action_tooltip(name);
btn = jQuery "<button class=\"action_button\" title=\"#{button_tooltip}\">#{button_label}</button>"
btn.bind 'click', event_handler
btn.addClass('action_button')
btn
_prepare_plain_content: ->
dom = new DOMNugget()
citeproc = new ICiteProc()
dom.prepareTextForStorage(@editable_element)
@saved_selection = rangy.saveSelection()
selection_marker = @editable_element.find(@options.editable.selection_marker)
if selection_marker.length
@stored_content_selection_marker = selection_marker[0].outerHTML
selection_marker.remove()
selection_marker = @editable_element.find('.rangySelectionBoundary')
selection_marker.each (index,item) =>
node = jQuery(item)
node.removeAttr('id')
node.removeAttr('style')
@editable_element.find('.auto-cite').remove()
_create_overlay: (id) ->
@overlay = jQuery "<div id=\"#{id}\"></div>"
@_prepare_plain_content()
@overlay.append @_create_plain(@editable_element.html())
@overlay.append '<div class="button_container"></div>'
container = @overlay.find('.button_container')
container.append @_create_form_button 'Cancel', =>
@cancel()
container.append @_create_form_button 'Apply', =>
@commit()
@_overlay_resize()
jQuery(window).bind 'resize', =>
@_overlay_resize()
@_plain_resize()
@overlay
_create_plain: (content) ->
@textarea = jQuery "<textarea></textarea>"
@textarea.val(content)
@_plain_resize()
@textarea.bind 'blur', =>
@textarea.focus()
@textarea.bind 'keyup', (event)=>
if ( event.keyCode == 27 )
@cancel()
@textarea
_setup_syntax_highlight: () ->
#return if !CodeMirror
editor_options =
'mode': 'application/xml'
'lineNumbers': true
'lineWrapping': true
#@plain_editor = CodeMirror.fromTextArea(@textarea[0], editor_options)
#hlLine = editor.addLineClass(0, "background", "activeline")
#@plain_editor.bind "cursorActivity", =>
# cur = editor.getLineHandle(editor.getCursor().line)
# if (cur != hlLine)
# editor.removeLineClass(hlLine, "background", "activeline")
# hlLine = editor.addLineClass(cur, "background", "activeline")
_overlay_resize: () ->
@overlay.offset(@toolbar.offset())
dim =
width: @editable_element.width()
height: @editable_element.height()
dim.height = dim.height + ( @editable_element.offset().top - @toolbar.offset().top )
@options.overlayCss.height = $(window).height()
@options.overlayCss.width = $(window).width()
@options.overlayCss.top = 0
@options.overlayCss.left = 0
@overlay.css @options.overlayCss
_plain_resize: () ->
height = $(window).height() - @toolbar.offset().top
text_dim =
'position': 'fixed'
'top': '5px'
'left': '8px'
'width': ($(window).width() - 16) + 'px'
'height': ($(window).height() - 48) + 'px'
'max-width': $(window).width()
'max-height': $(window).height()
@textarea.css text_dim
if ( @plain_editor )
@plain_editor.refresh()
# inherits? with tpl_action
populateToolbar: (toolbar) ->
@editable_element = @options.editable.element
@toolbar = toolbar
buttonset = jQuery "<span class=\"#{@widgetName}\"></span>"
contentId = "#{@options.uuid}-#{@widgetName}-data"
toolbar.append @_prepareButtons contentId
_prepareButtons: (contentId) ->
# build buttonset with single instance
console.log(@editable_element) if @debug
buttonset = jQuery "<span class=\"#{@widgetName}\"></span>"
buttonset.append @_prepareButton =>
console.log(@editable_element) if @debug
@execute()
buttonset.hallobuttonset()
_prepareButton: (action) ->
# build button to be displayed with halloactionbutton
# apply translated tooltips
buttonElement = jQuery '<span></span>'
button_label = @name
if ( window.action_list && window.action_list['hallojs_' + @name] != undefined )
button_label = window.action_list['hallojs_' + @name].title
buttonElement.halloactionbutton
uuid: @options.uuid
editable: @options.editable
label: button_label
icon: 'icon-text-height'
command: @name
target: @name
setup: @setup
cssClass: @options.buttonCssClass
action: action
buttonElement
)(jQuery)
| 57787 | # Hallo - a rich text editing jQuery UI widget
# (c) 2013 git-j, <NAME>
# Hallo may be freely distributed under the MIT license
# Plugin to access & modify the raw data for the editable
# desireable for paste from oo-text
((jQuery) ->
jQuery.widget 'IKS.halloplaintext',
name: "plaintext"
html: null
editable_element: null
stored_content_selection_marker: ''
plain_editor: null # optional component (codeMirror)
overlay: null
debug: false
options:
editable: null
toolbar: null
uuid: ''
buttonCssClass: null
overlayCss:
'position': 'fixed'
'z-index': 100000 # over toolbar
'background': 'white'
'border':'2px solid silver'
cancel: () ->
console.log('cancel') if @debug
@restore()
commit: () ->
sel_html = @textarea.val()
sel_html = sel_html.replace(/\n<table/g,'<table')
sel_html = sel_html.replace(/\n<ol/g,'<ol')
sel_html = sel_html.replace(/\n<ul/g,'<ul')
sel_html = sel_html.replace(/\n <li/g,'<li')
sel_html = sel_html.replace(/\n <tr/g,'<tr')
sel_html = sel_html.replace(/\n <td/g,'<td')
sel_html = sel_html.replace(/\n<div/g,'<div')
sel_html = sel_html.replace(/\n<p/g,'<p')
sel_html = sel_html.replace(/\n<br/g,'<br')
sel_html = sel_html + @stored_content_selection_marker
@editable_element.html(sel_html)
@options.editable.store()
@restore()
execute: () ->
jQuery('body').css
'overflow':'hidden'
@editable_element.css
'opacity': '0.5'
@options.editable.storeContentPosition()
@options.editable.undoWaypointStart('plaintext')
jQuery('.misspelled').remove()
@id = "#{@options.uuid}-#{@widgetName}-area"
@editable_element = @options.editable.element
console.log('execute::editable html',@editable_element.html()) if @debug
overlay = @_create_overlay(@id)
@editable_element.parent().append overlay
overlay.fadeIn 100, =>
@options.editable._ignoreEvents = true
@textarea.focus()
sel_html = @textarea.val();
selm_start = '<' + @options.editable.selection_marker + '>'
selm_end = '</' + @options.editable.selection_marker + '>'
sel_html = sel_html.replace(/<span class="rangySelectionBoundary[^>]*>[^<]*<\/span>/,selm_start)
if ( sel_html.match(/<span class="rangySelectionBoundary[^>]*>[^<]*<\/span>/) )
sel_html = sel_html.replace(/<span class="rangySelectionBoundary[^>]*>[^<]*<\/span>/,selm_end)
else
sel_html = sel_html.replace(selm_start,selm_start+selm_end);
# 8< prepareTextForStorage
#sel_html = sel_html.replace(/<p/g,'\n<p')
sel_html = sel_html.replace(/<table/g,'\n<table')
sel_html = sel_html.replace(/<ol/g,'\n<ol')
sel_html = sel_html.replace(/<ul/g,'\n<ul')
sel_html = sel_html.replace(/<li/g,'\n <li')
sel_html = sel_html.replace(/<tr/g,'\n <tr')
sel_html = sel_html.replace(/<td/g,'\n <td')
sel_html = sel_html.replace(/<div/g,'\n<div')
sel_html = sel_html.replace(/<p/g,'\n<p')
sel_html = sel_html.replace(/<br/g,'\n<br')
selection_pos_start = sel_html.indexOf(selm_start)
if ( selection_pos_start >= 0)
sel_html = sel_html.replace(new RegExp(selm_start,'g'),'')
selection_pos_end = sel_html.indexOf(selm_end)
if ( selection_pos_end >= 0 )
sel_html = sel_html.replace(new RegExp(selm_end,'g'),'')
@textarea.val(sel_html)
if ( selection_pos_start >= 0 && selection_pos_end >= 0)
@options.editable.setSelectionRange(@textarea.get(0),selection_pos_start,selection_pos_end)
@_setup_syntax_highlight()
@options.editable._ignoreEvents = false
restore: () ->
jQuery('body').css
'overflow':'auto'
@editable_element.css
'opacity': '1'
@overlay.fadeOut 100, =>
@overlay.remove()
dom = new DOMNugget()
dom.prepareTextForEdit(@editable_element)
dom.resetCitations(@editable_element)
if ( typeof MathJax == 'object' )
MathJax.Hub.Queue(['Typeset',MathJax.Hub])
@options.editable.undoWaypointCommit()
@options.editable.restoreContentPosition()
setup: () ->
# on activate toolbar (focus in)
return if ! @options.editable.element
@editable_element = @options.editable.element
_create_form_button: (name,event_handler) ->
button_label = utils.tr_action_title(name);
button_tooltip = utils.tr_action_tooltip(name);
btn = jQuery "<button class=\"action_button\" title=\"#{button_tooltip}\">#{button_label}</button>"
btn.bind 'click', event_handler
btn.addClass('action_button')
btn
_prepare_plain_content: ->
dom = new DOMNugget()
citeproc = new ICiteProc()
dom.prepareTextForStorage(@editable_element)
@saved_selection = rangy.saveSelection()
selection_marker = @editable_element.find(@options.editable.selection_marker)
if selection_marker.length
@stored_content_selection_marker = selection_marker[0].outerHTML
selection_marker.remove()
selection_marker = @editable_element.find('.rangySelectionBoundary')
selection_marker.each (index,item) =>
node = jQuery(item)
node.removeAttr('id')
node.removeAttr('style')
@editable_element.find('.auto-cite').remove()
_create_overlay: (id) ->
@overlay = jQuery "<div id=\"#{id}\"></div>"
@_prepare_plain_content()
@overlay.append @_create_plain(@editable_element.html())
@overlay.append '<div class="button_container"></div>'
container = @overlay.find('.button_container')
container.append @_create_form_button 'Cancel', =>
@cancel()
container.append @_create_form_button 'Apply', =>
@commit()
@_overlay_resize()
jQuery(window).bind 'resize', =>
@_overlay_resize()
@_plain_resize()
@overlay
_create_plain: (content) ->
@textarea = jQuery "<textarea></textarea>"
@textarea.val(content)
@_plain_resize()
@textarea.bind 'blur', =>
@textarea.focus()
@textarea.bind 'keyup', (event)=>
if ( event.keyCode == 27 )
@cancel()
@textarea
_setup_syntax_highlight: () ->
#return if !CodeMirror
editor_options =
'mode': 'application/xml'
'lineNumbers': true
'lineWrapping': true
#@plain_editor = CodeMirror.fromTextArea(@textarea[0], editor_options)
#hlLine = editor.addLineClass(0, "background", "activeline")
#@plain_editor.bind "cursorActivity", =>
# cur = editor.getLineHandle(editor.getCursor().line)
# if (cur != hlLine)
# editor.removeLineClass(hlLine, "background", "activeline")
# hlLine = editor.addLineClass(cur, "background", "activeline")
_overlay_resize: () ->
@overlay.offset(@toolbar.offset())
dim =
width: @editable_element.width()
height: @editable_element.height()
dim.height = dim.height + ( @editable_element.offset().top - @toolbar.offset().top )
@options.overlayCss.height = $(window).height()
@options.overlayCss.width = $(window).width()
@options.overlayCss.top = 0
@options.overlayCss.left = 0
@overlay.css @options.overlayCss
_plain_resize: () ->
height = $(window).height() - @toolbar.offset().top
text_dim =
'position': 'fixed'
'top': '5px'
'left': '8px'
'width': ($(window).width() - 16) + 'px'
'height': ($(window).height() - 48) + 'px'
'max-width': $(window).width()
'max-height': $(window).height()
@textarea.css text_dim
if ( @plain_editor )
@plain_editor.refresh()
# inherits? with tpl_action
populateToolbar: (toolbar) ->
@editable_element = @options.editable.element
@toolbar = toolbar
buttonset = jQuery "<span class=\"#{@widgetName}\"></span>"
contentId = "#{@options.uuid}-#{@widgetName}-data"
toolbar.append @_prepareButtons contentId
_prepareButtons: (contentId) ->
# build buttonset with single instance
console.log(@editable_element) if @debug
buttonset = jQuery "<span class=\"#{@widgetName}\"></span>"
buttonset.append @_prepareButton =>
console.log(@editable_element) if @debug
@execute()
buttonset.hallobuttonset()
_prepareButton: (action) ->
# build button to be displayed with halloactionbutton
# apply translated tooltips
buttonElement = jQuery '<span></span>'
button_label = @name
if ( window.action_list && window.action_list['hallojs_' + @name] != undefined )
button_label = window.action_list['hallojs_' + @name].title
buttonElement.halloactionbutton
uuid: @options.uuid
editable: @options.editable
label: button_label
icon: 'icon-text-height'
command: @name
target: @name
setup: @setup
cssClass: @options.buttonCssClass
action: action
buttonElement
)(jQuery)
| true | # Hallo - a rich text editing jQuery UI widget
# (c) 2013 git-j, PI:NAME:<NAME>END_PI
# Hallo may be freely distributed under the MIT license
# Plugin to access & modify the raw data for the editable
# desireable for paste from oo-text
((jQuery) ->
jQuery.widget 'IKS.halloplaintext',
name: "plaintext"
html: null
editable_element: null
stored_content_selection_marker: ''
plain_editor: null # optional component (codeMirror)
overlay: null
debug: false
options:
editable: null
toolbar: null
uuid: ''
buttonCssClass: null
overlayCss:
'position': 'fixed'
'z-index': 100000 # over toolbar
'background': 'white'
'border':'2px solid silver'
cancel: () ->
console.log('cancel') if @debug
@restore()
commit: () ->
sel_html = @textarea.val()
sel_html = sel_html.replace(/\n<table/g,'<table')
sel_html = sel_html.replace(/\n<ol/g,'<ol')
sel_html = sel_html.replace(/\n<ul/g,'<ul')
sel_html = sel_html.replace(/\n <li/g,'<li')
sel_html = sel_html.replace(/\n <tr/g,'<tr')
sel_html = sel_html.replace(/\n <td/g,'<td')
sel_html = sel_html.replace(/\n<div/g,'<div')
sel_html = sel_html.replace(/\n<p/g,'<p')
sel_html = sel_html.replace(/\n<br/g,'<br')
sel_html = sel_html + @stored_content_selection_marker
@editable_element.html(sel_html)
@options.editable.store()
@restore()
execute: () ->
jQuery('body').css
'overflow':'hidden'
@editable_element.css
'opacity': '0.5'
@options.editable.storeContentPosition()
@options.editable.undoWaypointStart('plaintext')
jQuery('.misspelled').remove()
@id = "#{@options.uuid}-#{@widgetName}-area"
@editable_element = @options.editable.element
console.log('execute::editable html',@editable_element.html()) if @debug
overlay = @_create_overlay(@id)
@editable_element.parent().append overlay
overlay.fadeIn 100, =>
@options.editable._ignoreEvents = true
@textarea.focus()
sel_html = @textarea.val();
selm_start = '<' + @options.editable.selection_marker + '>'
selm_end = '</' + @options.editable.selection_marker + '>'
sel_html = sel_html.replace(/<span class="rangySelectionBoundary[^>]*>[^<]*<\/span>/,selm_start)
if ( sel_html.match(/<span class="rangySelectionBoundary[^>]*>[^<]*<\/span>/) )
sel_html = sel_html.replace(/<span class="rangySelectionBoundary[^>]*>[^<]*<\/span>/,selm_end)
else
sel_html = sel_html.replace(selm_start,selm_start+selm_end);
# 8< prepareTextForStorage
#sel_html = sel_html.replace(/<p/g,'\n<p')
sel_html = sel_html.replace(/<table/g,'\n<table')
sel_html = sel_html.replace(/<ol/g,'\n<ol')
sel_html = sel_html.replace(/<ul/g,'\n<ul')
sel_html = sel_html.replace(/<li/g,'\n <li')
sel_html = sel_html.replace(/<tr/g,'\n <tr')
sel_html = sel_html.replace(/<td/g,'\n <td')
sel_html = sel_html.replace(/<div/g,'\n<div')
sel_html = sel_html.replace(/<p/g,'\n<p')
sel_html = sel_html.replace(/<br/g,'\n<br')
selection_pos_start = sel_html.indexOf(selm_start)
if ( selection_pos_start >= 0)
sel_html = sel_html.replace(new RegExp(selm_start,'g'),'')
selection_pos_end = sel_html.indexOf(selm_end)
if ( selection_pos_end >= 0 )
sel_html = sel_html.replace(new RegExp(selm_end,'g'),'')
@textarea.val(sel_html)
if ( selection_pos_start >= 0 && selection_pos_end >= 0)
@options.editable.setSelectionRange(@textarea.get(0),selection_pos_start,selection_pos_end)
@_setup_syntax_highlight()
@options.editable._ignoreEvents = false
restore: () ->
jQuery('body').css
'overflow':'auto'
@editable_element.css
'opacity': '1'
@overlay.fadeOut 100, =>
@overlay.remove()
dom = new DOMNugget()
dom.prepareTextForEdit(@editable_element)
dom.resetCitations(@editable_element)
if ( typeof MathJax == 'object' )
MathJax.Hub.Queue(['Typeset',MathJax.Hub])
@options.editable.undoWaypointCommit()
@options.editable.restoreContentPosition()
setup: () ->
# on activate toolbar (focus in)
return if ! @options.editable.element
@editable_element = @options.editable.element
_create_form_button: (name,event_handler) ->
button_label = utils.tr_action_title(name);
button_tooltip = utils.tr_action_tooltip(name);
btn = jQuery "<button class=\"action_button\" title=\"#{button_tooltip}\">#{button_label}</button>"
btn.bind 'click', event_handler
btn.addClass('action_button')
btn
_prepare_plain_content: ->
dom = new DOMNugget()
citeproc = new ICiteProc()
dom.prepareTextForStorage(@editable_element)
@saved_selection = rangy.saveSelection()
selection_marker = @editable_element.find(@options.editable.selection_marker)
if selection_marker.length
@stored_content_selection_marker = selection_marker[0].outerHTML
selection_marker.remove()
selection_marker = @editable_element.find('.rangySelectionBoundary')
selection_marker.each (index,item) =>
node = jQuery(item)
node.removeAttr('id')
node.removeAttr('style')
@editable_element.find('.auto-cite').remove()
_create_overlay: (id) ->
@overlay = jQuery "<div id=\"#{id}\"></div>"
@_prepare_plain_content()
@overlay.append @_create_plain(@editable_element.html())
@overlay.append '<div class="button_container"></div>'
container = @overlay.find('.button_container')
container.append @_create_form_button 'Cancel', =>
@cancel()
container.append @_create_form_button 'Apply', =>
@commit()
@_overlay_resize()
jQuery(window).bind 'resize', =>
@_overlay_resize()
@_plain_resize()
@overlay
_create_plain: (content) ->
@textarea = jQuery "<textarea></textarea>"
@textarea.val(content)
@_plain_resize()
@textarea.bind 'blur', =>
@textarea.focus()
@textarea.bind 'keyup', (event)=>
if ( event.keyCode == 27 )
@cancel()
@textarea
_setup_syntax_highlight: () ->
#return if !CodeMirror
editor_options =
'mode': 'application/xml'
'lineNumbers': true
'lineWrapping': true
#@plain_editor = CodeMirror.fromTextArea(@textarea[0], editor_options)
#hlLine = editor.addLineClass(0, "background", "activeline")
#@plain_editor.bind "cursorActivity", =>
# cur = editor.getLineHandle(editor.getCursor().line)
# if (cur != hlLine)
# editor.removeLineClass(hlLine, "background", "activeline")
# hlLine = editor.addLineClass(cur, "background", "activeline")
_overlay_resize: () ->
@overlay.offset(@toolbar.offset())
dim =
width: @editable_element.width()
height: @editable_element.height()
dim.height = dim.height + ( @editable_element.offset().top - @toolbar.offset().top )
@options.overlayCss.height = $(window).height()
@options.overlayCss.width = $(window).width()
@options.overlayCss.top = 0
@options.overlayCss.left = 0
@overlay.css @options.overlayCss
_plain_resize: () ->
height = $(window).height() - @toolbar.offset().top
text_dim =
'position': 'fixed'
'top': '5px'
'left': '8px'
'width': ($(window).width() - 16) + 'px'
'height': ($(window).height() - 48) + 'px'
'max-width': $(window).width()
'max-height': $(window).height()
@textarea.css text_dim
if ( @plain_editor )
@plain_editor.refresh()
# inherits? with tpl_action
populateToolbar: (toolbar) ->
@editable_element = @options.editable.element
@toolbar = toolbar
buttonset = jQuery "<span class=\"#{@widgetName}\"></span>"
contentId = "#{@options.uuid}-#{@widgetName}-data"
toolbar.append @_prepareButtons contentId
_prepareButtons: (contentId) ->
# build buttonset with single instance
console.log(@editable_element) if @debug
buttonset = jQuery "<span class=\"#{@widgetName}\"></span>"
buttonset.append @_prepareButton =>
console.log(@editable_element) if @debug
@execute()
buttonset.hallobuttonset()
_prepareButton: (action) ->
# build button to be displayed with halloactionbutton
# apply translated tooltips
buttonElement = jQuery '<span></span>'
button_label = @name
if ( window.action_list && window.action_list['hallojs_' + @name] != undefined )
button_label = window.action_list['hallojs_' + @name].title
buttonElement.halloactionbutton
uuid: @options.uuid
editable: @options.editable
label: button_label
icon: 'icon-text-height'
command: @name
target: @name
setup: @setup
cssClass: @options.buttonCssClass
action: action
buttonElement
)(jQuery)
|
[
{
"context": "\ntest_passwords = '''\nzxcvbn\nqwER43@!\nTr0ub4dour&3\ncorrecthorsebatterystaple\nco",
"end": 28,
"score": 0.9490094184875488,
"start": 22,
"tag": "PASSWORD",
"value": "zxcvbn"
},
{
"context": "\ntest_passwords = '''\nzxcvbn\nqwER43@!\nTr0ub4dour&3\ncorrecthorsebattery... | demo/demo.coffee | tofran/zxcvbn-min | 1 |
test_passwords = '''
zxcvbn
qwER43@!
Tr0ub4dour&3
correcthorsebatterystaple
coRrecth0rseba++ery9.23.2007staple$
p@ssword
p@$$word
123456
123456789
11111111
zxcvbnm,./
love88
angel08
monkey13
iloveyou
woaini
wang
tianya
zhang198822
li4478
a6a4Aa8a
b6b4Bb8b
z6z4Zz8z
aiIiAaIA
zxXxZzXZ
pässwörd
alpha bravo charlie delta
a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9
a b c 1 2 3
correct-horse-battery-staple
correct.horse.battery.staple
correct,horse,battery,staple
correct~horse~battery~staple
WhyfaultthebardifhesingstheArgives’harshfate?
Eupithes’sonAntinousbroketheirsilence
Athena lavished a marvelous splendor
buckmulliganstenderchant
seethenthatyewalkcircumspectly
LihiandthepeopleofMorianton
establishedinthecityofZarahemla
!"£$%^&*()
D0g..................
abcdefghijk987654321
neverforget13/3/1997
1qaz2wsx3edc
temppass22
briansmith
briansmith4mayor
password1
viking
thx1138
ScoRpi0ns
do you know
ryanhunter2000
rianhunter2000
asdfghju7654rewq
AOEUIDHG&*()LS_
12345678
defghi6789
rosebud
Rosebud
ROSEBUD
rosebuD
ros3bud99
r0s3bud99
R0$38uD99
verlineVANDERMARK
eheuczkqyq
rWibMFACxAUGZmxhVncy
Ba9ZyWABu99[BK#6MBgbH88Tofv)vs$w
'''
results_tmpl = '''
{{#results}}
<table class="result">
<tr>
<td>password: </td>
<td colspan="2"><strong>{{password}}</strong></td>
</tr>
<tr>
<td>guesses_log10: </td>
<td colspan="2">{{guesses_log10}}</td>
</tr>
<tr>
<td>score: </td>
<td>{{score}} / 4</td>
<tr>
<td>function runtime (ms): </td>
<td colspan="2">{{calc_time}}</td>
</tr>
<tr>
<td colspan="3">guess times:</td>
</tr>
{{& guess_times_display}}
{{& feedback_display }}
<tr>
<td colspan="3"><strong>match sequence:</strong></td>
</tr>
</table>
{{& sequence_display}}
{{/results}}
'''
guess_times_tmpl = '''
<tr>
<td>100 / hour:</td>
<td>{{online_throttling_100_per_hour}}</td>
<td> (throttled online attack)</td>
</tr>
<tr>
<td>10 / second:</td>
<td>{{online_no_throttling_10_per_second}}</td>
<td> (unthrottled online attack)</td>
</tr>
<tr>
<td>10k / second:</td>
<td>{{offline_slow_hashing_1e4_per_second}}</td>
<td> (offline attack, slow hash, many cores)</td>
<tr>
<td>10B / second:</td>
<td>{{offline_fast_hashing_1e10_per_second}}</td>
<td> (offline attack, fast hash, many cores)</td>
</tr>
'''
feedback_tmpl = '''
{{#warning}}
<tr>
<td>warning: </td>
<td colspan="2">{{warning}}</td>
</tr>
{{/warning}}
{{#has_suggestions}}
<tr>
<td style="vertical-align: top">suggestions:</td>
<td colspan="2">
{{#suggestions}}
- {{.}} <br />
{{/suggestions}}
</td>
</tr>
{{/has_suggestions}}
'''
props_tmpl = '''
<div class="match-sequence">
{{#sequence}}
<table>
<tr>
<td colspan="2">'{{token}}'</td>
</tr>
<tr>
<td>pattern:</td>
<td>{{pattern}}</td>
</tr>
<tr>
<td>guesses_log10:</td>
<td>{{guesses_log10}}</td>
</tr>
{{#cardinality}}
<tr>
<td>cardinality:</td>
<td>{{cardinality}}</td>
</tr>
<tr>
<td>length:</td>
<td>{{length}}</td>
</tr>
{{/cardinality}}
{{#rank}}
<tr>
<td>dictionary_name:</td>
<td>{{dictionary_name}}</td>
</tr>
<tr>
<td>rank:</td>
<td>{{rank}}</td>
</tr>
<tr>
<td>reversed:</td>
<td>{{reversed}}</td>
</tr>
{{#l33t}}
<tr>
<td>l33t subs:</td>
<td>{{sub_display}}</td>
</tr>
<tr>
<td>un-l33ted:</td>
<td>{{matched_word}}</td>
</tr>
{{/l33t}}
<tr>
<td>base-guesses:</td>
<td>{{base_guesses}}</td>
</tr>
<tr>
<td>uppercase-variations:</td>
<td>{{uppercase_variations}}</td>
</tr>
<tr>
<td>l33t-variations:</td>
<td>{{l33t_variations}}</td>
</tr>
{{/rank}}
{{#graph}}
<tr>
<td>graph:</td>
<td>{{graph}}</td>
</tr>
<tr>
<td>turns:</td>
<td>{{turns}}</td>
</tr>
<tr>
<td>shifted count:</td>
<td>{{shifted_count}}</td>
</tr>
{{/graph}}
{{#base_token}}
<tr>
<td>base_token:</td>
<td>'{{base_token}}'</td>
</tr>
<tr>
<td>base_guesses:</td>
<td>{{base_guesses}}</td>
</tr>
<tr>
<td>num_repeats:</td>
<td>{{repeat_count}}</td>
</tr>
{{/base_token}}
{{#sequence_name}}
<tr>
<td>sequence-name:</td>
<td>{{sequence_name}}</td>
</tr>
<tr>
<td>sequence-size</td>
<td>{{sequence_space}}</td>
</tr>
<tr>
<td>ascending:</td>
<td>{{ascending}}</td>
</tr>
{{/sequence_name}}
{{#regex_name}}
<tr>
<td>regex_name:</td>
<td>{{regex_name}}</td>
</tr>
{{/regex_name}}
{{#day}}
<tr>
<td>day:</td>
<td>{{day}}</td>
</tr>
<tr>
<td>month:</td>
<td>{{month}}</td>
</tr>
<tr>
<td>year:</td>
<td>{{year}}</td>
</tr>
<tr>
<td>separator:</td>
<td>'{{separator}}'</td>
</tr>
{{/day}}
</table>
{{/sequence}}
</div>
'''
round_to_x_digits = (n, x) ->
Math.round(n * Math.pow(10, x)) / Math.pow(10, x)
round_logs = (r) ->
r.guesses_log10 = round_to_x_digits(r.guesses_log10, 5)
for m in r.sequence
m.guesses_log10 = round_to_x_digits(m.guesses_log10, 5)
render_results = () ->
query = $('#query').val()
user_inputs = $('#user-inputs').val().split("\n")
r = zxcvbn(query, user_inputs=user_inputs)
round_logs(r)
r.sequence_display = Mustache.render(props_tmpl, r)
r.guess_times_display = Mustache.render(guess_times_tmpl, r.crack_times_display)
r.feedback.has_suggestions = r.feedback.suggestions.length > 0
r.feedback_display = Mustache.render(feedback_tmpl, r.feedback)
results = {results: [r]}
rendered = Mustache.render(results_tmpl, results)
$('#search-results').html(rendered)
results_lst = []
for password in test_passwords.split('\n') when password
r = zxcvbn(password)
round_logs(r)
r.sequence_display = Mustache.render(props_tmpl, r)
r.guess_times_display = Mustache.render(guess_times_tmpl, r.crack_times_display)
r.feedback.has_suggestions = r.feedback.suggestions.length > 0
r.feedback_display = Mustache.render(feedback_tmpl, r.feedback)
results_lst.push r
rendered = Mustache.render(results_tmpl, {
results: results_lst,
})
$('#results').html(rendered)
requirejs ['./zxcvbn'], (zxcvbn) ->
$ ->
window.zxcvbn = zxcvbn
events = "keyup change paste"
$('#query').on events, render_results
$('#user-inputs').on events, render_results
render_results()
| 165283 |
test_passwords = '''
<PASSWORD>
<PASSWORD>@!
Tr<PASSWORD>
correcthorsebatterystaple
coRrecth0rseba++ery9.23.2007staple$
p@ssword
p@$$word
123456
123456789
11111111
zxcvbnm,./
love88
angel08
monkey13
iloveyou
woaini
wang
tianya
zhang198822
li4478
a6a4Aa8a
b6b4Bb8b
z6z4Zz8z
aiIiAaIA
zxXxZzXZ
pässwörd
alpha bravo charlie delta
a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9
a b c 1 2 3
correct-horse-battery-staple
correct.horse.battery.staple
correct,horse,battery,staple
correct~horse~battery~staple
WhyfaultthebardifhesingstheArgives’harshfate?
Eupithes’sonAntinousbroketheirsilence
Athena lavished a marvelous splendor
buckmulliganstenderchant
seethenthatyewalkcircumspectly
LihiandthepeopleofMorianton
establishedinthecityofZarahemla
!"£$%^&*()
D0g..................
abcdefghijk987654321
neverforget13/3/1997
1qaz2wsx3edc
temppass22
b<PASSWORD>
b<PASSWORD>
password1
<PASSWORD>
th<PASSWORD>
ScoRpi0ns
do you know
ryanhunter2000
rianhunter2000
asdfghju7654rewq
AOEUIDHG&*()LS_
12345678
defghi6789
rosebud
Rosebud
ROSEBUD
rosebuD
ros3bud99
r0s3bud99
R0$38uD99
verlineVANDERMARK
eheuczkqyq
rWibMFACxAUGZmxhVncy
Ba9ZyWABu99[BK#6MBgbH88Tofv)vs$w
'''
results_tmpl = '''
{{#results}}
<table class="result">
<tr>
<td>password: </td>
<td colspan="2"><strong>{{password}}</strong></td>
</tr>
<tr>
<td>guesses_log10: </td>
<td colspan="2">{{guesses_log10}}</td>
</tr>
<tr>
<td>score: </td>
<td>{{score}} / 4</td>
<tr>
<td>function runtime (ms): </td>
<td colspan="2">{{calc_time}}</td>
</tr>
<tr>
<td colspan="3">guess times:</td>
</tr>
{{& guess_times_display}}
{{& feedback_display }}
<tr>
<td colspan="3"><strong>match sequence:</strong></td>
</tr>
</table>
{{& sequence_display}}
{{/results}}
'''
guess_times_tmpl = '''
<tr>
<td>100 / hour:</td>
<td>{{online_throttling_100_per_hour}}</td>
<td> (throttled online attack)</td>
</tr>
<tr>
<td>10 / second:</td>
<td>{{online_no_throttling_10_per_second}}</td>
<td> (unthrottled online attack)</td>
</tr>
<tr>
<td>10k / second:</td>
<td>{{offline_slow_hashing_1e4_per_second}}</td>
<td> (offline attack, slow hash, many cores)</td>
<tr>
<td>10B / second:</td>
<td>{{offline_fast_hashing_1e10_per_second}}</td>
<td> (offline attack, fast hash, many cores)</td>
</tr>
'''
feedback_tmpl = '''
{{#warning}}
<tr>
<td>warning: </td>
<td colspan="2">{{warning}}</td>
</tr>
{{/warning}}
{{#has_suggestions}}
<tr>
<td style="vertical-align: top">suggestions:</td>
<td colspan="2">
{{#suggestions}}
- {{.}} <br />
{{/suggestions}}
</td>
</tr>
{{/has_suggestions}}
'''
props_tmpl = '''
<div class="match-sequence">
{{#sequence}}
<table>
<tr>
<td colspan="2">'{{token}}'</td>
</tr>
<tr>
<td>pattern:</td>
<td>{{pattern}}</td>
</tr>
<tr>
<td>guesses_log10:</td>
<td>{{guesses_log10}}</td>
</tr>
{{#cardinality}}
<tr>
<td>cardinality:</td>
<td>{{cardinality}}</td>
</tr>
<tr>
<td>length:</td>
<td>{{length}}</td>
</tr>
{{/cardinality}}
{{#rank}}
<tr>
<td>dictionary_name:</td>
<td>{{dictionary_name}}</td>
</tr>
<tr>
<td>rank:</td>
<td>{{rank}}</td>
</tr>
<tr>
<td>reversed:</td>
<td>{{reversed}}</td>
</tr>
{{#l33t}}
<tr>
<td>l33t subs:</td>
<td>{{sub_display}}</td>
</tr>
<tr>
<td>un-l33ted:</td>
<td>{{matched_word}}</td>
</tr>
{{/l33t}}
<tr>
<td>base-guesses:</td>
<td>{{base_guesses}}</td>
</tr>
<tr>
<td>uppercase-variations:</td>
<td>{{uppercase_variations}}</td>
</tr>
<tr>
<td>l33t-variations:</td>
<td>{{l33t_variations}}</td>
</tr>
{{/rank}}
{{#graph}}
<tr>
<td>graph:</td>
<td>{{graph}}</td>
</tr>
<tr>
<td>turns:</td>
<td>{{turns}}</td>
</tr>
<tr>
<td>shifted count:</td>
<td>{{shifted_count}}</td>
</tr>
{{/graph}}
{{#base_token}}
<tr>
<td>base_token:</td>
<td>'{{base_token}}'</td>
</tr>
<tr>
<td>base_guesses:</td>
<td>{{base_guesses}}</td>
</tr>
<tr>
<td>num_repeats:</td>
<td>{{repeat_count}}</td>
</tr>
{{/base_token}}
{{#sequence_name}}
<tr>
<td>sequence-name:</td>
<td>{{sequence_name}}</td>
</tr>
<tr>
<td>sequence-size</td>
<td>{{sequence_space}}</td>
</tr>
<tr>
<td>ascending:</td>
<td>{{ascending}}</td>
</tr>
{{/sequence_name}}
{{#regex_name}}
<tr>
<td>regex_name:</td>
<td>{{regex_name}}</td>
</tr>
{{/regex_name}}
{{#day}}
<tr>
<td>day:</td>
<td>{{day}}</td>
</tr>
<tr>
<td>month:</td>
<td>{{month}}</td>
</tr>
<tr>
<td>year:</td>
<td>{{year}}</td>
</tr>
<tr>
<td>separator:</td>
<td>'{{separator}}'</td>
</tr>
{{/day}}
</table>
{{/sequence}}
</div>
'''
round_to_x_digits = (n, x) ->
Math.round(n * Math.pow(10, x)) / Math.pow(10, x)
round_logs = (r) ->
r.guesses_log10 = round_to_x_digits(r.guesses_log10, 5)
for m in r.sequence
m.guesses_log10 = round_to_x_digits(m.guesses_log10, 5)
render_results = () ->
query = $('#query').val()
user_inputs = $('#user-inputs').val().split("\n")
r = zxcvbn(query, user_inputs=user_inputs)
round_logs(r)
r.sequence_display = Mustache.render(props_tmpl, r)
r.guess_times_display = Mustache.render(guess_times_tmpl, r.crack_times_display)
r.feedback.has_suggestions = r.feedback.suggestions.length > 0
r.feedback_display = Mustache.render(feedback_tmpl, r.feedback)
results = {results: [r]}
rendered = Mustache.render(results_tmpl, results)
$('#search-results').html(rendered)
results_lst = []
for password in test_passwords.split('\n') when password
r = zxcvbn(password)
round_logs(r)
r.sequence_display = Mustache.render(props_tmpl, r)
r.guess_times_display = Mustache.render(guess_times_tmpl, r.crack_times_display)
r.feedback.has_suggestions = r.feedback.suggestions.length > 0
r.feedback_display = Mustache.render(feedback_tmpl, r.feedback)
results_lst.push r
rendered = Mustache.render(results_tmpl, {
results: results_lst,
})
$('#results').html(rendered)
requirejs ['./zxcvbn'], (zxcvbn) ->
$ ->
window.zxcvbn = zxcvbn
events = "keyup change paste"
$('#query').on events, render_results
$('#user-inputs').on events, render_results
render_results()
| true |
test_passwords = '''
PI:PASSWORD:<PASSWORD>END_PI
PI:PASSWORD:<PASSWORD>END_PI@!
TrPI:PASSWORD:<PASSWORD>END_PI
correcthorsebatterystaple
coRrecth0rseba++ery9.23.2007staple$
p@ssword
p@$$word
123456
123456789
11111111
zxcvbnm,./
love88
angel08
monkey13
iloveyou
woaini
wang
tianya
zhang198822
li4478
a6a4Aa8a
b6b4Bb8b
z6z4Zz8z
aiIiAaIA
zxXxZzXZ
pässwörd
alpha bravo charlie delta
a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9
a b c 1 2 3
correct-horse-battery-staple
correct.horse.battery.staple
correct,horse,battery,staple
correct~horse~battery~staple
WhyfaultthebardifhesingstheArgives’harshfate?
Eupithes’sonAntinousbroketheirsilence
Athena lavished a marvelous splendor
buckmulliganstenderchant
seethenthatyewalkcircumspectly
LihiandthepeopleofMorianton
establishedinthecityofZarahemla
!"£$%^&*()
D0g..................
abcdefghijk987654321
neverforget13/3/1997
1qaz2wsx3edc
temppass22
bPI:PASSWORD:<PASSWORD>END_PI
bPI:PASSWORD:<PASSWORD>END_PI
password1
PI:PASSWORD:<PASSWORD>END_PI
thPI:PASSWORD:<PASSWORD>END_PI
ScoRpi0ns
do you know
ryanhunter2000
rianhunter2000
asdfghju7654rewq
AOEUIDHG&*()LS_
12345678
defghi6789
rosebud
Rosebud
ROSEBUD
rosebuD
ros3bud99
r0s3bud99
R0$38uD99
verlineVANDERMARK
eheuczkqyq
rWibMFACxAUGZmxhVncy
Ba9ZyWABu99[BK#6MBgbH88Tofv)vs$w
'''
results_tmpl = '''
{{#results}}
<table class="result">
<tr>
<td>password: </td>
<td colspan="2"><strong>{{password}}</strong></td>
</tr>
<tr>
<td>guesses_log10: </td>
<td colspan="2">{{guesses_log10}}</td>
</tr>
<tr>
<td>score: </td>
<td>{{score}} / 4</td>
<tr>
<td>function runtime (ms): </td>
<td colspan="2">{{calc_time}}</td>
</tr>
<tr>
<td colspan="3">guess times:</td>
</tr>
{{& guess_times_display}}
{{& feedback_display }}
<tr>
<td colspan="3"><strong>match sequence:</strong></td>
</tr>
</table>
{{& sequence_display}}
{{/results}}
'''
guess_times_tmpl = '''
<tr>
<td>100 / hour:</td>
<td>{{online_throttling_100_per_hour}}</td>
<td> (throttled online attack)</td>
</tr>
<tr>
<td>10 / second:</td>
<td>{{online_no_throttling_10_per_second}}</td>
<td> (unthrottled online attack)</td>
</tr>
<tr>
<td>10k / second:</td>
<td>{{offline_slow_hashing_1e4_per_second}}</td>
<td> (offline attack, slow hash, many cores)</td>
<tr>
<td>10B / second:</td>
<td>{{offline_fast_hashing_1e10_per_second}}</td>
<td> (offline attack, fast hash, many cores)</td>
</tr>
'''
feedback_tmpl = '''
{{#warning}}
<tr>
<td>warning: </td>
<td colspan="2">{{warning}}</td>
</tr>
{{/warning}}
{{#has_suggestions}}
<tr>
<td style="vertical-align: top">suggestions:</td>
<td colspan="2">
{{#suggestions}}
- {{.}} <br />
{{/suggestions}}
</td>
</tr>
{{/has_suggestions}}
'''
props_tmpl = '''
<div class="match-sequence">
{{#sequence}}
<table>
<tr>
<td colspan="2">'{{token}}'</td>
</tr>
<tr>
<td>pattern:</td>
<td>{{pattern}}</td>
</tr>
<tr>
<td>guesses_log10:</td>
<td>{{guesses_log10}}</td>
</tr>
{{#cardinality}}
<tr>
<td>cardinality:</td>
<td>{{cardinality}}</td>
</tr>
<tr>
<td>length:</td>
<td>{{length}}</td>
</tr>
{{/cardinality}}
{{#rank}}
<tr>
<td>dictionary_name:</td>
<td>{{dictionary_name}}</td>
</tr>
<tr>
<td>rank:</td>
<td>{{rank}}</td>
</tr>
<tr>
<td>reversed:</td>
<td>{{reversed}}</td>
</tr>
{{#l33t}}
<tr>
<td>l33t subs:</td>
<td>{{sub_display}}</td>
</tr>
<tr>
<td>un-l33ted:</td>
<td>{{matched_word}}</td>
</tr>
{{/l33t}}
<tr>
<td>base-guesses:</td>
<td>{{base_guesses}}</td>
</tr>
<tr>
<td>uppercase-variations:</td>
<td>{{uppercase_variations}}</td>
</tr>
<tr>
<td>l33t-variations:</td>
<td>{{l33t_variations}}</td>
</tr>
{{/rank}}
{{#graph}}
<tr>
<td>graph:</td>
<td>{{graph}}</td>
</tr>
<tr>
<td>turns:</td>
<td>{{turns}}</td>
</tr>
<tr>
<td>shifted count:</td>
<td>{{shifted_count}}</td>
</tr>
{{/graph}}
{{#base_token}}
<tr>
<td>base_token:</td>
<td>'{{base_token}}'</td>
</tr>
<tr>
<td>base_guesses:</td>
<td>{{base_guesses}}</td>
</tr>
<tr>
<td>num_repeats:</td>
<td>{{repeat_count}}</td>
</tr>
{{/base_token}}
{{#sequence_name}}
<tr>
<td>sequence-name:</td>
<td>{{sequence_name}}</td>
</tr>
<tr>
<td>sequence-size</td>
<td>{{sequence_space}}</td>
</tr>
<tr>
<td>ascending:</td>
<td>{{ascending}}</td>
</tr>
{{/sequence_name}}
{{#regex_name}}
<tr>
<td>regex_name:</td>
<td>{{regex_name}}</td>
</tr>
{{/regex_name}}
{{#day}}
<tr>
<td>day:</td>
<td>{{day}}</td>
</tr>
<tr>
<td>month:</td>
<td>{{month}}</td>
</tr>
<tr>
<td>year:</td>
<td>{{year}}</td>
</tr>
<tr>
<td>separator:</td>
<td>'{{separator}}'</td>
</tr>
{{/day}}
</table>
{{/sequence}}
</div>
'''
round_to_x_digits = (n, x) ->
Math.round(n * Math.pow(10, x)) / Math.pow(10, x)
round_logs = (r) ->
r.guesses_log10 = round_to_x_digits(r.guesses_log10, 5)
for m in r.sequence
m.guesses_log10 = round_to_x_digits(m.guesses_log10, 5)
render_results = () ->
query = $('#query').val()
user_inputs = $('#user-inputs').val().split("\n")
r = zxcvbn(query, user_inputs=user_inputs)
round_logs(r)
r.sequence_display = Mustache.render(props_tmpl, r)
r.guess_times_display = Mustache.render(guess_times_tmpl, r.crack_times_display)
r.feedback.has_suggestions = r.feedback.suggestions.length > 0
r.feedback_display = Mustache.render(feedback_tmpl, r.feedback)
results = {results: [r]}
rendered = Mustache.render(results_tmpl, results)
$('#search-results').html(rendered)
results_lst = []
for password in test_passwords.split('\n') when password
r = zxcvbn(password)
round_logs(r)
r.sequence_display = Mustache.render(props_tmpl, r)
r.guess_times_display = Mustache.render(guess_times_tmpl, r.crack_times_display)
r.feedback.has_suggestions = r.feedback.suggestions.length > 0
r.feedback_display = Mustache.render(feedback_tmpl, r.feedback)
results_lst.push r
rendered = Mustache.render(results_tmpl, {
results: results_lst,
})
$('#results').html(rendered)
requirejs ['./zxcvbn'], (zxcvbn) ->
$ ->
window.zxcvbn = zxcvbn
events = "keyup change paste"
$('#query').on events, render_results
$('#user-inputs').on events, render_results
render_results()
|
[
{
"context": "key for signing session cookies.'\n COUCH_PWD: 'CouchDB basicauth password'\n",
"end": 109,
"score": 0.9993482232093811,
"start": 83,
"tag": "PASSWORD",
"value": "CouchDB basicauth password"
}
] | templates/project/src/config_secret.coffee | cfpb/panthean-helpers | 1 | config =
SECRET_KEY: 'Secret key for signing session cookies.'
COUCH_PWD: 'CouchDB basicauth password'
| 213432 | config =
SECRET_KEY: 'Secret key for signing session cookies.'
COUCH_PWD: '<PASSWORD>'
| true | config =
SECRET_KEY: 'Secret key for signing session cookies.'
COUCH_PWD: 'PI:PASSWORD:<PASSWORD>END_PI'
|
[
{
"context": "luebird-q'\n\nopenSale = fabricate 'sale',\n name: 'Awesome Sale'\n is_auction: true\n auction_state: 'open'\n",
"end": 328,
"score": 0.8977765440940857,
"start": 321,
"tag": "NAME",
"value": "Awesome"
},
{
"context": "://localhost:5000',\n SEGMENT_WRITE_KEY... | src/desktop/apps/auction_support/test/routes.coffee | kanaabe/force | 1 | _ = require 'underscore'
rewire = require 'rewire'
routes = rewire '../routes'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../models/current_user.coffee'
moment = require 'moment'
Q = require 'bluebird-q'
openSale = fabricate 'sale',
name: 'Awesome Sale'
is_auction: true
auction_state: 'open'
start_at: moment().subtract(1, 'minutes').format()
end_at: moment().add(3, 'minutes').format()
analyticsConstructorArgs = []
analyticsTrackArgs = []
resetAnalytics = ->
analyticsTrackArgs = []
analyticsConstructorArgs = []
describe '#auctionRegistration', ->
beforeEach ->
sinon.stub Backbone, 'sync'
metaphysicsStub = sinon.stub()
metaphysicsStub.returns(
Q.resolve(artwork: sale_artwork: bid_increments: [100])
)
routes.__set__ 'metaphysics', metaphysicsStub
analytics = class AnalyticsStub
constructor: -> analyticsConstructorArgs = arguments
track: -> analyticsTrackArgs = arguments
routes.__set__('Analytics', analytics)
@req = { params: { id: 'awesome-sale' }, query: {} }
@res =
status: sinon.stub()
render: sinon.stub()
redirect: sinon.stub()
locals:
sd:
API_URL: 'http://localhost:5000',
SEGMENT_WRITE_KEY: 'foo'
asset: ->
@next = sinon.stub()
afterEach ->
Backbone.sync.restore()
resetAnalytics()
@req.query = {}
it 'redirects to login without user', ->
routes.auctionRegistration @req, @res
@res.redirect.args[0][0].should.equal "/log_in?redirect_uri=/auction-registration/awesome-sale"
describe 'with current user', ->
beforeEach ->
@req.user = new CurrentUser()
it 'redirects to success url if sale is registerable and user has already registered', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success [{foo: 'bar'}]
routes.auctionRegistration @req, @res
@res.redirect.args[0][0].should.equal "/auction/whtney-art-party/confirm-registration"
it 'renders registration form if sale is registerable and user has no credit cards on file', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success []
Backbone.sync.args[2][2].success []
@res.render.args[0][0].should.equal 'registration'
@res.render.args[0][1].sale.get('name').should.equal 'Awesome Sale'
it 'creates bidder and redirects to sale if sale is registerable and user has credit card on file and user accepted conditions', ->
@req.query = {'accepted-conditions': 'true' }
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success []
Backbone.sync.args[2][2].success [{foo: 'bar'}]
Backbone.sync.args[3][2].success [{}]
# it sends analytics
sentAnalytics = analyticsTrackArgs[0]
sentAnalytics['event'].should.equal 'Registration submitted'
sentAnalytics['properties']['auction_slug'].should.equal 'whtney-art-party'
@res.redirect.args[0][0].should.equal "/auction/whtney-art-party/confirm-registration"
it 'redirects to registration flow if sale is registerable and user has credit card on file but user did not accept conditions', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success []
Backbone.sync.args[2][2].success [{foo: 'bar'}]
# no analytics
analyticsTrackArgs.should.be.empty()
@res.redirect.args[0][0].should.equal "/auction/whtney-art-party/registration-flow"
it 'renders registration error page if sale is an auction and is not registerable', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success fabricate 'sale', name: 'Awesome Sale', is_auction: true, auction_state: 'closed'
@res.render.args[0][0].should.equal 'registration-error'
@res.render.args[0][1].sale.get('name').should.equal 'Awesome Sale'
it '404 if sale is not auction', ->
routes.auctionRegistration @req, @res, @next
Backbone.sync.args[0][2].success fabricate 'sale', name: 'Awesome Sale', is_auction: false
@next.args[0][0].status.should.equal 404
@next.args[0][0].message.should.equal 'Not Found'
describe '#bid', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@req = { params: { id: 'awesome-sale', artwork: 'artwork-id' }, query: { bid: '50000'} }
@res =
status: sinon.stub()
render: sinon.stub()
redirect: sinon.stub()
locals:
sd:
API_URL: 'http://localhost:5000'
@next = sinon.stub()
afterEach ->
Backbone.sync.restore()
it 'redirects to login without user', ->
routes.bid @req, @res
@res.redirect.args[0][0].should.equal "/log_in?redirect_uri=/auction/awesome-sale/bid/artwork-id"
describe 'with current user', ->
beforeEach ->
metaphysicsStub = sinon.stub().returns(
Q.resolve(
me: { has_qualified_credit_cards: true, bidders: ['foo'] }
artwork: sale_artwork: bid_increments: [100]
)
)
routes.__set__ 'metaphysics', metaphysicsStub
@resolve = (a, b, c) =>
Backbone.sync.args[0][2].success a or openSale
Backbone.sync.args[1][2].success b or fabricate 'sale_artwork'
Backbone.sync.args[2][2].success c or [fabricate('bidder_position')]
@req.user = new CurrentUser()
routes.bid @req, @res, @next
it 'renders with isRegistered: true and hasValidCreditCard: true if is registered', ->
@resolve()
@res.render.args[0][0].should.equal 'bid-form'
@res.render.args[0][1].isRegistered.should.be.true
@res.render.args[0][1].hasValidCreditCard.should.be.true
@res.render.args[0][1].maxBid.should.equal 500
it '404 if sale is not auction', ->
Backbone.sync.args[0][2].success fabricate 'sale', name: 'Awesome Sale', is_auction: false
@next.args[0][0].status.should.equal 404
@next.args[0][0].message.should.equal 'Not Found'
it '404 if sale not active', ->
Backbone.sync.args[0][2].success fabricate 'sale', name: 'Awesome Sale', is_auction: true, auction_state: 'closed'
@next.args[0][0].status.should.equal 404
@next.args[0][0].message.should.equal 'Not Found'
it 'passes the bidder positions', ->
@resolve null, null, [fabricate 'bidder_position', moo: 'bar']
@res.locals.sd.BIDDER_POSITIONS[0].moo.should.equal 'bar'
describe 'when not registered', ->
beforeEach ->
metaphysicsStub = sinon.stub()
metaphysicsStub.returns(
Q.resolve(
me: { has_qualified_credit_cards: true, bidders: null }
artwork: sale_artwork: bid_increments: [100]
)
)
routes.__set__ 'metaphysics', metaphysicsStub
@resolve = (a, b, c) =>
Backbone.sync.args[0][2].success a or openSale
Backbone.sync.args[1][2].success b or fabricate 'sale_artwork'
Backbone.sync.args[2][2].success c or [fabricate('bidder_position')]
@req.user = new CurrentUser()
routes.bid @req, @res, @next
it 'renders with isRegistered: false and hasValidCreditCard: true if is not registered but has a valid credit card', ->
@resolve()
@res.render.args[0][0].should.equal 'bid-form'
@res.render.args[0][1].isRegistered.should.not.be.ok()
@res.render.args[0][1].hasValidCreditCard.should.be.true
| 92426 | _ = require 'underscore'
rewire = require 'rewire'
routes = rewire '../routes'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../models/current_user.coffee'
moment = require 'moment'
Q = require 'bluebird-q'
openSale = fabricate 'sale',
name: '<NAME> Sale'
is_auction: true
auction_state: 'open'
start_at: moment().subtract(1, 'minutes').format()
end_at: moment().add(3, 'minutes').format()
analyticsConstructorArgs = []
analyticsTrackArgs = []
resetAnalytics = ->
analyticsTrackArgs = []
analyticsConstructorArgs = []
describe '#auctionRegistration', ->
beforeEach ->
sinon.stub Backbone, 'sync'
metaphysicsStub = sinon.stub()
metaphysicsStub.returns(
Q.resolve(artwork: sale_artwork: bid_increments: [100])
)
routes.__set__ 'metaphysics', metaphysicsStub
analytics = class AnalyticsStub
constructor: -> analyticsConstructorArgs = arguments
track: -> analyticsTrackArgs = arguments
routes.__set__('Analytics', analytics)
@req = { params: { id: 'awesome-sale' }, query: {} }
@res =
status: sinon.stub()
render: sinon.stub()
redirect: sinon.stub()
locals:
sd:
API_URL: 'http://localhost:5000',
SEGMENT_WRITE_KEY: '<KEY>'
asset: ->
@next = sinon.stub()
afterEach ->
Backbone.sync.restore()
resetAnalytics()
@req.query = {}
it 'redirects to login without user', ->
routes.auctionRegistration @req, @res
@res.redirect.args[0][0].should.equal "/log_in?redirect_uri=/auction-registration/awesome-sale"
describe 'with current user', ->
beforeEach ->
@req.user = new CurrentUser()
it 'redirects to success url if sale is registerable and user has already registered', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success [{foo: 'bar'}]
routes.auctionRegistration @req, @res
@res.redirect.args[0][0].should.equal "/auction/whtney-art-party/confirm-registration"
it 'renders registration form if sale is registerable and user has no credit cards on file', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success []
Backbone.sync.args[2][2].success []
@res.render.args[0][0].should.equal 'registration'
@res.render.args[0][1].sale.get('name').should.equal 'Awesome Sale'
it 'creates bidder and redirects to sale if sale is registerable and user has credit card on file and user accepted conditions', ->
@req.query = {'accepted-conditions': 'true' }
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success []
Backbone.sync.args[2][2].success [{foo: 'bar'}]
Backbone.sync.args[3][2].success [{}]
# it sends analytics
sentAnalytics = analyticsTrackArgs[0]
sentAnalytics['event'].should.equal 'Registration submitted'
sentAnalytics['properties']['auction_slug'].should.equal 'whtney-art-party'
@res.redirect.args[0][0].should.equal "/auction/whtney-art-party/confirm-registration"
it 'redirects to registration flow if sale is registerable and user has credit card on file but user did not accept conditions', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success []
Backbone.sync.args[2][2].success [{foo: 'bar'}]
# no analytics
analyticsTrackArgs.should.be.empty()
@res.redirect.args[0][0].should.equal "/auction/whtney-art-party/registration-flow"
it 'renders registration error page if sale is an auction and is not registerable', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success fabricate 'sale', name: 'Awesome Sale', is_auction: true, auction_state: 'closed'
@res.render.args[0][0].should.equal 'registration-error'
@res.render.args[0][1].sale.get('name').should.equal 'Awesome Sale'
it '404 if sale is not auction', ->
routes.auctionRegistration @req, @res, @next
Backbone.sync.args[0][2].success fabricate 'sale', name: 'Awesome Sale', is_auction: false
@next.args[0][0].status.should.equal 404
@next.args[0][0].message.should.equal 'Not Found'
describe '#bid', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@req = { params: { id: 'awesome-sale', artwork: 'artwork-id' }, query: { bid: '50000'} }
@res =
status: sinon.stub()
render: sinon.stub()
redirect: sinon.stub()
locals:
sd:
API_URL: 'http://localhost:5000'
@next = sinon.stub()
afterEach ->
Backbone.sync.restore()
it 'redirects to login without user', ->
routes.bid @req, @res
@res.redirect.args[0][0].should.equal "/log_in?redirect_uri=/auction/awesome-sale/bid/artwork-id"
describe 'with current user', ->
beforeEach ->
metaphysicsStub = sinon.stub().returns(
Q.resolve(
me: { has_qualified_credit_cards: true, bidders: ['foo'] }
artwork: sale_artwork: bid_increments: [100]
)
)
routes.__set__ 'metaphysics', metaphysicsStub
@resolve = (a, b, c) =>
Backbone.sync.args[0][2].success a or openSale
Backbone.sync.args[1][2].success b or fabricate 'sale_artwork'
Backbone.sync.args[2][2].success c or [fabricate('bidder_position')]
@req.user = new CurrentUser()
routes.bid @req, @res, @next
it 'renders with isRegistered: true and hasValidCreditCard: true if is registered', ->
@resolve()
@res.render.args[0][0].should.equal 'bid-form'
@res.render.args[0][1].isRegistered.should.be.true
@res.render.args[0][1].hasValidCreditCard.should.be.true
@res.render.args[0][1].maxBid.should.equal 500
it '404 if sale is not auction', ->
Backbone.sync.args[0][2].success fabricate 'sale', name: '<NAME> Sale', is_auction: false
@next.args[0][0].status.should.equal 404
@next.args[0][0].message.should.equal 'Not Found'
it '404 if sale not active', ->
Backbone.sync.args[0][2].success fabricate 'sale', name: '<NAME> Sale', is_auction: true, auction_state: 'closed'
@next.args[0][0].status.should.equal 404
@next.args[0][0].message.should.equal 'Not Found'
it 'passes the bidder positions', ->
@resolve null, null, [fabricate 'bidder_position', moo: 'bar']
@res.locals.sd.BIDDER_POSITIONS[0].moo.should.equal 'bar'
describe 'when not registered', ->
beforeEach ->
metaphysicsStub = sinon.stub()
metaphysicsStub.returns(
Q.resolve(
me: { has_qualified_credit_cards: true, bidders: null }
artwork: sale_artwork: bid_increments: [100]
)
)
routes.__set__ 'metaphysics', metaphysicsStub
@resolve = (a, b, c) =>
Backbone.sync.args[0][2].success a or openSale
Backbone.sync.args[1][2].success b or fabricate 'sale_artwork'
Backbone.sync.args[2][2].success c or [fabricate('bidder_position')]
@req.user = new CurrentUser()
routes.bid @req, @res, @next
it 'renders with isRegistered: false and hasValidCreditCard: true if is not registered but has a valid credit card', ->
@resolve()
@res.render.args[0][0].should.equal 'bid-form'
@res.render.args[0][1].isRegistered.should.not.be.ok()
@res.render.args[0][1].hasValidCreditCard.should.be.true
| true | _ = require 'underscore'
rewire = require 'rewire'
routes = rewire '../routes'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../models/current_user.coffee'
moment = require 'moment'
Q = require 'bluebird-q'
openSale = fabricate 'sale',
name: 'PI:NAME:<NAME>END_PI Sale'
is_auction: true
auction_state: 'open'
start_at: moment().subtract(1, 'minutes').format()
end_at: moment().add(3, 'minutes').format()
analyticsConstructorArgs = []
analyticsTrackArgs = []
resetAnalytics = ->
analyticsTrackArgs = []
analyticsConstructorArgs = []
describe '#auctionRegistration', ->
beforeEach ->
sinon.stub Backbone, 'sync'
metaphysicsStub = sinon.stub()
metaphysicsStub.returns(
Q.resolve(artwork: sale_artwork: bid_increments: [100])
)
routes.__set__ 'metaphysics', metaphysicsStub
analytics = class AnalyticsStub
constructor: -> analyticsConstructorArgs = arguments
track: -> analyticsTrackArgs = arguments
routes.__set__('Analytics', analytics)
@req = { params: { id: 'awesome-sale' }, query: {} }
@res =
status: sinon.stub()
render: sinon.stub()
redirect: sinon.stub()
locals:
sd:
API_URL: 'http://localhost:5000',
SEGMENT_WRITE_KEY: 'PI:KEY:<KEY>END_PI'
asset: ->
@next = sinon.stub()
afterEach ->
Backbone.sync.restore()
resetAnalytics()
@req.query = {}
it 'redirects to login without user', ->
routes.auctionRegistration @req, @res
@res.redirect.args[0][0].should.equal "/log_in?redirect_uri=/auction-registration/awesome-sale"
describe 'with current user', ->
beforeEach ->
@req.user = new CurrentUser()
it 'redirects to success url if sale is registerable and user has already registered', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success [{foo: 'bar'}]
routes.auctionRegistration @req, @res
@res.redirect.args[0][0].should.equal "/auction/whtney-art-party/confirm-registration"
it 'renders registration form if sale is registerable and user has no credit cards on file', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success []
Backbone.sync.args[2][2].success []
@res.render.args[0][0].should.equal 'registration'
@res.render.args[0][1].sale.get('name').should.equal 'Awesome Sale'
it 'creates bidder and redirects to sale if sale is registerable and user has credit card on file and user accepted conditions', ->
@req.query = {'accepted-conditions': 'true' }
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success []
Backbone.sync.args[2][2].success [{foo: 'bar'}]
Backbone.sync.args[3][2].success [{}]
# it sends analytics
sentAnalytics = analyticsTrackArgs[0]
sentAnalytics['event'].should.equal 'Registration submitted'
sentAnalytics['properties']['auction_slug'].should.equal 'whtney-art-party'
@res.redirect.args[0][0].should.equal "/auction/whtney-art-party/confirm-registration"
it 'redirects to registration flow if sale is registerable and user has credit card on file but user did not accept conditions', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success openSale
Backbone.sync.args[1][2].success []
Backbone.sync.args[2][2].success [{foo: 'bar'}]
# no analytics
analyticsTrackArgs.should.be.empty()
@res.redirect.args[0][0].should.equal "/auction/whtney-art-party/registration-flow"
it 'renders registration error page if sale is an auction and is not registerable', ->
routes.auctionRegistration @req, @res
Backbone.sync.args[0][2].success fabricate 'sale', name: 'Awesome Sale', is_auction: true, auction_state: 'closed'
@res.render.args[0][0].should.equal 'registration-error'
@res.render.args[0][1].sale.get('name').should.equal 'Awesome Sale'
it '404 if sale is not auction', ->
routes.auctionRegistration @req, @res, @next
Backbone.sync.args[0][2].success fabricate 'sale', name: 'Awesome Sale', is_auction: false
@next.args[0][0].status.should.equal 404
@next.args[0][0].message.should.equal 'Not Found'
describe '#bid', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@req = { params: { id: 'awesome-sale', artwork: 'artwork-id' }, query: { bid: '50000'} }
@res =
status: sinon.stub()
render: sinon.stub()
redirect: sinon.stub()
locals:
sd:
API_URL: 'http://localhost:5000'
@next = sinon.stub()
afterEach ->
Backbone.sync.restore()
it 'redirects to login without user', ->
routes.bid @req, @res
@res.redirect.args[0][0].should.equal "/log_in?redirect_uri=/auction/awesome-sale/bid/artwork-id"
describe 'with current user', ->
beforeEach ->
metaphysicsStub = sinon.stub().returns(
Q.resolve(
me: { has_qualified_credit_cards: true, bidders: ['foo'] }
artwork: sale_artwork: bid_increments: [100]
)
)
routes.__set__ 'metaphysics', metaphysicsStub
@resolve = (a, b, c) =>
Backbone.sync.args[0][2].success a or openSale
Backbone.sync.args[1][2].success b or fabricate 'sale_artwork'
Backbone.sync.args[2][2].success c or [fabricate('bidder_position')]
@req.user = new CurrentUser()
routes.bid @req, @res, @next
it 'renders with isRegistered: true and hasValidCreditCard: true if is registered', ->
@resolve()
@res.render.args[0][0].should.equal 'bid-form'
@res.render.args[0][1].isRegistered.should.be.true
@res.render.args[0][1].hasValidCreditCard.should.be.true
@res.render.args[0][1].maxBid.should.equal 500
it '404 if sale is not auction', ->
Backbone.sync.args[0][2].success fabricate 'sale', name: 'PI:NAME:<NAME>END_PI Sale', is_auction: false
@next.args[0][0].status.should.equal 404
@next.args[0][0].message.should.equal 'Not Found'
it '404 if sale not active', ->
Backbone.sync.args[0][2].success fabricate 'sale', name: 'PI:NAME:<NAME>END_PI Sale', is_auction: true, auction_state: 'closed'
@next.args[0][0].status.should.equal 404
@next.args[0][0].message.should.equal 'Not Found'
it 'passes the bidder positions', ->
@resolve null, null, [fabricate 'bidder_position', moo: 'bar']
@res.locals.sd.BIDDER_POSITIONS[0].moo.should.equal 'bar'
describe 'when not registered', ->
beforeEach ->
metaphysicsStub = sinon.stub()
metaphysicsStub.returns(
Q.resolve(
me: { has_qualified_credit_cards: true, bidders: null }
artwork: sale_artwork: bid_increments: [100]
)
)
routes.__set__ 'metaphysics', metaphysicsStub
@resolve = (a, b, c) =>
Backbone.sync.args[0][2].success a or openSale
Backbone.sync.args[1][2].success b or fabricate 'sale_artwork'
Backbone.sync.args[2][2].success c or [fabricate('bidder_position')]
@req.user = new CurrentUser()
routes.bid @req, @res, @next
it 'renders with isRegistered: false and hasValidCreditCard: true if is not registered but has a valid credit card', ->
@resolve()
@res.render.args[0][0].should.equal 'bid-form'
@res.render.args[0][1].isRegistered.should.not.be.ok()
@res.render.args[0][1].hasValidCreditCard.should.be.true
|
[
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>\n\nroot = exports ? ",
"end": 36,
"score": 0.9998902082443237,
"start": 18,
"tag": "NAME",
"value": "Christopher Joakim"
},
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.c... | m26-js/src/m26_constants.coffee | cjoakim/oss | 0 | # Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>
root = exports ? this
class Constants
@VERSION: '0.4.0'
@UOM_MILES: 'm'
@UOM_KILOMETERS: 'k'
@UOM_YARDS: 'y'
@UNITS_OF_MEASURE: [@UOM_MILES, @UOM_KILOMETERS, @UOM_YARDS]
@KILOMETERS_PER_MILE = 1.609344
@MILES_PER_KILOMETER = 0.621371192237334
@YARDS_PER_KILOMETER = 1093.6132983377076
@FEET_PER_KILOMETER = 3280.839895013123
@FEET_PER_METER = 3.280839895013123
@YARDS_PER_MILE = 1760.0
@SECONDS_PER_HOUR = 3600.0
root.Constants = Constants
| 117184 | # Copyright 2015, <NAME> <<EMAIL>>
root = exports ? this
class Constants
@VERSION: '0.4.0'
@UOM_MILES: 'm'
@UOM_KILOMETERS: 'k'
@UOM_YARDS: 'y'
@UNITS_OF_MEASURE: [@UOM_MILES, @UOM_KILOMETERS, @UOM_YARDS]
@KILOMETERS_PER_MILE = 1.609344
@MILES_PER_KILOMETER = 0.621371192237334
@YARDS_PER_KILOMETER = 1093.6132983377076
@FEET_PER_KILOMETER = 3280.839895013123
@FEET_PER_METER = 3.280839895013123
@YARDS_PER_MILE = 1760.0
@SECONDS_PER_HOUR = 3600.0
root.Constants = Constants
| true | # Copyright 2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
root = exports ? this
class Constants
@VERSION: '0.4.0'
@UOM_MILES: 'm'
@UOM_KILOMETERS: 'k'
@UOM_YARDS: 'y'
@UNITS_OF_MEASURE: [@UOM_MILES, @UOM_KILOMETERS, @UOM_YARDS]
@KILOMETERS_PER_MILE = 1.609344
@MILES_PER_KILOMETER = 0.621371192237334
@YARDS_PER_KILOMETER = 1093.6132983377076
@FEET_PER_KILOMETER = 3280.839895013123
@FEET_PER_METER = 3.280839895013123
@YARDS_PER_MILE = 1760.0
@SECONDS_PER_HOUR = 3600.0
root.Constants = Constants
|
[
{
"context": " parent model\", 7, ->\n store = new @Store name: 'Zellers'\n metafield1 = new @Metafield key: 'Gizmo'\n met",
"end": 1554,
"score": 0.9308421015739441,
"start": 1547,
"tag": "NAME",
"value": "Zellers"
},
{
"context": "me: 'Zellers'\n metafield1 = new @Metafield key... | tests/batman/model/associations/polymorphic_has_many_test.coffee | amco/batman | 0 | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter, generateSorterOnProperty} = window
helpers = window.viewHelpers
{baseSetup} = if typeof require is 'undefined' then window.PolymorphicAssociationHelpers else require './polymorphic_association_helper'
QUnit.module "Batman.Model polymorphic hasMany associations",
setup: baseSetup
asyncTest "hasMany associations are loaded from remote", 5, ->
@Store.find 1, (err, store) =>
throw err if err
metafields = store.get('metafields')
delay =>
array = metafields.toArray()
equal array.length, 2
equal array[0].get('key'), "Store metafield"
equal array[0].get('id'), 1
equal array[1].get('key'), "Store metafield 2"
equal array[1].get('id'), 3
asyncTest "hasMany associations are loaded from inline json", 3, ->
@Store.find 2, (err, store) =>
throw err if err
metafields = store.get('metafields')
array = metafields.toArray()
equal array.length, 1
equal array[0].get('key'), 'SEO Title'
equal array[0].get('id'), 5
QUnit.start()
asyncTest "hasMany associations loaded from inline json should not trigger an implicit fetch", 2, ->
@Store.find 2, (err, store) =>
throw err if err
delay =>
metafieldLoadSpy = spyOn @metafieldAdapter, 'readAll'
metafields = store.get('metafields')
delay =>
equal metafields.get('length'), 1
equal metafieldLoadSpy.callCount, 0
asyncTest "hasMany associations are saved via the parent model", 7, ->
store = new @Store name: 'Zellers'
metafield1 = new @Metafield key: 'Gizmo'
metafield2 = new @Metafield key: 'Gadget'
store.set 'metafields', new Batman.Set(metafield1, metafield2)
storeSaveSpy = spyOn store, 'save'
store.save (err, record) =>
throw err if err
equal storeSaveSpy.callCount, 1
equal metafield1.get('subject_id'), record.get('id')
equal metafield1.get('subject_type'), 'store'
equal metafield2.get('subject_id'), record.get('id')
equal metafield2.get('subject_type'), 'store'
@Store.find record.get('id'), (err, store2) =>
throw err if err
storedJSON = @storeAdapter.storage["stores#{record.get('id')}"]
deepEqual store2.toJSON(), storedJSON
# hasMany saves inline by default
sorter = generateSorterOnProperty('key')
deepEqual sorter(storedJSON.metafields), sorter([
{key: "Gizmo", subject_id: record.get('id'), subject_type: 'store'}
{key: "Gadget", subject_id: record.get('id'), subject_type: 'store'}
])
QUnit.start()
asyncTest "hasMany associations are saved via the child model", 3, ->
@Store.find 1, (err, store) =>
throw err if err
metafield = new @Metafield key: 'Store Metafield'
metafield.set 'subject', store
metafield.save (err, savedMetafield) ->
throw err if err
equal savedMetafield.get('subject_id'), store.get('id')
equal savedMetafield.get('subject_type'), 'store'
metafields = store.get('metafields')
ok metafields.has(savedMetafield)
QUnit.start()
asyncTest "hasMany associations should index the loaded set", 3, ->
@Product.find 4, (err, product) =>
throw err if err
metafields = product.get('metafields')
ok metafields instanceof Batman.PolymorphicAssociationSet
equal metafields.get('length'), 1
metafield = new @Metafield(subject_id: 4, subject_type: 'product', key: "Test Metafield")
metafield.save (err) ->
throw err if err
equal metafields.get('length'), 2
QUnit.start()
asyncTest "hasMany associations should take record type into consideration when adding items to their set", 5, ->
@Product.find 4, (err, product) =>
throw err if err
equal product.get('metafields').get('length'), 1
metafield = new @Metafield(subject_id: 4, subject_type: 'store', key: "Test Store Metafield")
metafield.save (err) ->
@Store.find 4, (err, store) =>
throw err if err
equal product.get('metafields.length'), 1
equal product.get('metafields.first.key'), "SEO Title"
equal store.get('metafields.length'), 1
equal store.get('metafields.first.key'), "Test Store Metafield"
QUnit.start()
asyncTest "hasMany child models are added to the identity map", 2, ->
equal @Metafield.get('loaded').length, 0
@Product.find 4, (err, product) =>
equal @Metafield.get('loaded').length, 1
QUnit.start()
asyncTest "unsaved hasMany models should accept associated children", 2, ->
product = new @Product
metafields = product.get('metafields')
delay =>
equal metafields.length, 0
metafield = new @Metafield
metafields.add metafield
equal metafields.length, 1
asyncTest "unsaved hasMany models should save their associated children", 4, ->
product = new @Product(name: "Hello!")
metafields = product.get('metafields')
metafield = new @Metafield(key: "test")
metafields.add metafield
# Mock out what a realbackend would do: assign ids to the child records
# The TestStorageAdapter is smart enough to do this for the parent, but not the children.
@productAdapter.create = (record, options, callback) ->
id = @_setRecordID(record)
if id
@storage[@storageKey(record) + id] = record.toJSON()
record.fromJSON
id: id
metafields: [{
key: "test"
id: 12
}]
callback(undefined, record)
else
callback(new Error("Couldn't get record primary key."))
product.save (err, product) =>
throw err if err
storedJSON = @productAdapter.storage["products#{product.get('id')}"]
deepEqual storedJSON,
id: 11
name: "Hello!"
metafields:[
{key: "test", subject_id: product.get('id'), subject_type: 'product'}
]
ok !product.isNew()
ok !metafield.isNew()
equal metafield.get('subject_id'), product.get('id')
QUnit.start()
asyncTest "unsaved hasMany models should reflect their associated children after save", 3, ->
product = new @Product(name: "Hello!")
metafields = product.get('metafields')
metafield = new @Metafield(key: "test")
metafields.add metafield
# Mock out what a realbackend would do: assign ids to the child records
# The TestStorageAdapter is smart enough to do this for the parent, but not the children.
@productAdapter.create = (record, options, callback) ->
id = @_setRecordID(record)
if id
@storage[@storageKey(record) + id] = record.toJSON()
record.fromJSON
id: id
metafields: [{
key: "test"
id: 12
}]
callback(undefined, record)
else
callback(new Error("Couldn't get record primary key."))
product.save (err, product) =>
throw err if err
# Mock out what a realbackend would do: assign ids to the child records
# The TestStorageAdapter is smart enough to do this for the parent, but not the children.
equal product.get('metafields.length'), 1
ok product.get('metafields').has(metafield)
equal metafields.get('length'), 1
QUnit.start()
asyncTest "unsaved hasMany models should decode their child records based on ID", ->
@Metafield.load (err, metafields) =>
product = new @Product
twenty = metafields[metafields.length - 2]
thirty = metafields[metafields.length - 1]
# decode with the metafields out of order
product.fromJSON
name: "Product Six"
id: 6
metafields: [{
id: 30
key: "SEO Handle"
},{
id: 20
key: "SEO Title"
}]
equal product.get('metafields.length'), 2
deepEqual product.get('metafields').mapToProperty('id').sort(), [20,30]
equal twenty.get('key'), "SEO Title"
equal thirty.get('key'), "SEO Handle"
QUnit.start()
asyncTest "unsaved hasMany models should decode their existing child records based on ID", ->
@Metafield.load (err, metafields) =>
product = new @Product
twenty = metafields[metafields.length - 2]
thirty = metafields[metafields.length - 1]
product.get('metafields').add(twenty)
product.get('metafields').add(thirty)
twenty = metafields[metafields.length - 2]
thirty = metafields[metafields.length - 1]
# decode with the metafields out of order
product.fromJSON
name: "Product Six"
id: 6
metafields: [{
id: 30
key: "SEO Handle"
},{
id: 20
key: "SEO Title"
}]
equal product.get('metafields.length'), 2
deepEqual product.get('metafields').mapToProperty('id').sort(), [20,30]
equal twenty.get('key'), "SEO Title"
equal thirty.get('key'), "SEO Handle"
QUnit.start()
asyncTest "saved hasMany models should decode their child records based on ID", ->
@Product.find 6, (err, product) =>
throw err if err
twenty = product.get('metafields').indexedByUnique('id').get(20)
thirty = product.get('metafields').indexedByUnique('id').get(30)
# decode with the variants out of order
product.fromJSON
name: "Product Six"
id: 6
metafields: [{
id: 30
key: "SEO Handle"
},{
id: 20
key: "SEO Title"
}]
equal product.get('metafields.length'), 2
deepEqual product.get('metafields').mapToProperty('id').sort(), [20,30]
equal twenty.get('key'), "SEO Title"
equal thirty.get('key'), "SEO Handle"
QUnit.start()
asyncTest "hasMany sets the foreign key on the inverse relation if the children haven't been loaded", 3, ->
@Product.find 6, (err, product) =>
throw err if err
metafields = product.get('metafields')
delay ->
metafields = metafields.toArray()
equal metafields.length, 2
ok metafields[0].get('subject') == product
ok metafields[1].get('subject') == product
asyncTest "hasMany sets the foreign key on the inverse relation if the children have already been loaded", 3, ->
@Metafield.load (err, metafields) =>
throw err if err
@Product.find 6, (err, product) =>
throw err if err
metafields = product.get('metafields')
delay ->
metafields = metafields.toArray()
equal metafields.length, 2
ok metafields[0].get('subject') == product
ok metafields[1].get('subject') == product
asyncTest "hasMany sets the foreign key on the inverse relation without dirtying them", 1, ->
@Product.find 6, (err, product) =>
throw err if err
ok not product.get('metafields.first.isDirty')
QUnit.start()
asyncTest "hasMany associations are polymorphic", ->
class Animal extends Batman.Model
@encode 'id', 'name'
class Cat extends Animal
class Dog extends Animal
class Zoo extends Batman.Model
@encode 'id', 'name'
@hasMany 'animals', { as: 'animal', foreignKey: 'id', foreignTypeKey: 'type', namespace: { Animal: Animal, Cat: Cat, Dog: Dog}}
animalAdapter = createStorageAdapter Animal, AsyncTestStorageAdapter,
'animals1': {}
zooAdapter = createStorageAdapter Zoo, AsyncTestStorageAdapter,
'zoos1':
id: 1
name: 'Petting Zoo',
animals: [
{ id: 2, name: 'Max', type: 'dog' }
{ id: 3, name: 'Molly', type: 'cat'}
]
Zoo.find 1, (err, zoo) ->
animals = zoo.get('animals').toArray()
ok animals[0] instanceof Dog
ok animals[1] instanceof Cat
QUnit.start()
| 28454 | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter, generateSorterOnProperty} = window
helpers = window.viewHelpers
{baseSetup} = if typeof require is 'undefined' then window.PolymorphicAssociationHelpers else require './polymorphic_association_helper'
QUnit.module "Batman.Model polymorphic hasMany associations",
setup: baseSetup
asyncTest "hasMany associations are loaded from remote", 5, ->
@Store.find 1, (err, store) =>
throw err if err
metafields = store.get('metafields')
delay =>
array = metafields.toArray()
equal array.length, 2
equal array[0].get('key'), "Store metafield"
equal array[0].get('id'), 1
equal array[1].get('key'), "Store metafield 2"
equal array[1].get('id'), 3
asyncTest "hasMany associations are loaded from inline json", 3, ->
@Store.find 2, (err, store) =>
throw err if err
metafields = store.get('metafields')
array = metafields.toArray()
equal array.length, 1
equal array[0].get('key'), 'SEO Title'
equal array[0].get('id'), 5
QUnit.start()
asyncTest "hasMany associations loaded from inline json should not trigger an implicit fetch", 2, ->
@Store.find 2, (err, store) =>
throw err if err
delay =>
metafieldLoadSpy = spyOn @metafieldAdapter, 'readAll'
metafields = store.get('metafields')
delay =>
equal metafields.get('length'), 1
equal metafieldLoadSpy.callCount, 0
asyncTest "hasMany associations are saved via the parent model", 7, ->
store = new @Store name: '<NAME>'
metafield1 = new @Metafield key: '<KEY>'
metafield2 = new @Metafield key: '<KEY>'
store.set 'metafields', new Batman.Set(metafield1, metafield2)
storeSaveSpy = spyOn store, 'save'
store.save (err, record) =>
throw err if err
equal storeSaveSpy.callCount, 1
equal metafield1.get('subject_id'), record.get('id')
equal metafield1.get('subject_type'), 'store'
equal metafield2.get('subject_id'), record.get('id')
equal metafield2.get('subject_type'), 'store'
@Store.find record.get('id'), (err, store2) =>
throw err if err
storedJSON = @storeAdapter.storage["stores#{record.get('id')}"]
deepEqual store2.toJSON(), storedJSON
# hasMany saves inline by default
sorter = generateSorterOnProperty('key')
deepEqual sorter(storedJSON.metafields), sorter([
{key: "G<KEY>", subject_id: record.get('id'), subject_type: 'store'}
{key: "Gadget", subject_id: record.get('id'), subject_type: 'store'}
])
QUnit.start()
asyncTest "hasMany associations are saved via the child model", 3, ->
@Store.find 1, (err, store) =>
throw err if err
metafield = new @Metafield key: '<KEY>'
metafield.set 'subject', store
metafield.save (err, savedMetafield) ->
throw err if err
equal savedMetafield.get('subject_id'), store.get('id')
equal savedMetafield.get('subject_type'), 'store'
metafields = store.get('metafields')
ok metafields.has(savedMetafield)
QUnit.start()
asyncTest "hasMany associations should index the loaded set", 3, ->
@Product.find 4, (err, product) =>
throw err if err
metafields = product.get('metafields')
ok metafields instanceof Batman.PolymorphicAssociationSet
equal metafields.get('length'), 1
metafield = new @Metafield(subject_id: 4, subject_type: 'product', key: "<KEY>")
metafield.save (err) ->
throw err if err
equal metafields.get('length'), 2
QUnit.start()
asyncTest "hasMany associations should take record type into consideration when adding items to their set", 5, ->
@Product.find 4, (err, product) =>
throw err if err
equal product.get('metafields').get('length'), 1
metafield = new @Metafield(subject_id: 4, subject_type: 'store', key: "<KEY>")
metafield.save (err) ->
@Store.find 4, (err, store) =>
throw err if err
equal product.get('metafields.length'), 1
equal product.get('metafields.first.key'), "SEO Title"
equal store.get('metafields.length'), 1
equal store.get('metafields.first.key'), "Test Store Metafield"
QUnit.start()
asyncTest "hasMany child models are added to the identity map", 2, ->
equal @Metafield.get('loaded').length, 0
@Product.find 4, (err, product) =>
equal @Metafield.get('loaded').length, 1
QUnit.start()
asyncTest "unsaved hasMany models should accept associated children", 2, ->
product = new @Product
metafields = product.get('metafields')
delay =>
equal metafields.length, 0
metafield = new @Metafield
metafields.add metafield
equal metafields.length, 1
asyncTest "unsaved hasMany models should save their associated children", 4, ->
product = new @Product(name: "Hello!")
metafields = product.get('metafields')
metafield = new @Metafield(key: "test")
metafields.add metafield
# Mock out what a realbackend would do: assign ids to the child records
# The TestStorageAdapter is smart enough to do this for the parent, but not the children.
@productAdapter.create = (record, options, callback) ->
id = @_setRecordID(record)
if id
@storage[@storageKey(record) + id] = record.toJSON()
record.fromJSON
id: id
metafields: [{
key: "test"
id: 12
}]
callback(undefined, record)
else
callback(new Error("Couldn't get record primary key."))
product.save (err, product) =>
throw err if err
storedJSON = @productAdapter.storage["products#{product.get('id')}"]
deepEqual storedJSON,
id: 11
name: "<NAME>!"
metafields:[
{key: "test", subject_id: product.get('id'), subject_type: 'product'}
]
ok !product.isNew()
ok !metafield.isNew()
equal metafield.get('subject_id'), product.get('id')
QUnit.start()
asyncTest "unsaved hasMany models should reflect their associated children after save", 3, ->
product = new @Product(name: "<NAME>!")
metafields = product.get('metafields')
metafield = new @Metafield(key: "test")
metafields.add metafield
# Mock out what a realbackend would do: assign ids to the child records
# The TestStorageAdapter is smart enough to do this for the parent, but not the children.
@productAdapter.create = (record, options, callback) ->
id = @_setRecordID(record)
if id
@storage[@storageKey(record) + id] = record.toJSON()
record.fromJSON
id: id
metafields: [{
key: "test"
id: 12
}]
callback(undefined, record)
else
callback(new Error("Couldn't get record primary key."))
product.save (err, product) =>
throw err if err
# Mock out what a realbackend would do: assign ids to the child records
# The TestStorageAdapter is smart enough to do this for the parent, but not the children.
equal product.get('metafields.length'), 1
ok product.get('metafields').has(metafield)
equal metafields.get('length'), 1
QUnit.start()
asyncTest "unsaved hasMany models should decode their child records based on ID", ->
@Metafield.load (err, metafields) =>
product = new @Product
twenty = metafields[metafields.length - 2]
thirty = metafields[metafields.length - 1]
# decode with the metafields out of order
product.fromJSON
name: "Product Six"
id: 6
metafields: [{
id: 30
key: "<KEY>"
},{
id: 20
key: "SEO Title"
}]
equal product.get('metafields.length'), 2
deepEqual product.get('metafields').mapToProperty('id').sort(), [20,30]
equal twenty.get('key'), "SEO Title"
equal thirty.get('key'), "SEO Handle"
QUnit.start()
asyncTest "unsaved hasMany models should decode their existing child records based on ID", ->
@Metafield.load (err, metafields) =>
product = new @Product
twenty = metafields[metafields.length - 2]
thirty = metafields[metafields.length - 1]
product.get('metafields').add(twenty)
product.get('metafields').add(thirty)
twenty = metafields[metafields.length - 2]
thirty = metafields[metafields.length - 1]
# decode with the metafields out of order
product.fromJSON
name: "Product Six"
id: 6
metafields: [{
id: 30
key: "SEO Handle"
},{
id: 20
key: "SEO Title"
}]
equal product.get('metafields.length'), 2
deepEqual product.get('metafields').mapToProperty('id').sort(), [20,30]
equal twenty.get('key'), "SEO Title"
equal thirty.get('key'), "SEO Handle"
QUnit.start()
asyncTest "saved hasMany models should decode their child records based on ID", ->
@Product.find 6, (err, product) =>
throw err if err
twenty = product.get('metafields').indexedByUnique('id').get(20)
thirty = product.get('metafields').indexedByUnique('id').get(30)
# decode with the variants out of order
product.fromJSON
name: "Product Six"
id: 6
metafields: [{
id: 30
key: "SEO Handle"
},{
id: 20
key: "SEO Title"
}]
equal product.get('metafields.length'), 2
deepEqual product.get('metafields').mapToProperty('id').sort(), [20,30]
equal twenty.get('key'), "SEO Title"
equal thirty.get('key'), "SEO Handle"
QUnit.start()
asyncTest "hasMany sets the foreign key on the inverse relation if the children haven't been loaded", 3, ->
@Product.find 6, (err, product) =>
throw err if err
metafields = product.get('metafields')
delay ->
metafields = metafields.toArray()
equal metafields.length, 2
ok metafields[0].get('subject') == product
ok metafields[1].get('subject') == product
asyncTest "hasMany sets the foreign key on the inverse relation if the children have already been loaded", 3, ->
@Metafield.load (err, metafields) =>
throw err if err
@Product.find 6, (err, product) =>
throw err if err
metafields = product.get('metafields')
delay ->
metafields = metafields.toArray()
equal metafields.length, 2
ok metafields[0].get('subject') == product
ok metafields[1].get('subject') == product
asyncTest "hasMany sets the foreign key on the inverse relation without dirtying them", 1, ->
@Product.find 6, (err, product) =>
throw err if err
ok not product.get('metafields.first.isDirty')
QUnit.start()
asyncTest "hasMany associations are polymorphic", ->
class Animal extends Batman.Model
@encode 'id', 'name'
class Cat extends Animal
class Dog extends Animal
class Zoo extends Batman.Model
@encode 'id', 'name'
@hasMany 'animals', { as: 'animal', foreignKey: 'id', foreignTypeKey: 'type', namespace: { Animal: Animal, Cat: Cat, Dog: Dog}}
animalAdapter = createStorageAdapter Animal, AsyncTestStorageAdapter,
'animals1': {}
zooAdapter = createStorageAdapter Zoo, AsyncTestStorageAdapter,
'zoos1':
id: 1
name: '<NAME>',
animals: [
{ id: 2, name: '<NAME>', type: 'dog' }
{ id: 3, name: '<NAME>', type: 'cat'}
]
Zoo.find 1, (err, zoo) ->
animals = zoo.get('animals').toArray()
ok animals[0] instanceof Dog
ok animals[1] instanceof Cat
QUnit.start()
| true | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter, generateSorterOnProperty} = window
helpers = window.viewHelpers
{baseSetup} = if typeof require is 'undefined' then window.PolymorphicAssociationHelpers else require './polymorphic_association_helper'
QUnit.module "Batman.Model polymorphic hasMany associations",
setup: baseSetup
asyncTest "hasMany associations are loaded from remote", 5, ->
@Store.find 1, (err, store) =>
throw err if err
metafields = store.get('metafields')
delay =>
array = metafields.toArray()
equal array.length, 2
equal array[0].get('key'), "Store metafield"
equal array[0].get('id'), 1
equal array[1].get('key'), "Store metafield 2"
equal array[1].get('id'), 3
asyncTest "hasMany associations are loaded from inline json", 3, ->
@Store.find 2, (err, store) =>
throw err if err
metafields = store.get('metafields')
array = metafields.toArray()
equal array.length, 1
equal array[0].get('key'), 'SEO Title'
equal array[0].get('id'), 5
QUnit.start()
asyncTest "hasMany associations loaded from inline json should not trigger an implicit fetch", 2, ->
@Store.find 2, (err, store) =>
throw err if err
delay =>
metafieldLoadSpy = spyOn @metafieldAdapter, 'readAll'
metafields = store.get('metafields')
delay =>
equal metafields.get('length'), 1
equal metafieldLoadSpy.callCount, 0
asyncTest "hasMany associations are saved via the parent model", 7, ->
store = new @Store name: 'PI:NAME:<NAME>END_PI'
metafield1 = new @Metafield key: 'PI:KEY:<KEY>END_PI'
metafield2 = new @Metafield key: 'PI:KEY:<KEY>END_PI'
store.set 'metafields', new Batman.Set(metafield1, metafield2)
storeSaveSpy = spyOn store, 'save'
store.save (err, record) =>
throw err if err
equal storeSaveSpy.callCount, 1
equal metafield1.get('subject_id'), record.get('id')
equal metafield1.get('subject_type'), 'store'
equal metafield2.get('subject_id'), record.get('id')
equal metafield2.get('subject_type'), 'store'
@Store.find record.get('id'), (err, store2) =>
throw err if err
storedJSON = @storeAdapter.storage["stores#{record.get('id')}"]
deepEqual store2.toJSON(), storedJSON
# hasMany saves inline by default
sorter = generateSorterOnProperty('key')
deepEqual sorter(storedJSON.metafields), sorter([
{key: "GPI:KEY:<KEY>END_PI", subject_id: record.get('id'), subject_type: 'store'}
{key: "Gadget", subject_id: record.get('id'), subject_type: 'store'}
])
QUnit.start()
asyncTest "hasMany associations are saved via the child model", 3, ->
@Store.find 1, (err, store) =>
throw err if err
metafield = new @Metafield key: 'PI:KEY:<KEY>END_PI'
metafield.set 'subject', store
metafield.save (err, savedMetafield) ->
throw err if err
equal savedMetafield.get('subject_id'), store.get('id')
equal savedMetafield.get('subject_type'), 'store'
metafields = store.get('metafields')
ok metafields.has(savedMetafield)
QUnit.start()
asyncTest "hasMany associations should index the loaded set", 3, ->
@Product.find 4, (err, product) =>
throw err if err
metafields = product.get('metafields')
ok metafields instanceof Batman.PolymorphicAssociationSet
equal metafields.get('length'), 1
metafield = new @Metafield(subject_id: 4, subject_type: 'product', key: "PI:KEY:<KEY>END_PI")
metafield.save (err) ->
throw err if err
equal metafields.get('length'), 2
QUnit.start()
asyncTest "hasMany associations should take record type into consideration when adding items to their set", 5, ->
@Product.find 4, (err, product) =>
throw err if err
equal product.get('metafields').get('length'), 1
metafield = new @Metafield(subject_id: 4, subject_type: 'store', key: "PI:KEY:<KEY>END_PI")
metafield.save (err) ->
@Store.find 4, (err, store) =>
throw err if err
equal product.get('metafields.length'), 1
equal product.get('metafields.first.key'), "SEO Title"
equal store.get('metafields.length'), 1
equal store.get('metafields.first.key'), "Test Store Metafield"
QUnit.start()
asyncTest "hasMany child models are added to the identity map", 2, ->
equal @Metafield.get('loaded').length, 0
@Product.find 4, (err, product) =>
equal @Metafield.get('loaded').length, 1
QUnit.start()
asyncTest "unsaved hasMany models should accept associated children", 2, ->
product = new @Product
metafields = product.get('metafields')
delay =>
equal metafields.length, 0
metafield = new @Metafield
metafields.add metafield
equal metafields.length, 1
asyncTest "unsaved hasMany models should save their associated children", 4, ->
product = new @Product(name: "Hello!")
metafields = product.get('metafields')
metafield = new @Metafield(key: "test")
metafields.add metafield
# Mock out what a realbackend would do: assign ids to the child records
# The TestStorageAdapter is smart enough to do this for the parent, but not the children.
@productAdapter.create = (record, options, callback) ->
id = @_setRecordID(record)
if id
@storage[@storageKey(record) + id] = record.toJSON()
record.fromJSON
id: id
metafields: [{
key: "test"
id: 12
}]
callback(undefined, record)
else
callback(new Error("Couldn't get record primary key."))
product.save (err, product) =>
throw err if err
storedJSON = @productAdapter.storage["products#{product.get('id')}"]
deepEqual storedJSON,
id: 11
name: "PI:NAME:<NAME>END_PI!"
metafields:[
{key: "test", subject_id: product.get('id'), subject_type: 'product'}
]
ok !product.isNew()
ok !metafield.isNew()
equal metafield.get('subject_id'), product.get('id')
QUnit.start()
asyncTest "unsaved hasMany models should reflect their associated children after save", 3, ->
product = new @Product(name: "PI:NAME:<NAME>END_PI!")
metafields = product.get('metafields')
metafield = new @Metafield(key: "test")
metafields.add metafield
# Mock out what a realbackend would do: assign ids to the child records
# The TestStorageAdapter is smart enough to do this for the parent, but not the children.
@productAdapter.create = (record, options, callback) ->
id = @_setRecordID(record)
if id
@storage[@storageKey(record) + id] = record.toJSON()
record.fromJSON
id: id
metafields: [{
key: "test"
id: 12
}]
callback(undefined, record)
else
callback(new Error("Couldn't get record primary key."))
product.save (err, product) =>
throw err if err
# Mock out what a realbackend would do: assign ids to the child records
# The TestStorageAdapter is smart enough to do this for the parent, but not the children.
equal product.get('metafields.length'), 1
ok product.get('metafields').has(metafield)
equal metafields.get('length'), 1
QUnit.start()
asyncTest "unsaved hasMany models should decode their child records based on ID", ->
@Metafield.load (err, metafields) =>
product = new @Product
twenty = metafields[metafields.length - 2]
thirty = metafields[metafields.length - 1]
# decode with the metafields out of order
product.fromJSON
name: "Product Six"
id: 6
metafields: [{
id: 30
key: "PI:KEY:<KEY>END_PI"
},{
id: 20
key: "SEO Title"
}]
equal product.get('metafields.length'), 2
deepEqual product.get('metafields').mapToProperty('id').sort(), [20,30]
equal twenty.get('key'), "SEO Title"
equal thirty.get('key'), "SEO Handle"
QUnit.start()
asyncTest "unsaved hasMany models should decode their existing child records based on ID", ->
@Metafield.load (err, metafields) =>
product = new @Product
twenty = metafields[metafields.length - 2]
thirty = metafields[metafields.length - 1]
product.get('metafields').add(twenty)
product.get('metafields').add(thirty)
twenty = metafields[metafields.length - 2]
thirty = metafields[metafields.length - 1]
# decode with the metafields out of order
product.fromJSON
name: "Product Six"
id: 6
metafields: [{
id: 30
key: "SEO Handle"
},{
id: 20
key: "SEO Title"
}]
equal product.get('metafields.length'), 2
deepEqual product.get('metafields').mapToProperty('id').sort(), [20,30]
equal twenty.get('key'), "SEO Title"
equal thirty.get('key'), "SEO Handle"
QUnit.start()
asyncTest "saved hasMany models should decode their child records based on ID", ->
@Product.find 6, (err, product) =>
throw err if err
twenty = product.get('metafields').indexedByUnique('id').get(20)
thirty = product.get('metafields').indexedByUnique('id').get(30)
# decode with the variants out of order
product.fromJSON
name: "Product Six"
id: 6
metafields: [{
id: 30
key: "SEO Handle"
},{
id: 20
key: "SEO Title"
}]
equal product.get('metafields.length'), 2
deepEqual product.get('metafields').mapToProperty('id').sort(), [20,30]
equal twenty.get('key'), "SEO Title"
equal thirty.get('key'), "SEO Handle"
QUnit.start()
asyncTest "hasMany sets the foreign key on the inverse relation if the children haven't been loaded", 3, ->
@Product.find 6, (err, product) =>
throw err if err
metafields = product.get('metafields')
delay ->
metafields = metafields.toArray()
equal metafields.length, 2
ok metafields[0].get('subject') == product
ok metafields[1].get('subject') == product
asyncTest "hasMany sets the foreign key on the inverse relation if the children have already been loaded", 3, ->
@Metafield.load (err, metafields) =>
throw err if err
@Product.find 6, (err, product) =>
throw err if err
metafields = product.get('metafields')
delay ->
metafields = metafields.toArray()
equal metafields.length, 2
ok metafields[0].get('subject') == product
ok metafields[1].get('subject') == product
asyncTest "hasMany sets the foreign key on the inverse relation without dirtying them", 1, ->
@Product.find 6, (err, product) =>
throw err if err
ok not product.get('metafields.first.isDirty')
QUnit.start()
asyncTest "hasMany associations are polymorphic", ->
class Animal extends Batman.Model
@encode 'id', 'name'
class Cat extends Animal
class Dog extends Animal
class Zoo extends Batman.Model
@encode 'id', 'name'
@hasMany 'animals', { as: 'animal', foreignKey: 'id', foreignTypeKey: 'type', namespace: { Animal: Animal, Cat: Cat, Dog: Dog}}
animalAdapter = createStorageAdapter Animal, AsyncTestStorageAdapter,
'animals1': {}
zooAdapter = createStorageAdapter Zoo, AsyncTestStorageAdapter,
'zoos1':
id: 1
name: 'PI:NAME:<NAME>END_PI',
animals: [
{ id: 2, name: 'PI:NAME:<NAME>END_PI', type: 'dog' }
{ id: 3, name: 'PI:NAME:<NAME>END_PI', type: 'cat'}
]
Zoo.find 1, (err, zoo) ->
animals = zoo.get('animals').toArray()
ok animals[0] instanceof Dog
ok animals[1] instanceof Cat
QUnit.start()
|
[
{
"context": "'$interval',($interval)->\n\n LOCAL_STORAGE_KEY = 'notices'\n\n notices = JSON.parse( localStorage.getItem LO",
"end": 140,
"score": 0.6320733428001404,
"start": 133,
"tag": "KEY",
"value": "notices"
}
] | app/assets/javascripts/lib/flash.coffee | spuddybike/archivist | 0 | flash = angular.module('archivist.flash', ['ngMessages'])
flash.factory('Flash', ['$interval',($interval)->
LOCAL_STORAGE_KEY = 'notices'
notices = JSON.parse( localStorage.getItem LOCAL_STORAGE_KEY ) || []
scope = null
store = ->
localStorage.setItem LOCAL_STORAGE_KEY, JSON.stringify notices
clear = ->
notices = []
store()
{
add: (type, message) ->
notices.push({type: type, message: message})
store()
if document.getElementsByTagName LOCAL_STORAGE_KEY
@publish(scope)
publish: (_scope) ->
_scope.notices = notices
clear()
set_scope: (_scope) ->
scope = _scope
listen: (scope) ->
clear: @clear
store: @store
}
]) | 49543 | flash = angular.module('archivist.flash', ['ngMessages'])
flash.factory('Flash', ['$interval',($interval)->
LOCAL_STORAGE_KEY = '<KEY>'
notices = JSON.parse( localStorage.getItem LOCAL_STORAGE_KEY ) || []
scope = null
store = ->
localStorage.setItem LOCAL_STORAGE_KEY, JSON.stringify notices
clear = ->
notices = []
store()
{
add: (type, message) ->
notices.push({type: type, message: message})
store()
if document.getElementsByTagName LOCAL_STORAGE_KEY
@publish(scope)
publish: (_scope) ->
_scope.notices = notices
clear()
set_scope: (_scope) ->
scope = _scope
listen: (scope) ->
clear: @clear
store: @store
}
]) | true | flash = angular.module('archivist.flash', ['ngMessages'])
flash.factory('Flash', ['$interval',($interval)->
LOCAL_STORAGE_KEY = 'PI:KEY:<KEY>END_PI'
notices = JSON.parse( localStorage.getItem LOCAL_STORAGE_KEY ) || []
scope = null
store = ->
localStorage.setItem LOCAL_STORAGE_KEY, JSON.stringify notices
clear = ->
notices = []
store()
{
add: (type, message) ->
notices.push({type: type, message: message})
store()
if document.getElementsByTagName LOCAL_STORAGE_KEY
@publish(scope)
publish: (_scope) ->
_scope.notices = notices
clear()
set_scope: (_scope) ->
scope = _scope
listen: (scope) ->
clear: @clear
store: @store
}
]) |
[
{
"context": "ey can be used', ->\n flow = 'EXR'\n key = '.CHF+NOK.EUR..2'\n q = DataQuery.from({flow: flow, key: key})",
"end": 1995,
"score": 0.9984230995178223,
"start": 1979,
"tag": "KEY",
"value": "'.CHF+NOK.EUR..2"
},
{
"context": " query.should.have.property('... | test/data/data-query.test.coffee | sosna/sdmx-rest.js | 16 | should = require('chai').should()
{DataDetail} = require '../../src/data/data-detail'
{DataQuery} = require '../../src/data/data-query'
describe 'Data queries', ->
it 'has the expected properties', ->
q = DataQuery.from {flow: 'ICP'}
q.should.be.an 'object'
q.should.have.property 'flow'
q.should.have.property 'key'
q.should.have.property 'provider'
q.should.have.property 'start'
q.should.have.property 'end'
q.should.have.property 'updatedAfter'
q.should.have.property 'firstNObs'
q.should.have.property 'lastNObs'
q.should.have.property 'obsDimension'
q.should.have.property 'detail'
q.should.have.property 'history'
it 'has the expected defaults', ->
flow = 'EXR'
q = DataQuery.from {flow: flow}
q.should.have.property('flow').that.equals flow
q.should.have.property('key').that.equals 'all'
q.should.have.property('provider').that.equals 'all'
q.should.have.property('start').that.is.undefined
q.should.have.property('end').that.is.undefined
q.should.have.property('updatedAfter').that.is.undefined
q.should.have.property('firstNObs').that.is.undefined
q.should.have.property('lastNObs').that.is.undefined
q.should.have.property('obsDimension').that.is.undefined
q.should.have.property('detail').that.equals 'full'
q.should.have.property('history').that.is.false
describe 'when setting the flow', ->
it 'throws an exception when the flow is not set', ->
test = -> DataQuery.from({flow: ' '})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: undefined})
should.Throw(test, Error, 'Not a valid data query')
it 'throws an exception when the flow is invalid', ->
test = -> DataQuery.from({flow: '1%'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the key', ->
it 'a string representing the key can be used', ->
flow = 'EXR'
key = '.CHF+NOK.EUR..2'
q = DataQuery.from({flow: flow, key: key})
q.should.have.property('flow').that.equals flow
q.should.have.property('key').that.equals key
it 'an array of arrays can be used to build the key', ->
values = [
['D']
['NOK', 'RUB', 'CHF']
['EUR']
[]
['A']
]
query = DataQuery.from({flow: 'EXR', key: values})
query.should.have.property('flow').that.equals 'EXR'
query.should.have.property('key').that.equals 'D.NOK+RUB+CHF.EUR..A'
it 'a mixed array can be used to build the key', ->
values = [
'D'
['NOK', 'RUB', 'CHF']
''
'SP00'
undefined
]
query = DataQuery.from({flow: 'EXR', key: values})
query.should.have.property('flow').that.equals 'EXR'
query.should.have.property('key').that.equals 'D.NOK+RUB+CHF..SP00.'
it 'an exotic array can be used to build the key', ->
values = [
''
['NOK', 'RUB', 'CHF']
['EUR']
undefined
null
]
query = DataQuery.from({flow: 'EXR', key: values})
query.should.have.property('flow').that.equals 'EXR'
query.should.have.property('key').that.equals '.NOK+RUB+CHF.EUR..'
it 'throws an exception if the value for the key is invalid', ->
test = -> DataQuery.from({flow: 'EXR', key: '1%'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the provider', ->
it 'a string representing the provider can be used', ->
flow = 'EXR'
provider = 'ECB'
q = DataQuery.from({flow: flow, provider: provider})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals provider
provider = 'SDMX,ECB'
q = DataQuery.from({flow: flow, provider: provider})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals provider
it 'a string representing multiple providers can be used', ->
flow = 'EXR'
provider = 'ECB+BIS'
q = DataQuery.from({flow: flow, provider: provider})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals provider
it 'an array representing multiple providers can be used', ->
flow = 'EXR'
providers = ['SDMX,ECB', 'BIS']
q = DataQuery.from({flow: flow, provider: providers})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals 'SDMX,ECB+BIS'
it 'throws an exception if the value for provider is invalid', ->
test = -> DataQuery.from({flow: 'EXR', provider: 'SDMX,ECB,2.0'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the start and end periods', ->
it 'a string representing years can be passed', ->
flow = 'EXR'
start = '2000'
end = '2004'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing months can be passed', ->
flow = 'EXR'
start = '2000-01'
end = '2004-12'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing days can be passed', ->
flow = 'EXR'
start = '2000-01-01'
end = '2004-12-31'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing quarters can be passed', ->
flow = 'EXR'
start = '2000-Q1'
end = '2004-Q4'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing semesters can be passed', ->
flow = 'EXR'
start = '2000-S1'
end = '2004-S4'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing weeks can be passed', ->
flow = 'EXR'
start = '2000-W01'
end = '2004-W53'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'throws an exception if the value for start period is invalid', ->
test = -> DataQuery.from({flow: 'EXR', start: 'SDMX,ECB,2.0'})
should.Throw(test, Error, 'Not a valid data query')
it 'throws an exception if the value for end period is invalid', ->
test = -> DataQuery.from({flow: 'EXR', end: 'SDMX,ECB,2.0'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the updatedAfter timestamp', ->
it 'a string representing a timestamp can be passed', ->
flow = 'EXR'
last = '2016-03-04T09:57:00Z'
q = DataQuery.from({flow: flow, updatedAfter: last})
q.should.have.property('flow').that.equals flow
q.should.have.property('updatedAfter').that.equals last
it 'throws an exception if the value for updatedAfter is invalid', ->
test = -> DataQuery.from({flow: 'EXR', updatedAfter: 'now'})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: 'EXR', updatedAfter: '2000-Q1'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the first and last number of observations', ->
it 'integers representing the desired number of obs can be passed', ->
flow = 'EXR'
firstN = 1
lastN = 3
q = DataQuery.from({flow: flow, firstNObs: firstN, lastNObs: lastN})
q.should.have.property('flow').that.equals flow
q.should.have.property('firstNObs').that.equals firstN
q.should.have.property('lastNObs').that.equals lastN
it 'throws an exception if the value for firstObs is invalid', ->
test = -> DataQuery.from({flow: 'EXR', firstNObs: -2})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: 'EXR', firstNObs: 'test'})
should.Throw(test, Error, 'Not a valid data query')
it 'throws an exception if the value for lastNObs is invalid', ->
test = -> DataQuery.from({flow: 'EXR', lastNObs: -2})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: 'EXR', lastNObs: 'test'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the dimension at observation level', ->
it 'a string representing the dimension at the obs level can be passed', ->
flow = 'ECB,EXR,latest'
dim = 'CURRENCY'
q = DataQuery.from({flow: flow, obsDimension: dim})
q.should.have.property('flow').that.equals flow
q.should.have.property('obsDimension').that.equals dim
it 'throws an exception if value for obs dimension is invalid', ->
test = -> DataQuery.from({flow: 'EXR', obsDimension: '*&^%$#@!)'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the desired level of detail', ->
it 'a string representing the desired level of detail can be passed', ->
flow = 'ECB,EXR,1.0'
detail = DataDetail.NO_DATA
q = DataQuery.from({flow: flow, detail: detail})
q.should.have.property('flow').that.equals flow
q.should.have.property('detail').that.equals detail
it 'throws an exception if the value for the level of detail is unknown', ->
test = -> DataQuery.from({flow: 'EXR', detail: 'test'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting whether historical data should be returned', ->
it 'a boolean can be passed', ->
flow = 'ECB,EXR'
q = DataQuery.from({flow: flow, history: true})
q.should.have.property('flow').that.equals flow
q.should.have.property('history').that.is.true
it 'throws an exception if the value for history is not a boolean', ->
test = -> DataQuery.from({flow: 'EXR', history: 'test'})
should.Throw(test, Error, 'Not a valid data query')
| 57458 | should = require('chai').should()
{DataDetail} = require '../../src/data/data-detail'
{DataQuery} = require '../../src/data/data-query'
describe 'Data queries', ->
it 'has the expected properties', ->
q = DataQuery.from {flow: 'ICP'}
q.should.be.an 'object'
q.should.have.property 'flow'
q.should.have.property 'key'
q.should.have.property 'provider'
q.should.have.property 'start'
q.should.have.property 'end'
q.should.have.property 'updatedAfter'
q.should.have.property 'firstNObs'
q.should.have.property 'lastNObs'
q.should.have.property 'obsDimension'
q.should.have.property 'detail'
q.should.have.property 'history'
it 'has the expected defaults', ->
flow = 'EXR'
q = DataQuery.from {flow: flow}
q.should.have.property('flow').that.equals flow
q.should.have.property('key').that.equals 'all'
q.should.have.property('provider').that.equals 'all'
q.should.have.property('start').that.is.undefined
q.should.have.property('end').that.is.undefined
q.should.have.property('updatedAfter').that.is.undefined
q.should.have.property('firstNObs').that.is.undefined
q.should.have.property('lastNObs').that.is.undefined
q.should.have.property('obsDimension').that.is.undefined
q.should.have.property('detail').that.equals 'full'
q.should.have.property('history').that.is.false
describe 'when setting the flow', ->
it 'throws an exception when the flow is not set', ->
test = -> DataQuery.from({flow: ' '})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: undefined})
should.Throw(test, Error, 'Not a valid data query')
it 'throws an exception when the flow is invalid', ->
test = -> DataQuery.from({flow: '1%'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the key', ->
it 'a string representing the key can be used', ->
flow = 'EXR'
key = <KEY>'
q = DataQuery.from({flow: flow, key: key})
q.should.have.property('flow').that.equals flow
q.should.have.property('key').that.equals key
it 'an array of arrays can be used to build the key', ->
values = [
['D']
['NOK', 'RUB', 'CHF']
['EUR']
[]
['A']
]
query = DataQuery.from({flow: 'EXR', key: values})
query.should.have.property('flow').that.equals 'EXR'
query.should.have.property('key').that.equals '<KEY>'
it 'a mixed array can be used to build the key', ->
values = [
'D'
['NOK', 'RUB', 'CHF']
''
'SP00'
undefined
]
query = DataQuery.from({flow: 'EXR', key: values})
query.should.have.property('flow').that.equals 'EXR'
query.should.have.property('key').that.equals '<KEY>
it 'an exotic array can be used to build the key', ->
values = [
''
['NOK', 'RUB', 'CHF']
['EUR']
undefined
null
]
query = DataQuery.from({flow: 'EXR', key: values})
query.should.have.property('flow').that.equals 'EXR'
query.should.have.property('key').that.equals <KEY>'
it 'throws an exception if the value for the key is invalid', ->
test = -> DataQuery.from({flow: 'EXR', key: '1<KEY>'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the provider', ->
it 'a string representing the provider can be used', ->
flow = 'EXR'
provider = 'ECB'
q = DataQuery.from({flow: flow, provider: provider})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals provider
provider = 'SDMX,ECB'
q = DataQuery.from({flow: flow, provider: provider})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals provider
it 'a string representing multiple providers can be used', ->
flow = 'EXR'
provider = 'ECB+BIS'
q = DataQuery.from({flow: flow, provider: provider})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals provider
it 'an array representing multiple providers can be used', ->
flow = 'EXR'
providers = ['SDMX,ECB', 'BIS']
q = DataQuery.from({flow: flow, provider: providers})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals 'SDMX,ECB+BIS'
it 'throws an exception if the value for provider is invalid', ->
test = -> DataQuery.from({flow: 'EXR', provider: 'SDMX,ECB,2.0'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the start and end periods', ->
it 'a string representing years can be passed', ->
flow = 'EXR'
start = '2000'
end = '2004'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing months can be passed', ->
flow = 'EXR'
start = '2000-01'
end = '2004-12'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing days can be passed', ->
flow = 'EXR'
start = '2000-01-01'
end = '2004-12-31'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing quarters can be passed', ->
flow = 'EXR'
start = '2000-Q1'
end = '2004-Q4'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing semesters can be passed', ->
flow = 'EXR'
start = '2000-S1'
end = '2004-S4'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing weeks can be passed', ->
flow = 'EXR'
start = '2000-W01'
end = '2004-W53'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'throws an exception if the value for start period is invalid', ->
test = -> DataQuery.from({flow: 'EXR', start: 'SDMX,ECB,2.0'})
should.Throw(test, Error, 'Not a valid data query')
it 'throws an exception if the value for end period is invalid', ->
test = -> DataQuery.from({flow: 'EXR', end: 'SDMX,ECB,2.0'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the updatedAfter timestamp', ->
it 'a string representing a timestamp can be passed', ->
flow = 'EXR'
last = '2016-03-04T09:57:00Z'
q = DataQuery.from({flow: flow, updatedAfter: last})
q.should.have.property('flow').that.equals flow
q.should.have.property('updatedAfter').that.equals last
it 'throws an exception if the value for updatedAfter is invalid', ->
test = -> DataQuery.from({flow: 'EXR', updatedAfter: 'now'})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: 'EXR', updatedAfter: '2000-Q1'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the first and last number of observations', ->
it 'integers representing the desired number of obs can be passed', ->
flow = 'EXR'
firstN = 1
lastN = 3
q = DataQuery.from({flow: flow, firstNObs: firstN, lastNObs: lastN})
q.should.have.property('flow').that.equals flow
q.should.have.property('firstNObs').that.equals firstN
q.should.have.property('lastNObs').that.equals lastN
it 'throws an exception if the value for firstObs is invalid', ->
test = -> DataQuery.from({flow: 'EXR', firstNObs: -2})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: 'EXR', firstNObs: 'test'})
should.Throw(test, Error, 'Not a valid data query')
it 'throws an exception if the value for lastNObs is invalid', ->
test = -> DataQuery.from({flow: 'EXR', lastNObs: -2})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: 'EXR', lastNObs: 'test'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the dimension at observation level', ->
it 'a string representing the dimension at the obs level can be passed', ->
flow = 'ECB,EXR,latest'
dim = 'CURRENCY'
q = DataQuery.from({flow: flow, obsDimension: dim})
q.should.have.property('flow').that.equals flow
q.should.have.property('obsDimension').that.equals dim
it 'throws an exception if value for obs dimension is invalid', ->
test = -> DataQuery.from({flow: 'EXR', obsDimension: '*&^%$#@!)'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the desired level of detail', ->
it 'a string representing the desired level of detail can be passed', ->
flow = 'ECB,EXR,1.0'
detail = DataDetail.NO_DATA
q = DataQuery.from({flow: flow, detail: detail})
q.should.have.property('flow').that.equals flow
q.should.have.property('detail').that.equals detail
it 'throws an exception if the value for the level of detail is unknown', ->
test = -> DataQuery.from({flow: 'EXR', detail: 'test'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting whether historical data should be returned', ->
it 'a boolean can be passed', ->
flow = 'ECB,EXR'
q = DataQuery.from({flow: flow, history: true})
q.should.have.property('flow').that.equals flow
q.should.have.property('history').that.is.true
it 'throws an exception if the value for history is not a boolean', ->
test = -> DataQuery.from({flow: 'EXR', history: 'test'})
should.Throw(test, Error, 'Not a valid data query')
| true | should = require('chai').should()
{DataDetail} = require '../../src/data/data-detail'
{DataQuery} = require '../../src/data/data-query'
describe 'Data queries', ->
it 'has the expected properties', ->
q = DataQuery.from {flow: 'ICP'}
q.should.be.an 'object'
q.should.have.property 'flow'
q.should.have.property 'key'
q.should.have.property 'provider'
q.should.have.property 'start'
q.should.have.property 'end'
q.should.have.property 'updatedAfter'
q.should.have.property 'firstNObs'
q.should.have.property 'lastNObs'
q.should.have.property 'obsDimension'
q.should.have.property 'detail'
q.should.have.property 'history'
it 'has the expected defaults', ->
flow = 'EXR'
q = DataQuery.from {flow: flow}
q.should.have.property('flow').that.equals flow
q.should.have.property('key').that.equals 'all'
q.should.have.property('provider').that.equals 'all'
q.should.have.property('start').that.is.undefined
q.should.have.property('end').that.is.undefined
q.should.have.property('updatedAfter').that.is.undefined
q.should.have.property('firstNObs').that.is.undefined
q.should.have.property('lastNObs').that.is.undefined
q.should.have.property('obsDimension').that.is.undefined
q.should.have.property('detail').that.equals 'full'
q.should.have.property('history').that.is.false
describe 'when setting the flow', ->
it 'throws an exception when the flow is not set', ->
test = -> DataQuery.from({flow: ' '})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: undefined})
should.Throw(test, Error, 'Not a valid data query')
it 'throws an exception when the flow is invalid', ->
test = -> DataQuery.from({flow: '1%'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the key', ->
it 'a string representing the key can be used', ->
flow = 'EXR'
key = PI:KEY:<KEY>END_PI'
q = DataQuery.from({flow: flow, key: key})
q.should.have.property('flow').that.equals flow
q.should.have.property('key').that.equals key
it 'an array of arrays can be used to build the key', ->
values = [
['D']
['NOK', 'RUB', 'CHF']
['EUR']
[]
['A']
]
query = DataQuery.from({flow: 'EXR', key: values})
query.should.have.property('flow').that.equals 'EXR'
query.should.have.property('key').that.equals 'PI:KEY:<KEY>END_PI'
it 'a mixed array can be used to build the key', ->
values = [
'D'
['NOK', 'RUB', 'CHF']
''
'SP00'
undefined
]
query = DataQuery.from({flow: 'EXR', key: values})
query.should.have.property('flow').that.equals 'EXR'
query.should.have.property('key').that.equals 'PI:KEY:<KEY>END_PI
it 'an exotic array can be used to build the key', ->
values = [
''
['NOK', 'RUB', 'CHF']
['EUR']
undefined
null
]
query = DataQuery.from({flow: 'EXR', key: values})
query.should.have.property('flow').that.equals 'EXR'
query.should.have.property('key').that.equals PI:KEY:<KEY>END_PI'
it 'throws an exception if the value for the key is invalid', ->
test = -> DataQuery.from({flow: 'EXR', key: '1PI:KEY:<KEY>END_PI'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the provider', ->
it 'a string representing the provider can be used', ->
flow = 'EXR'
provider = 'ECB'
q = DataQuery.from({flow: flow, provider: provider})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals provider
provider = 'SDMX,ECB'
q = DataQuery.from({flow: flow, provider: provider})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals provider
it 'a string representing multiple providers can be used', ->
flow = 'EXR'
provider = 'ECB+BIS'
q = DataQuery.from({flow: flow, provider: provider})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals provider
it 'an array representing multiple providers can be used', ->
flow = 'EXR'
providers = ['SDMX,ECB', 'BIS']
q = DataQuery.from({flow: flow, provider: providers})
q.should.have.property('flow').that.equals flow
q.should.have.property('provider').that.equals 'SDMX,ECB+BIS'
it 'throws an exception if the value for provider is invalid', ->
test = -> DataQuery.from({flow: 'EXR', provider: 'SDMX,ECB,2.0'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the start and end periods', ->
it 'a string representing years can be passed', ->
flow = 'EXR'
start = '2000'
end = '2004'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing months can be passed', ->
flow = 'EXR'
start = '2000-01'
end = '2004-12'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing days can be passed', ->
flow = 'EXR'
start = '2000-01-01'
end = '2004-12-31'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing quarters can be passed', ->
flow = 'EXR'
start = '2000-Q1'
end = '2004-Q4'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing semesters can be passed', ->
flow = 'EXR'
start = '2000-S1'
end = '2004-S4'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'a string representing weeks can be passed', ->
flow = 'EXR'
start = '2000-W01'
end = '2004-W53'
q = DataQuery.from({flow: flow, start: start, end: end})
q.should.have.property('flow').that.equals flow
q.should.have.property('start').that.equals start
q.should.have.property('end').that.equals end
it 'throws an exception if the value for start period is invalid', ->
test = -> DataQuery.from({flow: 'EXR', start: 'SDMX,ECB,2.0'})
should.Throw(test, Error, 'Not a valid data query')
it 'throws an exception if the value for end period is invalid', ->
test = -> DataQuery.from({flow: 'EXR', end: 'SDMX,ECB,2.0'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the updatedAfter timestamp', ->
it 'a string representing a timestamp can be passed', ->
flow = 'EXR'
last = '2016-03-04T09:57:00Z'
q = DataQuery.from({flow: flow, updatedAfter: last})
q.should.have.property('flow').that.equals flow
q.should.have.property('updatedAfter').that.equals last
it 'throws an exception if the value for updatedAfter is invalid', ->
test = -> DataQuery.from({flow: 'EXR', updatedAfter: 'now'})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: 'EXR', updatedAfter: '2000-Q1'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the first and last number of observations', ->
it 'integers representing the desired number of obs can be passed', ->
flow = 'EXR'
firstN = 1
lastN = 3
q = DataQuery.from({flow: flow, firstNObs: firstN, lastNObs: lastN})
q.should.have.property('flow').that.equals flow
q.should.have.property('firstNObs').that.equals firstN
q.should.have.property('lastNObs').that.equals lastN
it 'throws an exception if the value for firstObs is invalid', ->
test = -> DataQuery.from({flow: 'EXR', firstNObs: -2})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: 'EXR', firstNObs: 'test'})
should.Throw(test, Error, 'Not a valid data query')
it 'throws an exception if the value for lastNObs is invalid', ->
test = -> DataQuery.from({flow: 'EXR', lastNObs: -2})
should.Throw(test, Error, 'Not a valid data query')
test = -> DataQuery.from({flow: 'EXR', lastNObs: 'test'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the dimension at observation level', ->
it 'a string representing the dimension at the obs level can be passed', ->
flow = 'ECB,EXR,latest'
dim = 'CURRENCY'
q = DataQuery.from({flow: flow, obsDimension: dim})
q.should.have.property('flow').that.equals flow
q.should.have.property('obsDimension').that.equals dim
it 'throws an exception if value for obs dimension is invalid', ->
test = -> DataQuery.from({flow: 'EXR', obsDimension: '*&^%$#@!)'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting the desired level of detail', ->
it 'a string representing the desired level of detail can be passed', ->
flow = 'ECB,EXR,1.0'
detail = DataDetail.NO_DATA
q = DataQuery.from({flow: flow, detail: detail})
q.should.have.property('flow').that.equals flow
q.should.have.property('detail').that.equals detail
it 'throws an exception if the value for the level of detail is unknown', ->
test = -> DataQuery.from({flow: 'EXR', detail: 'test'})
should.Throw(test, Error, 'Not a valid data query')
describe 'when setting whether historical data should be returned', ->
it 'a boolean can be passed', ->
flow = 'ECB,EXR'
q = DataQuery.from({flow: flow, history: true})
q.should.have.property('flow').that.equals flow
q.should.have.property('history').that.is.true
it 'throws an exception if the value for history is not a boolean', ->
test = -> DataQuery.from({flow: 'EXR', history: 'test'})
should.Throw(test, Error, 'Not a valid data query')
|
[
{
"context": "\n input: [\n token: \"0\"\n starts: 35\n ",
"end": 816,
"score": 0.6671733260154724,
"start": 815,
"tag": "KEY",
"value": "0"
},
{
"context": "oes\"\n input: [\n token: \"000\"\n... | src/coffee/expression/parse/integer.spec.coffee | jameswilddev/influx7 | 1 | describe "expression", -> describe "parse", -> describe "integer", ->
rewire = require "rewire"
describe "on calling", ->
expressionParseInteger = rewire "./integer"
run = (config) ->
describe config.description, ->
result = inputCopy = undefined
beforeEach ->
inputCopy = JSON.parse JSON.stringify config.input
result = expressionParseInteger inputCopy
it "returns the expected result", -> (expect result).toEqual config.output
it "does not modify the input", -> (expect inputCopy).toEqual config.input
run
description: "multiple tokens"
input: [
token: "0"
starts: 35
ends: 74
,
token: "0"
]
output: null
run
description: "zero"
input: [
token: "0"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 0
starts: 35
ends: 74
run
description: "multiple zeroes"
input: [
token: "000"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 0
starts: 35
ends: 74
run
description: "single digit"
input: [
token: "4"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 4
starts: 35
ends: 74
run
description: "multiple digits"
input: [
token: "478"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 478
starts: 35
ends: 74
run
description: "single digit preceded by zeroes"
input: [
token: "004"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 4
starts: 35
ends: 74
run
description: "multiple digits preceded by zeroes"
input: [
token: "00478"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 478
starts: 35
ends: 74
run
description: "single digit followed by zeroes"
input: [
token: "400"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 400
starts: 35
ends: 74
run
description: "multiple digits followed by zeroes"
input: [
token: "47800"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 47800
starts: 35
ends: 74
run
description: "non-digit before digit"
input: [
token: "t0"
starts: 35
ends: 74
]
output: null
run
description: "non-digit after digit"
input: [
token: "0t"
starts: 35
ends: 74
]
output: null
run
description: "non-digit between digits"
input: [
token: "4t5"
starts: 35
ends: 74
]
output: null | 161140 | describe "expression", -> describe "parse", -> describe "integer", ->
rewire = require "rewire"
describe "on calling", ->
expressionParseInteger = rewire "./integer"
run = (config) ->
describe config.description, ->
result = inputCopy = undefined
beforeEach ->
inputCopy = JSON.parse JSON.stringify config.input
result = expressionParseInteger inputCopy
it "returns the expected result", -> (expect result).toEqual config.output
it "does not modify the input", -> (expect inputCopy).toEqual config.input
run
description: "multiple tokens"
input: [
token: "<KEY>"
starts: 35
ends: 74
,
token: "0"
]
output: null
run
description: "zero"
input: [
token: "0"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 0
starts: 35
ends: 74
run
description: "multiple zeroes"
input: [
token: "<KEY>"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 0
starts: 35
ends: 74
run
description: "single digit"
input: [
token: "4"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 4
starts: 35
ends: 74
run
description: "multiple digits"
input: [
token: "<KEY>"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 478
starts: 35
ends: 74
run
description: "single digit preceded by zeroes"
input: [
token: "<KEY>"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 4
starts: 35
ends: 74
run
description: "multiple digits preceded by zeroes"
input: [
token: "<KEY>"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 478
starts: 35
ends: 74
run
description: "single digit followed by zeroes"
input: [
token: "<KEY>"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 400
starts: 35
ends: 74
run
description: "multiple digits followed by zeroes"
input: [
token: "<KEY>"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 47800
starts: 35
ends: 74
run
description: "non-digit before digit"
input: [
token: "<KEY>"
starts: 35
ends: 74
]
output: null
run
description: "non-digit after digit"
input: [
token: "<KEY>"
starts: 35
ends: 74
]
output: null
run
description: "non-digit between digits"
input: [
token: "<KEY>"
starts: 35
ends: 74
]
output: null | true | describe "expression", -> describe "parse", -> describe "integer", ->
rewire = require "rewire"
describe "on calling", ->
expressionParseInteger = rewire "./integer"
run = (config) ->
describe config.description, ->
result = inputCopy = undefined
beforeEach ->
inputCopy = JSON.parse JSON.stringify config.input
result = expressionParseInteger inputCopy
it "returns the expected result", -> (expect result).toEqual config.output
it "does not modify the input", -> (expect inputCopy).toEqual config.input
run
description: "multiple tokens"
input: [
token: "PI:KEY:<KEY>END_PI"
starts: 35
ends: 74
,
token: "0"
]
output: null
run
description: "zero"
input: [
token: "0"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 0
starts: 35
ends: 74
run
description: "multiple zeroes"
input: [
token: "PI:KEY:<KEY>END_PI"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 0
starts: 35
ends: 74
run
description: "single digit"
input: [
token: "4"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 4
starts: 35
ends: 74
run
description: "multiple digits"
input: [
token: "PI:KEY:<KEY>END_PI"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 478
starts: 35
ends: 74
run
description: "single digit preceded by zeroes"
input: [
token: "PI:KEY:<KEY>END_PI"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 4
starts: 35
ends: 74
run
description: "multiple digits preceded by zeroes"
input: [
token: "PI:KEY:<KEY>END_PI"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 478
starts: 35
ends: 74
run
description: "single digit followed by zeroes"
input: [
token: "PI:KEY:<KEY>END_PI"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 400
starts: 35
ends: 74
run
description: "multiple digits followed by zeroes"
input: [
token: "PI:KEY:<KEY>END_PI"
starts: 35
ends: 74
]
output:
primitive: "integer"
value: 47800
starts: 35
ends: 74
run
description: "non-digit before digit"
input: [
token: "PI:KEY:<KEY>END_PI"
starts: 35
ends: 74
]
output: null
run
description: "non-digit after digit"
input: [
token: "PI:KEY:<KEY>END_PI"
starts: 35
ends: 74
]
output: null
run
description: "non-digit between digits"
input: [
token: "PI:KEY:<KEY>END_PI"
starts: 35
ends: 74
]
output: null |
[
{
"context": "escription \"extended module test\";\n contact \"Peter K. Lee <peter@corenova.com>\";\n organization \"Coreno",
"end": 511,
"score": 0.9998821020126343,
"start": 499,
"tag": "NAME",
"value": "Peter K. Lee"
},
{
"context": "tended module test\";\n contact ... | test/extension/module.coffee | spmiller/yang-js | 0 | should = require 'should'
describe 'simple schema', ->
schema = 'module foo;'
it "should parse simple module statement", ->
y = Yang.parse schema
y.should.have.property('tag').and.equal('foo')
it "should create simple module element", ->
o = (Yang schema)()
o.should.be.instanceof(Object)
describe 'extended schema', ->
schema = """
module foo {
prefix foo;
namespace "http://corenova.com";
description "extended module test";
contact "Peter K. Lee <peter@corenova.com>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
identity core {
description "the core identity";
}
grouping some-shared-info {
leaf a { type string; }
leaf b { type uint8; }
}
container bar {
uses some-shared-info;
}
rpc some-method-1 {
description "update config for 'bar'";
input {
uses some-shared-info;
}
}
rpc some-method-2;
}
"""
it "should parse extended module statement", ->
y = Yang.parse schema
y.prefix.should.have.property('tag').and.equal('foo')
it "should convert toJSON", ->
y = Yang.parse schema
obj = y.toJSON()
obj.should.have.property('module').and.have.property('foo')
it "should create extended module element", ->
o = (Yang schema)()
o.get('/').should.have.property('foo:bar')
it "should evaluate configuration data", ->
o = (Yang schema)
'foo:bar':
'foo:a': 'hello' # fully qualifed property name
b: 10 # contextual property name
o.get('foo:bar').should.have.property('a').and.equal('hello')
o.get('foo:bar').should.have.property('b').and.equal(10)
it "should implement functional module", ->
o = (Yang schema)
'foo:bar':
a: 'hello'
b: 10
'foo:some-method-1': (input) ->
bar = @['foo:bar']
bar.a = input.a
bar.b = input.b
return message: 'success'
o.in('some-method-1').do
a: 'bye'
b: 0
.then (res) ->
res.should.have.property('message').and.equal('success')
o.get('foo:bar').should.have.property('a').and.equal('bye')
o.get('foo:bar').should.have.property('b').and.equal(0)
describe 'augment schema (local)', ->
schema = """
module foo {
prefix foo;
namespace "http://corenova.com";
description "augment module test";
container bar {
leaf a1;
}
augment "/foo:bar" {
leaf a2;
}
augment "/foo:bar" {
leaf a3;
}
}
"""
it "should parse augment module statement", ->
y = Yang.parse schema
y.prefix.should.have.property('tag').and.equal('foo')
y.locate('/bar/a2').should.have.property('tag').and.equal('a2')
y.locate('/bar/a3').should.have.property('tag').and.equal('a3')
describe 'augment schema (external)', ->
before -> Yang.clear()
schema1 = """
module foo {
prefix foo;
namespace "http://corenova.com";
description "augment module test";
grouping test {
container c3 {
leaf a3 { type string; }
}
}
container c1 {
container c2 {
leaf a1;
}
}
}
"""
schema2 = """
module bar {
prefix bar;
import foo { prefix foo; }
augment "/foo:c1/foo:c2" {
leaf a2;
}
augment "/foo:c1" {
uses foo:test;
}
}
"""
it "should parse augment module statement", ->
y1 = Yang.use (Yang.parse schema1)
y2 = Yang.parse schema2
y2.locate('/foo:c1/c2/bar:a2').should.have.property('tag').and.equal('a2')
y2.locate('/foo:c1/bar:c3').should.have.property('tag').and.equal('c3')
o = y2.eval
'foo:c1':
'bar:c3':
a3: 'hello'
o.get('/foo:c1/bar:c3').should.have.property('bar:a3').and.equal('hello')
describe "import schema", ->
before -> Yang.clear()
schema1 = """
module foo {
prefix foo;
namespace "http://corenova.com/yang/bar";
description "extended module test";
contact "Peter K. Lee <peter@corenova.com>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
grouping some-shared-info {
leaf a { type string; }
leaf b { type uint8; }
}
}
"""
schema2 = """
module bar {
prefix bar;
namespace "http://corenova.com/yang/foo";
import foo { prefix f; }
description "extended module test";
contact "Peter K. Lee <peter@corenova.com>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
container xyz {
description "empty container";
uses f:some-shared-info;
}
}
"""
it "should parse import statement", ->
y1 = Yang.use (Yang.parse schema1)
y2 = Yang.parse schema2
y2.prefix.should.have.property('tag').and.equal('bar')
describe 'include schema', ->
before -> Yang.clear()
schema = """
module foo {
prefix foo;
namespace "http://corenova.com/yang/foo";
include A;
include B;
description "extended module test";
contact "Peter K. Lee <peter@corenova.com>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
grouping some-shared-info {
leaf a { type string; }
leaf b { type uint8; }
}
}
"""
it "should parse submodule schema", ->
sub = """
submodule A {
belongs-to foo {
prefix foo;
}
description "extended module test";
contact "Peter K. Lee <peter@corenova.com>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
revision 2016-06-28 {
description
"Test revision";
}
typedef T1 {
type uint8;
}
}
"""
y = Yang.use (Yang.parse sub, false) # compile=false necessary!
y['belongs-to'].should.have.property('tag').and.equal('foo')
it "should parse submodule schema (include another submodule)", ->
sub = """
submodule B {
belongs-to foo {
prefix foo;
}
include A;
description "extended module test";
contact "Peter K. Lee <peter@corenova.com>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
revision 2016-06-28 {
description
"Test revision";
}
container xyz {
uses foo:some-shared-info;
leaf c { type T1; }
}
}
"""
y = Yang.use (Yang.parse sub, false) # compile=false necessary!
y['belongs-to'].should.have.property('tag').and.equal('foo')
it "should parse include statement", ->
y = Yang.parse schema
xyz = y.match('container','xyz')
xyz.should.have.property('leaf')
| 71700 | should = require 'should'
describe 'simple schema', ->
schema = 'module foo;'
it "should parse simple module statement", ->
y = Yang.parse schema
y.should.have.property('tag').and.equal('foo')
it "should create simple module element", ->
o = (Yang schema)()
o.should.be.instanceof(Object)
describe 'extended schema', ->
schema = """
module foo {
prefix foo;
namespace "http://corenova.com";
description "extended module test";
contact "<NAME> <<EMAIL>>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
identity core {
description "the core identity";
}
grouping some-shared-info {
leaf a { type string; }
leaf b { type uint8; }
}
container bar {
uses some-shared-info;
}
rpc some-method-1 {
description "update config for 'bar'";
input {
uses some-shared-info;
}
}
rpc some-method-2;
}
"""
it "should parse extended module statement", ->
y = Yang.parse schema
y.prefix.should.have.property('tag').and.equal('foo')
it "should convert toJSON", ->
y = Yang.parse schema
obj = y.toJSON()
obj.should.have.property('module').and.have.property('foo')
it "should create extended module element", ->
o = (Yang schema)()
o.get('/').should.have.property('foo:bar')
it "should evaluate configuration data", ->
o = (Yang schema)
'foo:bar':
'foo:a': 'hello' # fully qualifed property name
b: 10 # contextual property name
o.get('foo:bar').should.have.property('a').and.equal('hello')
o.get('foo:bar').should.have.property('b').and.equal(10)
it "should implement functional module", ->
o = (Yang schema)
'foo:bar':
a: 'hello'
b: 10
'foo:some-method-1': (input) ->
bar = @['foo:bar']
bar.a = input.a
bar.b = input.b
return message: 'success'
o.in('some-method-1').do
a: 'bye'
b: 0
.then (res) ->
res.should.have.property('message').and.equal('success')
o.get('foo:bar').should.have.property('a').and.equal('bye')
o.get('foo:bar').should.have.property('b').and.equal(0)
describe 'augment schema (local)', ->
schema = """
module foo {
prefix foo;
namespace "http://corenova.com";
description "augment module test";
container bar {
leaf a1;
}
augment "/foo:bar" {
leaf a2;
}
augment "/foo:bar" {
leaf a3;
}
}
"""
it "should parse augment module statement", ->
y = Yang.parse schema
y.prefix.should.have.property('tag').and.equal('foo')
y.locate('/bar/a2').should.have.property('tag').and.equal('a2')
y.locate('/bar/a3').should.have.property('tag').and.equal('a3')
describe 'augment schema (external)', ->
before -> Yang.clear()
schema1 = """
module foo {
prefix foo;
namespace "http://corenova.com";
description "augment module test";
grouping test {
container c3 {
leaf a3 { type string; }
}
}
container c1 {
container c2 {
leaf a1;
}
}
}
"""
schema2 = """
module bar {
prefix bar;
import foo { prefix foo; }
augment "/foo:c1/foo:c2" {
leaf a2;
}
augment "/foo:c1" {
uses foo:test;
}
}
"""
it "should parse augment module statement", ->
y1 = Yang.use (Yang.parse schema1)
y2 = Yang.parse schema2
y2.locate('/foo:c1/c2/bar:a2').should.have.property('tag').and.equal('a2')
y2.locate('/foo:c1/bar:c3').should.have.property('tag').and.equal('c3')
o = y2.eval
'foo:c1':
'bar:c3':
a3: 'hello'
o.get('/foo:c1/bar:c3').should.have.property('bar:a3').and.equal('hello')
describe "import schema", ->
before -> Yang.clear()
schema1 = """
module foo {
prefix foo;
namespace "http://corenova.com/yang/bar";
description "extended module test";
contact "<NAME> <<EMAIL>>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
grouping some-shared-info {
leaf a { type string; }
leaf b { type uint8; }
}
}
"""
schema2 = """
module bar {
prefix bar;
namespace "http://corenova.com/yang/foo";
import foo { prefix f; }
description "extended module test";
contact "<NAME> <<EMAIL>>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
container xyz {
description "empty container";
uses f:some-shared-info;
}
}
"""
it "should parse import statement", ->
y1 = Yang.use (Yang.parse schema1)
y2 = Yang.parse schema2
y2.prefix.should.have.property('tag').and.equal('bar')
describe 'include schema', ->
before -> Yang.clear()
schema = """
module foo {
prefix foo;
namespace "http://corenova.com/yang/foo";
include A;
include B;
description "extended module test";
contact "<NAME> <<EMAIL>>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
grouping some-shared-info {
leaf a { type string; }
leaf b { type uint8; }
}
}
"""
it "should parse submodule schema", ->
sub = """
submodule A {
belongs-to foo {
prefix foo;
}
description "extended module test";
contact "<NAME> <<EMAIL>>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
revision 2016-06-28 {
description
"Test revision";
}
typedef T1 {
type uint8;
}
}
"""
y = Yang.use (Yang.parse sub, false) # compile=false necessary!
y['belongs-to'].should.have.property('tag').and.equal('foo')
it "should parse submodule schema (include another submodule)", ->
sub = """
submodule B {
belongs-to foo {
prefix foo;
}
include A;
description "extended module test";
contact "<NAME> <<EMAIL>>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
revision 2016-06-28 {
description
"Test revision";
}
container xyz {
uses foo:some-shared-info;
leaf c { type T1; }
}
}
"""
y = Yang.use (Yang.parse sub, false) # compile=false necessary!
y['belongs-to'].should.have.property('tag').and.equal('foo')
it "should parse include statement", ->
y = Yang.parse schema
xyz = y.match('container','xyz')
xyz.should.have.property('leaf')
| true | should = require 'should'
describe 'simple schema', ->
schema = 'module foo;'
it "should parse simple module statement", ->
y = Yang.parse schema
y.should.have.property('tag').and.equal('foo')
it "should create simple module element", ->
o = (Yang schema)()
o.should.be.instanceof(Object)
describe 'extended schema', ->
schema = """
module foo {
prefix foo;
namespace "http://corenova.com";
description "extended module test";
contact "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
identity core {
description "the core identity";
}
grouping some-shared-info {
leaf a { type string; }
leaf b { type uint8; }
}
container bar {
uses some-shared-info;
}
rpc some-method-1 {
description "update config for 'bar'";
input {
uses some-shared-info;
}
}
rpc some-method-2;
}
"""
it "should parse extended module statement", ->
y = Yang.parse schema
y.prefix.should.have.property('tag').and.equal('foo')
it "should convert toJSON", ->
y = Yang.parse schema
obj = y.toJSON()
obj.should.have.property('module').and.have.property('foo')
it "should create extended module element", ->
o = (Yang schema)()
o.get('/').should.have.property('foo:bar')
it "should evaluate configuration data", ->
o = (Yang schema)
'foo:bar':
'foo:a': 'hello' # fully qualifed property name
b: 10 # contextual property name
o.get('foo:bar').should.have.property('a').and.equal('hello')
o.get('foo:bar').should.have.property('b').and.equal(10)
it "should implement functional module", ->
o = (Yang schema)
'foo:bar':
a: 'hello'
b: 10
'foo:some-method-1': (input) ->
bar = @['foo:bar']
bar.a = input.a
bar.b = input.b
return message: 'success'
o.in('some-method-1').do
a: 'bye'
b: 0
.then (res) ->
res.should.have.property('message').and.equal('success')
o.get('foo:bar').should.have.property('a').and.equal('bye')
o.get('foo:bar').should.have.property('b').and.equal(0)
describe 'augment schema (local)', ->
schema = """
module foo {
prefix foo;
namespace "http://corenova.com";
description "augment module test";
container bar {
leaf a1;
}
augment "/foo:bar" {
leaf a2;
}
augment "/foo:bar" {
leaf a3;
}
}
"""
it "should parse augment module statement", ->
y = Yang.parse schema
y.prefix.should.have.property('tag').and.equal('foo')
y.locate('/bar/a2').should.have.property('tag').and.equal('a2')
y.locate('/bar/a3').should.have.property('tag').and.equal('a3')
describe 'augment schema (external)', ->
before -> Yang.clear()
schema1 = """
module foo {
prefix foo;
namespace "http://corenova.com";
description "augment module test";
grouping test {
container c3 {
leaf a3 { type string; }
}
}
container c1 {
container c2 {
leaf a1;
}
}
}
"""
schema2 = """
module bar {
prefix bar;
import foo { prefix foo; }
augment "/foo:c1/foo:c2" {
leaf a2;
}
augment "/foo:c1" {
uses foo:test;
}
}
"""
it "should parse augment module statement", ->
y1 = Yang.use (Yang.parse schema1)
y2 = Yang.parse schema2
y2.locate('/foo:c1/c2/bar:a2').should.have.property('tag').and.equal('a2')
y2.locate('/foo:c1/bar:c3').should.have.property('tag').and.equal('c3')
o = y2.eval
'foo:c1':
'bar:c3':
a3: 'hello'
o.get('/foo:c1/bar:c3').should.have.property('bar:a3').and.equal('hello')
describe "import schema", ->
before -> Yang.clear()
schema1 = """
module foo {
prefix foo;
namespace "http://corenova.com/yang/bar";
description "extended module test";
contact "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
grouping some-shared-info {
leaf a { type string; }
leaf b { type uint8; }
}
}
"""
schema2 = """
module bar {
prefix bar;
namespace "http://corenova.com/yang/foo";
import foo { prefix f; }
description "extended module test";
contact "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
container xyz {
description "empty container";
uses f:some-shared-info;
}
}
"""
it "should parse import statement", ->
y1 = Yang.use (Yang.parse schema1)
y2 = Yang.parse schema2
y2.prefix.should.have.property('tag').and.equal('bar')
describe 'include schema', ->
before -> Yang.clear()
schema = """
module foo {
prefix foo;
namespace "http://corenova.com/yang/foo";
include A;
include B;
description "extended module test";
contact "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
grouping some-shared-info {
leaf a { type string; }
leaf b { type uint8; }
}
}
"""
it "should parse submodule schema", ->
sub = """
submodule A {
belongs-to foo {
prefix foo;
}
description "extended module test";
contact "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
revision 2016-06-28 {
description
"Test revision";
}
typedef T1 {
type uint8;
}
}
"""
y = Yang.use (Yang.parse sub, false) # compile=false necessary!
y['belongs-to'].should.have.property('tag').and.equal('foo')
it "should parse submodule schema (include another submodule)", ->
sub = """
submodule B {
belongs-to foo {
prefix foo;
}
include A;
description "extended module test";
contact "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>";
organization "Corenova Technologies, Inc.";
reference "http://github.com/corenova/yang-js";
revision 2016-06-28 {
description
"Test revision";
}
container xyz {
uses foo:some-shared-info;
leaf c { type T1; }
}
}
"""
y = Yang.use (Yang.parse sub, false) # compile=false necessary!
y['belongs-to'].should.have.property('tag').and.equal('foo')
it "should parse include statement", ->
y = Yang.parse schema
xyz = y.match('container','xyz')
xyz.should.have.property('leaf')
|
[
{
"context": ")\n\n @foreignTypeKey = options.foreignTypeKey || \"#{@foreignLabel}_type\"\n @model.encode @foreignTypeKey\n\n provideDefa",
"end": 620,
"score": 0.97966068983078,
"start": 598,
"tag": "KEY",
"value": "\"#{@foreignLabel}_type"
},
{
"context": ",\n inverseOf... | modules/model_layer/associations/polymorphic_has_many_association.coffee | nickjs/batman.js | 3 | HasManyAssociation = require './has_many_association'
PolymorphicAssociationSet = require './polymorphic_association_set'
PolymorphicAssociationSetIndex = require './polymorphic_association_set_index'
{developer, mixin} = require 'foundation'
{helpers} = require 'utilities'
module.exports = class PolymorphicHasManyAssociation extends HasManyAssociation
proxyClass: PolymorphicAssociationSet
isPolymorphic: true
constructor: (model, label, options) ->
@foreignLabel = options.as
delete options.as
super(model, label, options)
@foreignTypeKey = options.foreignTypeKey || "#{@foreignLabel}_type"
@model.encode @foreignTypeKey
provideDefaults: (options) ->
mixin {}, super,
inverseOf: @foreignLabel
foreignKey: "#{@foreignLabel}_id"
apply: (baseSaveError, base) ->
unless baseSaveError
if relations = @getFromAttributes(base)
super
relations.forEach (model) => model.set @foreignTypeKey, @modelType()
return
proxyClassInstanceForKey: (indexValue) ->
new @proxyClass(indexValue, @modelType(), this)
getRelatedModelForType: (type) ->
scope = @scope()
if type
relatedModel = scope?[type]
relatedModel ||= scope?[helpers.camelize(type)]
else
relatedModel = @getRelatedModel()
developer.do ->
if Batman.currentApp? and not relatedModel
developer.warn "Related model #{type} for hasMany polymorphic association #{@label} not found."
relatedModel
modelType: -> @model.get('resourceName')
setIndex: ->
@typeIndex ||= new PolymorphicAssociationSetIndex(this, @modelType(), @[@indexRelatedModelOn])
encoder: ->
association = this
(relationSet, _, __, record) ->
if relationSet?
jsonArray = []
relationSet.forEach (relation) ->
relationJSON = relation.toJSON()
relationJSON[association.foreignKey] = record.get(association.primaryKey)
relationJSON[association.foreignTypeKey] = association.modelType()
jsonArray.push relationJSON
jsonArray
decoder: ->
association = this
(data, key, _, __, parentRecord) ->
children = association.getFromAttributes(parentRecord) || association.setForRecord(parentRecord)
newChildren = children.filter((relation) -> relation.isNew()).toArray()
allRecords = []
for jsonObject in data
type = jsonObject[association.options.foreignTypeKey]
unless relatedModel = association.getRelatedModelForType(type)
developer.error "Can't decode model #{association.options.name} because it hasn't been loaded yet!"
return
id = jsonObject[relatedModel.primaryKey]
record = relatedModel._loadIdentity(id)
if record?
record._withoutDirtyTracking -> @fromJSON(jsonObject)
allRecords.push(record)
else
if newChildren.length > 0
record = newChildren.shift()
record._withoutDirtyTracking -> @fromJSON(jsonObject)
record = relatedModel._mapIdentity(record)
else
record = relatedModel.createFromJSON(jsonObject)
allRecords.push(record)
if association.options.inverseOf
record._withoutDirtyTracking ->
record.set(association.options.inverseOf, parentRecord)
if association.options.replaceFromJSON
children.replace(allRecords)
else
children.addArray(allRecords)
children.markAsLoaded()
children
| 91687 | HasManyAssociation = require './has_many_association'
PolymorphicAssociationSet = require './polymorphic_association_set'
PolymorphicAssociationSetIndex = require './polymorphic_association_set_index'
{developer, mixin} = require 'foundation'
{helpers} = require 'utilities'
module.exports = class PolymorphicHasManyAssociation extends HasManyAssociation
proxyClass: PolymorphicAssociationSet
isPolymorphic: true
constructor: (model, label, options) ->
@foreignLabel = options.as
delete options.as
super(model, label, options)
@foreignTypeKey = options.foreignTypeKey || <KEY>"
@model.encode @foreignTypeKey
provideDefaults: (options) ->
mixin {}, super,
inverseOf: @foreignLabel
foreignKey: <KEY>"
apply: (baseSaveError, base) ->
unless baseSaveError
if relations = @getFromAttributes(base)
super
relations.forEach (model) => model.set @foreignTypeKey, @modelType()
return
proxyClassInstanceForKey: (indexValue) ->
new @proxyClass(indexValue, @modelType(), this)
getRelatedModelForType: (type) ->
scope = @scope()
if type
relatedModel = scope?[type]
relatedModel ||= scope?[helpers.camelize(type)]
else
relatedModel = @getRelatedModel()
developer.do ->
if Batman.currentApp? and not relatedModel
developer.warn "Related model #{type} for hasMany polymorphic association #{@label} not found."
relatedModel
modelType: -> @model.get('resourceName')
setIndex: ->
@typeIndex ||= new PolymorphicAssociationSetIndex(this, @modelType(), @[@indexRelatedModelOn])
encoder: ->
association = this
(relationSet, _, __, record) ->
if relationSet?
jsonArray = []
relationSet.forEach (relation) ->
relationJSON = relation.toJSON()
relationJSON[association.foreignKey] = record.get(association.primaryKey)
relationJSON[association.foreignTypeKey] = association.modelType()
jsonArray.push relationJSON
jsonArray
decoder: ->
association = this
(data, key, _, __, parentRecord) ->
children = association.getFromAttributes(parentRecord) || association.setForRecord(parentRecord)
newChildren = children.filter((relation) -> relation.isNew()).toArray()
allRecords = []
for jsonObject in data
type = jsonObject[association.options.foreignTypeKey]
unless relatedModel = association.getRelatedModelForType(type)
developer.error "Can't decode model #{association.options.name} because it hasn't been loaded yet!"
return
id = jsonObject[relatedModel.primaryKey]
record = relatedModel._loadIdentity(id)
if record?
record._withoutDirtyTracking -> @fromJSON(jsonObject)
allRecords.push(record)
else
if newChildren.length > 0
record = newChildren.shift()
record._withoutDirtyTracking -> @fromJSON(jsonObject)
record = relatedModel._mapIdentity(record)
else
record = relatedModel.createFromJSON(jsonObject)
allRecords.push(record)
if association.options.inverseOf
record._withoutDirtyTracking ->
record.set(association.options.inverseOf, parentRecord)
if association.options.replaceFromJSON
children.replace(allRecords)
else
children.addArray(allRecords)
children.markAsLoaded()
children
| true | HasManyAssociation = require './has_many_association'
PolymorphicAssociationSet = require './polymorphic_association_set'
PolymorphicAssociationSetIndex = require './polymorphic_association_set_index'
{developer, mixin} = require 'foundation'
{helpers} = require 'utilities'
module.exports = class PolymorphicHasManyAssociation extends HasManyAssociation
proxyClass: PolymorphicAssociationSet
isPolymorphic: true
constructor: (model, label, options) ->
@foreignLabel = options.as
delete options.as
super(model, label, options)
@foreignTypeKey = options.foreignTypeKey || PI:KEY:<KEY>END_PI"
@model.encode @foreignTypeKey
provideDefaults: (options) ->
mixin {}, super,
inverseOf: @foreignLabel
foreignKey: PI:KEY:<KEY>END_PI"
apply: (baseSaveError, base) ->
unless baseSaveError
if relations = @getFromAttributes(base)
super
relations.forEach (model) => model.set @foreignTypeKey, @modelType()
return
proxyClassInstanceForKey: (indexValue) ->
new @proxyClass(indexValue, @modelType(), this)
getRelatedModelForType: (type) ->
scope = @scope()
if type
relatedModel = scope?[type]
relatedModel ||= scope?[helpers.camelize(type)]
else
relatedModel = @getRelatedModel()
developer.do ->
if Batman.currentApp? and not relatedModel
developer.warn "Related model #{type} for hasMany polymorphic association #{@label} not found."
relatedModel
modelType: -> @model.get('resourceName')
setIndex: ->
@typeIndex ||= new PolymorphicAssociationSetIndex(this, @modelType(), @[@indexRelatedModelOn])
encoder: ->
association = this
(relationSet, _, __, record) ->
if relationSet?
jsonArray = []
relationSet.forEach (relation) ->
relationJSON = relation.toJSON()
relationJSON[association.foreignKey] = record.get(association.primaryKey)
relationJSON[association.foreignTypeKey] = association.modelType()
jsonArray.push relationJSON
jsonArray
decoder: ->
association = this
(data, key, _, __, parentRecord) ->
children = association.getFromAttributes(parentRecord) || association.setForRecord(parentRecord)
newChildren = children.filter((relation) -> relation.isNew()).toArray()
allRecords = []
for jsonObject in data
type = jsonObject[association.options.foreignTypeKey]
unless relatedModel = association.getRelatedModelForType(type)
developer.error "Can't decode model #{association.options.name} because it hasn't been loaded yet!"
return
id = jsonObject[relatedModel.primaryKey]
record = relatedModel._loadIdentity(id)
if record?
record._withoutDirtyTracking -> @fromJSON(jsonObject)
allRecords.push(record)
else
if newChildren.length > 0
record = newChildren.shift()
record._withoutDirtyTracking -> @fromJSON(jsonObject)
record = relatedModel._mapIdentity(record)
else
record = relatedModel.createFromJSON(jsonObject)
allRecords.push(record)
if association.options.inverseOf
record._withoutDirtyTracking ->
record.set(association.options.inverseOf, parentRecord)
if association.options.replaceFromJSON
children.replace(allRecords)
else
children.addArray(allRecords)
children.markAsLoaded()
children
|
[
{
"context": "aes-256-cbc$DWKO1589bRhzNrgivtoXyw=='\n pass = 'pass'\n\n tokencrypto.getDecrypted(encryptedMsg, pass",
"end": 261,
"score": 0.9994706511497498,
"start": 257,
"tag": "PASSWORD",
"value": "pass"
}
] | test/tokencrypto-test.coffee | apiaryio/ivy | 5 | {assert} = require 'chai'
tokencrypto = require '../src/tokencrypto'
describe 'tokencrypto', ->
it 'Nodejs 4 encrypted msg in decryptable in newer node', ->
msg = 'Hello Crypto'
encryptedMsg = '$aes-256-cbc$DWKO1589bRhzNrgivtoXyw=='
pass = 'pass'
tokencrypto.getDecrypted(encryptedMsg, pass, (err, decryptedMsg) ->
assert.equal(msg, decryptedMsg)
)
| 77600 | {assert} = require 'chai'
tokencrypto = require '../src/tokencrypto'
describe 'tokencrypto', ->
it 'Nodejs 4 encrypted msg in decryptable in newer node', ->
msg = 'Hello Crypto'
encryptedMsg = '$aes-256-cbc$DWKO1589bRhzNrgivtoXyw=='
pass = '<PASSWORD>'
tokencrypto.getDecrypted(encryptedMsg, pass, (err, decryptedMsg) ->
assert.equal(msg, decryptedMsg)
)
| true | {assert} = require 'chai'
tokencrypto = require '../src/tokencrypto'
describe 'tokencrypto', ->
it 'Nodejs 4 encrypted msg in decryptable in newer node', ->
msg = 'Hello Crypto'
encryptedMsg = '$aes-256-cbc$DWKO1589bRhzNrgivtoXyw=='
pass = 'PI:PASSWORD:<PASSWORD>END_PI'
tokencrypto.getDecrypted(encryptedMsg, pass, (err, decryptedMsg) ->
assert.equal(msg, decryptedMsg)
)
|
[
{
"context": "udder\": \"VB\",\n \"merge\": \"VB\",\n \"most-favored\": \"JJS\",\n \"wander\": \"VB\",\n \"exults\": \"VBZ\",\n \"aided\":",
"end": 42327,
"score": 0.8122537136077881,
"start": 42324,
"tag": "NAME",
"value": "JJS"
},
{
"context": ": \"JJR\",\n \"distinguishing\"... | node_modules/nlpsum/nlp-node-master/tag/helpers/data.coffee | birdmanrules/birdmanrules.github.io | 49 | require("sugar")
exports.lexicon= {
"one": "JJ",
"two": "CD",
"three": "JJ",
"four": "JJ",
"five": "CD",
"six": "CD",
"seven": "CD",
"eight": "CD",
"nine": "CD",
"ten": "CD",
"eleven": "JJ",
"twelve": "CD",
"thirteen": "CD",
"fourteen": "CD",
"fifteen": "CD",
"sixteen": "CD",
"seventeen": "CD",
"eighteen": "CD",
"nineteen": "CD",
"twenty": "CD",
"thirty": "CD",
"forty": "CD",
"fifty": "CD",
"sixty": "CD",
"seventy": "CD",
"eighty": "CD",
"ninety": "CD",
"hundred": "CD",
"thousand": "CD",
"million": "CD",
"billion": "JJ",
"trillion": "JJ",
"clotted": "JJ",
"localized": "JJ",
"spidery": "JJ",
"western": "JJ",
"famed": "JJ",
"wooded": "JJ",
"grueling": "JJ",
"shocked": "JJ",
"inanimate": "JJ",
"pawed": "VBN",
"confronts": "VBZ",
"uplifting": "JJ",
"stern": "JJ",
"darling": "JJ",
"nondiscretionary": "JJ",
"exposited": "VBN",
"assimilated": "VBN",
"stipulate": "VBP",
"sprawling": "JJ",
"gay-ess": "VBP",
"his": "PP",
"hit": "VBD",
"fit": "JJ",
"screaming": "JJ",
"him": "PRP",
"effecte": "VB",
"plebian": "JJ",
"specialized": "JJ",
"wooden": "JJ",
"combine": "VB",
"uninfluenced": "VBN",
"announced": "JJ",
"adapt": "VB",
"underfoot": "RB",
"elsewhere": "RB",
"silent": "JJ",
"signed": "JJ",
"disturbed": "JJ",
"renovated": "VBN",
"needed": "JJ",
"master": "JJ",
"yield": "VB",
"mutilated": "JJ",
"brawny": "JJ",
"recapitalized": "VBN",
"then": "JJ",
"them": "PRP",
"thee": "PRP",
"they": "PRP",
"diminishing": "JJ",
"resonates": "VBZ",
"transverse": "JJ",
"semicircular": "JJ",
"willinge": "JJ",
"civilized": "JJ",
"purged": "VBN",
"ffreind": "VB",
"padded": "JJ",
"apace": "RB",
"teach": "VBP",
"affronted": "VBN",
"nicely": "RB",
"succumb": "VB",
"extend": "VB",
"brainwashed": "VBN",
"unhealed": "JJ",
"fondled": "VBN",
"fro": "RB",
"much": "JJ",
"dehumanised": "JJ",
"fry": "VB",
"spit": "VB",
"spin": "VB",
"wildcat": "JJ",
"misconstrued": "VBN",
"prostrate": "JJ",
"conditioned": "JJ",
"hone": "VB",
"mummified": "VBN",
"honk": "VBP",
"tahitian": "JJ",
"conformed": "VBN",
"maybe": "RB",
"torpedoed": "VBN",
"spotty": "JJ",
"peremptory": "JJ",
"corporate": "JJ",
"golden": "JJ",
"has": "VBZ",
"fiduciary": "JJ",
"perchance": "RB",
"bottom": "JJ",
"inhuman": "JJ",
"calls": "VBZ",
"considerin": "VBG",
"starring": "JJ",
"catchy": "JJ",
"sticle": "VB",
"concerned": "JJ",
"shoots": "VBZ",
"despised": "JJ",
"raped": "VBN",
"grasping": "JJ",
"perfumed": "JJ",
"nineteenth": "CD",
"whom": "WP",
"soldering": "JJ",
"young": "JJ",
"thoroughgoing": "JJ",
"smelling": "JJ",
"whoever": "WP",
"grapples": "VBZ",
"freelance": "JJ",
"balled": "VBN",
"jerk": "JJ",
"enflamed": "VBN",
"barred": "JJ",
"gloomy": "JJ",
"locked": "JJ",
"exact": "JJ",
"minute": "JJ",
"skewed": "VBN",
"reimpose": "VB",
"hindered": "VBN",
"ogles": "VBZ",
"celebrated": "JJ",
"celebrates": "VBZ",
"me": "PRP",
"climbs": "VBZ",
"dwindling": "JJ",
"my": "PRP",
"impacted": "VBN",
"sprouted": "JJ",
"unjust": "JJ",
"those": "DT",
"perishes": "VBZ",
"laotian": "JJ",
"following": "JJ",
"renew": "VB",
"want": "VBP",
"dumb": "JJ",
"fueled": "VBN",
"shirked": "VBN",
"disconnect": "VB",
"shacked": "VBN",
"overpowering": "JJ",
"henpecked": "JJ",
"sorted": "JJ",
"bedevil": "VB",
"didn": "VBD",
"yellow": "JJ",
"growthy": "JJ",
"presages": "VBZ",
"calming": "JJ",
"spoken": "JJ",
"affords": "VBZ",
"lingering": "JJ",
"raised": "JJ",
"snatch": "VB",
"absorbs": "VBZ",
"so-so": "RB",
"turned": "JJ",
"uninterrupted": "JJ",
"pistachio": "JJ",
"opposite": "JJ",
"discerning": "JJ",
"touchy": "JJ",
"jittery": "JJ",
"scavanged": "VBN",
"imagines": "VBZ",
"inconsistent": "JJ",
"imagined": "JJ",
"reconciling": "JJ",
"transact": "VB",
"surprising": "JJ",
"rejoices": "VBZ",
"etcetera": "RB",
"unlocks": "VBZ",
"welcomes": "VBZ",
"menacing": "JJ",
"fix": "VB",
"offshore": "RB",
"abject": "JJ",
"adjusted": "JJ",
"bankrupts": "VBZ",
"graphed": "VBN",
"ingrained": "JJ",
"assigns": "VBZ",
"anywhere": "RB",
"clean": "JJ",
"wane": "VB",
"may": "MD",
"nonunionized": "JJ",
"completed": "JJ",
"adroit": "JJ",
"plumed": "JJ",
"completes": "VBZ",
"unerring": "JJ",
"rejoin": "VB",
"decomposed": "JJ",
"conpired": "VBN",
"obstruct": "JJ",
"satisfactory": "JJ",
"expressed": "JJ",
"averse": "JJ",
"disparaging": "JJ",
"knows": "VBZ",
"exasperating": "JJ",
"perturbed": "JJ",
"commingled": "VBN",
"revivified": "VBN",
"lively": "JJ",
"pivot": "JJ",
"bubbly": "JJ",
"glean": "VB",
"sealed": "JJ",
"secreted": "VBN",
"societal": "JJ",
"with": "IN",
"abused": "JJ",
"rage": "JJ",
"chomped": "VBN",
"tremble": "VB",
"unparalleled": "JJ",
"refunded": "VBN",
"hairsplitting": "JJ",
"henh": "UH",
"accreted": "VBN",
"caused": "VBN",
"beware": "VB",
"about": "IN",
"predawn": "JJ",
"overexpose": "VB",
"wilkes": "VBZ",
"insufficiently": "RB",
"sane": "JJ",
"semifinished": "VBN",
"sank": "VBD",
"abbreviated": "JJ",
"ultravehement": "JJ",
"thrice": "RB",
"straggle": "VBP",
"pays": "VBZ",
"dwells": "VBZ",
"obtrudes": "VBZ",
"daunted": "JJ",
"unrewarding": "JJ",
"hast": "VBP",
"dehumanized": "JJ",
"depart": "VB",
"reclaimed": "VBN",
"initiated": "VBN",
"corrected": "JJ",
"initiates": "VBZ",
"grope": "VB",
"scramble": "VBP",
"bogs": "VBZ",
"meaner": "JJR",
"called": "VBN",
"somali": "JJ",
"bonded": "VBN",
"huge": "JJ",
"hugh": "JJ",
"dismissed": "JJ",
"disgraced": "JJ",
"malevolent": "JJ",
"resemble": "VB",
"accuse": "VB",
"peppy": "JJ",
"installed": "VBN",
"bummed": "VBN",
"parental": "JJ",
"bypass": "VB",
"reintroduced": "VBN",
"abandons": "VBZ",
"shocking": "JJ",
"scoops": "VBZ",
"precautionary": "JJ",
"stifle": "VB",
"de-emphasized": "VBN",
"mutilates": "VBZ",
"blond": "JJ",
"fermented": "VBN",
"peridontal": "JJ",
"understands": "VBZ",
"proliferated": "VBN",
"administrate": "VB",
"indirect": "JJ",
"exterminate": "VB",
"deadly": "JJ",
"affix": "VB",
"behold": "VB",
"overwhelmed": "VBN",
"gooey": "JJ",
"dire": "JJ",
"uncontested": "JJ",
"pleasure": "JJ",
"cooked": "VBN",
"remedy": "JJ",
"damnit": "UH",
"incapacitated": "JJ",
"tanked": "VBN",
"improper": "JJ",
"rumored": "VBN",
"insane": "JJ",
"semidrying": "JJ",
"dipole": "JJ",
"ablated": "JJ",
"thrive": "VBP",
"condoned": "VBN",
"retarded": "JJ",
"nimbler": "JJR",
"longs": "VBZ",
"complements": "VBZ",
"awake": "JJ",
"pressed": "VBN",
"binding": "JJ",
"spencerian": "JJ",
"copes": "VBZ",
"uncouth": "JJ",
"on": "IN",
"ol": "JJ",
"oh": "JJ",
"of": "IN",
"couple": "JJ",
"oneyear": "JJ",
"or": "CC",
"ok": "JJ",
"bounce": "VB",
"bouncy": "JJ",
"greener": "JJR",
"sorbed": "VBN",
"hello": "UH",
"browny": "JJ",
"disjointed": "JJ",
"scraggly": "JJ",
"rican": "JJ",
"discoid": "JJ",
"fragmented": "JJ",
"principal": "JJ",
"consolidated": "JJ",
"paired": "JJ",
"retaliatory": "JJ",
"purges": "VBZ",
"haunt": "VB",
"unsaturated": "JJ",
"intrepid": "JJ",
"puzzling": "JJ",
"last": "RB",
"interfaith": "JJ",
"transient": "JJ",
"doubt": "RB",
"unforseen": "JJ",
"dicker": "VB",
"intercity": "JJ",
"vouchsafes": "VBZ",
"begins": "VBZ",
"tempted": "VBN",
"waning": "JJ",
"sweaty": "JJ",
"ould": "JJ",
"makes": "VBZ",
"panicked": "JJ",
"solo": "JJ",
"hears": "VBZ",
"incertain": "JJ",
"sold": "VBN",
"neutral": "JJ",
"rich": "JJ",
"undeclared": "JJ",
"growing": "JJ",
"retell": "VBP",
"rode": "VBD",
"bolstered": "VBN",
"evolutionary": "JJ",
"altogether": "RB",
"reconsider": "VB",
"prosper": "VBP",
"fortified": "JJ",
"creedal": "JJ",
"concave": "JJ",
"dropping": "JJ",
"witness": "VB",
"frowns": "VBZ",
"unwieldy": "JJ",
"greedy": "JJ",
"underinvestigated": "JJ",
"receding": "JJ",
"imprecates": "VBZ",
"erstwhile": "RB",
"existing": "JJ",
"false": "JJ",
"shrinks": "VBZ",
"tonight": "RB",
"secret": "JJ",
"mustachioed": "JJ",
"depict": "VB",
"cipher": "VB",
"bred": "VBN",
"unstained": "JJ",
"replaster": "VB",
"taps": "VBZ",
"trying": "JJ",
"irk": "JJ",
"undivided": "JJ",
"hooked": "VBN",
"unbundle": "VB",
"wring": "VB",
"taxed": "VBN",
"deathward": "RB",
"nuclear": "JJ",
"roiled": "JJ",
"stubbed": "VBN",
"staring": "JJ",
"indict": "VB",
"willing": "JJ",
"entitle": "VB",
"commuted": "VBN",
"banish": "VB",
"westerly": "JJ",
"greater": "JJR",
"regular": "JJ",
"off": "JJ",
"oft": "RB",
"resuspended": "VBN",
"neoliberal": "JJ",
"falters": "VBZ",
"become": "VB",
"imaginary": "JJ",
"grayer": "JJR",
"replace": "VB",
"grayed": "JJ",
"swimming": "JJ",
"cultivates": "VBZ",
"somewhere": "RB",
"unstanched": "VBN",
"cultivated": "JJ",
"bothers": "VBZ",
"nonfarm": "JJ",
"splintered": "JJ",
"faster-growing": "JJR",
"terminates": "VBZ",
"evident": "JJ",
"shrunk": "VBN",
"obese": "JJ",
"nonetheless": "RB",
"tubular": "JJ",
"druse": "JJ",
"compete": "VB",
"agile": "JJ",
"stinks": "JJ",
"immediate": "JJ",
"worth": "JJ",
"aaawww": "UH",
"summarized": "VBN",
"blanche": "JJ",
"debunked": "VBN",
"superlunary": "JJ",
"troubled": "JJ",
"no-o-o": "UH",
"equals": "VBZ",
"bilevel": "JJ",
"stressed": "JJ",
"absolute": "JJ",
"shootin": "VBG",
"fulfull": "VB",
"unrehearsed": "JJ",
"spearhead": "VB",
"exacts": "VBZ",
"competes": "VBZ",
"ascribe": "VBP",
"overstretch": "VB",
"divorced": "VBN",
"cuddly": "JJ",
"rationed": "VBN",
"nuts": "JJ",
"misleads": "VBZ",
"call": "VB",
"slimmed": "VBN",
"undetected": "JJ",
"slimmer": "JJR",
"coiling": "JJ",
"counter-drill": "VB",
"understates": "VBZ",
"understated": "JJ",
"underperform": "VB",
"sizenine": "JJ",
"volatile": "JJ",
"feeds": "VBZ",
"unfocused": "JJ",
"disputed": "JJ",
"certifies": "VBZ",
"certified": "JJ",
"ugh": "UH",
"affluent": "JJ",
"chortles": "VBZ",
"re-enact": "VB",
"hamstring": "VB",
"another": "DT",
"illustrate": "VB",
"rare": "JJ",
"offhand": "JJ",
"enmeshed": "JJ",
"impelled": "VBN",
"convenient": "JJ",
"confiscated": "VBN",
"thundering": "JJ",
"witnessed": "VBN",
"enshrined": "VBN",
"mid-flight": "RB",
"facaded": "VBN",
"haitian": "JJ",
"haunted": "JJ",
"roundabout": "JJ",
"runs": "VBZ",
"rung": "VBN",
"freshwater": "JJR",
"shoe-horn": "VB",
"pastel": "JJ",
"draws": "VBZ",
"smoggy": "JJ",
"pasted": "VBN",
"fifteenth": "CD",
"drawn": "JJ",
"succumbs": "VBZ",
"bring": "VB",
"had": "VBD",
"engulfs": "VBZ",
"anticipatory": "JJ",
"infirm": "JJ",
"plebeian": "JJ",
"excite": "VB",
"reciprocal": "JJ",
"thrash": "VB",
"dizzy": "JJ",
"municipal": "JJ",
"smug": "JJ",
"wider-body": "JJR",
"fuss": "VB",
"unready": "JJ",
"rasping": "JJ",
"wops": "VBZ",
"doubtless": "RB",
"nilpotent": "JJ",
"eighth": "JJ",
"eroded": "VBN",
"cool": "JJ",
"bemused": "JJ",
"contaminating": "JJ",
"architectural": "JJ",
"gentler": "JJR",
"overblown": "JJ",
"garaged": "VBN",
"largely": "JJ",
"faze": "VB",
"}": ")",
"headstrong": "JJ",
"extols": "VBZ",
"turns": "VBZ",
"reaganite": "JJ",
"detonated": "VBN",
"hand-woven": "VBN",
"foregoing": "JJ",
"peels": "VBZ",
"wonduh": "VB",
"juvenile": "JJ",
"plotted": "VBN",
"regardless": "RB",
"extra": "JJ",
"uphill": "JJ",
"puffed": "JJ",
"coalesce": "VB",
"fell": "VBD",
"unreinforced": "JJ",
"slough": "VB",
"require": "VB",
"prepay": "VB",
"deteriorate": "VB",
"escalate": "VB",
"elaborate": "JJ",
"opts": "VBZ",
"still": "JJ",
"placate": "JJ",
"drop": "VB",
"extradite": "VB",
"grouse": "VBP",
"challenged": "JJ",
"yeah": "UH",
"challenges": "NNPS",
"becalmed": "JJ",
"norwegian": "JJ",
"indochinese": "JJ",
"tangled": "JJ",
"nonprofit": "JJ",
"suffice": "VB",
"flipping": "RB",
"travels": "VBZ",
"tomorrow": "RB",
"brainy": "JJ",
"uninformed": "JJ",
"transferred": "VBN",
"diktat": "JJ",
"overcollateralized": "VBN",
"extinguish": "VB",
"unsubstantiated": "JJ",
"outside": "JJ",
"deep": "JJ",
"custom-built": "VBN",
"chauffeured": "VBN",
"wet": "JJ",
"jeepers": "UH",
"embittered": "JJ",
"paneled": "JJ",
"humbled": "JJ",
"bannnnnng": "VB",
"burst": "VBD",
"anchored": "VBN",
"westbound": "JJ",
"broil": "VB",
"wins": "VBZ",
"outcuss": "VBZ",
"botched": "JJ",
"exploit": "VB",
"amino": "JJ",
"muzzling": "JJ",
"paid": "JJ",
"involved": "JJ",
"offbeat": "JJ",
"performed": "VBN",
"moody": "JJ",
"bickered": "VBN",
"insurgent": "JJ",
"better": "JJ",
"unwilling": "JJ",
"develop": "VB",
"pester": "VB",
"preisolated": "VBN",
"peruvian": "JJ",
"tarpapered": "JJ",
"overbought": "VBN",
"thatcherian": "JJ",
"disproportionate": "JJ",
"propped": "VBN",
"unrequited": "JJ",
"conducts": "VBZ",
"unspoiled": "JJ",
"verbal": "JJ",
"exposed": "JJ",
"intend": "JJ",
"chilean": "JJ",
"fractured": "VBN",
"backup": "JJ",
"curtail": "VB",
"embedded": "JJ",
"balks": "VBZ",
"finishes": "VBZ",
"poor": "JJ",
"titillating": "JJ",
"overseas": "JJ",
"unknown": "JJ",
"unblock": "VB",
"take": "VB",
"coloured": "JJ",
"startin": "VBG",
"coudn": "MD",
"lurch": "JJ",
"excess": "JJ",
"inspires": "VBZ",
"seventeenth": "CD",
"climb": "VB",
"so": "RB",
"macho": "JJ",
"bitten": "VBN",
"persists": "VBZ",
"cubist": "JJ",
"unconcealed": "VBN",
"innocent": "JJ",
"stymie": "VB",
"surpassed": "VBN",
"reject": "JJ",
"lower": "JJR",
"compulsory": "JJ",
"embark": "VB",
"anytime": "RB",
"groundup": "JJ",
"definite": "JJ",
"sarcolemmal": "JJ",
"miter": "VB",
"slighter": "JJR",
"slighted": "JJ",
"liquefied": "JJ",
"obligates": "VBZ",
"blest": "VB",
"fairy": "JJ",
"obligated": "VBN",
"heavy": "JJ",
"transcribe": "VB",
"honest-to-betsy": "RB",
"jolly": "JJ",
"shrivel": "VB",
"earns": "VBZ",
"adds": "VBZ",
"trapped": "JJ",
"imperiled": "VBN",
"deflationary": "JJ",
"late": "JJ",
"adorns": "VBZ",
"adrift": "JJ",
"itemized": "VBN",
"lookit": "VB",
"chief": "JJ",
"ansuh": "VB",
"french": "JJ",
"competing": "JJ",
"boils": "VBZ",
"unburned": "JJ",
"hypo": "JJ",
"doctrinaire": "JJ",
"drafted": "VBN",
"falsify": "VB",
"freed": "VBN",
"hoisted": "VBN",
"memorized": "VBN",
"enroll": "VB",
"substantiates": "VBZ",
"embroidered": "VBN",
"masks": "VBZ",
"makeshift": "JJ",
"grand": "JJ",
"fatty": "JJ",
"seated": "VBN",
"calibrates": "VBZ",
"calibrated": "VBN",
"grenadian": "JJ",
"reviewed": "VBN",
"informal": "JJ",
"questioned": "VBN",
"reemphasizes": "VBZ",
"preparatory": "JJ",
"dilapidated": "JJ",
"undergone": "VBN",
"multivalent": "JJ",
"assists": "VBZ",
"lyophilized": "VBN",
"unimpaired": "JJ",
"opposed": "JJ",
"uncomplaining": "JJ",
"perpetual": "JJ",
"limpid": "JJ",
"purloined": "VBN",
"familar": "JJ",
"similar": "JJ",
"ordered": "JJ",
"dashed": "VBN",
"exterminatin": "VBG",
"assayed": "VBN",
"correlated": "JJ",
"perched": "VBN",
"compact": "JJ",
"insistent": "JJ",
"not": "RB",
"now": "RB",
"nor": "CC",
"unabridged": "JJ",
"yourselves": "PRP",
"curb": "VB",
"sedentary": "JJ",
"enforce": "VB",
"overfunded": "VBN",
"notwithstanding": "RB",
"upsetting": "JJ",
"conducted": "VBN",
"back": "RB",
"foresee": "VBP",
"manage": "VB",
"loyalist": "JJ",
"discontinue": "VB",
"salvages": "VBZ",
"salvaged": "VBN",
"laendler": "JJ",
"meek": "JJ",
"meet": "VB",
"israeli": "JJ",
"peelback": "JJ",
"deeper": "JJR",
"listens": "VBZ",
"embellished": "VBN",
"outdid": "VBD",
"roman": "JJ",
"allow": "VB",
"desensitized": "VBN",
"multiple": "JJ",
"multiply": "VB",
"loser": "JJ",
"constitute": "VBP",
"littered": "VBN",
"delegated": "VBN",
"resumes": "VBZ",
"timed": "VBN",
"confuse": "VB",
"unsupported": "JJ",
"bitch": "JJ",
"newtonian": "JJ",
"crackle": "JJ",
"innovate": "VB",
"enforced": "VBN",
"flying": "JJ",
"enforces": "VBZ",
"thunders": "VBZ",
"venereal": "JJ",
"swollen": "JJ",
"exceed": "VB",
"subtracted": "VBN",
"repeated": "JJ",
"fellow": "JJ",
"rusting": "JJ",
"loadin": "VBG",
"seclude": "VB",
"halting": "JJ",
"telling": "JJ",
"unfinished": "JJ",
"brighten": "VB",
"won": "VBP",
"inherited": "VBN",
"embody": "VBP",
"kinked": "JJ",
"maritime": "JJ",
"scintillating": "JJ",
"forget": "VB",
"canadian": "JJ",
"yearn": "VB",
"coaxed": "VBN",
"austrian": "JJ",
"canine": "JJ",
"intercorporate": "JJ",
"illusory": "JJ",
"southward": "RB",
"re-oriented": "VBN",
"hurrying": "JJ",
"indiscriminate": "JJ",
"hooray": "UH",
"key": "JJ",
"outrank": "VBP",
"heavenward": "RB",
"red-flag": "VB",
"paranormal": "JJ",
"immense": "JJ",
"bolivian": "JJ",
"spook": "VBP",
"controlled": "JJ",
"unamusing": "JJ",
"examines": "VBZ",
"surface": "JJ",
"pretty": "JJ",
"cometh": "VBZ",
"arabist": "JJ",
"proscribe": "VBP",
"stumped": "VBN",
"steals": "VBZ",
"increasingly": "RB",
"liked": "JJ",
"propelled": "VBN",
"skips": "VBZ",
"unthaw": "VB",
"revisits": "VBZ",
"avoid": "VB",
"moderated": "VBN",
"demonstrated": "JJ",
"to-and-fro": "RB",
"forgit": "VB",
"straight": "JJ",
"up": "IN",
"us": "PRP",
"berserk": "JJ",
"unhinged": "VBN",
"unaided": "JJ",
"interlobular": "JJ",
"lagged": "VBN",
"squirmy": "JJ",
"highest": "RB",
"beats": "VBZ",
"leftist": "JJ",
"stormbound": "JJ",
"middlebrow": "JJ",
"backstage": "JJ",
"endure": "VB",
"shuns": "VBZ",
"soak": "VB",
"trodden": "JJ",
"swam": "VBD",
"recycle": "VB",
"sorry": "JJ",
"sway": "VB",
"collaborate": "VB",
"unrelated": "JJ",
"enhance": "VB",
"hibernate": "VBP",
"kidnap": "VB",
"uptempo": "JJ",
"mee": "PRP",
"met": "RB",
"biconcave": "JJ",
"systematized": "VBN",
"sliced": "JJ",
"rationalist": "JJ",
"lobbies": "VBZ",
"overlooked": "VBN",
"grabbin": "VBG",
"defecated": "VBN",
"elicited": "VBN",
"disassemble": "VB",
"defaces": "VBZ",
"neglect": "JJ",
"pasteurized": "VBN",
"determinate": "JJ",
"budding": "JJ",
"deathly": "JJ",
"drops": "VBZ",
"rebutted": "VBN",
"madly": "JJ",
"driftin": "VBG",
"glazed": "JJ",
"nonchurchgoing": "JJ",
"trading": "JJ",
"forgot": "VBN",
"unbound": "JJ",
"join": "VB",
"abate": "VB",
"resew": "VB",
"sudden": "JJ",
"enraged": "JJ",
"acquaint": "VB",
"excellent": "JJ",
"estimated": "JJ",
"homogenized": "JJ",
"exhausted": "JJ",
"conforms": "VBZ",
"recommence": "VB",
"prerecorded": "VBN",
"egyptian": "JJ",
"yearlong": "JJ",
"unleashed": "VBN",
"mineralized": "JJ",
"flouted": "VBN",
"dampening": "JJ",
"nyet": "UH",
"yesiree": "UH",
"indexed": "VBN",
"narrated": "VBN",
"billed": "VBN",
"otherwise": "RB",
"precut": "JJ",
"puts": "VBZ",
"regenerate": "JJ",
"lovely": "JJ",
"capitalist": "JJ",
"recuperate": "VB",
"evolve": "VB",
"opulent": "JJ",
"impelling": "JJ",
"presto": "JJ",
"failing": "JJ",
"yours": "PRP",
"unclenched": "VBN",
"assigned": "VBN",
"salivary": "JJ",
"pecuniary": "JJ",
"involuntary": "JJ",
"paramilitary": "JJ",
"repossessed": "JJ",
"are": "CP",
"deaf": "JJ",
"been": "VBN",
"dear": "JJ",
"codifies": "VBZ",
"codified": "JJ",
"blithe": "JJ",
"second-guessed": "VBN",
"down": "IN",
"refined": "JJ",
"feminine": "JJ",
"evinced": "VBN",
"helps": "VBZ",
"awhile": "RB",
"marinated": "VBN",
"brightens": "VBZ",
"pseudo": "JJ",
"restored": "VBN",
"winning": "JJ",
"redouble": "VB",
"hijacked": "VBN",
"turgid": "JJ",
"stiffer": "JJR",
"onrushing": "JJ",
"targets": "VBZ",
"define": "VB",
"encrusted": "VBN",
"comend": "VB",
"suspect": "JJ",
"noconfidence": "JJ",
"founded": "VBN",
"diagnosed": "VBN",
"bog": "VB",
"teenage": "JJ",
"passthrough": "JJ",
"cooperates": "VBZ",
"cooperated": "VBN",
"forswears": "VBZ",
"drags": "VBZ",
"romanticized": "VBN",
"fuck": "VB",
"irreverent": "JJ",
"nondairy": "JJ",
"reseller": "JJR",
"nicaraguan": "JJ",
"solder": "VB",
"blooded": "VBN",
"reinvested": "VBN",
"tucked": "VBN",
"routine": "JJ",
"disappointing": "JJ",
"carrion": "JJ",
"publicsector": "JJ",
"ajar": "RB",
"contented": "JJ",
"frequent": "JJ",
"enthralled": "JJ",
"black": "JJ",
"intrastate": "JJ",
"speaking": "JJ",
"inefficient": "JJ",
"doddering": "JJ",
"himself": "PRP",
"nondefeatist": "JJ",
"squat": "JJ",
"reacquainted": "VBN",
"ultimate": "JJ",
"flattered": "VBN",
"cosponsors": "VBZ",
"we": "PRP",
"detached": "JJ",
"wo": "MD",
"travesty": "JJ",
"pegged": "VBN",
"seekin": "VBG",
"gee": "UH",
"unaltered": "JJ",
"enjoys": "VBZ",
"right": "JJ",
"declared": "JJ",
"provide": "VB",
"sear": "VB",
"held": "VBN",
"declares": "VBZ",
"indicted": "VBN",
"illiterate": "JJ",
"permeated": "VBN",
"across": "RB",
"satiate": "VB",
"august": "JJ",
"for": "IN",
"each": "RB",
"fulminate": "VB",
"sketchy": "JJ",
"taught": "JJ",
"tout": "VB",
"carved": "VBN",
"considering": "RB",
"wobble": "VB",
"wobbly": "JJ",
"assemble": "VB",
"wake": "VB",
"hardcore": "JJ",
"revise": "VB",
"falsified": "VBN",
"blackballed": "VBN",
"intermediate": "JJ",
"woodland": "JJ",
"extended": "JJ",
"expended": "VBN",
"shopworn": "JJ",
"stunted": "VBN",
"bit": "RB",
"admonishing": "JJ",
"englishy": "JJ",
"liberal": "JJ",
"acquainted": "VBN",
"moreover": "RB",
"passionate": "JJ",
"pronounce": "VB",
"illustrated": "VBN",
"glomerular": "JJ",
"purported": "JJ",
"fertile": "JJ",
"distracted": "VBN",
"practised": "JJ",
"spicy": "JJ",
"wholehearted": "JJ",
"undiminished": "JJ",
"examine": "VB",
"spat": "VBD",
"weeded": "VBN",
"somewhat": "RB",
"itches": "VBZ",
"wanta": "VB",
"u": "PRP",
"double-bolt": "VB",
"prime": "JJ",
"puffs": "VBZ",
"righted": "VBN",
"puffy": "JJ",
"yon": "RB",
"clench": "VB",
"alma": "JJ",
"outworn": "JJ",
"clinch": "VB",
"arithmetized": "VBN",
"straighten": "VB",
"squeezes": "VBZ",
"repeals": "VBZ",
"mull": "VB",
"calculates": "VBZ",
"witchy": "JJ",
"wrangle": "VB",
"collated": "VBN",
"splashes": "VBZ",
"pigmented": "VBN",
"coming": "JJ",
"engaged": "JJ",
"recall": "VB",
"remain": "VB",
"reaps": "VBZ",
"stubborn": "JJ",
"synchronized": "JJ",
"rejuvenated": "VBN",
"minimum": "JJ",
"rejuvenates": "VBZ",
"stir": "VB",
"uninfected": "JJ",
"accorded": "VBN",
"verified": "JJ",
"undecided": "JJ",
"co-exist": "VB",
"heartfelt": "JJ",
"hundredth": "JJ",
"emaciated": "JJ",
"compound": "JJ",
"polished": "JJ",
"evade": "VB",
"micro": "JJ",
"engaging": "JJ",
"edged": "JJ",
"bandaged": "JJ",
"extraordinary": "JJ",
"deflate": "VB",
"backed": "JJ",
"constraining": "JJ",
"puritan": "JJ",
"environmental": "JJ",
"catapult": "VB",
"differentiate": "VB",
"unbroken": "JJ",
"once": "RB",
"swerve": "VBP",
"amusing": "JJ",
"ukrainian": "JJ",
"lifts": "VBZ",
"chary": "JJ",
"serene": "JJ",
"serviced": "VBN",
"fresh": "JJ",
"teems": "VBZ",
"watch": "VB",
"seething": "JJ",
"swelling": "JJ",
"confident": "JJ",
"thruways": "RB",
"u.n.-monitored": "JJ",
"favorite": "JJ",
"rotted": "JJ",
"lucullan": "JJ",
"spiked": "JJ",
"female": "JJ",
"semisecret": "JJ",
"internationalist": "JJ",
"get": "VB",
"defunct": "JJ",
"slower": "JJR",
"yea": "JJ",
"foreign": "JJ",
"focused": "JJ",
"yet": "RB",
"subpar": "JJ",
"surrounded": "VBN",
"fused": "VBN",
"appall": "VBP",
"peppery": "JJ",
"assorted": "JJ",
"resisted": "VBN",
"deferred": "JJ",
"radiosterilized": "VBN",
"confining": "JJ",
"ahm": "PRP",
"bristle": "VBP",
"unveil": "VB",
"iffy": "JJ",
"criss-cross": "VBP",
"segregate": "VB",
"propose": "VB",
"knock": "JJ",
"borrows": "VBZ",
"happens": "VBZ",
"balmy": "JJ",
"retailed": "VBN",
"u.s.-style": "JJ",
"underused": "JJ",
"underlines": "VBZ",
"exterminated": "VBN",
"curt": "JJ",
"scarlet": "JJ",
"curl": "VB",
"commissioned": "JJ",
"confine": "VB",
"endocrine": "JJ",
"cater": "VBP",
"implies": "VBZ",
"implied": "VBN",
"determine": "VB",
"conjugal": "JJ",
"masculine": "JJ",
"pleasing": "JJ",
"uttuh": "VB",
"entire": "JJ",
"fast": "JJ",
"repurchased": "VBN",
"fat": "JJ",
"employerpaid": "JJ",
"healing": "JJ",
"safer": "JJR",
"implement": "VB",
"hammered": "VBN",
"year-ago": "RB",
"prized": "JJ",
"silvery": "JJ",
"closing": "JJ",
"fetch": "VB",
"blabs": "VBZ",
"varied": "JJ",
"nonworking": "JJ",
"trembling": "JJ",
"rutted": "JJ",
"disarm": "VB",
"flattering": "JJ",
"twirls": "VBZ",
"twirly": "JJ",
"accredited": "JJ",
"disrupts": "VBZ",
"bolder": "JJR",
"frayed": "JJ",
"blindfolded": "VBN",
"theatergoing": "JJ",
"recoated": "VBN",
"sexual": "JJ",
"trappist": "JJ",
"fluctuates": "VBZ",
"picks": "VBZ",
"braced": "JJ",
"reaches": "VBZ",
"reached": "VBN",
"pershare": "JJ",
"demythologized": "VBN",
"bulldog": "JJ",
"unsubtle": "JJ",
"inapt": "JJ",
"stirs": "VBZ",
"have": "VBP",
"misrelated": "VBN",
"squeegee": "VBP",
"submachine": "JJ",
"hypophyseal": "JJ",
"discreet": "JJ",
"wean": "VB",
"dirty": "JJ",
"weak": "JJ",
"revoked": "VBN",
"joke": "JJ",
"equal": "JJ",
"magnetized": "VBN",
"welcoming": "JJ",
"general": "JJ",
"ensuing": "JJ",
"frustrating": "JJ",
"prevents": "VBZ",
"aims": "VBZ",
"unfetter": "VB",
"disoriented": "JJ",
"multibilliondollar": "JJ",
"interim": "JJ",
"reformer": "JJ",
"onward": "RB",
"reformed": "JJ",
"resolved": "VBN",
"thread": "VB",
"resolves": "VBZ",
"inflammatory": "JJ",
"elephantine": "JJ",
"indemnify": "VB",
"unalluring": "JJ",
"racks": "VBZ",
"uptight": "JJ",
"introduces": "VBZ",
"befogged": "JJ",
"introduced": "VBN",
"iraqi": "JJ",
"rushes": "VBZ",
"onepage": "JJ",
"touted": "VBN",
"insures": "VBZ",
"insured": "VBN",
"flit": "JJ",
"flip": "JJ",
"omnibus": "JJ",
"dressed": "JJ",
"interdepartmental": "JJ",
"detain": "VB",
"stirred": "JJ",
"ramble": "VB",
"grimmer": "JJR",
"gratified": "VBN",
"communist": "JJ",
"inexpert": "JJ",
"glides": "VBZ",
"@": "IN",
"prowls": "VBZ",
"shook": "VBD",
"harried": "JJ",
"annual": "JJ",
"feathery": "JJ",
"direct": "JJ",
"revolves": "VBZ",
"mmm": "JJ",
"ebbs": "VBZ",
"overplanted": "VBN",
"leaves": "VBZ",
"purifying": "JJ",
"henceforth": "RB",
"meaty": "JJ",
"overstored": "JJ",
"accrued": "JJ",
"supplemental": "JJ",
"salvage": "VB",
"overhears": "VBZ",
"keep": "VB",
"attract": "VB",
"insecure": "JJ",
"befoh": "RB",
"parallel": "JJ",
"healthy": "JJ",
"amid": "IN",
"highpriced": "JJ",
"rough": "JJ",
"resounds": "VBZ",
"sportin": "VBG",
"howdy": "UH",
"sob": "VB",
"convinced": "JJ",
"blistered": "VBN",
"preconceived": "JJ",
"diseased": "JJ",
"exhilarated": "JJ",
"foolishly": "RB",
"unwraps": "VBZ",
"mononuclear": "JJ",
"x-rayed": "VBN",
"interviewed": "VBN",
"automated": "VBN",
"embellish": "VB",
"twice": "RB",
"overinvested": "VBN",
"unpopular": "JJ",
"thorough": "JJ",
"dermal": "JJ",
"impels": "VBZ",
"rancid": "JJ",
"pardoned": "VBN",
"overpriced": "JJ",
"peddle": "VB",
"gouty": "JJ",
"liquified": "JJ",
"borrowed": "VBN",
"considerate": "JJ",
"angers": "VBZ",
"sharpens": "VBZ",
"mus": "MD",
"hopefully": "RB",
"mum": "JJ",
"deposed": "VBN",
"portrays": "VBZ",
"overcooks": "VBZ",
"consonantal": "JJ",
"interoffice": "JJ",
"antisony": "JJ",
"inactivate": "VB",
"pre-selected": "VBN",
"unchanged": "JJ",
"persecutory": "JJ",
"dazzled": "VBN",
"dazzles": "VBZ",
"tell": "VB",
"prior": "JJ",
"beside": "RB",
"descending": "JJ",
"unyielding": "JJ",
"darned": "RB",
"multistage": "JJ",
"estonian": "JJ",
"gave": "VBD",
"b-includes": "VBZ",
"renames": "VBZ",
"unmarried": "JJ",
"renamed": "VBN",
"majored": "VBN",
"envision": "VBP",
"experienced": "JJ",
"mystified": "VBN",
"khaki": "JJ",
"shuck": "VB",
"disaffiliate": "VBP",
"unsalted": "JJ",
"ahs": "UH",
"abed": "RB",
"stuck": "JJ",
"automate": "VB",
"pricked": "VBN",
"overcollected": "JJ",
"forborne": "VB",
"u.n.-backed": "JJ",
"nerdy": "JJ",
"more": "RB",
"cobbled": "VBN",
"sometime": "RB",
"inborn": "JJ",
"eerie": "JJ",
"outgrew": "VBD",
"papery": "JJ",
"flushes": "VBZ",
"flushed": "JJ",
"agayne": "RB",
"faster": "JJR",
"unchallenged": "JJ",
"fasten": "VB",
"tsk": "UH",
"rob": "VB",
"gets": "VBZ",
"inverse": "JJ",
"emphasizes": "VBZ",
"creepers": "UH",
"emphasized": "JJ",
"irritates": "VBZ",
"savory": "JJ",
"irritated": "JJ",
"goes": "VBZ",
"jilted": "VBN",
"learn": "VB",
"boast": "VB",
"rethink": "VB",
"visiting": "JJ",
"wreak": "VB",
"prep": "JJ",
"cased": "JJ",
"inveterate": "JJ",
"dthat": "IN",
"adherent": "JJ",
"unloads": "VBZ",
"fourth": "CD",
"cathodoluminescent": "JJ",
"everywhere": "RB",
"pervade": "VBP",
"leggy": "JJ",
"invents": "VBZ",
"ordain": "VB",
"intended": "JJ",
"concur": "VBP",
"precooked": "VBN",
"sha": "MD",
"throw": "VB",
"minted": "VBN",
"drilled": "VBN",
"ah-ah": "UH",
"handled": "VBN",
"squashed": "JJ",
"spurned": "VBN",
"arousing": "JJ",
"stylized": "JJ",
"grunt": "VB",
"overfill": "VB",
"commonplace": "JJ",
"good": "JJ",
"proud": "JJ",
"antitakeover": "JJR",
"cheat": "JJ",
"inshore": "RB",
"cautionary": "JJ",
"burlesque": "JJ",
"gouldoid": "JJ",
"loose": "JJ",
"saucy": "JJ",
"harshly": "RB",
"quiet": "JJ",
"insist": "JJ",
"subscribed": "JJ",
"lower-value": "JJR",
"subscribes": "VBZ",
"exasperate": "VB",
"fiercer": "JJR",
"cast": "VBN",
"abducted": "VBN",
"dionysian": "JJ",
"impaled": "VBN",
"manila": "JJ",
"even-handed": "RB",
"bodied": "JJ",
"pure": "JJ",
"justify": "VB",
"pink": "JJ",
"splices": "VBZ",
"spliced": "VBN",
"cease": "VB",
"feminist": "JJ",
"co-ordinates": "VBZ",
"accompanied": "JJ",
"acute": "JJ",
"coursed": "VBN",
"old": "JJ",
"struggling": "JJ",
"animalcare": "JJ",
"whence": "WRB",
"nods": "VBZ",
"engendered": "VBN",
"rising": "JJ",
"cultured": "JJ",
"permit": "VB",
"competitve": "JJ",
"incise": "VB",
"autoimmune": "JJ",
"outgrip": "VB",
"deserve": "VBP",
"dark": "JJ",
"darn": "JJ",
"dare": "VB",
"releasing": "JJ",
"cuban": "JJ",
"numbing": "JJ",
"crumpled": "JJ",
"tarry": "VB",
"subsides": "VBZ",
"nahce": "JJ",
"occurs": "VBZ",
"stitched": "VBN",
"uh-huh": "UH",
"ease": "VB",
"easy": "JJ",
"east": "JJ",
"sue": "VB",
"sup": "VB",
"underhanded": "JJ",
"theodosian": "JJ",
"libyan": "JJ",
"ineffectual": "JJ",
"apropos": "JJ",
"indefinite": "JJ",
"captured": "VBN",
"liveried": "JJ",
"irrigate": "VB",
"untied": "JJ",
"antebellum": "JJ",
"armed": "JJ",
"same": "JJ",
"unitary": "JJ",
"err": "VBP",
"u.s.-grown": "JJ",
"accommodates": "VBZ",
"ready": "JJ",
"accommodated": "VBN",
"oppressed": "JJ",
"loopy": "JJ",
"telltale": "JJ",
"bland": "JJ",
"ponder": "JJ",
"seeming": "JJ",
"vellum": "JJ",
"indian": "JJ",
"scathing": "JJ",
"leading": "JJ",
"bevel": "VB",
"shrunken": "JJ",
"kind": "JJ",
"weatherproof": "JJ",
"multibillion": "JJ",
"shrewd": "JJ",
"tongued": "JJ",
"conforming": "JJ",
"establshed": "VBN",
"gild": "VB",
"rarefied": "JJ",
"acclaims": "VBZ",
"lying": "JJ",
"vaunted": "JJ",
"lacking": "JJ",
"suburbanized": "VBN",
"incapacitating": "JJ",
"invoke": "VB",
"knighted": "VBN",
"reprint": "VB",
"engraved": "VBN",
"wrote": "VBD",
"mmmm": "UH",
"manual": "JJ",
"franchised": "VBN",
"oversee": "VB",
"shorthanded": "JJ",
"apollonian": "JJ",
"nettled": "JJ",
"lovie": "UH",
"institutionalized": "JJ",
"unswagged": "JJ",
"kick": "JJ",
"unaccompanied": "JJ",
"laundered": "VBN",
"shirk": "VB",
"higher": "JJR",
"sell": "VB",
"demarcated": "VBN",
"restrains": "VBZ",
"try": "VB",
"magnified": "VBN",
"magnifies": "VBZ",
"prorate": "VB",
"jostle": "VBP",
"thou": "PRP",
"bemoan": "VB",
"macromolecular": "JJ",
"confront": "VB",
"disinclined": "VBN",
"perpendicular": "JJ",
"defrost": "VB",
"calloused": "JJ",
"flagellated": "VBN",
"impressed": "JJ",
"acquiesce": "VB",
"lone": "JJ",
"handles": "VBZ",
"long": "JJ",
"etch": "VB",
"authored": "VBN",
"nice": "JJ",
"smitten": "VBN",
"relaunch": "VB",
"safekeep": "VB",
"uphold": "VB",
"repackage": "VB",
"blended": "JJ",
"include": "VB",
"acid": "JJ",
"disentangle": "VB",
"chose": "VBD",
"wraps": "VBZ",
"explore": "VB",
"insubordinate": "JJ",
"suggests": "VBZ",
"pale": "JJ",
"hardy": "JJ",
"from": "IN",
"procrastinate": "JJ",
"accrues": "VBZ",
"recessionary": "JJ",
"thirsty": "JJ",
"nonverbal": "JJ",
"re-set": "VB",
"australian": "JJ",
"concocts": "VBZ",
"secular": "JJ",
"cliched": "JJ",
"detests": "VBZ",
"outdoor": "JJ",
"budge": "VB",
"sanctioned": "JJ",
"interpreted": "JJ",
"strove": "VBD",
"dismaying": "JJ",
"neighborly": "JJ",
"measly": "JJ",
"edit": "VB",
"treads": "VBZ",
"whipsawed": "JJ",
"delivre": "VB",
"m.i.t.-trained": "JJ",
"unique": "JJ",
"pours": "VBZ",
"stupid": "JJ",
"footnoted": "VBN",
"hence": "RB",
"eleventh": "JJ",
"misunderstood": "JJ",
"mixtec": "JJ",
"househld": "JJ",
"co-written": "VBN",
"delineated": "VBN",
"declasse": "JJ",
"why": "JJ",
"ensues": "VBZ",
"whose": "WP",
"balding": "JJ",
"utter": "JJ",
"pleased": "JJ",
"he": "PRP",
"widegrip": "JJ",
"skimp": "VB",
"skims": "VBZ",
"spinning": "JJ",
"multipart": "JJ",
"despoiled": "VBN",
"credentialized": "JJ",
"multifaceted": "JJ",
"limit": "JJ",
"machiavellian": "JJ",
"postwar": "JJ",
"decent": "JJ",
"responds": "VBZ",
"stunning": "JJ",
"draining": "JJ",
"lonely": "JJ",
"lightweight": "JJ",
"disinterred": "VBN",
"over-price": "VB",
"maddening": "JJ",
"disagree": "VBP",
"overcrowded": "JJ",
"picayune": "JJ",
"enamored": "JJ",
"conquer": "VB",
"re-incorporated": "VBN",
"feigned": "JJ",
"pasty": "JJ",
"carried": "VBN",
"crave": "VBP",
"spiral": "JJ",
"leveraged": "VBN",
"greasy": "JJ",
"automates": "VBZ",
"defamed": "VBN",
"unasterisked": "JJ",
"bewail": "VB",
"overhauled": "VBN",
"maroon": "JJ",
"overprotected": "VBN",
"auxiliary": "JJ",
"surviving": "JJ",
"impersonalized": "JJ",
"thriving": "JJ",
"taints": "VBZ",
"antianemia": "JJ",
"tensile": "JJ",
"disburden": "VB",
"milled": "JJ",
"admire": "VB",
"unlisted": "JJ",
"dangles": "VBZ",
"negated": "VBN",
"increasing": "JJ",
"longer": "JJR",
"foremost": "JJ",
"besets": "VBZ",
"spoke": "VBD",
"overshadow": "VBP",
"anticipated": "JJ",
"heralded": "VBN",
"sassy": "JJ",
"mired": "VBN",
"hurt": "JJ",
"goddammit": "UH",
"straddle": "VB",
"unstuffy": "VB",
"insulate": "VB",
"reprove": "VB",
"complaining": "JJ",
"atop": "IN",
"killing": "JJ",
"attracts": "VBZ",
"keeps": "VBZ",
"handcuff": "VBP",
"affect": "VB",
"commemorate": "VB",
"represents": "VBZ",
"dumps": "VBZ",
"clothed": "JJ",
"queued": "JJ",
"typifies": "VBZ",
"precedes": "VBZ",
"urbane": "JJ",
"rented": "VBN",
"sensory": "JJ",
"assures": "VBZ",
"typified": "VBN",
"obsolescent": "JJ",
"waddles": "VBZ",
"human": "JJ",
"please": "RB",
"shopped": "VBN",
"postulate": "VB",
"persecute": "JJ",
"snooty": "JJ",
"named": "VBN",
"recheck": "VBP",
"overregulated": "JJ",
"crotale": "JJ",
"looming": "JJ",
"alas": "UH",
"braying": "JJ",
"bomb": "VB",
"undefined": "JJ",
"buxom": "JJ",
"mend": "JJ",
"belated": "JJ",
"requalify": "VB",
"purified": "JJ",
"traverse": "VB",
"stealthy": "JJ",
"planoconcave": "JJ",
"conceptual": "JJ",
"screwball": "JJ",
"demented": "JJ",
"adapted": "VBN",
"polycrystalline": "JJ",
"breakoff": "JJ",
"quadripartite": "JJ",
"incompetent": "JJ",
"hospitalized": "VBN",
"concrete": "JJ",
"lift": "VB",
"unsold": "JJ",
"actuated": "JJ",
"swarthy": "JJ",
"wholewheat": "JJ",
"taped": "JJ",
"misrepresents": "VBZ",
"halfhearted": "JJ",
"forsaken": "VBN",
"forsakes": "VBZ",
"irradiated": "VBN",
"articulated": "JJ",
"tapering": "JJ",
"de-listed": "VBN",
"behind": "RB",
"warring": "JJ",
"germinate": "VBP",
"pinched": "JJ",
"shifting": "JJ",
"think": "VBP",
"rebuffed": "VBN",
"repellent": "JJ",
"spins": "VBZ",
"shake": "VB",
"happy": "JJ",
"completing": "JJ",
"anticommunist": "JJ",
"pontificate": "VB",
"exist": "VB",
"accounting": "JJ",
"dotted": "VBN",
"dissimiliar": "JJ",
"invested": "VBN",
"stirring": "JJ",
"plump": "JJ",
"rousing": "JJ",
"indolent": "JJ",
"behave": "VB",
"prepaid": "JJ",
"refinance": "VB",
"mourn": "JJ",
"experimental": "JJ",
"solves": "VBZ",
"northeastern": "JJ",
"officiate": "VB",
"current": "JJ",
"drewe": "VBD",
"studied": "VBN",
"therein": "RB",
"monaural": "JJ",
"fresher": "JJR",
"kafkaesque": "JJ",
"afford": "VB",
"apparent": "JJ",
"overloaded": "JJ",
"believes": "VBZ",
"intransigent": "JJ",
"deserves": "VBZ",
"belongs": "VBZ",
"snaps": "VBZ",
"rehabilitate": "JJ",
"yielding": "JJ",
"catching": "JJ",
"ungentlemanly": "JJ",
"solitary": "JJ",
"lackluster": "JJ",
"unlimited": "JJ",
"into": "IN",
"matches": "VBZ",
"socialist": "JJ",
"matched": "JJ",
"revert": "VB",
"whosoever": "WP",
"bovine": "JJ",
"giddy": "JJ",
"aye-yah-ah-ah": "UH",
"toned": "VBN",
"nested": "VBN",
"intermolecular": "JJ",
"redoubled": "VBN",
"embarrassed": "JJ",
"future": "JJ",
"opens": "VBZ",
"undercover": "JJ",
"altered": "JJ",
"settled": "JJ",
"portuguese": "JJ",
"occidental": "JJ",
"hereby": "RB",
"surplus": "JJ",
"mince": "VB",
"unkind": "JJ",
"robs": "VBZ",
"allowed": "JJ",
"charmed": "VBN",
"assimilate": "VB",
"neutralist": "JJ",
"disparage": "VB",
"rages": "VBZ",
"demonetized": "VBN",
"anti": "IN",
"combines": "VBZ",
"combined": "JJ",
"lowincome": "JJ",
"distressed": "JJ",
"disbelieve": "VB",
"jolt": "JJ",
"brok": "VBD",
"shuts": "VBZ",
"spiraling": "JJ",
"unemployed": "JJ",
"cheere": "VBP",
"glycerolized": "VBN",
"cheery": "JJ",
"escorts": "VBZ",
"coste": "VB",
"slay": "VBP",
"barbecued": "JJ",
"hereabouts": "RB",
"lengthens": "VBZ",
"unquiet": "JJ",
"clad": "JJ",
"overhyped": "JJ",
"endeavor": "VB",
"riveting": "JJ",
"oblige": "VB",
"contingent": "JJ",
"sprung": "VBN",
"confides": "VBZ",
"joyfully": "JJ",
"fightin": "VBG",
"somnolent": "JJ",
"pakistani": "JJ",
"recommends": "VBZ",
"cloned": "VBN",
"close": "RB",
"agree": "VBP",
"detailed": "JJ",
"gone": "JJ",
"carves": "VBZ",
"ah": "UH",
"am": "RB",
"as": "RB",
"at": "IN",
"carven": "VBN",
"jell": "VB",
"unrefrigerated": "JJ",
"fluorinated": "VBN",
"middling": "RB",
"absorbing": "JJ",
"overeager": "JJ",
"revolting": "JJ",
"piddling": "JJ",
"compromising": "JJ",
"delayed": "VBN",
"re-examines": "VBZ",
"squashy": "JJ",
"interconnected": "JJ",
"unbleached": "JJ",
"contrive": "VB",
"slick": "JJ",
"evolves": "VBZ",
"evolved": "JJ",
"compelled": "VBN",
"stated": "JJ",
"rustled": "VBN",
"dislikes": "VBZ",
"moon": "JJ",
"accept": "VB",
"venezuelan": "JJ",
"cling": "VBP",
"alter": "VB",
"debilitated": "VBN",
"consign": "VB",
"iridescent": "JJ",
"fewer": "JJR",
"catalogued": "VBN",
"disheveled": "JJ",
"imagine": "VB",
"redeemded": "VBN",
"corrugated": "JJ",
"protectionist": "JJ",
"thereafter": "RB",
"small": "JJ",
"unexplained": "JJ",
"crisscrossed": "VBN",
"consult": "VB",
"inhouse": "JJ",
"lovelorn": "JJ",
"adverse": "JJ",
"more-senior": "JJR",
"unequal": "JJ",
"covet": "VB",
"aghast": "JJ",
"undying": "JJ",
"alloted": "VBN",
"gratis": "RB",
"dustin": "VBG",
"obscure": "JJ",
"sew": "VB",
"dryin": "VBG",
"overwhelm": "JJ",
"see": "VB",
"unsheltered": "JJ",
"umm": "UH",
"topmost": "JJ",
"avuncular": "JJ",
"serves": "VBZ",
"shortlived": "JJ",
"served": "VBN",
"pagan": "JJ",
"embargoed": "JJ",
"repainted": "VBN",
"drunk": "JJ",
"underwent": "VBD",
"hollow": "JJ",
"underlay": "VBP",
"flounced": "VBN",
"redounds": "VBZ",
"owed": "VBN",
"owes": "VBZ",
"doan": "VBP",
"expands": "VBZ",
"upland": "JJ",
"hypothesized": "VBN",
"damp": "JJ",
"damn": "JJ",
"u.s.-soviet": "JJ",
"scarify": "VB",
"next": "JJ",
"textual": "JJ",
"occupy": "VB",
"impudent": "JJ",
"redeemed": "JJ",
"indoor": "JJ",
"mature": "JJ",
"frothy": "JJ",
"wove": "VBD",
"leftward": "JJ",
"overshoots": "VBZ",
"pockmarked": "JJ",
"unionized": "VBN",
"dedicates": "VBZ",
"send": "VB",
"sent": "VBN",
"languished": "VBN",
"languishes": "VBZ",
"related": "JJ",
"bemoans": "VBZ",
"agrarian": "JJ",
"shivery": "JJ",
"engage": "VB",
"alleged": "JJ",
"distrusted": "VBN",
"ha": "UH",
"outright": "JJ",
"insists": "VBZ",
"instinctual": "JJ",
"subtle": "JJ",
"wed": "VBN",
"several": "JJ",
"stand": "VB",
"excretory": "JJ",
"shudder": "VB",
"merge": "VB",
"most-favored": "JJS",
"wander": "VB",
"exults": "VBZ",
"aided": "JJ",
"shuld": "MD",
"mesmerized": "VBN",
"owned": "VBN",
"naturally": "JJ",
"upstate": "JJ",
"midlevel": "JJ",
"applauds": "VBZ",
"meanwile": "RB",
"delimits": "VBZ",
"punctured": "JJ",
"steep": "JJ",
"steer": "VB",
"seaborne": "JJ",
"remember": "VB",
"snuff": "VB",
"hold": "VB",
"thirdquarter": "JJ",
"reignite": "VB",
"endrocrine": "JJ",
"dissociate": "VB",
"understate": "VBP",
"illumine": "VB",
"championed": "VBN",
"emancipate": "VB",
"planted": "VBN",
"matronly": "JJ",
"maggoty": "JJ",
"multiyear": "JJ",
"dishearten": "VB",
"nise": "JJ",
"streamlined": "JJ",
"creationist": "JJ",
"partisan": "JJ",
"drum": "VB",
"unflinching": "JJ",
"sevenday": "JJ",
"ethiopian": "JJ",
"sugared": "JJ",
"ca": "MD",
"allocated": "VBN",
"equips": "VBZ",
"dazzling": "JJ",
"stalled": "VBN",
"rigged": "JJ",
"maul": "VB",
"rethought": "JJ",
"delaying": "JJ",
"lush": "JJ",
"maligned": "VBN",
"highlighted": "VBN",
"glares": "VBZ",
"inlaid": "VBN",
"balk": "VB",
"heaped": "VBN",
"glum": "JJ",
"fluctuating": "JJ",
"crisp": "JJ",
"quit": "VB",
"snappy": "JJ",
"forgiven": "VBN",
"haulage": "JJ",
"toward": "IN",
"ingest": "VBP",
"seedy": "JJ",
"strode": "VBD",
"unbent": "JJ",
"beeped": "VBN",
"suppose": "VBP",
"delivers": "VBZ",
"straightaway": "JJ",
"harvested": "VBN",
"unguaranteed": "JJ",
"denote": "VB",
"wanes": "VBZ",
"penciled": "VBN",
"felled": "VBN",
"unswerving": "JJ",
"pacify": "JJ",
"soaring": "JJ",
"buoy": "VB",
"consolidates": "VBZ",
"metropolitian": "JJ",
"hell-for-leather": "RB",
"litle": "JJ",
"distort": "VB",
"disobedient": "JJ",
"uninviting": "JJ",
"surrounding": "JJ",
"ambiguan": "JJ",
"dwindles": "VBZ",
"established": "JJ",
"+": "SYM",
"yeller": "JJ",
"textured": "JJ",
"secure": "JJ",
"modulated": "JJ",
"fragmentary": "JJ",
"sunbleached": "VBN",
"unfailing": "JJ",
"grovel": "VB",
"unsatisfying": "JJ",
"indifferent": "JJ",
"envenomed": "VBN",
"morbid": "JJ",
"if": "IN",
"extruded": "VBN",
"unmiked": "VBN",
"repeats": "VBZ",
"nascent": "JJ",
"tricked": "VBN",
"inner": "JJ",
"soothing": "JJ",
"classified": "JJ",
"naysay": "VB",
"softer": "JJR",
"wary": "JJ",
"warm": "JJ",
"understaffs": "VBZ",
"forth": "RB",
"eastern": "JJ",
"unenticing": "JJ",
"toconsolidated": "VBN",
"stalinist": "JJ",
"protracted": "JJ",
"totted": "VBN",
"extracurricular": "JJ",
"encumbered": "JJ",
"correct": "JJ",
"unsophisticated": "JJ",
"fussy": "JJ",
"infrared": "JJ",
"dredges": "VBZ",
"wrung": "VB",
"latent": "JJ",
"custom-fit": "VB",
"frowning": "JJ",
"soviet": "JJ",
"pull": "VB",
"seeks": "VBZ",
"preoccupied": "JJ",
"leads": "VBZ",
"beastly": "JJ",
"jeopardized": "VBN",
"coherent": "JJ",
"jeopardizes": "VBZ",
"soundproof": "JJ",
"accused": "JJ",
"abrupt": "JJ",
"dried": "JJ",
"thence": "RB",
"falling": "JJ",
"rococo": "JJ",
"skyjacked": "VBN",
"unharmed": "JJ",
"blames": "VBZ",
"blamed": "VBN",
"bodes": "VBZ",
"proper": "JJ",
"starboard": "VB",
"transformed": "JJ",
"zambian": "JJ",
"lapsed": "JJ",
"sends": "VBZ",
"divided": "JJ",
"seasoned": "JJ",
"led": "VBN",
"let": "VB",
"scribbles": "VBZ",
"unswaggering": "JJ",
"blander": "JJR",
"swine": "JJ",
"dines": "VBZ",
"theirs": "JJ",
"cherish": "VB",
"make": "VB",
"delighted": "JJ",
"balanced": "JJ",
"lewd": "JJ",
"liquidated": "VBN",
"unstressed": "JJ",
"encoded": "VBN",
"filigreed": "JJ",
"hotter": "JJR",
"subsist": "VB",
"blunt": "JJ",
"jacobean": "JJ",
"weaned": "VBN",
"handmade": "JJ",
"liberalized": "VBN",
"cheated": "VBN",
"situated": "VBN",
"global": "JJ",
"quite": "JJ",
"hums": "VBZ",
"dispelled": "VBN",
"floodlighted": "JJ",
"fragile": "JJ",
"during": "IN",
"supporting": "JJ",
"burn": "VB",
"rubbery": "JJ",
"appears": "VBZ",
"detonate": "VB",
"retires": "VBZ",
"jam": "JJ",
"re-insure": "VB",
"concise": "JJ",
"gathers": "VBZ",
"dedicated": "JJ",
"saith": "VBZ",
"expanding": "JJ",
"crepe": "JJ",
"truley": "RB",
"crept": "VBD",
"tagged": "VBN",
"cold": "JJ",
"enny": "JJ",
"wielded": "VBN",
"appoints": "VBZ",
"em": "PRP",
"eh": "UH",
"except": "IN",
"er": "UH",
"showy": "JJ",
"ghanaian": "JJ",
"eluted": "VBN",
"bavarian": "JJ",
"domed": "JJ",
"even": "JJ",
"ever": "RB",
"sheer": "JJ",
"calmer": "JJR",
"shampooed": "VBN",
"pelting": "JJ",
"peck": "VBP",
"rugged": "JJ",
"shady": "JJ",
"sublime": "JJ",
"saute": "VB",
"calm": "JJ",
"sterilized": "JJ",
"hamstrung": "JJ",
"dispersed": "VBN",
"higher-caliber": "JJR",
"fifth": "CD",
"gnaw": "VB",
"unedifying": "JJ",
"solar": "JJ",
"underfunded": "JJ",
"prides": "VBZ",
"remoter": "JJR",
"seldom": "RB",
"herbal": "JJ",
"transluscent": "JJ",
"swamped": "VBN",
"diocesan": "JJ",
"unfrosted": "VBN",
"rebuild": "VB",
"rebuilt": "VBN",
"embrace": "VB",
"mediocre": "JJ",
"finish": "VB",
"videotaped": "VBN",
"woulda": "MD",
"wintered": "VBN",
"conclude": "VB",
"real": "JJ",
"preliterate": "JJ",
"detoxify": "VB",
"leapfrog": "VB",
"detract": "VB",
"reap": "VBP",
"rear": "JJ",
"servile": "JJ",
"recorded": "JJ",
"southeast": "RB",
"heated": "JJ",
"gungho": "JJ",
"prepare": "VB",
"displayed": "VBN",
"faulted": "VBN",
"appareled": "VBN",
"condemnatory": "JJ",
"subdue": "VB",
"reassumed": "VBN",
"thither": "RB",
"adsorbed": "VBN",
"bequeath": "VB",
"brown": "JJ",
"recovering": "JJ",
"very": "RB",
"apologizes": "VBZ",
"probing": "JJ",
"recruits": "VBZ",
"rudimentary": "JJ",
"answers": "VBZ",
"yummy": "JJ",
"interposed": "VBN",
"ahead": "JJ",
"agonized": "JJ",
"injure": "VB",
"girds": "VBZ",
"erode": "VB",
"exclude": "VB",
"cloying": "JJ",
"pass": "VB",
"gasp": "JJ",
"overnight": "RB",
"file": "VB",
"fill": "VB",
"uncensored": "JJ",
"dine": "VB",
"tousled": "VBN",
"painstaking": "JJ",
"prenatal": "JJ",
"unachieved": "VBN",
"cemented": "VBN",
"starve": "VB",
"since": "RB",
"temporary": "JJ",
"flaunt": "VB",
"ast": "JJ",
"ask": "VB",
"perceptual": "JJ",
"six-fold": "RB",
"liquefies": "VBZ",
"hardbound": "JJ",
"inducted": "VBN",
"prejudged": "VBN",
"squeaks": "VBZ",
"saudis": "NNPS",
"substantiated": "JJ",
"juicy": "JJ",
"bridled": "VBN",
"sensual": "JJ",
"outbound": "JJ",
"retracted": "VBN",
"flaming": "JJ",
"repossesed": "JJ",
"thy": "JJ",
"hothouse": "JJ",
"the": "DT",
"flounders": "VBZ",
"begets": "VBZ",
"spackle": "VB",
"gloved": "JJ",
"sacrificed": "VBN",
"crams": "VBZ",
"re-rated": "VBN",
"yeeeeeech": "UH",
"horrid": "JJ",
"unknowing": "JJ",
"hard": "JJ",
"likee": "VB",
"likes": "VBZ",
"described": "VBN",
"most": "JJ",
"describes": "VBZ",
"budgeted": "VBN",
"append": "VB",
"else": "RB",
"utmost": "JJ",
"straggling": "JJ",
"furthermore": "RB",
"shuttered": "JJ",
"shag": "JJ",
"overweight": "JJ",
"unrolls": "VBZ",
"wedged": "VBN",
"grind": "VBP",
"segmented": "JJ",
"mislaid": "JJ",
"unhedged": "VBN",
"moist": "JJ",
"guaranteed": "JJ",
"finished": "JJ",
"havin": "VBG",
"overriding": "JJ",
"learning": "JJ",
"shu-tt": "VB",
"verbatim": "RB",
"slash": "VB",
"chargin": "VBG",
"ochre": "JJ",
"sourdough": "JJ",
"nonequivalent": "JJ",
"lowprofile": "JJ",
"u.n.-sponsored": "JJ",
"thought": "VBD",
"required": "VBN",
"humiliated": "JJ",
"humiliates": "VBZ",
"requires": "VBZ",
"eradicated": "VBN",
"unalloyed": "JJ",
"go": "VB",
"earthbound": "JJ",
"transacted": "VBN",
"attired": "JJ",
"defamatory": "JJ",
"oddball": "JJ",
"opaque": "JJ",
"rotten": "JJ",
"stanch": "VB",
"colder": "JJR",
"repel": "VB",
"horticultural": "JJ",
"manipulate": "JJ",
"strapped": "VBN",
"benchmark": "JJ",
"nurture": "VB",
"hesitate": "VB",
"reoriented": "VBN",
"digested": "VBN",
"your": "PRP",
"compiled": "VBN",
"fostered": "VBN",
"foment": "VB",
"adjectival": "JJ",
"unsolved": "JJ",
"denuclearized": "VBN",
"aggravates": "VBZ",
"aggravated": "JJ",
"sandy": "JJ",
"lukewarm": "JJ",
"fathom": "VB",
"towering": "JJ",
"amendatory": "JJ",
"terminated": "VBN",
"fundamental": "JJ",
"managing": "JJ",
"fella": "UH",
"adjoins": "VBZ",
"chintz": "VBP",
"attach": "VB",
"overwhelming": "JJ",
"choreographed": "VBN",
"distinguishes": "VBZ",
"beg": "VBP",
"snazzy": "JJ",
"distinguished": "JJ",
"constrained": "JJ",
"floundered": "JJ",
"bloodthirsty": "JJ",
"anyway": "RB",
"farfetched": "JJ",
"parked": "VBN",
"unenvied": "JJ",
"counterterror": "JJ",
"remunerated": "JJ",
"quantified": "VBN",
"shy": "JJ",
"she": "PRP",
"sho": "UH",
"differs": "VBZ",
"horribly": "JJ",
"neither": "RB",
"wipe": "VB",
"seemed": "CP",
"spared": "VBN",
"undetermined": "JJ",
"conjoined": "VBN",
"pretend": "JJ",
"owne": "JJ",
"tired": "JJ",
"ripen": "VBP",
"owns": "VBZ",
"interrogate": "VB",
"plundered": "VBN",
"orbital": "JJ",
"incumbent": "JJ",
"compared": "VBN",
"taller": "JJR",
"spells": "VBZ",
"fine-tune": "VB",
"wooed": "VBN",
"worthwile": "VB",
"hydrolyzed": "VBN",
"lends": "VBZ",
"seizes": "VBZ",
"medieval": "JJ",
"choked": "JJ",
"citron": "JJ",
"agin": "IN",
"apiece": "RB",
"gagged": "VBN",
"torrid": "JJ",
"depicted": "VBN",
"savage": "JJ",
"intermingle": "VBP",
"onstage": "RB",
"bimonthly": "JJ",
"evaluated": "VBN",
"affected": "JJ",
"unskilled": "JJ",
"evolving": "JJ",
"never": "RB",
"piercing": "JJ",
"astute": "JJ",
"elaborated": "JJ",
"elaborates": "VBZ",
"drowned": "VBN",
"corresponding": "JJ",
"removed": "VBN",
"expose": "VB",
"loony": "JJ",
"inhabited": "VBN",
"endow": "VB",
"summarizes": "VBZ",
"give": "VB",
"crystallized": "JJ",
"peopled": "VBN",
"prickly": "JJ",
"ambivalent": "JJ",
"soaking": "RB",
"underscore": "VBP",
"weakens": "VBZ",
"wow": "JJ",
"conjectured": "VBN",
"prodigal": "JJ",
"perforated": "JJ",
"loud": "JJ",
"mutate": "VB",
"nondefense": "JJ",
"depraved": "JJ",
"espouse": "VBP",
"replenished": "VBN",
"repatriate": "VB",
"government-set": "VBN",
"unleashes": "VBZ",
"folded": "VBN",
"integrate": "VB",
"somnambulates": "VBZ",
"stop": "VB",
"comply": "VB",
"briefer": "JJR",
"briefed": "VBN",
"tantamount": "JJ",
"juxtapose": "VBP",
"were": "CP",
"abnormal": "JJ",
"devoted": "JJ",
"unsloped": "JJ",
"recognised": "JJ",
"obtained": "VBN",
"sunshiny": "JJ",
"misquoted": "VBN",
"near": "JJ",
"apocryphal": "JJ",
"neat": "JJ",
"despite": "IN",
"is": "CP",
"it": "PRP",
"in": "IN",
"sanitized": "VBN",
"overstated": "JJ",
"anoint": "VB",
"bottled": "VBN",
"overstates": "VBZ",
"astringent": "JJ",
"redevelop": "VB",
"practiced": "JJ",
"minicar": "JJ",
"sporting": "JJ",
"identify": "VB",
"supernormal": "JJ",
"regarded": "VBN",
"defray": "VB",
"beholds": "VBZ",
"targo": "JJ",
"unexplored": "JJ",
"daytime": "JJ",
"unmagnified": "JJ",
"untenured": "VBN",
"intellectual": "JJ",
"snorts": "VBZ",
"lurid": "JJ",
"unvarying": "JJ",
"separated": "JJ",
"sidestep": "VB",
"fashioned": "JJ",
"gowned": "JJ",
"nonpareil": "JJ",
"jeffersonian": "JJ",
"alerts": "VBZ",
"derail": "VB",
"sobering": "JJ",
"mobilized": "VBN",
"skip": "VB",
"skim": "JJ",
"explicit": "JJ",
"where": "WRB",
"banished": "VBN",
"miniaturized": "VBN",
"banishes": "VBZ",
"two-timed": "VBN",
"less-liquid": "JJR",
"ere": "IN",
"leatherbound": "JJ",
"unrestricted": "JJ",
"quack": "JJ",
"pollute": "JJ",
"satirizes": "VBZ",
"subsistent": "JJ",
"antismoking": "JJ",
"deceased": "JJ",
"caring": "JJ",
"coincident": "JJ",
"dutch": "JJ",
"strainin": "VBG",
"till": "IN",
"hubba": "UH",
"whodunnit": "UH",
"designed": "JJ",
"scalloped": "JJ",
"gaussian": "JJ",
"fluent": "JJ",
"thorny": "JJ",
"feared": "JJ",
"cute": "JJ",
"plagiarized": "JJ",
"serenaded": "VBN",
"extirpated": "VBN",
"nouveau": "JJ",
"captivated": "VBN",
"shatter": "VB",
"sooner": "RB",
"killed": "VBN",
"unwashed": "JJ",
"southwestern": "JJ",
"aloof": "JJ",
"socialized": "JJ",
"undulate": "VB",
"socializes": "VBZ",
"unless": "IN",
"already": "RB",
"rewrites": "VBZ",
"scandalizes": "VBZ",
"rivets": "VBZ",
"vermeil": "JJ",
"midsized": "JJ",
"massaged": "VBN",
"gotta": "VB",
"commends": "VBZ",
"personalized": "JJ",
"weakwilled": "JJ",
"fills": "VBZ",
"wreathed": "VBN",
"arrayed": "VBN",
"filed": "VBN",
"contemporary": "JJ",
"lieder": "JJ",
"underage": "JJ",
"ruddy": "JJ",
"unsecured": "JJ",
"steadfast": "JJ",
"forgive": "VB",
"oversized": "JJ",
"pillared": "JJ",
"indelicate": "JJ",
"elizabethan": "JJ",
"disconnected": "JJ",
"endowed": "JJ",
"middle": "JJ",
"insofar": "RB",
"devours": "VBZ",
"munch": "VB",
"intermittent": "JJ",
"imprint": "VB",
"vivify": "VB",
"liken": "VBP",
"dimensioning": "JJ",
"nosy": "JJ",
"specifies": "VBZ",
"specified": "JJ",
"new": "JJ",
"net": "JJ",
"gross": "JJ",
"buttressed": "VBN",
"broken": "JJ",
"highest-priced": "JJS",
"tease": "VB",
"othe": "JJ",
"arty": "JJ",
"many": "JJ",
"suffering": "JJ",
"collosal": "JJ",
"anemated": "VBN",
"undereducated": "JJ",
"leaked": "VBN",
"croons": "VBZ",
"unaccustomed": "JJ",
"tackle": "VB",
"revolve": "VB",
"remote": "JJ",
"restructure": "VB",
"nutrient": "JJ",
"starting": "JJ",
"suburban": "JJ",
"b-reflects": "VBZ",
"transcaucasian": "JJ",
"overdone": "JJ",
"scour": "VBP",
"benevolent": "JJ",
"titled": "VBN",
"knitted": "VBN",
"unreported": "JJ",
"pupated": "VBN",
"venerated": "VBN",
"biweekly": "JJ",
"drubbed": "VBN",
"fatter": "JJR",
"search": "VB",
"fatten": "VB",
"bathe": "VB",
"seceded": "VBN",
"debugged": "VBN",
"establish": "VB",
"our": "PRP",
"out": "JJ",
"both": "RB",
"federal": "JJ",
"brisk": "JJ",
"dammit": "UH",
"compare": "VB",
"buttress": "VB",
"socal": "JJ",
"petite": "JJ",
"coax": "VB",
"what": "WP",
"finalized": "VBN",
"wham": "UH",
"whah": "WRB",
"ranking": "JJ",
"render": "VB",
"clamor": "VBP",
"bereft": "JJ",
"detach": "VB",
"token": "JJ",
"clamp": "VB",
"implicated": "VBN",
"avenge": "VB",
"chin-use": "VB",
"squeezed": "VBN",
"omit": "JJ",
"convicts": "VBZ",
"bullies": "VBZ",
"smaller": "JJR",
"slight": "JJ",
"beardown": "JJ",
"plead": "JJ",
"collateralized": "JJ",
"schizoid": "JJ",
"extracted": "VBN",
"squelched": "VBN",
"encouraging": "JJ",
"squelch": "VBP",
"antisubmarine": "JJ",
"cumulate": "VB",
"individual": "JJ",
"tender": "JJ",
"enveloped": "VBN",
"manumitted": "VBN",
"overvalued": "JJ",
"trespassed": "VBN",
"create": "VB",
"understand": "VB",
"unify": "VB",
"enchanted": "JJ",
"bilk": "VB",
"defending": "JJ",
"incorrect": "JJ",
"shoddy": "JJ",
"cadge": "VBP",
"itch": "JJ",
"knowed": "VBN",
"zodiacal": "JJ",
"excites": "VBZ",
"bridal": "JJ",
"co-managed": "VBN",
"per": "IN",
"simplex": "JJ",
"peg": "VBP",
"defrayed": "VBN",
"engorged": "VBN",
"conciliatory": "JJ",
"uncaused": "JJ",
"forward": "JJ",
"doctored": "VBN",
"weaker": "JJR",
"nodular": "JJ",
"juxtaposed": "VBN",
"soon": "RB",
"fogged": "JJ",
"plugged": "JJ",
"fiberglas": "JJ",
"excrete": "VB",
"intercede": "VB",
"fished": "VBN",
"oceanthermal": "JJ",
"retranslated": "VBN",
"amused": "JJ",
"worldly": "JJ",
"dogged": "VBN",
"granular": "JJ",
"inject": "VB",
"subservient": "JJ",
"select": "JJ",
"tinny": "JJ",
"bloodshot": "JJ",
"nonexistent": "JJ",
"resurrect": "VB",
"ashamed": "JJ",
"grandmotherly": "JJ",
"nullified": "VBN",
"celiac": "JJ",
"shining": "JJ",
"whitehaired": "JJ",
"druther": "VB",
"fete": "VB",
"aft": "RB",
"resist": "VB",
"sic": "RB",
"repassed": "VBN",
"ahdawam": "UH",
"vivified": "VBN",
"thwart": "VB",
"transported": "VBN",
"programmed": "JJ",
"defend": "VB",
"red": "JJ",
"retrieved": "VBN",
"expect": "VB",
"cured": "JJ",
"rusticated": "VBN",
"afield": "RB",
"splotched": "JJ",
"rippled": "JJ",
"slack": "JJ",
"thyroidal": "JJ",
"flee": "VB",
"hazel": "JJ",
"heartening": "JJ",
"absurd": "JJ",
"rusted": "JJ",
"thrives": "VBZ",
"excreted": "VBN",
"pistol-whipping": "IN",
"oriental": "JJ",
"dissolves": "VBZ",
"heightens": "VBZ",
"boil": "VB",
"exploited": "JJ",
"grumble": "VBP",
"predispose": "VB",
"conquered": "JJ",
"passing": "JJ",
"unventilated": "VBN",
"laugh": "JJ",
"weird": "JJ",
"piecewise": "RB",
"lithuanian": "JJ",
"perplexed": "JJ",
"arisen": "VBN",
"prosy": "JJ",
"portray": "VB",
"untoward": "JJ",
"bullying": "JJ",
"flew": "VBD",
"besmirch": "VB",
"center": "JJ",
"roughhewn": "JJ",
"overshadowed": "VBN",
"retiring": "JJ",
"supercharged": "JJ",
"oops": "JJ",
"fixated": "VBN",
"surpass": "VB",
"anye": "JJ",
"raves": "VBZ",
"testy": "JJ",
"condescending": "JJ",
"mushroomed": "VBN",
"legislated": "VBN",
"obsessed": "JJ",
"lousy": "JJ",
"rendered": "VBN",
"varitinted": "JJ",
"again": "RB",
"buy": "VB",
"co-anchored": "VBN",
"but": "RB",
"shute": "VB",
"misty": "JJ",
"meantime": "RB",
"virtual": "JJ",
"annihilate": "VB",
"augmented": "VBN",
"represent": "VB",
"placated": "VBN",
"nonresident": "JJ",
"every": "DT",
"upstream": "RB",
"crocketed": "JJ",
"persuade": "JJ",
"freehand": "RB",
"sheeted": "JJ",
"transmits": "VBZ",
"bulks": "VBZ",
"proportioned": "JJ",
"housed": "VBN",
"quarrel": "JJ",
"smart": "JJ",
"arbitrate": "VB",
"imbued": "VBN",
"selected": "JJ",
"fade": "VBP",
"sturdy": "JJ",
"roost": "VB",
"skeletal": "JJ",
"woolgather": "VB",
"lasting": "JJ",
"co-produce": "VB",
"got": "VBD",
"periodontal": "JJ",
"labored": "JJ",
"working": "JJ",
"sober": "JJ",
"abates": "VBZ",
"took": "VBD",
"abated": "VBN",
"nonpartisan": "JJ",
"whereby": "WRB",
"unsentimental": "JJ",
"dying": "JJ",
"doughty": "JJ",
"absent": "JJ",
"romantick": "JJ",
"epistolatory": "JJ",
"blinking": "JJ",
"baffle": "VB",
"disabled": "JJ",
"interspersed": "VBN",
"discriminating": "JJ",
"amalgamated": "VBN",
"postride": "JJ",
"luminescent": "JJ",
"unificationist": "JJ",
"improve": "VB",
"layered": "VBN",
"unfurled": "VBN",
"trampled": "VBN",
"usurped": "VBN",
"lessen": "VB",
"lesser": "JJ",
"inexplicit": "JJ",
"complex": "JJ",
"vilifies": "VBZ",
"interprets": "VBZ",
"content": "JJ",
"reapportion": "VBP",
"apart": "JJ",
"intertwined": "VBN",
"clearheaded": "JJ",
"educate": "VB",
"reunifed": "VBN",
"untried": "JJ",
"embodied": "VBN",
"rattled": "JJ",
"reinvest": "VB",
"cooped": "JJ",
"implores": "VBZ",
"ironclad": "JJ",
"erodes": "VBZ",
"cooled": "VBN",
"froze": "VBD",
"taffy": "JJ",
"survive": "VB",
"lags": "VBZ",
"head": "JJ",
"medium": "JJ",
"heal": "VB",
"hear": "VB",
"adore": "VBP",
"co-opted": "VBN",
"southernmost": "JJ",
"adorn": "VB",
"withhold": "VB",
"backward": "JJ",
"flowered": "JJ",
"thawed": "JJ",
"indebted": "JJ",
"denounces": "VBZ",
"inland": "JJ",
"allout": "JJ",
"retroviral": "JJ",
"dissipates": "VBZ",
"dissipated": "JJ",
"unidentified": "JJ",
"pearly": "JJ",
"hungarian": "JJ",
"push": "VB",
"corrupted": "JJ",
"considered": "JJ",
"speaks": "VBZ",
"evoke": "VB",
"reposition": "VB",
"misbegotten": "JJ",
"asleep": "JJ",
"undervalued": "JJ",
"blocked": "JJ",
"coordinated": "JJ",
"sparing": "JJ",
"appraised": "VBN",
"warranted": "VBN",
"feathered": "JJ",
"slumps": "VBZ",
"lower-paid": "JJR",
"weighted": "JJ",
"pillaged": "JJ",
"blacked": "VBN",
"reckons": "VBZ",
"sustains": "VBZ",
"shakespearian": "JJ",
"someplace": "RB",
"sovereign": "JJ",
"disinterested": "JJ",
"circa": "RB",
"greatcoated": "JJ",
"huh": "UH",
"circulates": "VBZ",
"petrified": "JJ",
"tawdry": "JJ",
"armored": "JJ",
"underprepared": "JJ",
"stolid": "JJ",
"overjoyed": "JJ",
"exploratory": "JJ",
"vetted": "VBN",
"woolen": "JJ",
"crimp": "VB",
"hooting": "JJ",
"narrows": "VBZ",
"substitutionary": "JJ",
"tailor": "VB",
"ancestral": "JJ",
"violates": "VBZ",
"best-run": "JJS",
"darin": "JJ",
"smiling": "JJ",
"unleaded": "JJ",
"runaway": "JJ",
"gaited": "JJ",
"was": "CP",
"paying": "JJ",
"amend": "VB",
"straitjacketed": "JJ",
"someday": "RB",
"unrolled": "JJ",
"silver": "JJ",
"ninefold": "JJ",
"idle": "JJ",
"threaded": "VBN",
"tigrean": "JJ",
"guided": "JJ",
"overlapped": "VBN",
"scheduled": "JJ",
"loaned": "VBN",
"tall": "JJ",
"sheared": "JJ",
"unnerving": "JJ",
"revised": "JJ",
"finally": "JJ",
"recalls": "VBZ",
"boasts": "VBZ",
"outpaces": "VBZ",
"floured": "VBN",
"fusty": "JJ",
"nutty": "JJ",
"communicate": "VB",
"nudist": "JJ",
"subdues": "VBZ",
"amber": "JJ",
"garner": "VB",
"abrogate": "VB",
"strict": "JJ",
"racist": "JJ",
"condone": "VB",
"equated": "VBN",
"x-there": "EX",
"revamps": "VBZ",
"drawin": "VBG",
"unteach": "VB",
"unneeded": "JJ",
"dismayed": "JJ",
"suffers": "VBZ",
"fetid": "JJ",
"cromwellian": "JJ",
"multimegaton": "JJ",
"unscathed": "JJ",
"likely": "JJ",
"rimmed": "JJ",
"underutilized": "VBN",
"migrated": "VBN",
"faint": "JJ",
"migrates": "VBZ",
"unmoved": "JJ",
"longstrained": "VBN",
"assuage": "VB",
"depending": "JJ",
"equivocal": "JJ",
"induce": "VB",
"rebounds": "VBZ",
"sanctify": "VB",
"interlaced": "VBN",
"misinterpret": "VB",
"sculptural": "JJ",
"golly": "UH",
"drips": "VBZ",
"draughty": "JJ",
"recast": "VB",
"debated": "VBN",
"arise": "VBP",
"cultivate": "VB",
"cleansing": "JJ",
"emulate": "VB",
"rotund": "JJ",
"unhip": "JJ",
"interesting": "JJ",
"underwhelmed": "VBN",
"paunchy": "JJ",
"utilizes": "VBZ",
"glide": "VB",
"muddied": "JJ",
"evaded": "VBN",
"bigger": "JJR",
"utilized": "VBN",
"nab": "VB",
"modernized": "JJ",
"third": "CD",
"male": "JJ",
"turne": "VB",
"unhealthy": "JJ",
"rankles": "VBZ",
"pedal": "VB",
"overrode": "VBD",
"moan": "VB",
"prescient": "JJ",
"newer": "JJR",
"unchecked": "JJ",
"gangling": "JJ",
"asham": "JJ",
"outstanding": "JJ",
"delisted": "VBN",
"semiliterate": "JJ",
"interferes": "VBZ",
"reckon": "VB",
"pillage": "JJ",
"reunited": "VBN",
"measured": "JJ",
"dissolved": "JJ",
"zey": "PRP",
"perfect": "JJ",
"aggravate": "VBP",
"nevertheless": "RB",
"revered": "JJ",
"epicurean": "JJ",
"short": "JJ",
"nailed": "VBN",
"succeed": "VB",
"bolster": "VB",
"illumines": "VBZ",
"corrode": "VBP",
"leans": "VBZ",
"tradedistorting": "JJ",
"arrives": "VBZ",
"wallops": "VBZ",
"robust": "JJ",
"equalled": "VBN",
"bounces": "VBZ",
"unwomanly": "JJ",
"jots": "VBZ",
"flabbergasted": "JJ",
"streaming": "JJ",
"guar": "JJ",
"jumpy": "JJ",
"beleaguered": "JJ",
"procedural": "JJ",
"decries": "VBZ",
"mustached": "JJ",
"introverted": "JJ",
"deployed": "VBN",
"higher-profit": "JJR",
"beguiling": "JJ",
"saturate": "VB",
"associated": "JJ",
"underground": "JJ",
"elected": "JJ",
"develops": "VBZ",
"weigh": "VB",
"andean": "JJ",
"proximate": "JJ",
"panamanian": "JJ",
"jovian": "JJ",
"overlaps": "VBZ",
"reinterpret": "VB",
"incoherent": "JJ",
"light": "JJ",
"slated": "VBN",
"yalagaloo": "UH",
"elderly": "JJ",
"treat": "VB",
"redo": "VB",
"rackety": "JJ",
"intervenes": "VBZ",
"by-passed": "VBN",
"taiwanese": "JJ",
"amethystine": "JJ",
"purports": "VBZ",
"befits": "VBZ",
"unites": "VBZ",
"shows": "VBZ",
"cheaper": "JJR",
"ferret": "VB",
"spreads": "VBZ",
"saturated": "JJ",
"permanent": "JJ",
"orange": "JJ",
"eastward": "RB",
"bumbling": "JJ",
"impaired": "JJ",
"unpublicized": "JJ",
"profound": "JJ",
"pro": "JJ",
"mitral": "JJ",
"mothered": "VBN",
"which": "WDT",
"flustered": "JJ",
"wilsonian": "JJ",
"promptly": "JJ",
"usual": "JJ",
"manicures": "VBZ",
"illicit": "JJ",
"manicured": "VBN",
"lemme": "VB",
"steams": "VBZ",
"rousseauan": "JJ",
"postgraduate": "JJ",
"shallow": "JJ",
"boring": "JJ",
"westward": "RB",
"alienating": "JJ",
"=": "SYM",
"comest": "VBP",
"halved": "VBN",
"filmed": "VBN",
"interclass": "JJ",
"myriad": "JJ",
"spent": "JJ",
"trims": "VBZ",
"uneven": "JJ",
"expel": "VB",
"junks": "VBZ",
"freckled": "JJ",
"confused": "JJ",
"unlikely": "JJ",
"illiquid": "JJ",
"unconvincing": "JJ",
"narrower": "JJR",
"misapplied": "VBN",
"narrowed": "JJ",
"literal": "JJ",
"sidesteps": "VBZ",
"floats": "VBZ",
"sufficient": "JJ",
"jaded": "JJ",
"acknowledges": "VBZ",
"trumped": "VBN",
"dual": "JJ",
"snuck": "VBD",
"intelligent": "JJ",
"aftuh": "RB",
"wealthy": "JJ",
"reconsidered": "VBN",
"enact": "VB",
"captivating": "JJ",
"meager": "JJ",
"below": "RB",
"throughout": "RB",
"mined": "VBN",
"patiently": "JJ",
"obey": "JJ",
"analysed": "VBN",
"sectarian": "JJ",
"taxpaying": "JJ",
"own": "JJ",
"policed": "VBN",
"demonstrate": "VB",
"rickety": "JJ",
"recork": "VB",
"triphosphopyridine": "JJ",
"apportioned": "VBN",
"quicker": "JJR",
"pricey": "JJ",
"foul": "JJ",
"until": "IN",
"quadruple": "JJ",
"outwit": "JJ",
"demoted": "VBN",
"callin": "VBG",
"tantalizing": "JJ",
"lignite": "JJ",
"vast": "JJ",
"disunited": "JJ",
"tolerate": "VB",
"grovels": "VBZ",
"fissured": "VBN",
"unwanted": "JJ",
"reticulate": "JJ",
"standardized": "JJ",
"taffycolored": "VBN",
"grimed": "VBN",
"overextend": "VBP",
"unmasked": "VBN",
"despondent": "JJ",
"renowned": "JJ",
"monthly": "JJ",
"recruited": "VBN",
"wrought": "VBN",
"unforeseen": "JJ",
"lenient": "JJ",
"code-named": "VBN",
"unwary": "JJ",
"emulsified": "VBN",
"super": "JJ",
"written": "JJ",
"withered": "JJ",
"shipped": "VBN",
"speedy": "JJ",
"repealed": "VBN",
"caught": "VBN",
"due": "JJ",
"infused": "VBN",
"prepurchase": "JJ",
"bethought": "VB",
"lunges": "VBZ",
"expunged": "VBN",
"crawl": "VB",
"untrained": "JJ",
"gripe": "VBP",
"recommended": "JJ",
"debonair": "JJ",
"reverberated": "VBN",
"camp": "JJ",
"rotary": "JJ",
"came": "VBD",
"reschedule": "VB",
"participate": "VB",
"unmanaged": "JJ",
"quaint": "JJ",
"ballyhooed": "VBN",
"organizes": "VBZ",
"pre-empt": "VB",
"denounce": "VBP",
"encompassing": "JJ",
"resigned": "JJ",
"pressured": "JJ",
"oedipal": "JJ",
"wanted": "JJ",
"fullscale": "JJ",
"reconstitute": "VB",
"blessed": "JJ",
"planned": "JJ",
"alternate": "JJ",
"munches": "VBZ",
"hers": "PRP",
"gloats": "VBZ",
"doth": "VBZ",
"gritty": "JJ",
"excited": "JJ",
"overpowers": "VBZ",
"upscale": "JJ",
"damaged": "JJ",
"naw": "UH",
"verify": "VB",
"haggard": "JJ",
"simulates": "VBZ",
"beset": "VBN",
"simulated": "JJ",
"dissects": "VBZ",
"thank": "VB",
"that": "WP",
"subsequent": "JJ",
"than": "RB",
"brought": "VBN",
"ballooned": "VBN",
"polluted": "JJ",
"shakes": "VBZ",
"rejects": "VBZ",
"annualized": "VBN",
"hulking": "JJ",
"few": "JJ",
"sow": "VBP",
"latino": "JJ",
"authorizes": "VBZ",
"waits": "VBZ",
"inside": "JJ",
"faster-working": "JJR",
"buoyed": "VBN",
"centrifuged": "VBN",
"unused": "JJ",
"pet": "JJ",
"conferred": "VBN",
"skate": "VB",
"obsessively": "JJ",
"reverting": "JJ",
"persevere": "JJ",
"everytime": "RB",
"amoral": "JJ",
"alaouite": "JJ",
"cheek-to-jowl": "RB",
"morover": "JJR",
"convenes": "VBZ",
"fake": "JJ",
"flagging": "JJ",
"crammed": "VBN",
"angry": "JJ",
"enriched": "JJ",
"wicked": "JJ",
"sintered": "VBN",
"sanctified": "JJ",
"inflamed": "JJ",
"stole": "VBD",
"savor": "VB",
"undertook": "VBD",
"revealed": "JJ",
"opinionated": "JJ",
"sl": "UH",
"drunken": "JJ",
"augurs": "VBZ",
"wrappin": "VBG",
"flips": "VBZ",
"frequents": "VBZ",
"bulldoze": "VB",
"drunker": "JJR",
"sacrosanct": "JJ",
"tore": "VBD",
"avid": "JJ",
"how": "WRB",
"torn": "JJ",
"sylvan": "JJ",
"mideastern": "JJ",
"learned": "JJ",
"suhthuhn": "JJ",
"squared": "JJ",
"abide": "VB",
"bumpy": "JJ",
"scarred": "JJ",
"open": "JJ",
"partook": "VBP",
"hmpf": "UH",
"hmm": "JJ",
"deglycerolized": "VBN",
"convene": "VB",
"begotten": "VBN",
"infected": "JJ",
"homemade": "JJ",
"preprepared": "VBN",
"fooled": "VBN",
"favors": "VBZ",
"individualized": "JJ",
"unadited": "JJ",
"blinding": "JJ",
"staffed": "VBN",
"crochet": "VB",
"nonlethal": "JJ",
"scattered": "JJ",
"versa": "RB",
"murmurs": "VBZ",
"merit": "JJ",
"debunk": "VB",
"unplagued": "VBN",
"rephrase": "VB",
"freezing": "JJ",
"hinged": "VBN",
"anyways": "UH",
"securities": "NNPS",
"concentrate": "VB",
"mans": "VBZ",
"raddled": "JJ",
"unamortized": "JJ",
"hurts": "VBZ",
"swashbuckling": "JJ",
"recaptured": "VBN",
"concede": "VBP",
"enable": "VB",
"antiquarian": "JJ",
"nonqualified": "VBN",
"diffuse": "JJ",
"spiritual": "JJ",
"profane": "JJ",
"aerosolized": "VBN",
"binary": "JJ",
"prevail": "VB",
"licit": "JJ",
"barbed": "JJ",
"escape": "VB",
"recapture": "VB",
"customized": "JJ",
"clobber": "VB",
"starving": "JJ",
"around": "RB",
"scurrying": "JJ",
"danubian": "JJ",
"expanded": "VBN",
"undercuts": "VBZ",
"cozy": "JJ",
"away": "JJ",
"legged": "JJ",
"shies": "VBZ",
"hev": "VB",
"her": "PP",
"bristles": "VBZ",
"hey": "UH",
"u.s.japan": "JJ",
"underdressed": "JJ",
"browbeaten": "VBN",
"invigorating": "JJ",
"appalling": "JJ",
"solaced": "VBN",
"misplace": "VB",
"resell": "VB",
"mass": "JJ",
"evicted": "VBN",
"uncounted": "JJ",
"overpowered": "VBN",
"misrouted": "VBN",
"immiserated": "JJ",
"sentient": "JJ",
"latvian": "JJ",
"welded": "VBN",
"transposed": "VBN",
"reacquired": "VBN",
"expends": "VBZ",
"beheld": "VBD",
"pulls": "VBZ",
"prompt": "JJ",
"att": "IN",
"glowing": "JJ",
"relinquished": "JJ",
"sq": "JJ",
"waver": "VBP",
"decontaminated": "VBN",
"refuse": "JJ",
"inquire": "VB",
"m-m-m": "UH",
"stealin": "VBG",
"laced": "VBN",
"lacey": "JJ",
"transbay": "JJ",
"speculate": "VB",
"hereafter": "RB",
"unsprayed": "VBN",
"found": "VBD",
"dosed": "VBN",
"reduce": "VB",
"embattled": "JJ",
"launches": "VBZ",
"demure": "JJ",
"sublimed": "VBN",
"belies": "VBZ",
"qualify": "JJ",
"housebound": "JJ",
"longneck": "JJ",
"rooted": "JJ",
"belligerent": "JJ",
"unpleased": "VBN",
"rude": "JJ",
"omnipresent": "JJ",
"polarized": "VBN",
"teensy": "JJ",
"beforehand": "JJ",
"pedestrian": "JJ",
"majoritarian": "JJ",
"herniated": "VBN",
"honduran": "JJ",
"dragged": "VBN",
"drenched": "JJ",
"lengthwise": "RB",
"banned": "VBN",
"re-edited": "VBN",
"potent": "JJ",
"backfire": "VB",
"baritone": "JJ",
"weickerian": "JJ",
"frosty": "JJ",
"u.s.-mexican": "JJ",
"champion": "JJ",
"stung": "JJ",
"selfdamaging": "JJ",
"limited": "JJ",
"italicized": "VBN",
"equilibrated": "VBN",
"befuddled": "JJ",
"befuddles": "VBZ",
"entrenched": "JJ",
"squandered": "VBN",
"continue": "VB",
"aloft": "RB",
"digitizes": "VBZ",
"weatherbeaten": "JJ",
"striven": "VBN",
"strives": "VBZ",
"hoo-pig": "UH",
"uh": "UH",
"deviate": "VB",
"lucid": "JJ",
"holed": "VBN",
"melts": "VBZ",
"knotted": "JJ",
"tattered": "JJ",
"soften": "VB",
"longstanding": "JJ",
"edgewise": "RB",
"pestilent": "JJ",
"stocked": "VBN",
"creeps": "VBZ",
"racy": "JJ",
"licensed": "JJ",
"imply": "VB",
"aboveboard": "JJ",
"sixth": "CD",
"resulting": "JJ",
"buffered": "VBN",
"unmasculine": "JJ",
"causal": "JJ",
"exciting": "JJ",
"unplug": "VB",
"prompts": "VBZ",
"nonliterary": "JJ",
"slid": "VBD",
"slim": "JJ",
"slip": "VB",
"higher-fat": "JJR",
"fits": "VBZ",
"chosen": "JJ",
"mitigates": "VBZ",
"wholesale": "RB",
"outlined": "VBN",
"innermost": "JJ",
"launder": "VB",
"legendary": "JJ",
"regionalism": "JJ",
"minimalist": "JJ",
"castigate": "VB",
"antimissile": "JJ",
"delineate": "VB",
"graze": "VBP",
"point": "JJ",
"put": "VB",
"ultramodern": "JJ",
"yells": "VBZ",
"actual": "JJ",
"difficult": "JJ",
"disengage": "VB",
"meanin": "VBG",
"bother": "VB",
"trusting": "JJ",
"reassuring": "JJ",
"gentle": "JJ",
"fourteenth": "CD",
"awed": "JJ",
"astride": "RB",
"awes": "VBZ",
"midmonth": "RB",
"tramps": "VBZ",
"incarcerate": "VB",
"briny": "JJ",
"pitched": "JJ",
"burnished": "VBN",
"meant": "VBD",
"because": "IN",
"unexecuted": "VBN",
"meted": "VBN",
"packed": "JJ",
"rejoins": "VBZ",
"reappears": "VBZ",
"invited": "VBN",
"scribe": "VB",
"invites": "VBZ",
"inspiring": "JJ",
"distil": "VB",
"concerted": "JJ",
"whitewashed": "JJ",
"appalls": "VBZ",
"fitting": "JJ",
"askew": "RB",
"upmarket": "JJ",
"concealed": "JJ",
"grew": "VBD",
"pleasantly": "JJ",
"fascinate": "VB",
"renegotiated": "VBN",
"closer": "JJR",
"immortalized": "VBN",
"fuming": "JJ",
"clipped": "VBN",
"exempt": "JJ",
"supervise": "VB",
"whopping": "JJ",
"redound": "VB",
"inexperienced": "JJ",
"treks": "VBZ",
"out-compete": "VB",
"dependent": "JJ",
"broader": "JJR",
"centrist": "JJ",
"rectify": "JJ",
"assess": "VB",
"contrarian": "JJ",
"larval": "JJ",
"impeding": "JJ",
"insanely": "JJ",
"compute": "VB",
"tertian": "JJ",
"appraise": "VB",
"contribute": "VB",
"unsavory": "JJ",
"r-revised": "VBN",
"scholarly": "JJ",
"ticketed": "VBN",
"superefficient": "JJ",
"defraud": "VB",
"begrudge": "VB",
"pique": "JJ",
"bubbling": "JJ",
"frank": "JJ",
"kindred": "JJ",
"unveiled": "JJ",
"motivate": "JJ",
"hamiltonian": "JJ",
"hatted": "VBN",
"validated": "VBN",
"welsh": "JJ",
"witching": "JJ",
"hasty": "JJ",
"infested": "JJ",
"decide": "VB",
"highlights": "VBZ",
"bespeak": "VBP",
"versus": "IN",
"woken": "VBN",
"affianced": "VBN",
"absolve": "VBP",
"kneels": "VBZ",
"confess": "VB",
"transcends": "VBZ",
"motorized": "JJ",
"attested": "VBN",
"mourning": "JJ",
"lies": "VBZ",
"buys": "VBZ",
"created": "VBN",
"creates": "VBZ",
"regress": "VB",
"contrary": "JJ",
"vulgar": "JJ",
"daunting": "JJ",
"sparse": "JJ",
"guzzle": "VB",
"thick": "JJ",
"happily": "JJ",
"minus": "CC",
"effectuate": "VB",
"quieter": "JJR",
"laden": "JJ",
"hamper": "VB",
"transmit": "VB",
"frozen": "JJ",
"exercised": "VBN",
"went": "VBD",
"missed": "JJ",
"doped": "JJ",
"steadying": "JJ",
"european": "JJ",
"deepest": "RB",
"fiscal": "JJ",
"gored": "VBN",
"quick": "JJ",
"uninhabited": "JJ",
"indonesian": "JJ",
"warmed-over": "IN",
"ocular": "JJ",
"brag": "VB",
"condemned": "VBN",
"cleaning": "JJ",
"deterred": "VBN",
"aim": "VB",
"inspired": "JJ",
"launched": "VBN",
"prescribed": "JJ",
"prescribes": "VBZ",
"kali": "VBP",
"nondrying": "JJ",
"bandied": "VBN",
"re-activate": "VB",
"expelled": "VBN",
"vies": "VBZ",
"augur": "VBP",
"honored": "VBN",
"somersaulting": "JJ",
"mulls": "VBZ",
"goldbanded": "VBN",
"bound": "JJ",
"insider": "JJR",
"capped": "JJ",
"mutates": "VBZ",
"divertimento": "JJ",
"mutated": "VBN",
"converse": "VB",
"true": "JJ",
"left": "JJ",
"nationwide": "JJ",
"undefeated": "JJ",
"anew": "RB",
"inquiring": "JJ",
"lowering": "JJ",
"lumped": "VBN",
"write": "VB",
"topped": "JJ",
"concurrent": "JJ",
"governed": "JJ",
"outlive": "VB",
"collared": "VBN",
"loyal": "JJ",
"erased": "VBN",
"margined": "VBN",
"unmixed": "VBN",
"bowenized": "VBN",
"perceived": "JJ",
"just": "JJ",
"perceives": "VBZ",
"woven": "VBN",
"unsubsidized": "JJ",
"appear": "VBP",
"georgian": "JJ",
"sells": "VBZ",
"incoming": "JJ",
"impatiently": "JJ",
"penalizes": "VBZ",
"outfly": "VB",
"penalized": "VBN",
"stingy": "JJ",
"prove": "JJ",
"cuter": "JJR",
"pity": "JJ",
"hesitates": "VBZ",
"unsung": "JJ",
"undiversified": "JJ",
"hardest": "RB",
"renders": "VBZ",
"can": "MD",
"nonpaying": "JJ",
"o": "IN",
"repackaged": "VBN",
"unwavering": "JJ",
"bitter": "JJ",
"freezes": "VBZ",
"deviates": "VBZ",
"priestly": "JJ",
"deactivated": "VBN",
"deactivates": "VBZ",
"compress": "VB",
"scarcer": "JJR",
"intrigued": "JJ",
"hurried": "JJ",
"hurries": "VBZ",
"happen": "VB",
"antiwar": "JJ",
"worshiped": "VBN",
"side-by-side": "RB",
"carp": "VBP",
"counteracted": "VBN",
"beautify": "VBP",
"entrusted": "VBN",
"linked": "VBN",
"indecent": "JJ",
"untrue": "JJ",
"drove": "VBD",
"checked": "VBN",
"locking": "JJ",
"comfy": "JJ",
"distorted": "JJ",
"uncousinly": "JJ",
"]": ")",
"forever": "RB",
"unamended": "JJ",
"underestimates": "VBZ",
"thefin": "VBG",
"rambling": "JJ",
"u.s.-made": "JJ",
"southwest": "RB",
"overwritten": "JJ",
"peritoneal": "JJ",
"crotchety": "JJ",
"effectual": "JJ",
"incite": "VB",
"blame": "VB",
"pertain": "VBP",
"oh-the-pain-of-it": "UH",
"through": "JJ",
"newfound": "JJ",
"evict": "VB",
"stick": "VB",
"prurient": "JJ",
"confectionary": "JJ",
"pleads": "VBZ",
"petted": "VBN",
"bigoted": "JJ",
"anecdotal": "JJ",
"smelt": "VBD",
"enchanting": "JJ",
"comment": "VB",
"gimmee": "UH",
"fleeced": "VBN",
"warms": "VBZ",
"zany": "JJ",
"unfold": "VB",
"unaccounted": "JJ",
"commend": "VB",
"bespectacled": "JJ",
"fullyear": "JJ",
"uneasy": "JJ",
"wold": "MD",
"backbench": "JJ",
"seek": "VB",
"snuffed": "VBN",
"computerized": "JJ",
"suited": "JJ",
"fancy": "JJ",
"untidy": "JJ",
"refocus": "VB",
"equate": "VB",
"maladjusted": "JJ",
"concurring": "JJ",
"colossal": "JJ",
"overturns": "VBZ",
"staged": "JJ",
"modify": "VB",
"unproven": "JJ",
"disassociate": "VB",
"toys": "NNPS",
"entails": "VBZ",
"instrumental": "JJ",
"mounted": "VBN",
"offended": "JJ",
"decapitalized": "JJ",
"northernmost": "JJ",
"sneak": "VB",
"custom-make": "VB",
"crafty": "JJ",
"help": "VB",
"sooo": "RB",
"teeming": "JJ",
"acculturated": "VBN",
"nondollar": "JJ",
"ye": "PRP",
"vomit": "VBP",
"anticipates": "VBZ",
"ys": "VBZ",
"stopped": "JJ",
"positioned": "VBN",
"dominates": "VBZ",
"platter": "JJ",
"blossom": "VB",
"dominating": "JJ",
"bum": "JJ",
"transcendent": "JJ",
"ulcerated": "JJ",
"uncolored": "JJ",
"ousted": "VBN",
"parliamentary": "JJ",
"gon": "VBG",
"sidewise": "RB",
"aboveground": "JJ",
"languid": "JJ",
"bespeaks": "VBZ",
"scorched": "JJ",
"paranoid": "JJ",
"outlast": "VB",
"docile": "JJ",
"molten": "JJ",
"poisoned": "JJ",
"disapproving": "JJ",
"changed": "JJ",
"protecting": "JJ",
"disgruntled": "JJ",
"bifurcate": "JJ",
"quips": "VBZ",
"as-yet": "RB",
"woke": "VBD",
"weatherstrip": "VB",
"hewn": "JJ",
"complies": "VBZ",
"hews": "VBZ",
"complied": "VBN",
"alexandrine": "JJ",
"f.o.b": "JJ",
"overstate": "VB",
"allied": "JJ",
"reenact": "VB",
"loom": "VBZ",
"soiled": "JJ",
"look": "JJ",
"endanger": "VB",
"loot": "JJ",
"clientslose": "JJ",
"confound": "VB",
"reads": "VBZ",
"born": "VBN",
"repudiated": "VBN",
"discredit": "VB",
"prick": "VB",
"extortionate": "JJ",
"migratory": "JJ",
"decayed": "JJ",
"insert": "VB",
"resold": "VBN",
"paginated": "VBN",
"forgets": "VBZ",
"minimal": "JJ",
"berated": "VBN",
"stem": "VB",
"lasts": "VBZ",
"toppled": "VBN",
"shiny": "JJ",
"dietary": "JJ",
"paltry": "JJ",
"computes": "VBZ",
"legislates": "VBZ",
"nonsense": "JJ",
"unbeknownst": "RB",
"manufacture": "VB",
"inept": "JJ",
"bolsters": "VBZ",
"fishy": "JJ",
"accustomed": "JJ",
"chafed": "VBN",
"chafes": "VBZ",
"dammed-up": "VBN",
"sullen": "JJ",
"overlong": "JJ",
"sounder": "JJR",
"sales-of": "IN",
"aware": "JJ",
"backflips": "VBZ",
"shackled": "VBN",
"cellular": "JJ",
"facilitate": "VB",
"compensated": "JJ",
"among": "IN",
"compensates": "VBZ",
"intraocular": "JJ",
"marketed": "VBN",
"quell": "VB",
"overseen": "VBN",
"oversees": "VBZ",
"win": "JJ",
"remains": "VBZ",
"vivid": "JJ",
"four-for-one": "RB",
"ushers": "VBZ",
"cheapens": "VBZ",
"ferrets": "VBZ",
"intraparty": "JJ",
"advocated": "VBN",
"catty": "JJ",
"feels": "VBZ",
"emptied": "VBN",
"smarts": "VBZ",
"sing": "VB",
"placid": "JJ",
"grumbling": "JJ",
"divides": "VBZ",
"benedictine": "JJ",
"withering": "JJ",
"upset": "JJ",
"soldered": "VBN",
"reallocate": "VB",
"underperforms": "VBZ",
"breezy": "JJ",
"deploy": "VB",
"expires": "VBZ",
"passe": "JJ",
"must": "MD",
"(": "(",
"rash": "JJ",
"suckered": "VBN",
"popular": "JJ",
"course": "RB",
"gush": "VBP",
"counterprogram": "VB",
"spotted": "VBN",
"freeze": "VB",
"desperate": "JJ",
"reattached": "VBN",
"reconfirm": "VB",
"missing": "JJ",
"supernatural": "JJ",
"demur": "VBP",
"lamechian": "JJ",
"melds": "VBZ",
"diligent": "JJ",
"christen": "VB",
"budgetary": "JJ",
"low": "JJ",
"hoverin": "VBG",
"sizzling": "JJ",
"hytt": "PRP",
"outspread": "VBN",
"coincidental": "JJ",
"inhabits": "VBZ",
"swinging": "JJ",
"overrendered": "VBN",
"strange": "JJ",
"nightly": "JJ",
"fierce": "JJ",
"weld": "VB",
"well": "JJ",
"sovietized": "JJ",
"skill": "JJ",
"spenglerian": "JJ",
"imparts": "VBZ",
"accomodate": "VB",
"executed": "VBN",
"gephardtian": "JJ",
"drizzly": "JJ",
"seventh": "JJ",
"injects": "VBZ",
"unfleshed": "VBN",
"interlinked": "VBN",
"beige": "JJ",
"attains": "VBZ",
"synthesized": "VBN",
"synthesizes": "VBZ",
"f-as": "IN",
"threaten": "VB",
"storied": "JJ",
"empty": "JJ",
"stumpy": "JJ",
"heed": "VB",
"empowers": "VBZ",
"persistent": "JJ",
"uneducated": "JJ",
"sunburnt": "JJ",
"plenary": "JJ",
"calculate": "VB",
"syndciated": "VBN",
"embroider": "VBP",
"hath": "VBZ",
"horse-blanket": "RB",
"nepalese": "NNPS",
"winded": "JJ",
"hazy": "JJ",
"liberated": "JJ",
"rests": "VBZ",
"sombre": "JJ",
"exacting": "JJ",
"afraid": "JJ",
"rather": "JJ",
"includes": "VBZ",
"adult": "JJ",
"protozoan": "JJ",
"aligned": "JJ",
"somber": "JJ",
"akin": "JJ",
"divergent": "JJ",
"sinusoidal": "JJ",
"masterly": "JJ",
"lure": "JJ",
"construe": "VB",
"higher-paid": "JJR",
"overtaken": "VBN",
"foresaw": "VBD",
"decaffeinated": "VBN",
"bony": "JJ",
"mean": "JJ",
"improvise": "VB",
"awry": "RB",
"rebuts": "VBZ",
"quantify": "VB",
"bluntest": "RBS",
"rehearsed": "VBN",
"backlit": "JJ",
"allso": "RB",
"trichrome": "JJ",
"bioengineer": "VB",
"wronged": "JJ",
"thereon": "RB",
"buddhist": "JJ",
"comforted": "VBN",
"torpid": "JJ",
"annotated": "VBN",
"introduce": "VB",
"consider": "VB",
"stratified": "JJ",
"unthinking": "JJ",
"divulge": "VB",
"directed": "VBN",
"caricatured": "VBN",
"mitigate": "VB",
"mushy": "JJ",
"consumes": "VBZ",
"explain": "VB",
"free": "JJ",
"stabbing": "JJ",
"clobbered": "VBN",
"fret": "VBP",
"waylaid": "VBN",
"searching": "JJ",
"cower": "VBP",
"grilled": "JJ",
"decides": "VBZ",
"boost": "VB",
"smacks": "VBZ",
"overt": "JJ",
"staves": "VBZ",
"disorderly": "JJ",
"cutglass": "JJ",
"pollinated": "VBN",
"against": "IN",
"gushes": "VBZ",
"loaded": "JJ",
"riled": "JJ",
"erect": "VB",
"riles": "VBZ",
"suppress": "VB",
"prolonged": "JJ",
"decrepit": "JJ",
"censored": "JJ",
"say": "VB",
"melted": "JJ",
"mousy": "JJ",
"defeated": "JJ",
"faked": "VBN",
"entitles": "VBZ",
"contaminate": "VB",
"kid": "JJ",
"unconcerned": "JJ",
"virile": "JJ",
"heavenly": "JJ",
"erected": "VBN",
"unnecessary": "JJ",
"ridicules": "VBZ",
"broad": "JJ",
"unorganized": "JJ",
"compleated": "VBN",
"warrent": "JJ",
"frustrated": "JJ",
"gentrified": "VBN",
"idealized": "JJ",
"largest-ever": "RB",
"breathe": "VB",
"frowzy": "JJ",
"franciscan": "JJ",
"cushioned": "VBN",
"skirted": "VBN",
"prepupal": "JJ",
"decelerate": "VB",
"customary": "JJ",
"downplays": "VBZ",
"proletarian": "JJ",
"fancies": "VBZ",
"breathy": "JJ",
"skirting": "JJ",
"simmer": "VB",
"shoot": "VB",
"estranging": "JJ",
"trended": "VBN",
"zooms": "VBZ",
"dwelled": "VBN",
"tangent": "JJ",
"tuxedoed": "JJ",
"swipes": "VBZ",
"bruised": "JJ",
"elect": "VB",
"undepicted": "JJ",
"withal": "IN",
"surmount": "VB",
"aye": "RB",
"diversionary": "JJ",
"demolish": "VB",
"unimproved": "JJ",
"mar": "VB",
"mad": "JJ",
"mai": "MD",
"mah": "PRP",
"deceive": "VB",
"unleash": "VB",
"recoup": "VB",
"comes": "VBZ",
"less-perfectly": "RBR",
"bestselling": "JJ",
"simple": "JJ",
"scolded": "VBN",
"shorted": "VBN",
"swears": "VBZ",
"shorter": "JJR",
"startled": "JJ",
"fazed": "JJ",
"hemmed": "VBN",
"sideways": "JJ",
"infuriating": "JJ",
"normal": "JJ",
"thine": "JJ",
"sounds": "VBZ",
"cheesy": "JJ",
"tough": "JJ",
"interred": "JJ",
"cleanse": "VB",
"midtown": "JJ",
"reacquire": "VB",
"notched": "JJ",
"stubby": "JJ",
"monochrome": "JJ",
"center-punch": "VB",
"enter": "VB",
"coveted": "JJ",
"shot": "VBN",
"elevate": "VB",
"fend": "VB",
"rubenesquely": "JJ",
"reproduced": "VBN",
"plumb": "RB",
"worrying": "JJ",
"limber": "JJ",
"malted": "VBN",
"enthralling": "JJ",
"soars": "VBZ",
"continues": "VBZ",
"cornered": "VBN",
"slain": "VBN",
"u.s.-japanese": "JJ",
"here": "RB",
"intrude": "JJ",
"umber": "JJ",
"memorialized": "VBN",
"somehow": "RB",
"ongoing": "JJ",
"orginate": "VB",
"planar": "JJ",
"malformed": "JJ",
"baptismal": "JJ",
"worryin": "VBG",
"to": "TO",
"slanted": "VBN",
"grim": "JJ",
"thirsted": "VBN",
"ascend": "VB",
"amazing": "JJ",
"added": "JJ",
"pioneer": "JJ",
"highbrow": "JJ",
"dry": "JJ",
"annoys": "VBZ",
"unwarranted": "JJ",
"totalitarian": "JJ",
"sophisticated": "JJ",
"nonacid": "JJ",
"beneath": "RB",
"electrifying": "JJ",
"grasped": "VBN",
"carps": "VBZ",
"stilted": "JJ",
"decorated": "JJ",
"prewar": "JJ",
"inhibited": "JJ",
"wormy": "JJ",
"duplicates": "VBZ",
"dazed": "JJ",
"prolongs": "VBZ",
"duplicated": "JJ",
"unsuspected": "JJ",
"overtakin": "VBG",
"bankrolled": "VBN",
"chandelle": "VB",
"cultural": "JJ",
"everlasting": "JJ",
"disinflationary": "JJ",
"cleared": "JJ",
"empties": "VBZ",
"eyd": "VBN",
"dunks": "VBZ",
"atone": "VB",
"slovenly": "JJ",
"bravely": "JJ",
"traduced": "VBN",
"attain": "VB",
"stained": "JJ",
"hypnotized": "VBN",
"misplaced": "JJ",
"played": "VBN",
"winged": "JJ",
"hifalutin": "JJ",
"u.s.-endorsed": "JJ",
"rifled": "JJ",
"predisposed": "JJ",
"noncommissioned": "JJ",
"suffer": "VB",
"thrilling": "JJ",
"complain": "VBP",
"exquisite": "JJ",
"watered": "VBN",
"ironed": "JJ",
"beneficient": "JJ",
"manned": "JJ",
"dons": "VBZ",
"done": "VBN",
"rerouted": "VBN",
"revive": "VB",
"pare": "VB",
"draped": "JJ",
"rockin": "JJ",
"part": "RB",
"says": "VBZ",
"declare": "VB",
"idled": "VBN",
"custom": "JJ",
"trifled": "VBN",
"easygoing": "JJ",
"serve": "VBP",
"cosy": "JJ",
"defiles": "VBZ",
"devastate": "VB",
"common": "JJ",
"kuwaiti": "JJ",
"resolute": "JJ",
"electoral": "JJ",
"distraught": "JJ",
"scuttle": "VB",
"caked": "VBN",
"ensures": "VBZ",
"vertebrate": "JJ",
"kidnapped": "VBN",
"gay": "JJ",
"replaces": "VBZ",
"outperforms": "VBZ",
"consular": "JJ",
"aches": "JJ",
"engrossed": "JJ",
"wherein": "WRB",
"benign": "JJ",
"absolved": "JJ",
"craved": "VBN",
"redesigned": "VBN",
"craven": "JJ",
"craves": "VBZ",
"toil": "VBP",
"vague": "JJ",
"displace": "VB",
"coupled": "JJ",
"fond": "JJ",
"channelled": "VBN",
"obliged": "JJ",
"obliges": "VBZ",
"fivefold": "RB",
"metamorphosed": "VBN",
"connecting": "JJ",
"visionary": "JJ",
"wayward": "JJ",
"wilted": "JJ",
"harassed": "JJ",
"framed": "JJ",
"discomfit": "VB",
"perhaps": "JJ",
"notarized": "VBN",
"adjudicate": "VB",
"spurns": "VBZ",
"ascertained": "VBN",
"beckons": "VBZ",
"whosever": "WP",
"integral": "JJ",
"stupefying": "JJ",
"molal": "JJ",
"cassocked": "JJ",
"revisionist": "JJ",
"demoniac": "JJ",
"neater": "JJR",
"tack-solder": "VB",
"brazilian": "JJ",
"asteroid": "JJ",
"silted": "VBN",
"normalized": "VBN",
"encourage": "VB",
"pedaled": "VBN",
"unwitting": "JJ",
"inviolate": "JJ",
"sought": "JJ",
"lame": "JJ",
"factored": "VBN",
"bushwhackin": "JJ",
"nary": "JJ",
"picturesque": "JJ",
"sidelong": "JJ",
"burning": "JJ",
"stronghold": "JJ",
"spell": "VB",
"loves": "VBZ",
"virulent": "JJ",
"fed": "VBN",
"richterian": "JJ",
"plods": "VBZ",
"repress": "VB",
"fouled": "JJ",
"grieving": "JJ",
"unspent": "JJ",
"swept": "VBN",
"sixteenth": "CD",
"eavesdrop": "VB",
"smolder": "VBP",
"dreary": "JJ",
"perforce": "RB",
"discretionary": "JJ",
"o.k": "UH",
"circumspect": "JJ",
"flush": "RB",
"transitory": "JJ",
"fought": "VBD",
"prays": "VBZ",
"rubber-stamp": "VB",
"afresh": "RB",
"wherewith": "VB",
"stranded": "JJ",
"festooned": "VBN",
"underappreciated": "JJ",
"cycled": "VBN",
"emitted": "VBN",
"deliver": "VB",
"handpicked": "VBN",
"asunder": "RB",
"swallow": "VB",
"hoe": "VB",
"unearthed": "VBN",
"attends": "VBZ",
"certain": "JJ",
"phosphorescent": "JJ",
"protect": "VB",
"inherits": "VBZ",
"walks": "VBZ",
"unretouched": "JJ",
"oink": "UH",
"frontal": "JJ",
"ride": "VB",
"unruly": "JJ",
"pampered": "JJ",
"knotty": "JJ",
"necessitate": "VBP",
"wide": "JJ",
"offers": "VBZ",
"shrug": "VB",
"unfunny": "JJ",
"afterward": "RB",
"accosted": "VBN",
"oiled": "JJ",
"although": "IN",
"raiding": "JJ",
"ribbed": "JJ",
"comprised": "VBN",
"prevailing": "JJ",
"faltering": "JJ",
"obliterated": "JJ",
"imbibed": "VBN",
"glib": "JJ",
"snagged": "VBN",
"proposed": "JJ",
"uninhibited": "JJ",
"recounts": "VBZ",
"undiluted": "JJ",
"antiviral": "JJ",
"noriegan": "JJ",
"know": "VB",
"uncommon": "JJ",
"co-develop": "VB",
"sleep": "VB",
"many-times": "RB",
"hammers": "VBZ",
"poorly": "JJ",
"snipe": "VB",
"hampered": "VBN",
"maximized": "VBN",
"pooled": "VBN",
"undated": "JJ",
"redistributed": "VBN",
"worsen": "VB",
"insinuate": "VB",
"redistributes": "VBZ",
"endorse": "VB",
"balking": "JJ",
"feisty": "JJ",
"follow": "VB",
"represented": "VBN",
"stipulates": "VBZ",
"disclaims": "VBZ",
"stipulated": "JJ",
"sick": "JJ",
"express": "RB",
"mediate": "VB",
"interpenetrate": "VBP",
"eat": "VB",
"prearranged": "VBN",
"unilateral": "JJ",
"sneers": "VBZ",
"aching": "JJ",
"moisten": "VB",
"snarling": "JJ",
"decreasing": "JJ",
"aloud": "RB",
"nouvelle": "JJ",
"outshine": "JJ",
"utilitarian": "JJ",
"supervoting": "JJ",
"entranced": "VBN",
"compelling": "JJ",
"onleh": "RB",
"fraught": "JJ",
"adjust": "VB",
"aspire": "VB",
"onto": "IN",
"grassed": "VBN",
"rang": "VBD",
"rank": "JJ",
"bombard": "JJ",
"lulled": "VBN",
"geered": "VBN",
"rewritten": "VBN",
"indeterminate": "JJ",
"urban": "JJ",
"overdraw": "VB",
"wrapped": "JJ",
"bloated": "JJ",
"interrelated": "JJ",
"conceived": "VBN",
"yank": "VB",
"sage": "JJ",
"pickin": "VBG",
"delays": "VBZ",
"criticizes": "VBZ",
"fluid": "JJ",
"criticized": "VBN",
"congruent": "JJ",
"older-skewing": "JJR",
"wrest": "VB",
"proclaims": "VBZ",
"corrupt": "JJ",
"modulate": "VBP",
"wear": "VB",
"amortized": "VBN",
"subverts": "VBZ",
"interacts": "VBZ",
"uncharged": "JJ",
"lusty": "JJ",
"settle": "VB",
"deflect": "VB",
"trendy": "JJ",
"appease": "VB",
"bugged": "VBN",
"ought": "MD",
"dearer": "JJR",
"vie": "VBP",
"trashed": "VBN",
"spanned": "VBN",
"zoom": "VB",
"overrated": "JJ",
"hung": "VBD",
"smarmy": "JJ",
"wrenching": "JJ",
"totals": "VBZ",
"hastens": "VBZ",
"idolized": "JJ",
"plus": "JJ",
"over-stress": "VB",
"credited": "VBN",
"overbid": "VBD",
"unbalanced": "JJ",
"icy": "JJ",
"quash": "JJ",
"sours": "VBZ",
"little": "JJ",
"encroach": "VB",
"obsolete": "JJ",
"deluded": "JJ",
"transcontinental": "JJ",
"shove": "VB",
"ravaging": "JJ",
"floating": "JJ",
"emerge": "VB",
"hoppled": "VBN",
"brighter": "JJR",
"reorder": "VB",
"sheds": "VBZ",
"eighteenth": "CD",
"begs": "VBZ",
"leavin": "VBG",
"fascist": "JJ",
"scoff": "VBP",
"muggy": "JJ",
"liquid": "JJ",
"invests": "VBZ",
"furnished": "JJ",
"paternalist": "JJ",
"furnishes": "VBZ",
"white": "JJ",
"supplemented": "VBN",
"underneath": "RB",
"coaxes": "VBZ",
"populated": "VBN",
"inopportune": "JJ",
"tuned": "VBN",
"de-iodinated": "VBN",
"overmedicated": "VBN",
"accelerated": "VBN",
"unpaid": "JJ",
"start": "VB",
"peddles": "VBZ",
"terrifying": "JJ",
"peddled": "VBN",
"seduced": "VBN",
"cope": "VB",
"naked": "JJ",
"seduces": "VBZ",
"specify": "VB",
"schooled": "VBN",
"rend": "VB",
"unglazed": "VBN",
"ideal": "JJ",
"sculpted": "VBN",
"adhere": "VB",
"hustles": "VBZ",
"unshaven": "JJ",
"principled": "JJ",
"multimillion": "JJ",
"reveal": "VB",
"abler": "JJR",
"kitschy": "JJ",
"interfere": "JJ",
"wanders": "VBZ",
"recumbent": "JJ",
"pontificates": "VBZ",
"hunched": "VBN",
"swum": "VBN",
"bequeathed": "VBN",
"sniff": "VB",
"vary": "VBP",
"premature": "JJ",
"pre-date": "VB",
"enriches": "VBZ",
"unqualified": "JJ",
"synthesised": "VBN",
"shroud": "VBP",
"halfway": "JJ",
"rose": "VBD",
"disrupt": "VB",
"confined": "JJ",
"reduces": "VBZ",
"snort": "VB",
"substandard": "JJ",
"reduced": "JJ",
"resonate": "VB",
"unfertile": "JJ",
"infinite": "JJ",
"amongst": "IN",
"inscribed": "VBN",
"encompass": "VB",
"discerned": "VBN",
"hired": "JJ",
"heathen": "JJ",
"deafening": "JJ",
"internalized": "VBN",
"tanned": "JJ",
"amusement": "JJ",
"all": "DT",
"hmmm": "UH",
"wanton": "JJ",
"strut": "VB",
"sentimental": "JJ",
"nursing": "JJ",
"proscribed": "JJ",
"proscribes": "VBZ",
"immanent": "JJ",
"monodisperse": "JJ",
"frustrate": "VB",
"condensed": "JJ",
"exaggerated": "JJ",
"top": "JJ",
"too": "RB",
"denominated": "VBN",
"overall": "JJ",
"minor": "JJ",
"pinheaded": "JJ",
"nitpicking": "JJ",
"particularly": "JJ",
"influenced": "VBN",
"bawdy": "JJ",
"structural": "JJ",
"unsurprising": "JJ",
"prefers": "VBZ",
"stash": "VB",
"outraged": "JJ",
"reconnect": "VB",
"pray": "JJ",
"disagrees": "VBZ",
"prai": "VBP",
"flexural": "JJ",
"thoroughbred": "JJ",
"asean": "JJ",
"but-bulls": "IN",
"sedimentary": "JJ",
"inflates": "VBZ",
"buffetted": "VBN",
"inflated": "JJ",
"reverent": "JJ",
"clandestine": "JJ",
"induces": "VBZ",
"induced": "JJ",
"e.g": "RB",
"feed": "VB",
"feel": "VB",
"brisker": "JJR",
"hangs": "VBZ",
"grimy": "JJ",
"recovered": "JJ",
"korean": "JJ",
"chousin": "VBG",
"insulted": "JJ",
"rife": "JJ",
"contractual": "JJ",
"choral": "JJ",
"finds": "VBZ",
"relive": "VBP",
"amateur": "JJ",
"grotesque": "JJ",
"unsuited": "JJ",
"funded": "VBN",
"fastest": "RB",
"compiles": "VBZ",
"restudy": "VB",
"repulsed": "VBN",
"desegregated": "VBN",
"outfit": "JJ",
"gussied": "VBN",
"crispy": "JJ",
"scented": "JJ",
"re-explore": "VB",
"skyward": "RB",
"stagewhispers": "VBZ",
"evaluates": "VBZ",
"canvassed": "VBN",
"distrusts": "VBZ",
"stimulates": "VBZ",
"assuaged": "VBN",
"stimulated": "JJ",
"resuscitated": "VBN",
"throwaway": "JJ",
"lowers": "VBZ",
"canted": "JJ",
"governmental": "JJ",
"reinstate": "VB",
"complains": "VBZ",
"entangled": "JJ",
"rotate": "VB",
"baited": "VBN",
"upraised": "VBN",
"wanna": "VB",
"gouge": "VB",
"analyze": "VB",
"contrite": "JJ",
"tutored": "VBN",
"consist": "VB",
"shooed": "VBN",
"highlight": "VB",
"sublet": "VB",
"shallower": "JJR",
"garbed": "VBN",
"wrestle": "VB",
"uninspected": "JJ",
"veterinary": "JJ",
"unstapled": "JJ",
"interpenetrates": "VBZ",
"midocean": "JJ",
"posture": "JJ",
"super-imposed": "VBN",
"stratify": "VB",
"datelined": "VBN",
"brief": "JJ",
"galloped": "VBN",
"garbled": "JJ",
"recount": "VB",
"detects": "VBZ",
"dusted": "VBN",
"bittersweet": "JJ",
"sit": "VB",
"outclass": "VBP",
"immersed": "VBN",
"rifkinesque": "JJ",
"reauthorized": "VBN",
"pulsed": "VBN",
"demobilized": "VBN",
"statutory": "JJ",
"beguile": "VBP",
"hankered": "VBN",
"frightening": "JJ",
"liberian": "JJ",
"gassed": "VBN",
"restrict": "VB",
"beveled": "VBN",
"lilac": "JJ",
"tepid": "JJ",
"indulges": "VBZ",
"tabulate": "VB",
"unencumbered": "JJ",
"supports": "VBZ",
"engenders": "VBZ",
"north": "RB",
"misinformed": "VBN",
"docketed": "VBN",
"reflecting": "JJ",
"overreaches": "VBZ",
"blue": "JJ",
"leery": "JJ",
"rearranges": "VBZ",
"barrette": "JJ",
"alarmed": "JJ",
"neighboring": "JJ",
"bulging": "JJ",
"riiiing": "UH",
"squirms": "VBZ",
"deceives": "VBZ",
"allocate": "VB",
"deceived": "VBN",
"televised": "VBN",
"frustrates": "VBZ",
"underscores": "VBZ",
"sequenced": "VBN",
"walk": "VB",
"subsurface": "JJ",
"counterculture": "JJ",
"inbound": "JJ",
"interrupts": "VBZ",
"nicked": "VBN",
"walloping": "JJ",
"overturn": "VB",
"outspend": "VBP",
"improves": "VBZ",
"fantasized": "VBN",
"extramural": "JJ",
"re-paid": "VBD",
"gutted": "VBN",
"dismounts": "VBZ",
"riveted": "VBN",
"obtain": "VB",
"stowed": "VBN",
"rescind": "VB",
"incendiary": "JJ",
"sultry": "JJ",
"informed": "JJ",
"debuts": "VBZ",
"fluorescent": "JJ",
"dulcet": "JJ",
"incipient": "JJ",
"good-bye": "UH",
"made": "JJ",
"whether": "IN",
"atheist": "JJ",
"inadequate": "JJ",
"writes": "VBZ",
"mutual": "JJ",
"cutthroat": "JJ",
"strident": "JJ",
"nonbuilding": "JJ",
"metabolized": "VBN",
"twangy": "JJ",
"extort": "VB",
"ole": "JJ",
"consists": "VBZ",
"rusty": "JJ",
"weary": "JJ",
"wrong": "JJ",
"redelivered": "VBN",
"contributes": "VBZ",
"specialist": "JJ",
"misjudged": "JJ",
"brocaded": "JJ",
"reported": "VBN",
"rise-perhaps": "RB",
"sweltering": "JJ",
"holy": "JJ",
"detracts": "VBZ",
"menaced": "VBN",
"pardon": "VB",
"malign": "JJ",
"hot": "JJ",
"classify": "VB",
"a": "DT",
"infrastructural": "JJ",
"overexploited": "JJ",
"tasty": "JJ",
"smarter": "JJR",
"distinguishing": "JJ",
"nobler": "JJR",
"superior": "JJ",
"c-translated": "VBN",
"borne": "VBN",
"whoosh": "VBP",
"piecemeal": "JJ",
"reprimanded": "VBN",
"beguiled": "JJ",
"fevered": "JJ",
"broody": "JJ",
"corny": "JJ",
"backpedal": "VB",
"known": "JJ",
"consummate": "JJ",
"incomplete": "JJ",
"marvel": "VB",
"chirpy": "JJ",
"heckled": "VBN",
"touches": "VBZ",
"busy": "JJ",
"particulate": "JJ",
"olympian": "JJ",
"patented": "VBN",
"mew": "VB",
"asked": "VBN",
"starstruck": "JJ",
"levied": "VBN",
"any": "DT",
"outsell": "VB",
"preachy": "JJ",
"spurred": "VBN",
"enters": "VBZ",
"falter": "VB",
"posed": "VBN",
"bushy": "JJ",
"rehearse": "VB",
"terraced": "VBN",
"manufacturing": "JJ",
"coexistent": "JJ",
"disqualified": "JJ",
"meddle": "VB",
"fiery": "JJ",
"precludes": "VBZ",
"knowing": "JJ",
"uncluttered": "JJ",
"underestimated": "VBN",
"offer": "VB",
"squalid": "JJ",
"unchlorinated": "VBN",
"highest-grossing": "JJS",
"differ": "VBP",
"virgin": "JJ",
"rolling": "JJ",
"annointed": "VBN",
"congested": "JJ",
"denationalized": "VBN",
"serialized": "VBN",
"lowdown": "JJ",
"unquenched": "VBN",
"doted": "VBN",
"fawned": "VBN",
"thermoformed": "VBN",
"muscat": "JJ",
"leering": "JJ",
"undismayed": "JJ",
"alone": "JJ",
"along": "RB",
"prefer": "VBP",
"coinciding": "JJ",
"unabsorbed": "JJ",
"unmarked": "JJ",
"homesick": "JJ",
"filmy": "JJ",
"unwounded": "JJ",
"retail": "JJ",
"coexist": "VB",
"explores": "VBZ",
"explored": "VBN",
"such": "JJ",
"suck": "VB",
"titular": "JJ",
"furiouser": "RBR",
"unsolicited": "JJ",
"noteworthy": "JJ",
"reaffirms": "VBZ",
"yawning": "JJ",
"singin": "VBG",
"retrain": "VB",
"olivefaced": "JJ",
"repaid": "VBN",
"undeterred": "JJ",
"willya": "MD",
"mapped": "VBN",
"plea": "JJ",
"longrange": "JJ",
"monogrammed": "JJ",
"silhouetted": "VBN",
"undisguised": "JJ",
"routed": "VBN",
"jumbled": "JJ",
"teaches": "VBZ",
"dissipate": "VB",
"betray": "VB",
"install": "VB",
"unprecedented": "JJ",
"dissenting": "JJ",
"cowed": "VBN",
"obliging": "JJ",
"descends": "VBZ",
"nott": "RB",
"twinned": "JJ",
"slow": "JJ",
"slog": "VB",
"infringes": "VBZ",
"borrow": "VB",
"wheare": "WRB",
"marred": "VBN",
"diddle": "UH",
"spare": "JJ",
"spark": "VB",
"suppressed": "JJ",
"czechoslovak": "JJ",
"extinct": "JJ",
"whenever": "WRB",
"play": "VB",
"chatty": "JJ",
"unclouded": "JJ",
"eschews": "VBZ",
"dressy": "JJ",
"airy": "JJ",
"threatens": "VBZ",
"underestimate": "VB",
"reverts": "VBZ",
"domineering": "JJ",
"culled": "VBN",
"distills": "VBZ",
"sprayed": "VBN",
"amalgamate": "VB",
"slimy": "JJ",
"boycotted": "VBN",
"expunge": "VB",
"discarded": "JJ",
"searing": "JJ",
"forecasted": "VBN",
"dissociates": "VBZ",
"intimate": "JJ",
"travelin": "VBG",
"slender": "JJ",
"lofty": "JJ",
"beaten": "JJ",
"accumulates": "VBZ",
"acting": "JJ",
"accumulated": "JJ",
"mollify": "VB",
"complete": "JJ",
"darken": "VBP",
"darker": "JJR",
"brotherly": "JJ",
"barbary": "JJ",
"abolish": "VB",
"predestined": "JJ",
"bullshit": "JJ",
"bombed": "JJ",
"disdained": "VBN",
"mocking": "JJ",
"fraudulent": "JJ",
"grows": "VBZ",
"evil": "JJ",
"tricolor": "JJ",
"destitute": "JJ",
"resume": "VB",
"succinct": "JJ",
"outdone": "VBN",
"reshaped": "VBN",
"reshapes": "VBZ",
"underrate": "VB",
"apprised": "VBN",
"maltreat": "VBP",
"classificatory": "JJ",
"salty": "JJ",
"condemn": "VB",
"trebled": "VBN",
"emancipated": "VBN",
"ungoverned": "JJ",
"functioning": "JJ",
"snotty": "JJ",
"manipulated": "VBN",
"re-enforces": "VBZ",
"behahn": "RB",
"fixed": "JJ",
"laddered": "JJ",
"reticent": "JJ",
"reassured": "VBN",
"shifty": "JJ",
"cratered": "VBN",
"marry": "VB",
"airconditioner": "JJR",
"terrify": "VB",
"midcontinent": "JJ",
"reared": "VBN",
"retained": "VBN",
"unmanned": "JJ",
"exhibited": "VBN",
"adduce": "VB",
"franked": "JJ",
"franker": "JJR",
"degassed": "VBN",
"nowadays": "RB",
"firsthand": "JJ",
"clog": "VB",
"post-tragedy": "RB",
"younguh": "JJR",
"adheres": "VBZ",
"adhered": "VBN",
"untreated": "JJ",
"riven": "VBN",
"tabby": "JJ",
"proclaim": "JJ",
"nibble": "VB",
"sacred": "JJ",
"futile": "JJ",
"offending": "JJ",
"unmcguanean": "JJ",
"approve": "VB",
"churns": "VBZ",
"nestled": "VBN",
"convicted": "VBN",
"silenced": "JJ",
"bitchy": "JJ",
"reinstalled": "VBN",
"folksy": "JJ",
"triple": "JJ",
"shorten": "VB",
"tells": "VBZ",
"x-includes": "VBZ",
"foments": "VBZ",
"unsatisfied": "JJ",
"imcomplete": "JJ",
"overbroad": "JJ",
"surprised": "JJ",
"worsening": "JJ",
"bedridden": "JJ",
"major": "JJ",
"repair": "JJ",
"recreate": "VB",
"sneaks": "VBZ",
"submit": "VB",
"behavioral": "JJ",
"discolored": "VBN",
"sunken": "JJ",
"invalid": "JJ",
"tart": "JJ",
"scrub": "VB",
"provided": "VBN",
"unpunctured": "JJ",
"bedeviled": "VBN",
"ago": "RB",
"furthest": "RB",
"reasoned": "JJ",
"scotch": "JJ",
"dainty": "JJ",
"oceanfront": "JJ",
"continued": "JJ",
"timely": "JJ",
"odd": "JJ",
"toughens": "VBZ",
"gathered": "VBN",
"octave": "JJ",
"gazes": "VBZ",
"great": "JJ",
"receive": "VB",
"overcommitted": "VBN",
"excludes": "VBZ",
"disobey": "VB",
"terrified": "JJ",
"extricate": "VB",
"duplicate": "JJ",
"subdued": "JJ",
"gladly": "JJ",
"this": "RB",
"thin": "JJ",
"overcooled": "JJ",
"reedy": "JJ",
"intramural": "JJ",
"hereinafter": "RB",
"weaken": "VB",
"singular": "JJ",
"buffeted": "JJ",
"produces": "VBZ",
"produced": "VBN",
"cracking": "JJ",
"silken": "JJ",
"popularized": "VBN",
"orphaned": "VBN",
"traced": "VBN",
"accompanies": "VBZ",
"sad": "JJ",
"saw": "VBD",
"sat": "VBD",
"overextended": "VBN",
"exacerbated": "VBN",
"snippy": "JJ",
"traversed": "VBN",
"alpine": "JJ",
"tied": "JJ",
"tempt": "VB",
"shun": "VBP",
"defining": "JJ",
"scary": "JJ",
"scare": "VB",
"equates": "VBZ",
"autographed": "JJ",
"imitate": "VB",
"travelled": "JJ",
"reproach": "VB",
"suburbanite": "JJ",
"rearmed": "JJ",
"fizzes": "VBZ",
"disciplined": "JJ",
"disband": "VB",
"aging": "JJ",
"viewed": "VBN",
"big": "JJ",
"embroiled": "JJ",
"noblesse": "JJ",
"better-known": "JJR",
"acquired": "JJ",
"u.s.-czech": "JJ",
"wounded": "JJ",
"terminate": "VB",
"centralized": "JJ",
"unconnected": "JJ",
"younger": "JJR",
"withstand": "VB",
"exerted": "VBN",
"unravel": "VB",
"harsher": "JJR",
"republican": "JJ",
"browbeat": "VB",
"developing": "JJ",
"more-volatile": "JJR",
"etc": "RB",
"puff": "JJ",
"unsanctioned": "JJ",
"powered": "VBN",
"crisscross": "VBP",
"freewheeling": "JJ",
"conserve": "VB",
"terrorist": "JJ",
"dilate": "VB",
"earthmoving": "JJ",
"nonsegregated": "JJ",
"increased": "JJ",
"pries": "VBZ",
"sinewy": "JJ",
"downside": "JJ",
"jalapeno": "JJ",
"does": "VBZ",
"blurry": "JJ",
"yuh": "PRP",
"slackjawed": "VBN",
"asks": "VBZ",
"courtly": "JJ",
"encamp": "VB",
"trigger": "VB",
"troubling": "JJ",
"be": "VB",
"fold": "VB",
"menstruation": "JJ",
"kowtow": "VB",
"gasconade": "VB",
"cosponsored": "VBN",
"abhor": "VB",
"iranian": "JJ",
"gobbles": "VBZ",
"furrowed": "JJ",
"scalar": "JJ",
"nondescript": "JJ",
"phoney": "JJ",
"shut": "VB",
"seven-thirty": "RB",
"deluged": "VBN",
"told": "VBN",
"unmotivated": "JJ",
"kindled": "VBN",
"walkin": "VBG",
"struck": "VBD",
"charred": "JJ",
"embarrass": "JJ",
"challenging": "JJ",
"worn": "JJ",
"resents": "VBZ",
"mammalian": "JJ",
"exhorts": "VBZ",
"hyphenated": "JJ",
"disappear": "VB",
"disappoint": "VB",
"will be": "CP",
"will": "MD",
"interlibrary": "JJ",
"wild": "JJ",
"shimmering": "JJ",
"foolhardy": "JJ",
"thickens": "VBZ",
"order": "RB",
"proportionate": "JJ",
"absorbed": "JJ",
"monetary": "JJ",
"stippled": "JJ",
"raising": "JJ",
"bolted": "VBN",
"doles": "VBZ",
"admits": "VBZ",
"undaunted": "JJ",
"australasian": "JJ",
"louse": "VB",
"palestinian": "JJ",
"comin": "VBG",
"hustle": "VB",
"provisioned": "VBN",
"rejected": "JJ",
"dissociated": "VBN",
"wrecks": "VBZ",
"rewrite": "VB",
"accompany": "VB",
"genuine": "JJ",
"overtook": "VBD",
"corded": "VBN",
"solidifies": "VBZ",
"knightly": "JJ",
"sewn": "VBN",
"elucidated": "VBN",
"so-far": "RB",
"sews": "VBZ",
"unsteady": "JJ",
"preferred": "JJ",
"humanist": "JJ",
"steal": "VB",
"observes": "VBZ",
"observed": "VBN",
"seeping": "JJ",
"mincing": "JJ",
"received": "JJ",
"ill": "JJ",
"receives": "VBZ",
"groans": "VBZ",
"wider": "JJR",
"speak": "VB",
"exhume": "VB",
"lahk": "IN",
"avoids": "VBZ",
"insulating": "JJ",
"impertinent": "JJ",
"dignify": "VB",
"supervisory": "JJ",
"photographed": "VBN",
"maye": "MD",
"nude": "JJ",
"lightheaded": "JJ",
"mennonite": "JJ",
"squander": "VB",
"mechanized": "JJ",
"dead": "JJ",
"wellrun": "JJ",
"czech": "JJ",
"foreknown": "VB",
"dovetails": "VBZ",
"fulfills": "VBZ",
"stronger": "JJR",
"spongy": "JJ",
"orate": "VB",
"dance": "JJ",
"desegregate": "VB",
"fabricated": "JJ",
"underworked": "JJ",
"present": "JJ",
"upriver": "RB",
"cochannel": "JJ",
"introjected": "VBN",
"governing": "JJ",
"legalized": "VBN",
"regret": "JJ",
"commensurate": "JJ",
"unescorted": "JJ",
"peeled": "VBN",
"lawmaking": "JJ",
"evenings": "RB",
"embarrassing": "JJ",
"sighted": "VBN",
"wept": "VBD",
"unflattering": "JJ",
"bowled": "VBN",
"vietnamese": "JJ",
"refine": "JJ",
"industrywide": "JJ",
"gaping": "JJ",
"superintend": "VB",
"southern": "JJ",
"novelized": "JJ",
"genteel": "JJ",
"appearin": "VBG",
"showered": "VBN",
"overreacted": "VBN",
"sugary": "JJ",
"reflects": "VBZ",
"virtuoso": "JJ",
"marine": "JJ",
"fonder": "JJR",
"ninth": "JJ",
"disable": "VB",
"mayst": "MD",
"there": "RB",
"angular": "JJ",
"corinthian": "JJ",
"hourly": "JJ",
"eliminates": "VBZ",
"disabuse": "VB",
"eliminated": "VBN",
"hurl": "VB",
"accessed": "VBN",
"invalidated": "VBN",
"recover": "JJ",
"online": "JJ",
"motivated": "JJ",
"accustoms": "VBZ",
"underserved": "JJ",
"threefold": "JJ",
"recharged": "VBN",
"pituitary": "JJ",
"whisked": "VBN",
"tranquil": "JJ",
"reputed": "JJ",
"fascinates": "VBZ",
"impromptu": "JJ",
"onetime": "JJ",
"cleave": "VB",
"binuclear": "JJ",
"skew": "VB",
"handicapped": "JJ",
"laggard": "JJ",
"absorbedthe": "VB",
"northward": "RB",
"officered": "VBN",
"angered": "VBN",
"investigated": "VBN",
"prefuh": "VB",
"bumpin": "VBG",
"investigates": "VBZ",
"belittle": "VBP",
"ribosomal": "JJ",
"refurbish": "VB",
"early": "JJ",
"nubile": "JJ",
"endorsed": "VBN",
"abetted": "VBN",
"premonitory": "JJ",
"strained": "JJ",
"inherent": "JJ",
"emasculate": "JJ",
"four-thirty": "RB",
"resuscitate": "VB",
"assumed": "VBN",
"unmodified": "JJ",
"drank": "VBD",
"assumes": "VBZ",
"reassume": "VB",
"happening": "JJ",
"unrecognized": "JJ",
"bamboozled": "VBN",
"unwelcome": "JJ",
"valid": "JJ",
"lay": "VBD",
"disbelieves": "VBZ",
"spruced": "VBN",
"relieve": "VB",
"casual": "JJ",
"said": "VB",
"partaker": "VB",
"partakes": "VBZ",
"outsells": "VBZ",
"cartesian": "JJ",
"iodinated": "VBN",
"countercultural": "JJ",
"transcend": "VBP",
"unjacketed": "JJ",
"interstate": "JJ",
"derived": "JJ",
"tries": "VBZ",
"derives": "VBZ",
"sweet": "JJ",
"grizzled": "JJ",
"preponderating": "JJ",
"chalked": "VBN",
"committed": "JJ",
"crossborder": "JJ",
"cardiovascular": "JJ",
"overexcited": "JJ",
"unheated": "JJ",
"disclosed": "VBN",
"tenfold": "RB",
"stiffen": "VB",
"pre-empted": "VBN",
"worried": "JJ",
"victorian": "JJ",
"lightens": "VBZ",
"decimal": "JJ",
"beyond": "RB",
"sustain": "VB",
"upon": "IN",
"ignore": "VB",
"litigate": "VB",
"diffused": "VBN",
"darwinian": "JJ",
"undergo": "VB",
"miss": "VB",
"inure": "VB",
"interwoven": "JJ",
"pinned": "VBN",
"bowed": "JJ",
"improved": "JJ",
"outgrown": "VBN",
"alongside": "RB",
"elemental": "JJ",
"lie": "JJ",
"empowered": "JJ",
"sordid": "JJ",
"lit": "JJ",
"aggravating": "JJ",
"sponsored": "VBN",
"clear": "JJ",
"nondoctrinaire": "JJ",
"lest": "IN",
"hyper": "JJ",
"surveyed": "VBN",
"grow": "VB",
"far-lower": "JJR",
"filled": "JJ",
"redefine": "VB",
"bakes": "VBZ",
"timeworn": "JJ",
"mega": "JJ",
"gaunt": "JJ",
"headed": "JJ",
"deemed": "VBN",
"reciprocate": "VB",
"coarse": "JJ",
"delights": "VBZ",
"compromised": "VBN",
"wrings": "VBZ",
"hobnob": "VB",
"while": "IN",
"uncompromising": "JJ",
"deworm": "VB",
"tendered": "JJ",
"declining": "JJ",
"boo": "VB",
"stashed": "VBN",
"appalled": "JJ",
"conjured": "VBN",
"fractionated": "VBN",
"translates": "VBZ",
"translated": "VBN",
"mauve": "JJ",
"urgent": "JJ",
"choose": "VB",
"foreclosed": "VBN",
"jazzy": "JJ",
"subtract": "VB",
"hinge": "VB",
"yemeni": "JJ",
"decertify": "VB",
"douse": "VB",
"governs": "VBZ",
"skulk": "VB",
"bewilders": "VBZ",
"elitist": "JJ",
"gushy": "JJ",
"spousal": "JJ",
"nap": "JJ",
"kills": "VBZ",
"nay": "RB",
"out-smart": "VB",
"resign": "VB",
"rested": "JJ",
"bleached": "JJ",
"tactile": "JJ",
"yes": "JJ",
"blobby": "JJ",
"wracked": "VBN",
"salaried": "JJ",
"fictionalized": "VBN",
"retold": "VBD",
"stoned": "VBN",
"ardent": "JJ",
"evokes": "VBZ",
"exacerbate": "VB",
"evoked": "VBN",
"prescribe": "VB",
"construct": "VB",
"danged": "VBN",
"subsidizes": "VBZ",
"snoop": "VB",
"subsidized": "JJ",
"varying": "JJ",
"pleated": "JJ",
"becomes": "VBZ",
"lacerate": "JJ",
"blindsided": "VBN",
"disrobe": "VB",
"becomed": "VBN",
"vesicular": "JJ",
"insufficient": "JJ",
"crazee": "JJ",
"crazed": "JJ",
"rove": "VB",
"craggy": "JJ",
"facilitated": "VBN",
"mentioned": "VBN",
"facilitates": "VBZ",
"stuggles": "VBZ",
"consensual": "JJ",
"puny": "JJ",
"unsurprised": "JJ",
"consigns": "VBZ",
"statist": "JJ",
"intruded": "VBN",
"draw": "VB",
"interplanetary": "JJ",
"intrudes": "VBZ",
"pedimented": "VBN",
"indisposed": "JJ",
"signify": "VB",
"animated": "JJ",
"jump-start": "VB",
"bears": "VBZ",
"swindled": "VBN",
"thwarted": "VBN",
"sings": "VBZ",
"pronouncing": "JJ",
"unsmiling": "JJ",
"dubs": "VBZ",
"forlorn": "JJ",
"emerging": "JJ",
"untimely": "JJ",
"employed": "JJ",
"dodge": "VBP",
"up-pp": "RP",
"italian": "JJ",
"contain": "VB",
"orphan": "JJ",
"ciliated": "JJ",
"reallocated": "VBN",
"pestered": "JJ",
"roil": "VB",
"tread": "VB",
"relax": "VB",
"adjourns": "VBZ",
"piqued": "VBN",
"reapportioned": "VBN",
"begat": "VBD",
"coastal": "JJ",
"reactionary": "JJ",
"trembles": "VBZ",
"discouraged": "JJ",
"steoreotyped": "JJ",
"draconian": "JJ",
"marauding": "JJ",
"germanized": "VBN",
"sputtering": "JJ",
"logged": "VBN",
"by": "IN",
"ample": "JJ",
"devised": "VBN",
"less-rigorous": "JJR",
"shed": "VB",
"redress": "VB",
"midwestern": "JJ",
"prohibited": "JJ",
"chancy": "JJ",
"co-authors": "VBZ",
"staked": "VBN",
"primal": "JJ",
"arrange": "VB",
"evacuate": "VB",
"uncurled": "JJ",
"sicilian": "JJ",
"cruel": "JJ",
"devise": "VB",
"scowls": "VBZ",
"palletized": "VBN",
"nigh": "JJ",
"scheming": "JJ",
"minuscule": "JJ",
"presente": "JJ",
"presents": "VBZ",
"saves": "VBZ",
"connects": "VBZ",
"warns": "VBZ",
"helluva": "JJ",
"saved": "VBN",
"untenanted": "JJ",
"maverick": "JJ",
"sometimes": "RB",
"carmelite": "JJ",
"expedited": "VBN",
"ornamental": "JJ",
"circumvent": "VB",
"overhear": "VB",
"overheat": "VB",
"barks": "VBZ",
"overhead": "JJ",
"name-drops": "VBZ",
"twirled": "JJ",
"composite": "JJ",
"laughs": "VBZ",
"honed": "VBN",
"involve": "VB",
"waldensian": "JJ",
"salivate": "VB",
"civil": "JJ",
"uninsured": "JJ",
"unfolds": "VBZ",
"eyewear": "JJ",
"fortify": "VB",
",": ",",
"cutting": "JJ",
"carve": "VB",
"leaner": "JJR",
"extract": "VB",
"hushed": "JJ",
"saggy": "JJ",
"shaggy": "JJ",
"starts": "VBZ",
"deems": "VBZ",
"curtails": "VBZ",
"peculiar": "JJ",
"congratulatory": "JJ",
"churn": "VB",
"dismantle": "VB",
"bye": "UH",
"clocked": "VBN",
"reprinted": "VBN",
"fungal": "JJ",
"retire": "VB",
"upfield": "RB",
"cripple": "VB",
"nodding": "JJ",
"unified": "JJ",
"illegitimate": "JJ",
"bam": "UH",
"unworthy": "JJ",
"emergent": "JJ",
"spattered": "VBN",
"mournfully": "JJ",
"inappropriate": "JJ",
"disprove": "VB",
"bronzed": "JJ",
"given": "JJ",
"exemplary": "JJ",
"threw": "VBD",
"aggrieved": "VBN",
"sly": "JJ",
"originate": "VB",
"redecorated": "VBN",
"vindicate": "VB",
"who": "WP",
"miswritten": "JJ",
"smokes": "VBZ",
"claims": "VBZ",
"smoked": "JJ",
"unfair": "JJ",
"nonchlorinated": "JJ",
"interior": "JJ",
"whichever": "WDT",
"natal": "JJ",
"fined": "VBN",
"revel": "VB",
"readmitted": "VBN",
"dense": "JJ",
"outspoken": "JJ",
"sift": "VB",
"impersonates": "VBZ",
"retired": "JJ",
"commie": "JJ",
"abstract": "JJ",
"impersonated": "VBN",
"commit": "VB",
"canny": "JJ",
"cascades": "VBZ",
"stay": "VB",
"effaces": "VBZ",
"mortgagebacked": "JJ",
"builds": "VBZ",
"diagnose": "VB",
"toss": "VB",
"oppose": "VB",
"tardy": "JJ",
"ba-a-a": "UH",
"stoke": "VB",
"themed": "VBN",
"hidebound": "JJ",
"polyunsaturated": "JJ",
"scribble": "VB",
"bordered": "JJ",
"sappy": "JJ",
"wore": "VBD",
"dim": "JJ",
"did": "VBD",
"die": "JJ",
"dig": "VB",
"dip": "VB",
"eclipse": "VB",
"takin": "VBG",
"monied": "JJ",
"signalizes": "VBZ",
"decipher": "VB",
"finer": "JJR",
"hither": "RB",
"careworn": "JJ",
"subverted": "VBN",
"ungainly": "JJ",
"sharper": "JJR",
"touched": "JJ",
"sharpen": "VB",
"unconfirmed": "JJ",
"cited": "VBN",
"downtown": "RB",
"sour": "JJ",
"ailing": "JJ",
"arrive": "VB",
"predict": "VBP",
"digital": "JJ",
"soft": "JJ",
"flat-out": "RB",
"gradual": "JJ",
"argues": "VBZ",
"main": "JJ",
"society-measured": "VBN",
"possess": "VBP",
"outweigh": "VBP",
"redraw": "VB",
"gird": "VB",
"giveth": "VBZ",
"living": "JJ",
"lak": "IN",
"fuller": "JJR",
"desultory": "JJ",
"unthreatening": "JJ",
"discharged": "JJ",
"slept": "VBD",
"daunt": "VB",
"blacklist": "VB",
"protected": "VBN",
"fluoresces": "VBZ",
"do": "VBP",
"mundane": "JJ",
"winding": "JJ",
"unheeding": "JJ",
"permeates": "VBZ",
"succumbed": "VBN",
"spirited": "JJ",
"satisfying": "JJ",
"gracefully": "JJ",
"disconcerting": "JJ",
"muni": "JJ",
"designated": "VBN",
"uninvolved": "JJ",
"designates": "VBZ",
"beseech": "VBP",
"median": "JJ",
"crushes": "VBZ",
"gratifying": "JJ",
"tacit": "JJ",
"signaled": "VBN",
"remake": "VB",
"stretched": "JJ",
"anyplace": "RB",
"unusual": "JJ",
"mars": "VBZ",
"second": "JJ",
"profiled": "VBN",
"different": "JJ",
"harsh": "JJ",
"skiddy": "JJ",
"scorned": "VBN",
"suffuse": "VB",
"adulterated": "JJ",
"tackles": "VBZ",
"implicate": "VB",
"amortizing": "JJ",
"spans": "VBZ",
"moderate": "JJ",
"shellshocked": "VBN",
"strangles": "VBZ",
"recraft": "VB",
"strangled": "VBN",
"arrested": "VBN",
"imitated": "VBN",
"heady": "JJ",
"imitates": "VBZ",
"gravid": "JJ",
"decode": "VB",
"chambered": "JJ",
"shortterm": "JJ",
"evaporate": "VB",
"retrained": "VBN",
"departs": "VBZ",
"unload": "VB",
"unsee": "VBN",
"weighty": "JJ",
"spectral": "JJ",
"undisrupted": "JJ",
"wants": "VBZ",
"straightforward": "JJ",
"subterranean": "JJ",
"veined": "JJ",
"dampen": "VB",
"unstilted": "JJ",
"hym": "PRP",
"hys": "PRP",
"nucleated": "VBN",
"ratchet": "VB",
"promising": "JJ",
"whole": "JJ",
"publishes": "VBZ",
"unconvinced": "JJ",
"published": "JJ",
"bused": "VBN",
"congratulated": "VBN",
"obstinate": "JJ",
"barbequed": "JJ",
"deplores": "VBZ",
"subminimum": "JJ",
"frilly": "JJ",
"inflationary": "JJ",
"bleak": "JJ",
"eats": "VBZ",
"re-enacted": "VBN",
"nonagricultural": "JJ",
"rounded": "JJ",
"oblique": "JJ",
"rounder": "JJR",
"lewdly": "JJ",
"detected": "JJ",
"scandalizing": "JJ",
"redistribute": "VB",
"neophyte": "JJ",
"grubby": "JJ",
"sprang": "VBD",
"bestirred": "VBN",
"exiled": "VBN",
"mental": "JJ",
"connect": "VB",
"simplify": "VB",
"squished": "VBN",
"commits": "VBZ",
"geared": "JJ",
"killin": "VBG",
"indulgent": "JJ",
"smoother": "JJR",
"bumble": "VB",
"excels": "VBZ",
"peaked": "JJ",
"quickwitted": "JJ",
"treated": "JJ",
"cometary": "JJ",
"unafraid": "JJ",
"fading": "JJ",
"built": "VBN",
"arab": "JJ",
"diphosphopyridine": "JJ",
"bustin": "VBG",
"prepackaged": "VBN",
"repels": "VBZ",
"fine": "JJ",
"find": "VB",
"relent": "JJ",
"dicate": "VBP",
"stumbling": "JJ",
"resolve": "JJ",
"overeat": "VBP",
"superseded": "VBN",
"supersedes": "VBZ",
"vindicated": "JJ",
"encapsulate": "VB",
"upgraded": "JJ",
"scairt": "VBN",
"denied": "VBN",
"raise": "VB",
"frets": "VBZ",
"solid": "JJ",
"confirming": "JJ",
"instead": "RB",
"seduce": "VB",
"supersede": "VB",
"dystopian": "JJ",
"forfeited": "VBN",
"alluring": "JJ",
"nowbankrupt": "JJ",
"ad": "RB",
"unite": "VB",
"profferred": "VBN",
"follows": "VBZ",
"miffed": "JJ",
"ai": "VBP",
"rheumatoid": "JJ",
"unilateralist": "JJ",
"pronounced": "VBN",
"affects": "VBZ",
"pronounces": "VBZ",
"tripping": "JJ",
"crass": "JJ",
"invading": "JJ",
"afflict": "VB",
"multilevel": "JJ",
"panglossian": "JJ",
"babylonian": "JJ",
"accidental": "JJ",
"lend": "VB",
"hansom": "JJ",
"liberating": "JJ",
"downcast": "JJ",
"enjoined": "VBN",
"fatal": "JJ",
"bleeding": "RB",
"bode": "VB",
"extreme": "JJ",
"dastardly": "JJ",
"former": "JJ",
"limp": "JJ",
"harrowing": "JJ",
"collonaded": "VBN",
"upheld": "VBD",
"uh-uh": "UH",
"impeded": "JJ",
"immoderate": "JJ",
"boned": "JJ",
"employs": "VBZ",
"reeking": "JJ",
"watery": "JJ",
"forswore": "VBD",
"furnish": "VB",
"unforethought": "JJ",
"noncommittal": "JJ",
"mention": "VB",
"estranged": "JJ",
"identified": "VBN",
"identifies": "VBZ",
"uninteresting": "JJ",
"thereupon": "RB",
"predominate": "VBP",
"instill": "VB",
"dehumidified": "VBN",
"reserved": "JJ",
"reaffirm": "VB",
"pay": "VB",
"dictate": "VB",
"curved": "JJ",
"preliminary": "JJ",
"rural": "JJ",
"starched": "VBN",
"quilted": "JJ",
"downbeat": "JJ",
"rebuke": "JJ",
"afferent": "JJ",
"restyled": "VBN",
"overgrown": "JJ",
"unauthorized": "JJ",
"bright": "JJ",
"exists": "VBZ",
"abstruse": "JJ",
"hottest-selling": "JJS",
"progress": "JJ",
"contaminated": "JJ",
"upcountry": "JJ",
"neutralized": "VBN",
"stentorian": "JJ",
"copied": "VBN",
"censor": "VBP",
"ridden": "VBN",
"homey": "JJ",
"crooked": "JJ",
"produce": "VB",
"dismal": "JJ",
"neutralizes": "VBZ",
"twelfth": "JJ",
"caters": "VBZ",
"fucken": "JJ",
"shamed": "VBN",
"insure": "VB",
"peacefully": "JJ",
"conjugated": "JJ",
"scrimp": "VB",
"rumpled": "JJ",
"epoxy": "JJ",
"awash": "JJ",
"convey": "VB",
"convex": "JJ",
"bifurcated": "JJ",
"buttoned": "VBN",
"noisy": "JJ",
"discard": "VB",
"perspiring": "JJ",
"adolescent": "JJ",
"earsplitting": "JJ",
"plague": "JJ",
"durn": "JJ",
"supreme": "JJ",
"pin": "VB",
"pip": "UH",
"motored": "JJ",
"that-a-way": "RB",
"private": "JJ",
"vehement": "JJ",
"whereever": "WRB",
"patched": "JJ",
"excused": "JJ",
"regrets": "VBZ",
"verie": "RB",
"flashy": "JJ",
"shockproof": "JJ",
"louder": "JJR",
"bronchiolar": "JJ",
"outpace": "VB",
"mistake": "JJ",
"petty": "JJ",
"perpetuated": "VBN",
"tend": "VBP",
"perpetuates": "VBZ",
"preserved": "JJ",
"phony": "JJ",
"daft": "JJ",
"pokes": "VBZ",
"pokey": "JJ",
"acknowledged": "JJ",
"unpunished": "JJ",
"deepens": "VBZ",
"salvadoran": "JJ",
"sprout": "VBP",
"over": "JJ",
"sickle": "JJ",
"sickly": "JJ",
"executes": "VBZ",
"outsized": "JJ",
"destroyed": "JJ",
"compensatory": "JJ",
"armenian": "JJ",
"however": "RB",
"antithyroid": "JJ",
"stinking": "JJ",
"prohibit": "JJ",
"independent": "JJ",
"stern-to": "RB",
"hanged": "VBN",
"clothe": "VB",
"ammoniac": "JJ",
"re-creates": "VBZ",
"recite": "VB",
"acidified": "VBN",
"re-acquire": "VB",
"classed": "VBN",
"strung": "VBN",
"ran": "VBD",
"ram": "VB",
"raw": "JJ",
"degenerates": "VBZ",
"glimpsed": "VBN",
"contacted": "VBN",
"thereby": "RB",
"whiteface": "JJ",
"reconstruct": "VB",
"pummel": "VB",
"upturned": "JJ",
"devout": "JJ",
"ventricular": "JJ",
"unheeded": "JJ",
"suggest": "VB",
"vexed": "JJ",
"reconstructs": "VBZ",
"vexes": "VBZ",
"hmong": "JJ",
"aback": "RB",
"fleeting": "JJ",
"evidenced": "VBN",
"unelected": "JJ",
"thousandth": "JJ",
"penultimate": "JJ",
"brewed": "VBN",
"mentions": "VBZ",
"uncoached": "JJ",
"furry": "JJ",
"explanatory": "JJ",
"rubicund": "JJ",
"willowy": "JJ",
"advertise": "VB",
"perfected": "VBN",
"hi": "UH",
"ho": "UH",
"homewards": "RB",
"curry": "VB",
"shaken": "VBN",
"unresolved": "JJ",
"abysmal": "JJ",
"removes": "VBZ",
"outfox": "VB",
"sustained": "JJ",
"fired": "JJ",
"muster": "VB",
"higher-salaried": "JJR",
"starchy": "JJ",
"trim": "JJ",
"boodleoo": "UH",
"constructed": "JJ",
"tie": "VB",
"portends": "VBZ",
"grisly": "JJ",
"premeditated": "JJ",
"unimpeded": "JJ",
"standard": "JJ",
"headquarter": "JJ",
"firmwide": "RB",
"registered": "JJ",
"sucks": "VB",
"stands": "VBZ",
"unripe": "JJ",
"alkaline": "JJ",
"gauged": "VBN",
"avenging": "JJ",
"bygone": "JJ",
"grounded": "JJ",
"mimicked": "VBN",
"unbidden": "JJ",
"swallowed": "VBN",
"unsheathe": "VB",
"smeared": "VBN",
"smudged": "JJ",
"mainline": "JJ",
"drown": "VB",
"nonunion": "JJ",
"secured": "JJ",
"unwire": "VB",
"unappreciated": "JJ",
"floral": "JJ",
"amuse": "VB",
"needy": "JJ",
"swank": "JJ",
"moving": "JJ",
"save": "VB",
"extrapolate": "VB",
"maneuver": "JJ",
"hobble": "VB",
"eject": "VB",
"retreating": "JJ",
"gusty": "JJ",
"suspend": "VB",
"undercapitalized": "JJ",
"fetches": "VBZ",
"molded": "VBN",
"haggle": "VB",
"senior": "JJ",
"supraventricular": "JJ",
"diverge": "VB",
"woos": "VBZ",
"continuing": "JJ",
"dreaded": "JJ",
"reoffered": "VBN",
"baroque": "JJ",
"braver": "JJR",
"fainter": "JJR",
"inhibitory": "JJ",
"rebuilds": "VBZ",
"multiplied": "VBN",
"multiplies": "VBZ",
"recentralized": "VBN",
"hereunto": "RB",
"destabilizes": "VBZ",
"herculean": "JJ",
"raring": "JJ",
"followup": "JJ",
"reimburse": "VB",
"implored": "VBN",
"rhymes": "VBZ",
"refractory": "JJ",
"contend": "VBP",
"dissident": "JJ",
"amomng": "JJ",
"supra": "RB",
"distilled": "VBN",
"barefoot": "RB",
"driven": "JJ",
"disloyal": "JJ",
"sampled": "VBN",
"embezzled": "JJ",
"replaced": "VBN",
"divested": "VBN",
"oddly": "JJ",
"deduce": "VB",
"intact": "JJ",
"renounce": "JJ",
"stops": "VBZ",
"unfunded": "JJ",
"severed": "VBN",
"later": "JJ",
"convincing": "JJ",
"prevented": "VBN",
"feudal": "JJ",
"thereabouts": "RB",
"deteriorating": "JJ",
"caraway": "JJ",
"sleazy": "JJ",
"russet": "JJ",
"frighten": "VB",
"slosh": "VB",
"nuf": "RB",
"redial": "VB",
"stalwart": "JJ",
"separate": "JJ",
"refinanced": "VBN",
"lack": "JJ",
"lacy": "JJ",
"defuse": "VB",
"far": "JJ",
"perseveres": "VBZ",
"shipboard": "JJ",
"align": "VB",
"fabricates": "VBZ",
"over-emphasized": "VBN",
"imported": "JJ",
"scowling": "JJ",
"whitecollar": "JJ",
"miniature": "JJ",
"spaceborn": "JJ",
"pervades": "VBZ",
"branded": "JJ",
"waxen": "JJ",
"crested": "JJ",
"confronted": "VBN",
"univalent": "JJ",
"protects": "VBZ",
"meditate": "VB",
"wither": "VB",
"shippin": "VB",
"retrofitted": "VBN",
"retaliate": "VB",
"microsomal": "JJ",
"gauges": "VBZ",
"eludes": "VBZ",
"dithers": "VBZ",
"conformist": "JJ",
"accumulate": "VB",
"subtler": "JJR",
"refresh": "JJ",
"succulent": "JJ",
"used": "JJ",
"inflict": "VB",
"lag": "VB",
"cremated": "VBN",
"booming": "JJ",
"brave": "JJ",
"passed": "VBN",
"penetrates": "VBZ",
"treasured": "JJ",
"relieved": "JJ",
"rawboned": "JJ",
"relieves": "VBZ",
"fence-sit": "VB",
"whiskered": "JJ",
"gilt": "JJ",
"perpetrate": "VB",
"sandwiched": "VBN",
"buff": "JJ",
"wheedled": "VBN",
"reach": "VB",
"miserly": "JJ",
"coincides": "VBZ",
"rationalized": "JJ",
"reassembled": "VBN",
"laments": "VBZ",
"unopposed": "JJ",
"hip": "JJ",
"hir": "PRP",
"longest": "RB",
"commiserate": "VB",
"joint": "JJ",
"outstrips": "VBZ",
"yassuhs": "UH",
"bare": "JJ",
"compacted": "JJ",
"learns": "VBZ",
"glistening": "JJ",
"rapid": "JJ",
"african": "JJ",
"japanese": "JJ",
"became": "VBD",
"unleveled": "VBN",
"whoe": "WP",
"stolen": "JJ",
"succeeding": "JJ",
"wireline": "JJ",
"underperformed": "VBN",
"lodged": "VBN",
"cite": "VBP",
"openended": "VBN",
"predigested": "VBN",
"twofold": "JJ",
"itchy": "JJ",
"negotiate": "VB",
"refute": "JJ",
"edgy": "JJ",
"unnourished": "JJ",
"dares": "VBZ",
"tamer": "JJR",
"unscheduled": "JJ",
"grazin": "VBG",
"unnoticed": "JJ",
"intraday": "JJ",
"amidst": "IN",
"fuzzy": "JJ",
"maoist": "JJ",
"unsealed": "JJ",
"worthwhile": "JJ",
"forestalled": "VBN",
"grouped": "VBN",
"ornamented": "VBN",
"mammoth": "JJ",
"liquefy": "VB",
"commanding": "JJ",
"systemwide": "JJ",
"engineered": "VBN",
"headlined": "VBN",
"dealt": "VBN",
"neanderthal": "JJ",
"narcotizes": "VBZ",
"reinsure": "VB",
"surefire": "JJ",
"noncontract": "JJ",
"end-tailed": "VBN",
"scrapped": "VBN",
"oversold": "VBN",
"u.s.-korean": "JJ",
"gossiped": "VBN",
"forbid": "VB",
"chipped": "VBN",
"threatening": "JJ",
"subsidary": "JJ",
"scaled": "VBN",
"adsorbs": "VBZ",
"shoves": "VBZ",
"grassy": "JJ",
"inclined": "JJ",
"entwined": "VBN",
"restaged": "VBN",
"extralegal": "JJ",
"abort": "VB",
"merged": "VBN",
"northern": "JJ",
"rapt": "JJ",
"undersized": "JJ",
"exemplify": "VBP",
"interrupted": "JJ",
"sculptured": "JJ",
"outsold": "VBD",
"complicate": "VB",
"choosy": "JJ",
"owe": "VBP",
"covered": "JJ",
"pending": "JJ",
"flout": "VB",
"lionized": "VBN",
"mollified": "VBN",
"decommissioned": "VBN",
"unavailing": "JJ",
"u.s.-built": "JJ",
"effloresce": "VB",
"unabated": "JJ",
"impart": "VB",
"sunbaked": "JJ",
"yore": "PRP",
"conscripted": "VBN",
"reweave": "VB",
"salient": "JJ",
"galled": "VBN",
"tootles": "VBZ",
"earthshaking": "JJ",
"doomed": "JJ",
"powdered": "JJ",
"simulate": "VB",
"frugal": "JJ",
"supplanted": "VBN",
"kiss": "JJ",
"siphon": "VB",
"delve": "VB",
"high": "JJ",
"intragovernment": "JJ",
"b-as": "IN",
"superimposed": "JJ",
"painted": "JJ",
"unpublished": "JJ",
"re-echo": "VB",
"sues": "VBZ",
"gosh": "UH",
"truer": "JJR",
"turbulent": "JJ",
"superb": "JJ",
"shunted": "VBN",
"neonatal": "JJ",
"spoil": "VB",
"clogged": "JJ",
"demurs": "VBZ",
"torments": "VBZ",
"intimidates": "VBZ",
"uncanny": "JJ",
"wily": "JJ",
"wilt": "MD",
"unaccommodating": "JJ",
"riche": "JJ",
"lobular": "JJ",
"privileged": "JJ",
"premiere": "JJ",
"marketwide": "JJ",
"proprietory": "JJ",
"looked": "CP",
"unpacked": "JJ",
"schmalma": "UH",
"miniscule": "JJ",
"ahem": "UH",
"repressed": "JJ",
"faithfully": "JJ",
"darkhaired": "JJ",
"lead": "JJ",
"lean": "JJ",
"locate": "VB",
"all-in-all": "RB",
"murdered": "VBN",
"tempered": "JJ",
"corneal": "JJ",
"goddamn": "JJ",
"insipid": "JJ",
"recede": "VBP",
"domesticates": "VBZ",
"ususal": "JJ",
"more-or-less": "RB",
"honorary": "JJ",
"withstood": "VBD",
"junk": "JJ",
"dollarette": "JJ",
"rotting": "JJ",
"northerly": "JJ",
"hardboiled": "JJ",
"scold": "VB",
"halfways": "RB",
"citrus": "JJ",
"broiled": "VBN",
"sooty": "JJ",
"tiered": "JJ",
"hallucinating": "JJ",
"nawt": "RB",
"farther": "JJR",
"lengthen": "VB",
"forbore": "VBD",
"laodicean": "JJ",
"therefore": "RB",
"primeval": "JJ",
"unpack": "VB",
"unreconstructed": "JJ",
"lo": "UH",
"sickening": "JJ",
"partnered": "VBN",
"rewarded": "VBN",
"secede": "VB",
"undeveloped": "JJ",
"glutted": "JJ",
"authenticated": "VBN",
"outgeneraled": "VBN",
"allay": "VB",
"touts": "VBZ",
"zap": "VB",
"reintroduces": "VBZ",
"arousal": "JJ",
"missionary": "JJ",
"concedes": "VBZ",
"vexing": "JJ",
"scream": "VB",
"zanzibar": "JJ",
"curly": "JJ",
"pioneering": "JJ",
"housewarming": "JJ",
"clarified": "VBN",
"overexercised": "VBN",
"mass-produce": "VB",
"clarifies": "VBZ",
"deadpan": "JJ",
"sinhalese": "JJ",
"croakin": "VBG",
"advanced": "JJ",
"unseemly": "JJ",
"flathead": "JJ",
"veer": "VB",
"eradicate": "VB",
"blonde": "JJ",
"relearns": "VBZ",
"participatory": "JJ",
"ugly": "JJ",
"employ": "VB",
"womanly": "JJ",
"split": "VBN",
"boiled": "VBN",
"outlived": "VBN",
"portrayed": "VBN",
"beloved": "JJ",
"otherworldly": "JJ",
"unprotected": "JJ",
"clustered": "JJ",
"retake": "VB",
"begin": "VB",
"between": "RB",
"plucked": "JJ",
"alligatored": "VBN",
"disdains": "VBZ",
"browse": "VB",
"stoked": "VBN",
"oversaw": "VBD",
"beinge": "VBG",
"administer": "VB",
"tame": "JJ",
"tamp": "VB",
"nonvoting": "JJ",
"safeguard": "VB",
"eventual": "JJ",
"comely": "JJ",
"intent": "JJ",
"rephrased": "VBN",
"filing": "JJ",
"overturned": "VBN",
"osf": "IN",
"timbered": "JJ",
"stays": "VBZ",
"tap": "VB",
"tan": "JJ",
"accomplishes": "VBZ",
"dusty": "JJ",
"accomplished": "JJ",
"shattered": "JJ",
"enough": "JJ",
"doubled": "JJ",
"unraveled": "VBN",
"admired": "JJ",
"mirrors": "VBZ",
"incremental": "JJ",
"admires": "VBZ",
"bore": "VBD",
"slams": "VBZ",
"temperate": "JJ",
"encouraged": "VBN",
"yeard": "VBN",
"civilian": "JJ",
"secularized": "VBN",
"u.s.backed": "JJ",
"materializes": "VBZ",
"retrieve": "VB",
"interned": "VBN",
"paroxysmal": "JJ",
"typed": "VBN",
"complicates": "VBZ",
"complicated": "JJ",
"initiate": "VB",
"aboard": "RB",
"saving": "JJ",
"stifles": "VBZ",
"oversimplified": "VBN",
"decommissoned": "JJ",
"plugugly": "JJ",
"nonsocialist": "JJ",
"unfit": "JJ",
"brews": "VBZ",
"intends": "VBZ",
"half": "JJ",
"printed": "JJ",
"redirected": "VBN",
"fascinated": "JJ",
"infuriate": "VB",
"fecal": "JJ",
"betrothal": "JJ",
"hindmost": "JJ",
"guarded": "JJ",
"multifiber": "JJR",
"morose": "JJ",
"intoxicating": "JJ",
"alarming": "JJ",
"refreshed": "JJ",
"concentrated": "JJ",
"concentrates": "VBZ",
"unsettling": "JJ",
"compels": "VBZ",
"radicalized": "VBN",
"stripped": "JJ",
"berber": "JJ",
"combatted": "VBN",
"formed": "VBN",
"geothermal": "JJ",
"runnin": "VBG",
"straighter": "JJR",
"u.s.-led": "JJ",
"reviled": "VBN",
"obtuse": "JJ",
"electrogalvanized": "JJ",
"eliminate": "JJ",
"debilitating": "JJ",
"deft": "JJ",
"defy": "VB",
"utl": "JJ",
"wired": "JJ",
"steamed": "JJ",
"recycles": "VBZ",
"disconcert": "VB",
"uncap": "VB",
"overthrow": "JJ",
"militate": "VB",
"goosey": "JJ",
"unshielded": "VBN",
"demeaning": "JJ",
"divine": "JJ",
"retains": "VBZ",
"puzzled": "JJ",
"shapely": "JJ",
"no": "JJ",
"lacquered": "VBN",
"rumbles": "VBZ",
"worsted": "JJ",
"dyed": "VBN",
"landlocked": "JJ",
"checkin": "VBG",
"healed": "JJ",
"past": "JJ",
"quicken": "JJ",
"corked": "JJ",
"a-includes": "VBZ",
"literary": "JJ",
"enliven": "VBP",
"tested": "JJ",
"nonviolent": "JJ",
"centrifugal": "JJ",
"enlargd": "VBN",
"enlarge": "VB",
"sprinkle": "VB",
"mended": "VBN",
"overcooked": "VBN",
"replies": "VBZ",
"revalued": "VBN",
"focussed": "VBN",
"unstated": "JJ",
"dull": "JJ",
"brunette": "JJ",
"denotes": "VBZ",
"denoted": "VBN",
"multihulled": "VBN",
"purport": "VBP",
"hallowed": "JJ",
"cradled": "VBN",
"surrealist": "JJ",
"waft": "VB",
"also": "RB",
"departmental": "JJ",
"balkanized": "JJ",
"barren": "JJ",
"haw": "UH",
"bulgarian": "JJ",
"sunny": "JJ",
"devoured": "VBN",
"adapts": "VBZ",
"overboard": "RB",
"unrealized": "JJ",
"agreed": "JJ",
"hostile": "JJ",
"untouched": "JJ",
"door-fronted": "VBN",
"lash": "VB",
"aforethought": "JJ",
"patrolled": "VBN",
"infect": "VB",
"caged": "VBN",
"cagey": "JJ",
"waivered": "VBN",
"disgusted": "JJ",
"eventshah-leh": "RB",
"flooded": "VBN",
"unimpressed": "JJ",
"crackles": "VBZ",
"abound": "VBP",
"obscures": "VBZ",
"obscured": "VBN",
"deserved": "JJ",
"epochal": "JJ",
"wrinkled": "JJ",
"harnessed": "VBN",
"nonrecourse": "JJ",
"inhumane": "JJ",
"unsafe": "JJ",
"char": "VB",
"diverse": "JJ",
"hove": "VBD",
"arthurian": "JJ",
"gawdamighty": "UH",
"electroplated": "VBN",
"toted": "VBN",
"broaden": "VB",
"amiss": "RB",
"quadruples": "VBZ",
"quadrupled": "VBN",
"whooping": "JJ",
"damning": "JJ",
"croon": "VB",
"thatt": "IN",
"suspected": "JJ",
"lock": "VB",
"nears": "VBZ",
"uncompensated": "JJ",
"procured": "VBN",
"bilingual": "JJ",
"pales": "VBZ",
"realized": "JJ",
"regains": "VBZ",
"realizes": "VBZ",
"presuppose": "VBP",
"good-by": "UH",
"holds": "VBZ",
"mute": "JJ",
"directs": "VBZ",
"varies": "VBZ",
"hungry": "JJ",
"blown-up": "VBN",
"bump": "VB",
"bicameral": "JJ",
"unprepared": "JJ",
"chilly": "JJ",
"manufactured": "JJ",
"untested": "JJ",
"starker": "JJR",
"backdoor": "JJ",
"burglarized": "VBN",
"pressurized": "VBN",
"u.s.-supplied": "JJ",
"seethes": "VBZ",
"ponders": "VBZ",
"prevayle": "VB",
"uncalled": "JJ",
"worldwide": "JJ",
"bleaker": "JJR",
"woolly": "JJ",
"wynne": "VB",
"lower-middle": "JJR",
"exude": "VBP",
"insulting": "JJ",
"thermonuclear": "JJ",
"faces": "VBZ",
"undergraduate": "JJ",
"rougher": "JJR",
">": "SYM",
"bioequivalent": "JJ",
"agonizes": "VBZ",
"adequate": "JJ",
"joking": "JJ",
"diversify": "VB",
"audio": "JJ",
"wee": "JJ",
"undulating": "JJ",
"nipponese": "JJ",
"tick": "VB",
"undid": "VBD",
"immortal": "JJ",
"scatters": "VBZ",
"contested": "JJ",
"recurring": "JJ",
"e-estimated": "VBN",
"pressure": "JJ",
"wields": "VBZ",
"outshines": "VBZ",
"indoctrinated": "VBN",
"nation-wide": "RB",
"placed": "VBN",
"reciprocates": "VBZ",
"effected": "VBN",
"compares": "VBZ",
"c-excludes": "VB",
"rekindle": "VB",
"manhandled": "VBN",
"sexualized": "JJ",
"military": "JJ",
"exaggerate": "VB",
"harrowed": "VBN",
"unfelt": "JJ",
"personifies": "VBZ",
"multifamily": "JJ",
"residual": "JJ",
"redeploy": "VB",
"personified": "VBN",
"postponed": "VBN",
"cloistered": "JJ",
"plot": "JJ",
"plod": "VB",
"bundled": "VBN",
"wavy": "JJ",
"separates": "VBZ",
"flunk": "VBP",
"flung": "VBD",
"impair": "VB",
"indicates": "VBZ",
"vehicular": "JJ",
"recovers": "VBZ",
"co-wrote": "VBD",
"complacent": "JJ",
"alienate": "VB",
"appreciate": "VB",
"rogue": "JJ",
"argentinian": "JJ",
"safe": "JJ",
"lifelong": "JJ",
"dingy": "JJ",
"engrave": "VB",
"ahah": "UH",
"dashing": "JJ",
"disembark": "VBP",
"wasted": "JJ",
"policymaking": "JJ",
"askance": "RB",
"off-shore": "RB",
"germane": "JJ",
"culminates": "VBZ",
"assessed": "VBN",
"grave": "JJ",
"topple": "VB",
"conjures": "VBZ",
"disturbs": "VBZ",
"papillary": "JJ",
"intergovernmental": "JJ",
"panned": "VBN",
"gutsy": "JJ",
"rotated": "VBN",
"overrule": "VB",
"scrubbed": "VBN",
"optimum": "JJ",
"bracing": "JJ",
"arcane": "JJ",
"shaped": "VBN",
"fermentation": "JJ",
"disappears": "VBZ",
"unchangedat": "JJ",
"katangan": "JJ",
"innoculated": "VBN",
"attacked": "VBN",
"collects": "VBZ",
"cont": "VBN",
"synce": "IN",
"tramples": "VBZ",
"taxing": "JJ",
"shout": "VB",
"unmolested": "JJ",
"unfounded": "JJ",
"cooler": "JJR",
"homing": "JJ",
"flatter": "JJR",
"flatten": "VB",
"confusing": "JJ",
"congratulate": "VBP",
"matriculate": "VB",
"booby": "JJ",
"peel": "VB",
"peed": "VBN",
"procure": "VB",
"gram": "JJ",
"asserts": "VBZ",
"grab": "VB",
"breaded": "VBN",
"shared": "JJ",
"negroid": "JJ",
"stumble": "VB",
"connote": "VB",
"romanesque": "JJ",
"maximum": "JJ",
"commences": "VBZ",
"falls": "VBZ",
"competent": "JJ",
"update": "VB",
"visualizes": "VBZ",
"dissatisfied": "JJ",
"unformed": "JJ",
"evades": "VBZ",
"agitate": "VBP",
"pretax": "JJ",
"thicker": "JJR",
"housebroken": "JJ",
"losing": "JJ",
"most-actives": "JJS",
"decked": "VBN",
"occur": "VB",
"ornery": "JJ",
"affirms": "VBZ",
"a.k.a": "JJ",
"factual": "JJ",
"unplanned": "JJ",
"agricultural": "JJ",
"unloaded": "JJ",
"consummated": "JJ",
"legal": "JJ",
"wrap": "VB",
"expected": "JJ",
"tried": "JJ",
"parceled": "VBN",
"blind": "JJ",
"blink": "VB",
"authorized": "JJ",
"appreciates": "VBZ",
"repossess": "VB",
"appreciated": "VBN",
"underwritten": "VBN",
"recruit": "VB",
"impinge": "VB",
"profuse": "JJ",
"approves": "VBZ",
"approved": "JJ",
"neatly": "JJ",
"steady": "JJ",
"discovered": "VBN",
"worse": "JJ",
"staid": "JJ",
"worst": "JJ",
"shrill": "JJ",
"charcoaled": "VBN",
"suspects": "VBZ",
"glaze": "VB",
"rollicking": "JJ",
"overcerebral": "JJ",
"orchestrate": "VB",
"moans": "VBZ",
"resides": "VBZ",
"interested": "JJ",
"impugn": "VB",
"stimulating": "JJ",
"aground": "RB",
"alleviate": "VB",
"uninjured": "JJ",
"might": "JJ",
"renewed": "JJ",
"swim": "VB",
"stunk": "VBD",
"onscreen": "RB",
"gonne": "VBN",
"gonna": "VBG",
"ramshackle": "JJ",
"semiannual": "JJ",
"sadder": "JJR",
"conceals": "VBZ",
"stare": "VB",
"shags": "VBZ",
"stark": "JJ",
"evens": "VBZ",
"appraising": "JJ",
"trample": "VB",
"nations": "NNPS",
"dabble": "VB",
"prying": "JJ",
"pledged": "JJ",
"uncollaborated": "JJ",
"resounding": "JJ",
"begot": "VBD",
"antagonised": "VBN",
"throbbing": "JJ",
"enjoin": "VB",
"befriends": "VBZ",
"envisions": "VBZ",
"gridlocked": "VBN",
"tracks": "VBZ",
"inflected": "JJ",
"implanted": "VBN",
"afterwards": "RB",
"rejuvenate": "VB",
"shrouds": "VBZ",
"horizontal": "JJ",
"misnamed": "VBN",
"thermal": "JJ",
"tumbles": "VBZ",
"siberian": "JJ",
"predatory": "JJ",
"exasperated": "JJ",
"deride": "VBP",
"nonvirulent": "JJ",
"splattered": "VBN",
"testify": "VB",
"counterrevolutionary": "JJ",
"favored": "JJ",
"unsightly": "JJ",
"brightest": "RB",
"incubated": "VBN",
"warty": "JJ",
"seafaring": "JJ",
"gret": "JJ",
"grey": "JJ",
"null": "JJ",
"aired": "VBN",
"hires": "VBZ",
"multilingual": "JJ",
"reawaken": "VB",
"raving": "JJ",
"bedfast": "JJ",
"unwed": "JJ",
"naively": "JJ",
"velvety": "JJ",
"distressing": "JJ",
"stored": "VBN",
"pictured": "VBN",
"forgotten": "JJ",
"wifely": "JJ",
"pick": "VB",
"intriguing": "JJ",
"pack": "VB",
"costly": "JJ",
"superfast": "JJ",
"multisided": "JJ",
"shivering": "JJ",
"disseminate": "VB",
"brushed": "JJ",
"keynesian": "JJ",
"equipotent": "JJ",
"looks": "CP",
"alpha": "JJ",
"done-and": "CC",
"woodward": "RB",
"surmise": "VB",
"goddamit": "UH",
"crippling": "JJ",
"amazonian": "JJ",
"underrated": "JJ",
"imprecise": "JJ",
"rekindled": "VBN",
"friendly": "JJ",
"rattling": "JJ",
"compassionate": "JJ",
"magnificent": "JJ",
"redone": "JJ",
"blanched": "VBN",
"enterprising": "JJ",
"convert": "VB",
"comminge": "VBG",
"soapy": "JJ",
"infest": "VB",
"traditionalized": "VBN",
"charming": "JJ",
"appointed": "JJ",
"wearin": "VBG",
"postmarked": "VBN",
"ensconced": "VBN",
"transmitted": "VBN",
"despairs": "VBZ",
"asinine": "JJ",
"unseated": "JJ",
"fare": "VBP",
"temporal": "JJ",
"instrumented": "JJ",
"stout": "JJ",
"respond": "VB",
"miniwelfare": "JJ",
"spoon-feed": "VB",
"overcharged": "VBN",
"chided": "VBN",
"random": "JJ",
"vacuolated": "VBN",
"refight": "VB",
"maximizes": "VBZ",
"re-emphasise": "VB",
"galling": "JJ",
"inasmuch": "RB",
"submitted": "VBN",
"other": "JJ",
"imperilled": "VBN",
"counterbalance": "VB",
"corrects": "VBZ",
"astonishing": "JJ",
"constrain": "VB",
"underpins": "VBZ",
"achieve": "VB",
"nevermind": "VB",
"failed": "JJ",
"slimed": "VBN",
"shrouded": "JJ",
"operates": "VBZ",
"operated": "VBN",
"unshaved": "JJ",
"merry": "JJ",
"unfired": "VBN",
"formosan": "JJ",
"revitalized": "VBN",
"scabbed": "VBN",
"constitutes": "VBZ",
"impress": "VB",
"ratiocinating": "JJ",
"tweezed": "VBN",
"abounds": "VBZ",
"non-god": "UH",
"drowns": "VBZ",
"pin-pointed": "VBN",
"necessary": "JJ",
"lost": "JJ",
"tipple": "VBP",
"lose": "JJ",
"mayan": "JJ",
"home": "JJ",
"pinpoint": "VB",
"octogenarian": "JJ",
"hurls": "VBZ",
"greening": "JJ",
"fettered": "VBN",
"multivalve": "JJ",
"triangular": "JJ",
"universal": "JJ",
"began": "VBD",
"discorporated": "VBN",
"forgone": "JJ",
"whoops": "JJ",
"knelt": "VBD",
"perverted": "JJ",
"subordinate": "JJ",
"upward": "JJ",
"snared": "VBN",
"either": "RB",
"tertiary": "JJ",
"highfalutin": "JJ",
"ostracized": "VBN",
"whereas": "IN",
"isothermal": "JJ",
"adventurist": "JJ",
"colde": "MD",
"vibratory": "JJ",
"operate": "VB",
"wus": "RB",
"unnamed": "JJ",
"ordinary": "JJ",
"wuh": "VBP",
"before": "RB",
"runny": "JJ",
"downright": "JJ",
"untrustworthy": "JJ",
"redressed": "VBN",
"lurks": "VBZ",
"punctuated": "VBN",
"chinked": "VBN",
"foreclose": "VB",
"digs": "VBZ",
"requisite": "JJ",
"unscented": "VBN",
"evaporates": "VBZ",
"reassert": "VB",
"floodlit": "JJ",
"overloud": "JJ",
"breathes": "VBZ",
"unadjusted": "JJ",
"annoyed": "JJ",
"flatulent": "JJ",
"jailed": "VBN",
"leave": "VB",
"earn": "VB",
"monumental": "JJ",
"enchant": "VB",
"roasted": "VBN",
"unmurmuring": "JJ",
"incorporating": "JJ",
"woozy": "JJ",
"adjudged": "VBN",
"wears": "VBZ",
"insinuates": "VBZ",
"suggested": "VBN",
"civilised": "JJ",
"jotted": "JJ",
"papal": "JJ",
"tint": "VBP",
"tiny": "JJ",
"detrimental": "JJ",
"dismiss": "VB",
"shattering": "JJ",
"tolled": "VBN",
"deepen": "VB",
"downplay": "VB",
"affirm": "VB",
"unshed": "JJ",
"settles": "VBZ",
"maryed": "VBN",
"bearded": "JJ",
"valued": "JJ",
"inherit": "VB",
"flops": "VBZ",
"nudge": "VB",
"royal": "JJ",
"bantered": "VBN",
"giving": "JJ",
"translucent": "JJ",
"sapped": "VBN",
"coincide": "VB",
"vaulted": "JJ",
"uncoated": "JJ",
"offcourse": "JJ",
"pressing": "JJ",
"thinner": "JJR",
"scalded": "VBN",
"thinned": "VBN",
"slipshod": "JJ",
"vacated": "VBN",
"unpadded": "JJ",
"tollways": "RB",
"horrifying": "JJ",
"average": "JJ",
"spotlighted": "VBN",
"erupts": "VBZ",
"pimpled": "JJ",
"tarnished": "JJ",
"bruising": "JJ",
"fosters": "VBZ",
"cut-and-paste": "VB",
"vermilion": "JJ",
"unrelieved": "JJ",
"advised": "JJ",
"unworn": "JJ",
"round": "JJ",
"unexpected": "JJ",
"exemplified": "VBN",
"exemplifies": "VBZ",
"insolent": "JJ",
"statewide": "JJ",
"spiffing": "JJ",
"disaffiliated": "JJ",
"unequaled": "JJ",
"reelected": "VBN",
"premarital": "JJ",
"nearest": "RB",
"frescoed": "JJ",
"burgeoning": "JJ",
"purify": "JJ",
"abuzz": "JJ",
"underpriced": "JJ",
"equip": "VB",
"monitor": "VB",
"repriced": "VBN",
"-ing": "JJ",
"rattles": "VBZ",
"condemns": "VBZ",
"brimming": "JJ",
"afternoon": "UH",
"lambaste": "VB",
"a[fj]": "SYM",
"gaudy": "JJ",
"looking": "JJ",
"centigrade": "JJ",
"strolls": "VBZ",
"lick": "VB",
"entombed": "VBN",
"tight": "JJ",
"recreated": "VBN",
"recreates": "VBZ",
"francophone": "JJ",
"bete": "JJ",
"hatched": "JJ",
"spaced": "JJ",
"scowl": "VBP",
"reek": "VBP",
"stormy": "JJ",
"rid": "JJ",
"large": "JJ",
"biosynthesized": "VBN",
"striking": "JJ",
"audited": "VBN",
"vital": "JJ",
"contains": "VBZ",
"radiates": "VBZ",
"rescued": "JJ",
"ascribed": "VBN",
"pacifies": "VBZ",
"ascribes": "VBZ",
"tilts": "VBZ",
"fiftieth": "CD",
"oust": "VB",
"come": "VB",
"sound": "JJ",
"cancelled": "VBN",
"sleeping": "JJ",
"belie": "VBP",
"clammy": "JJ",
"unperceived": "VBN",
"patrician": "JJ",
"assist": "VB",
"uncomplicated": "JJ",
"sputters": "VBZ",
"thudding": "JJ",
"git": "VB",
"gnarled": "JJ",
"hydrated": "JJ",
"bewitched": "VBN",
"imaged": "VBN",
"princely": "JJ",
"scared": "JJ",
"consolidate": "VB",
"skilled": "JJ",
"actuate": "VB",
"restrained": "JJ",
"disfavored": "JJ",
"oxidised": "VBN",
"motherly": "JJ",
"arranged": "JJ",
"arranges": "VBZ",
"eschew": "VB",
"frail": "JJ",
"goddam": "JJ",
"withdraw": "VB",
"collegiate": "JJ",
"commute": "VBP",
"preserves": "VBZ",
"byzantine": "JJ",
"crimson": "JJ",
"unabashed": "JJ",
"purrs": "VBZ",
"elated": "JJ",
"drugged": "VBN",
"blares": "VBZ",
"bypassed": "VBN",
"swampy": "JJ",
"leafhopper": "JJR",
"returning": "JJ",
"sofar": "RB",
"uncharted": "JJ",
"bizarre": "JJ",
"plastered": "JJ",
"subsumed": "VBN",
"constructs": "VBZ",
"american": "JJ",
"specializes": "VBZ",
"junked": "VBN",
"ensnarled": "VBN",
"questioning": "JJ",
"tangere": "JJ",
"aristotelian": "JJ",
"upholstered": "VBN",
"afrikaner": "JJR",
"forced": "JJ",
"researches": "VBZ",
"frigid": "JJ",
"prejudiced": "JJ",
"hails": "VBZ",
"winnow": "VB",
"uninvited": "JJ",
"pubescent": "JJ",
"impeached": "VBN",
"beginning": "JJ",
"embraces": "VBZ",
"embraced": "VBN",
"unacquainted": "JJ",
"bloodied": "JJ",
"obstructed": "JJ",
"dippy": "JJ",
"lilting": "JJ",
"recondite": "JJ",
"wows": "VBZ",
"loosens": "VBZ",
"inarticulate": "JJ",
"drifts": "VBZ",
"converge": "VB",
"chimes": "VBZ",
"merges": "VBZ",
"threehour": "JJ",
"biannual": "JJ",
"manly": "JJ",
"expert": "JJ",
"shatterproof": "JJ",
"punch": "JJ",
"vascular": "JJ",
"beetling": "JJ",
"intimidated": "JJ",
"re-run": "VBN",
"profligate": "JJ",
"asserted": "JJ",
"ravaged": "JJ",
"furthers": "VBZ",
"omniscient": "JJ",
"chiseled": "VBN",
"grainy": "JJ",
"reopens": "VBZ",
"unearned": "JJ",
"astound": "VB",
"disillusioning": "JJ",
"shortchanged": "VBN",
"irritably": "JJ",
"kenyan": "JJ",
"cut": "VB",
"undistinguished": "JJ",
"christian": "JJ",
"recycled": "VBN",
"unhindered": "JJ",
"absolutely": "RB",
"proficient": "JJ",
"delist": "VB",
"depose": "VB",
"translate": "VB",
"planed": "VBN",
"deprive": "VB",
"consulted": "VBN",
"revelatory": "JJ",
"appetizing": "JJ",
"overfeed": "VB",
"chrissake": "UH",
"adoring": "JJ",
"intensifying": "JJ",
"intensified": "VBN",
"entertaining": "JJ",
"overlooking": "JJ",
"amplifies": "VBZ",
"amplified": "JJ",
"compose": "VB",
"suave": "JJ",
"bottomed": "JJ",
"unhurt": "JJ",
"companywide": "JJ",
"dowdy": "JJ",
"assisted": "VBN",
"pleading": "JJ",
"agrees": "VBZ",
"composed": "JJ",
"decentralized": "JJ",
"corpuscular": "JJ",
"belittling": "JJ",
"engender": "VB",
"etruscan": "JJ",
"gruff": "JJ",
"syrupy": "JJ",
"circumscribed": "JJ",
"knocks": "VBZ",
"transborder": "JJ",
"iguana": "JJ",
"undressed": "JJ",
"pugh": "UH",
"denigrate": "VB",
"preschool": "JJ",
"hisself": "PRP",
"preclude": "VB",
"oversubscribed": "VBN",
"beady": "JJ",
"incensed": "JJ",
"scriptural": "JJ",
"clarify": "VB",
"pokerfaced": "JJ",
"backwards": "RB",
"mortal": "JJ",
"domiciled": "VBN",
"elegiac": "JJ",
"rubber": "JJ",
"nebular": "JJ",
"acquire": "VB",
"foamy": "JJ",
"nearby": "JJ",
"catapults": "VBZ",
"glad": "JJ",
"thicken": "VB",
"stumbles": "VBZ",
"pave": "VB",
"overinsistent": "JJ",
"dispell": "VB",
"racked": "VBN",
"groggy": "JJ",
"reiterate": "VB",
"jewelled": "JJ",
"reproduces": "VBZ",
"metered": "VBN",
"kosher": "JJ",
"reborn": "VBN",
"uninitiated": "JJ",
"migrate": "VB",
"drowsy": "JJ",
"iodinate": "VB",
"tense": "JJ",
"commmon": "JJ",
")": ")",
"coronary": "JJ",
"shoehorned": "VBN",
"discredited": "JJ",
"neural": "JJ",
"total": "JJ",
"reintroduce": "VBP",
"drafty": "JJ",
"inveigle": "VB",
"nicknamed": "VBN",
"elapsed": "VBN",
"displaced": "JJ",
"displaces": "VBZ",
"straightway": "RB",
"screwed": "JJ",
"topiary": "JJ",
"urbanized": "JJ",
"condense": "VB",
"hankerin": "VBG",
"avowed": "JJ",
"unpartisan": "JJ",
"versatile": "JJ",
"indiscriminating": "JJ",
"transfused": "VBN",
"overpurchase": "VB",
"conveys": "VBZ",
"deregulated": "VBN",
"propsed": "VBN",
"reprocess": "VB",
"undisputed": "JJ",
"whipsaw": "JJ",
"whatsoever": "RB",
"nasty": "JJ",
"arboreal": "JJ",
"dispense": "VB",
"gluey": "JJ",
"conceive": "VB",
"glued": "VBN",
"ruffled": "JJ",
"construed": "VBN",
"hide": "VB",
"supplied": "VBN",
"democratized": "VBN",
"culminate": "VB",
"yehhh": "UH",
"grumbles": "VBZ",
"excommunicated": "VBN",
"defile": "VB",
"legislate": "VB",
"splendid": "JJ",
"howsomever": "RB",
"signatory": "JJ",
"mistreat": "VB",
"mobile": "JJ",
"ripens": "VBZ",
"rental": "JJ",
"tootley-toot-tootled": "VBN",
"herald": "VB",
"pounce": "VB",
"laid": "VBN",
"lain": "VBN",
"aforesaid": "JJ",
"longterm": "JJ",
"primary": "JJ",
"pre-paid": "VBD",
"researched": "VBN",
"leaking": "JJ",
"unsaid": "JJ",
"pre-tested": "VBN",
"alight": "JJ",
"bail": "VB",
"graded": "VBN",
"spits": "VBZ",
"unhurried": "JJ",
"anxiously": "RB",
"disturbing": "JJ",
"feline": "JJ",
"discovers": "VBZ",
"empower": "VBP",
"colored": "JJ",
"absorbent": "JJ",
"smuggled": "VBN",
"wretched": "JJ",
"seein": "VBG",
"moneymaking": "JJ",
"zingggg-o": "UH",
"javanese": "JJ",
"buyback": "JJ",
"possessed": "JJ",
"departed": "JJ",
"leagued": "VBN",
"enlighten": "VB",
"cherry": "JJ",
"burne": "VB",
"burnt": "JJ",
"peeved": "JJ",
"contradict": "VB",
"heard": "VBN",
"pursues": "VBZ",
"clucks": "VBZ",
"kayoed": "VBN",
"accepted": "JJ",
"deleted": "VBN",
"choke": "VB",
"ensure": "VB",
"inveigh": "VBP",
"ownself": "PRP",
"obscene": "JJ",
"pampers": "VBZ",
"amen": "UH",
"encumber": "VB",
"swissmade": "JJ",
"when": "WRB",
"liquidate": "VB",
"contrasted": "VBN",
"forgoes": "VBZ",
"tripartite": "JJ",
"sequestered": "VBN",
"widthwise": "RB",
"unfamiliar": "JJ",
"ritzy": "JJ",
"level": "JJ",
"posts": "VBZ",
"likens": "VBZ",
"tougher": "JJR",
"toughen": "VB",
"port": "JJ",
"stately": "JJ",
"entertain": "VB",
"crowded": "JJ",
"undersea": "JJ",
"druncke": "VBD",
"co-market": "VB",
"flattens": "VBZ",
"reaped": "VBN",
"inform": "VB",
"syndicated": "VBN",
"lamented": "JJ",
"hassled": "VBN",
"retools": "VBZ",
"donates": "VBZ",
"demeans": "VBZ",
"qualifies": "VBZ",
"refrigerated": "JJ",
"gushing": "JJ",
"donated": "VBN",
"lambastes": "VBZ",
"unsolder": "VB",
"widen": "VB",
"turn": "VB",
"toughest-ever": "JJS",
"break": "VB",
"phoenician": "JJ",
"reinforce": "VB",
"branch-by-branch": "RB",
"tory": "JJ",
"sure": "JJ",
"beaded": "VBN",
"prodded": "VBN",
"uninterested": "JJ",
"urge": "VB",
"reinvigorate": "VB",
"crimps": "VBZ",
"glandular": "JJ",
"outperform": "VB",
"voluntary": "JJ",
"illusionary": "JJ",
"yff": "IN",
"himalayan": "JJ",
"widespread": "JJ",
"opines": "VBZ",
"escalated": "VBN",
"fishin": "VBG",
"downwind": "JJ",
"repond": "VB",
"defunded": "VBN",
"granted": "VBN",
"eggshell": "JJ",
"careen": "VB",
"studentled": "VBN",
"weep": "VB",
"sinned": "VBN",
"maltreated": "JJ",
"without": "RB",
"deflated": "JJ",
"coaxing": "JJ",
"belgian": "JJ",
"wher": "WRB",
"lets": "VBZ",
"inordinate": "JJ",
"located": "VBN",
"developmental": "JJ",
"frees": "VBZ",
"freer": "JJR",
"imputed": "VBN",
"unpegged": "JJ",
"beached": "JJ",
"stereotyped": "JJ",
"discussed": "VBN",
"decelerated": "VBN",
"cursed": "JJ",
"alleges": "VBZ",
"rouse": "VB",
"creeping": "JJ",
"accentuated": "VBN",
"cockeyed": "JJ",
"accentuates": "VBZ",
"uncovered": "VBN",
"c-reflects": "VBZ",
"proliferate": "VBP",
"platted": "VBN",
"scrappy": "JJ",
"re-rescue": "VB",
"tethered": "VBN",
"beefore": "IN",
"abstracted": "JJ",
"risen": "VBN",
"nowhere": "RB",
"unquestioned": "JJ",
"ruffle": "VB",
"mayoral": "JJ",
"compressed": "JJ",
"bungled": "JJ",
"horrified": "JJ",
"flat": "JJ",
"flay": "VB",
"besides": "RB",
"salted": "JJ",
"libertarian": "JJ",
"exalted": "JJ",
"rebalance": "VB",
"guttural": "JJ",
"okay": "JJ",
"abdicate": "VBP",
"holored": "VBN",
"proclaimed": "VB",
"democrats": "NNPS",
"shorn": "VBN",
"oftentimes": "RB",
"hunted": "VBN",
"mastered": "VBN",
"cloudy": "JJ",
"foolproof": "JJ",
"fallen": "JJ",
"enlarges": "VBZ",
"enlarged": "JJ",
"abroad": "RB",
"unmentioned": "VBN",
"elementary": "JJ",
"amass": "VB",
"exert": "VB",
"zionist": "JJ",
"foamed": "JJ",
"populate": "VB",
"diversifed": "VBN",
"liberate": "VB",
"restore": "VB",
"witty": "JJ",
"cringe": "VBP",
"unflagging": "JJ",
"unincorporated": "JJ",
"reside": "VBP",
"regulates": "VBZ",
"regulated": "VBN",
"startling": "JJ",
"flinty": "JJ",
"dominated": "JJ",
"impede": "VB",
"bourgeois": "JJ",
"deflects": "VBZ",
"overemphasized": "VBN",
"awaye": "RB",
"unseen": "JJ",
"seems": "VBZ",
"arrowed": "JJ",
"u.n.-supervised": "JJ",
"tormented": "JJ",
"collect": "VB",
"retry": "VB",
"inoculate": "VB",
"retro": "JJ",
"contrasting": "JJ",
"complimentary": "JJ",
"paved": "JJ",
"raftered": "VBN",
"landscaped": "JJ",
"capitalized": "VBN",
"capitalizes": "VBZ",
"steeped": "VBN",
"sepia": "JJ",
"attracted": "VBN",
"teased": "VBN",
"steeper": "JJR",
"disappoints": "VBZ",
"these": "DT",
"fertilized": "VBN",
"impatient": "JJ",
"re-animates": "VBZ",
"thynke": "VBP",
"gloat": "VB",
"submerged": "JJ",
"lighthearted": "JJ",
"apt": "JJ",
"clever": "JJ",
"dissolve": "VB",
"persuades": "VBZ",
"hinders": "VBZ",
"monthlong": "JJ",
"restructures": "VBZ",
"latermaturing": "JJ",
"interstellar": "JJ",
"trimmer": "JJR",
"trimmed": "VBN",
"southerly": "JJ",
"cerebral": "JJ",
"disclose": "VB",
"informs": "VBZ",
"galvanized": "JJ",
"outstate": "JJ",
"m.d.-speak": "JJ",
"dickensian": "JJ",
"disheartening": "JJ",
"diminish": "VB",
"traded": "VBN",
"succeeded": "VBN",
"coalesces": "VBZ",
"ringed": "JJ",
"weekly": "JJ",
"nearer": "JJR",
"postulated": "VBN",
"studded": "VBN",
"local": "JJ",
"misbranded": "JJ",
"manye": "JJ",
"leviathan": "JJ",
"ascertain": "VB",
"bought": "VBD",
"hokey": "JJ",
"unclear": "JJ",
"connotes": "VBZ",
"unclean": "JJ",
"bedded": "JJ",
"concludes": "VBZ",
"thum": "PRP",
"subcontract": "VB",
"clamors": "VBZ",
"conceives": "VBZ",
"undertakes": "VBZ",
"undertaken": "VBN",
"reincorporated": "VBN",
"z-not": "RB",
"more-powerful": "JJR",
"envisages": "VBZ",
"countervailing": "JJ",
"synchotron": "JJ",
"energized": "VBN",
"remove": "VB",
"f-series": "NNPS",
"promise": "JJ",
"unrifled": "JJ",
"fawning": "JJ",
"egalitarian": "JJ",
"resists": "VBZ",
"prominent": "JJ",
"hilar": "JJ",
"assail": "VB",
"distract": "VB",
"carborundum": "JJ",
"curtained": "JJ",
"shredded": "JJ",
"ornate": "JJ",
"conjure": "VB",
"swivel": "JJ",
"test-fired": "VBN",
"preceeded": "VBN",
"uncertain": "JJ",
"differentiated": "JJ",
"stiffens": "VBZ",
"charted": "VBN",
"sterile": "JJ",
"decry": "VB",
"intentioned": "JJ",
"interdependent": "JJ",
"strewn": "VBN",
"divide": "VB",
"highflying": "JJ",
"relay": "VB",
"unaffiliated": "JJ",
"orney": "JJ",
"afar": "RB",
"organized": "JJ",
"cheetal": "JJ",
"shored": "VBN",
"destined": "JJ",
"repatriated": "VBN",
"squint": "VBP",
"offered": "VBN",
"bewteen": "IN",
"matured": "JJ",
"hidden": "JJ",
"glorify": "VB",
"blinded": "JJ",
"waive": "VB",
"alert": "JJ",
"knit": "VB",
"enlist": "VB",
"carolingian": "JJ",
"bated": "JJ",
"instruct": "VB",
"listed": "VBN",
"underlie": "VBP",
"listen": "VB",
"outlaw": "VB",
"entail": "VB",
"privvy": "JJ",
"wise": "JJ",
"doin": "VBG",
"undamaged": "JJ",
"infidel": "JJ",
"blew": "VBD",
"mandatory": "JJ",
"fair": "JJ",
"hunker": "VB",
"invigorated": "JJ",
"up-front": "RB",
"vain": "JJ",
"diverted": "VBN",
"biotech": "JJ",
"trusted": "JJ",
"topping": "JJ",
"haphazard": "JJ",
"tops": "JJ",
"hackneyed": "JJ",
"rescinded": "VBN",
"givin": "VBG",
"disguise": "VB",
"uncombed": "JJ",
"gooshey": "JJ",
"abashed": "JJ",
"firmer": "JJR",
"seaside": "JJ",
"prepositioning": "JJ",
"bruited": "VBN",
"bonkers": "JJ",
"macabre": "JJ",
"equestrian": "JJ",
"foh": "IN",
"unfixed": "JJ",
"rebut": "VB",
"therefrom": "RB",
"lays": "VBZ",
"looms": "VBZ",
"proved": "JJ",
"proven": "JJ",
"crumble": "VB",
"soothe": "VB",
"proves": "VBZ",
"maimed": "JJ",
"cheap": "JJ",
"trod": "VBN",
"tear": "VB",
"unscripted": "JJ",
"outdrew": "VBD",
"prevent": "VB",
"reminiscent": "JJ",
"reread": "VB",
"namibian": "JJ",
"crumbles": "VBZ",
"bunkered": "VBN",
"vitiates": "VBZ",
"thereunder": "RB",
"bloody": "JJ",
"qualified": "JJ",
"cherishes": "VBZ",
"cherished": "VBN",
"visual": "JJ",
"degrade": "VB",
"nether": "JJ",
"fatherly": "JJ",
"four-to-one": "RB",
"misshapen": "JJ",
"filthy": "JJ",
"inflate": "VB",
"subordinated": "JJ",
"brags": "VBZ",
"contained": "JJ",
"mixed": "JJ",
"disguised": "JJ",
"collapsing": "JJ",
"misused": "JJ",
"chubby": "JJ",
"potted": "JJ",
"indicate": "VB",
"blazon": "VB",
"simmered": "VBN",
"nicer": "JJR",
"indentured": "VBN",
"microwaved": "VBN",
"myne": "PRP",
"bade": "VBD",
"trained": "JJ",
"maniacal": "JJ",
"bootleg": "JJ",
"presage": "VB",
"unpremeditated": "JJ",
"reigns": "VBZ",
"undermine": "VB",
"twotiered": "JJ",
"throttled": "VBN",
"daylong": "JJ",
"perpetuate": "VB",
"decertified": "VBN",
"askin": "VBG",
"bulletproof": "JJ",
"fleisher": "VB",
"retrace": "VB",
"truculent": "JJ",
"snarled": "JJ",
"underline": "VB",
"retract": "VB",
"fringed": "JJ",
"glitters": "VBZ",
"thinke": "VBZ",
"playin": "VBG",
"thinks": "VBZ",
"authenticate": "VBP",
"destroys": "VBZ",
"spotlights": "VBZ",
"stunned": "JJ",
"flawed": "JJ",
"dour": "JJ",
"least": "RB",
"freaked": "VBN",
"reinvigorated": "JJ",
"harro": "UH",
"antiquated": "JJ",
"oversoft": "JJ",
"administers": "VBZ",
"enrolled": "VBN",
"near-by": "IN",
"gravitates": "VBZ",
"restricted": "JJ",
"undeserved": "JJ",
"crestfallen": "JJ",
"candid": "JJ",
"caesarean": "JJ",
"excitatory": "JJ",
"yellowed": "VBN",
"skyrocket": "VB",
"smuggle": "VB",
"indoors": "RB",
"implore": "VB",
"tightfisted": "JJ",
"nonbanking": "JJ",
"cunning": "JJ",
"apportion": "VB",
"dazzle": "VB",
"unattended": "JJ",
"aplenty": "JJ",
"swiss": "JJ",
"wrench": "VB",
"reshape": "VB",
"crouchin": "JJ",
"unimposing": "JJ",
"anyhow": "RB",
"nighted": "JJ",
"stewed": "JJ",
"always": "JJ",
"m&a": "JJ",
"throwin": "VBG",
"tipsy": "JJ",
"reformulated": "VBN",
"trite": "JJ",
"premediated": "JJ",
"well-nigh": "RB",
"prefab": "JJ",
"w": "IN",
"delicate": "JJ",
"emblazoned": "VBN",
"twisted": "JJ",
"ethereal": "JJ",
"numbed": "VBN",
"relies": "VBZ",
"determined": "JJ",
"remembers": "VBZ",
"projected": "VBN",
"crude": "JJ",
"stoneware": "JJ",
"commemorates": "VBZ",
"commemorated": "VBN",
"relied": "VBN",
"hipper": "JJR",
"rhyme": "VB",
"fugual": "JJ",
"rectangular": "JJ",
"niobe": "VB",
"stirling": "JJ",
"tottering": "JJ",
"overdrawn": "JJ",
"backstitch": "VB",
"muted": "JJ",
"shortsighted": "JJ",
"smashing": "JJ",
"corresponds": "VBZ",
"assassinated": "VBN",
"firm": "JJ",
"vanish": "VBP",
"funny": "JJ",
"elevated": "JJ",
"longer-run": "JJR",
"elevates": "VBZ",
"leapt": "VBD",
"focal": "JJ",
"recent": "JJ",
"canned": "JJ",
"whaddya": "WP",
"plagues": "VBZ",
"numb": "JJ",
"daily": "JJ",
"pertinent": "JJ",
"underway": "RB",
"unfazed": "VBN",
"indigent": "JJ",
"abandon": "VB",
"prosecuted": "VBN",
"tidal": "JJ",
"discontented": "JJ",
"forgave": "VBD",
"chide": "VB",
"relaxed": "JJ",
"buttery": "JJ",
"relaxes": "VBZ",
"horned": "JJ",
"nationalist": "JJ",
"defined": "VBN",
"defines": "VBZ",
"mealy": "JJ",
"bodily": "JJ",
"tailored": "JJ",
"guzzles": "VBZ",
"cares": "VBZ",
"moot": "JJ",
"jist": "RB",
"disordered": "JJ",
"umpteenth": "JJ",
"proffer": "VB",
"unmask": "VB",
"impressionist": "JJ",
"distributed": "JJ",
"boxy": "JJ",
"standing": "JJ",
"half-aloud": "RB",
"confiscate": "VB",
"queerer": "JJR",
"deregulate": "VB",
"reproduce": "VB",
"bent": "JJ",
"transpired": "VBN",
"aspiring": "JJ",
"await": "VB",
"acquitted": "VBN",
"allot": "VB",
"irks": "VBZ",
"hoodwinked": "VBN",
"scants": "VBZ",
"decays": "VBZ",
"bad": "JJ",
"reformist": "JJ",
"oblong": "JJ",
"dismantled": "JJ",
"latches": "VBZ",
"dismantles": "VBZ",
"shucks": "UH",
"latched": "VBN",
"blown": "VBN",
"blows": "VB",
"world-amid": "IN",
"adopts": "VBZ",
"opalescent": "JJ",
"subliterary": "JJ",
"tortured": "JJ",
"misunderstand": "VB",
"heeds": "VBZ",
"adjunct": "JJ",
"bloodsucking": "JJ",
"unscramble": "VB",
"self-reinsure": "VB",
"under": "JJ",
"resells": "VBZ",
"squirreled": "VBN",
"enamelled": "JJ",
"softens": "VBZ",
"flinch": "VB",
"exchanged": "JJ",
"move": "JJ",
"stomachwise": "RB",
"rein": "VB",
"c": "RB",
"aspires": "VBZ",
"grasp": "VB",
"revamp": "VB",
"crafted": "VBN",
"poured-in-place": "VBN",
"badly": "RB",
"sore": "JJ",
"imprisoned": "VBN",
"elicits": "VBZ",
"discounted": "JJ",
"disrupted": "VBN",
"rambles": "VBZ",
"afflicted": "JJ",
"u.s.-donated": "JJ",
"magnify": "VB",
"accelerating": "JJ",
"becomin": "VBG",
"unaudited": "JJ",
"apprehended": "VBN",
"gummed": "VBN",
"gives": "VBZ",
"disaffected": "JJ",
"imbibe": "VB",
"funnel": "VB",
"smooth": "JJ",
"coiffed": "JJ",
"changing": "JJ",
"restock": "VB",
"bewildered": "JJ",
"sufi": "JJ",
"occasioned": "VBN",
"above": "JJ",
"sinks": "VBZ",
"hush": "JJ",
"most-respected": "JJS",
"cheats": "VBZ",
"escapist": "JJ",
"continual": "JJ",
"permits": "VBZ",
"marxist": "JJ",
"bureaucraticized": "JJ",
"aerated": "JJ",
"photocopy": "VB",
"aerates": "VBZ",
"fudge": "VB",
"overdressed": "JJ",
"chilled": "JJ",
"green": "JJ",
"remonstrate": "VB",
"twelvefold": "JJ",
"devote": "VB",
"precipitate": "VB",
"thei": "PRP",
"clogging": "JJ",
"thet": "DT",
"ther": "RB",
"moneyed": "JJ",
"relishes": "VBZ",
"eritrean": "JJ",
"marketwise": "RB",
"incorporates": "VBZ",
"unfulfilled": "JJ",
"aborning": "RB",
"incorporated": "JJ",
"warded": "VBN",
"imposed": "JJ",
"exhilarating": "JJ",
"advisory": "JJ",
"set": "VBN",
"glorified": "JJ",
"binds": "VBZ",
"stooooomp": "VB",
"emasculated": "JJ",
"producin": "VBG",
"eminent": "JJ",
"musta": "MD",
"intersect": "VB",
"dd": "VBD",
"side-step": "VBP",
"depends": "VBZ",
"jocose": "JJ",
"tainted": "VBN",
"coy": "JJ",
"broadens": "VBZ",
"naval": "JJ",
"recurrent": "JJ",
"plated": "VBN",
"bifocal": "JJ",
"mind": "JJ",
"mine": "JJ",
"hilly": "JJ",
"mocked": "VBN",
"ashore": "RB",
"antique": "JJ",
"ransacked": "JJ",
"purple": "JJ",
"black-balled": "VBN",
"effeminate": "JJ",
"confluent": "JJ",
"unchanging": "JJ",
"pre-register": "VB",
"cuk": "JJ",
"stacked": "VBN",
"impose": "VB",
"presumes": "VBZ",
"running": "JJ",
"asteroidal": "JJ",
"polite": "JJ",
"mightily": "RB",
"atrophied": "VBN",
"presumed": "JJ",
"blase": "JJ",
"federalized": "JJ",
"niggardly": "JJ",
"generalpurpose": "JJ",
"satisfy": "VB",
"collateral": "JJ",
"eke": "VB",
"computerrelated": "JJ",
"senile": "JJ",
"conspire": "VBP",
"labeled": "VBN",
"underlying": "JJ",
"baddebt": "JJ",
"hull-first": "RB",
"bankrupt": "JJ",
"howsabout": "RB",
"averted": "VBN",
"brazen": "JJ",
"forfeit": "VB",
"acknowledge": "VBP",
"suffocate": "VB",
"centenary": "JJ",
"natured": "JJ",
"highyield": "JJ",
"wont": "JJ",
"handsomer": "JJR",
"proofread": "VBD",
"waxy": "JJ",
"rated": "VBN",
"omitted": "JJ",
"mostly": "RB",
"lunched": "VBN",
"fruity": "JJ",
"intrauterine": "JJ",
"veteran": "JJ",
"legitimate": "JJ",
"plainer": "JJR",
"encased": "JJ",
"foaming": "JJ",
"a.m": "RB",
"sufficent": "JJ",
"inaugural": "JJ",
"nonstandard": "JJ",
"concern": "JJ",
"justifies": "VBZ",
"justified": "JJ",
"thirtieth": "CD",
"attaches": "VBZ",
"talented": "JJ",
"occluded": "JJ",
"punishes": "VBZ",
"punished": "VBN",
"diclosed": "VBN",
"reprice": "VB",
"stems": "VBZ",
"expropriated": "JJ",
"unfluoridated": "JJ",
"moth-eaten": "VBN",
"edifying": "JJ",
"hover": "VB",
"frown": "VBP",
"perverse": "JJ",
"meets": "VBZ",
"reexamine": "VB",
"chop": "VB",
"deranged": "JJ",
"renovate": "JJ",
"immaculate": "JJ",
"overpaid": "JJ",
"hire": "VB",
"describe": "VB",
"precrash": "JJ",
"administered": "VBN",
"intercontinental": "JJ",
"polar": "JJ",
"overreact": "VB",
"overreach": "VB",
"laudatory": "JJ",
"resealed": "VBN",
"dedifferentiated": "JJ",
"stringy": "JJ",
"solicit": "VB",
"clubbed": "JJ",
"parry": "VB",
"matriculated": "VBN",
"enciphered": "VBN",
"robed": "VBN",
"mild": "JJ",
"knead": "VB",
"latin": "JJ",
"flocculated": "VBN",
"strong": "JJ",
"ultra": "JJ",
"itself": "PRP",
"victimized": "VBN",
"schnabelian": "JJ",
"brooding": "JJ",
"userfriendly": "JJ",
"abridged": "JJ",
"abridges": "VBZ",
"broke": "VBD",
"browned": "VBN",
"underwrites": "VBZ",
"hurry": "VB",
"freudian": "JJ",
"subtends": "VBZ",
"pushes": "VBZ",
"lacks": "VBZ",
"ratified": "JJ",
"foreseen": "VBN",
"foresees": "VBZ",
"ratifies": "VBZ",
"unearthly": "JJ",
"fy": "VBP",
"dwarfed": "VBN",
"co-authored": "VBN",
"lesser-rank": "JJR",
"auburn": "JJ",
"staunch": "JJ",
"atrun": "JJ",
"intranasal": "JJ",
"pamper": "VB",
"thirteenth": "CD",
"bickering": "JJ",
"inert": "JJ",
"dirt": "JJ",
"uprooted": "VBN",
"elder": "JJR",
"airborne": "JJ",
"flatters": "VBZ",
"kindly": "JJ",
"kindle": "VB",
"quote": "VB",
"exempted": "VBN",
"eaten": "VBN",
"hallucinatory": "JJ",
"luckily": "RB",
"central": "JJ",
"believeth": "VBZ",
"upstanding": "JJ",
"meanwhile": "RB",
"undergoes": "VBZ",
"plough": "VB",
"reminisces": "VBZ",
"wop": "VB",
"piss": "VB",
"poorer": "JJR",
"adores": "VBZ",
"satisfied": "JJ",
"adored": "JJ",
"unrelenting": "JJ",
"fixedrate": "JJ",
"melancholy": "JJ",
"victimizes": "VBZ",
"wait": "VB",
"overran": "VBD",
"herein": "RB",
"anymore": "RB",
"belong": "VB",
"unfenced": "JJ",
"shackle": "VB",
"haunting": "JJ",
"jogs": "VBZ",
"underlies": "VBZ",
"chronicles": "VBZ",
"clears": "VBZ",
"throaty": "JJ",
"evaluate": "VB",
"tiring": "JJ",
"co-chaired": "VBN",
"tinkered": "VBN",
"moire": "JJ",
"resorted": "VBN",
"minced": "VBN",
"outnumber": "VBP",
"dialyzed": "VBN",
"outgoing": "JJ",
"rebated": "VBN",
"shipshape": "JJ",
"ensue": "VB",
"their": "PRP",
"besieged": "JJ",
"severe": "JJ",
"chromed": "JJ",
"seethe": "VB",
"oxidized": "JJ",
"calculating": "JJ",
"forge": "VB",
"revamped": "VBN",
"clenched": "JJ",
"heats": "VBZ",
"clenches": "VBZ",
"arid": "JJ",
"relocated": "JJ",
"fly": "VB",
"enslaved": "VBN",
"multipleuser": "JJ",
"unexciting": "JJ",
"dilute": "VB",
"vilified": "VBN",
";": ";",
"saps": "VBZ",
"greek": "JJ",
"utopian": "JJ",
"filde": "VBN",
"n-no": "UH",
"reregulate": "VB",
"imprisons": "VBZ",
"arched": "JJ",
"infinitesimal": "JJ",
"deplore": "VB",
"colonnaded": "JJ",
"brittle": "JJ",
"e-in": "IN",
"aaa-ee": "UH",
"engraves": "VBZ",
"paid-for": "IN",
"prorated": "VBN",
"inverted": "JJ",
"underpinned": "VBN",
"influent": "JJ",
"reacts": "VBZ",
"diminished": "JJ",
"keen": "JJ",
"diminishes": "VBZ",
"incarnate": "JJ",
"succeeds": "VBZ",
"forego": "VB",
"filigree": "JJ",
"prouder": "JJR",
"circulate": "VB",
"earmarked": "VBN",
"herself": "PRP",
"spurn": "VBP",
"beefs": "VBZ",
"thereto": "RB",
"p.m": "RB",
"beefy": "JJ",
"sprinkles": "VBZ",
"unadulterated": "JJ",
"sprinkled": "VBN",
"gunned": "VBN",
"unamused": "VBN",
"disgorge": "VB",
"resplendent": "JJ",
"expects": "VBZ",
"propels": "VBZ",
"hadd": "VBN",
"re-evaluate": "VB",
"slows": "VBZ",
"desecrated": "JJ",
"uncontrolled": "JJ",
"preach": "JJ",
"driving": "JJ",
"forgo": "VB",
"unearth": "VB",
"lug": "VB",
"foreshadow": "VB",
"disobeyed": "VBN",
"habitual": "JJ",
"betrayed": "VBN",
"temperamental": "JJ",
"cohere": "VB",
"crystalline": "JJ",
"alternates": "VBZ",
"disintegrate": "VB",
"darkling": "JJ",
"kicks": "VBZ",
"novel": "JJ",
"wth": "IN",
"resident": "JJ",
"melamine": "JJ",
"absorb": "VB",
"i": "PRP",
"modeled": "VBN",
"energizes": "VBZ",
"accurate": "JJ",
"extends": "VBZ",
"cognate": "JJ",
"liking": "JJ",
"sinister": "JJ",
"recognized": "VBN",
"recognizes": "VBZ",
"enacts": "VBZ",
"squarefoot": "JJ",
"congregate": "VB",
"rejoice": "JJ",
"canting": "JJ",
"unexamined": "JJ",
"mucked": "VBN",
"offstage": "JJ",
"twise": "RB",
"affectionate": "JJ",
"redeems": "VBZ",
"shall": "MD",
"crummy": "JJ",
"fledgling": "JJ",
"curbed": "VBN",
"nourishes": "VBZ",
"downstream": "RB",
"nourished": "JJ",
"lavender": "JJ",
"neo": "JJ",
"unasked": "JJ",
"filbert": "JJ",
"interpret": "VB",
"ratty": "JJ",
"recommend": "VB",
"sizzles": "VBZ",
"skindive": "VB",
"reconciled": "JJ",
"reconciles": "VBZ",
"citrated": "VBN",
"ensnare": "VB",
"bankroll": "VB",
"aborted": "JJ",
"indulge": "VB",
"faraway": "JJ",
"escrowed": "VBN",
"telescoped": "VBN",
"bestow": "VB",
"monicker": "JJR",
"dilated": "VBN",
"dramatized": "VBN",
"dramatizes": "VBZ",
"dilates": "VBZ",
"soonest": "RB",
"threadbare": "JJ",
"impotent": "JJ",
"algerian": "JJ",
"exonerate": "VB",
"philippine": "JJ",
"unmated": "VBN",
"digress": "VB",
"pointy": "JJ",
"judged": "VBN",
"third*": "JJS",
"attest": "VB",
"zoned": "VBN",
"dumber": "JJR",
"excavate": "VB",
"mayhap": "RB",
"vex": "VBP",
"tightest-fitting": "JJS",
"brassy": "JJ",
"formalizes": "VBZ",
"glamorized": "VBN",
"formalized": "JJ",
"homebound": "JJ",
"chilling": "JJ",
"metropolitan": "JJ",
"encamped": "VBN",
"sequined": "JJ",
"cools": "VBZ",
"sidelined": "VBN",
"discriminatory": "JJ",
"designate": "VB",
"opt": "VB",
"unfitting": "JJ",
"depicts": "VBZ",
"assimilating": "JJ",
"swab": "VB",
"tracked": "VBN",
"undisturbed": "JJ",
"flounder": "VB",
"beget": "VB",
"pupates": "VBZ",
"astir": "JJ",
"denuded": "JJ",
"azure": "JJ",
"gloss": "VB",
"unseal": "VB",
"unseat": "VB",
"assume": "VB",
"fore": "RB",
"penned": "VBN",
"delete": "VB",
"shim": "VB",
"romanian": "JJ",
"hangin": "VBG",
"alleviates": "VBZ",
"felt": "VBD",
"exported": "VBN",
"blushing": "JJ",
"aftertax": "JJ",
"primed": "VBN",
"targeted": "VBN",
"misread": "VBD",
"unruffled": "JJ",
"shave": "VB",
"growls": "VBZ",
"detest": "VBP",
"rediscover": "VB",
"effectinge": "VBG",
"outweighs": "VBZ",
"rigid": "JJ",
"processed": "JJ",
"walled": "JJ",
"transferral": "JJ",
"incarcerated": "VBN",
"grained": "JJ",
"crazy": "JJ",
"wheezing": "JJ",
"inundated": "JJ",
"agonizing": "JJ",
"swore": "VBD",
"sworn": "JJ",
"grok": "VB",
"misrepresented": "JJ",
"praiseworthy": "JJ",
"relinquish": "VB",
"facile": "JJ",
"ionized": "VBN",
"pointed": "JJ",
"encompassed": "VBN",
"mismatched": "JJ",
"shh": "UH",
"helmeted": "JJ",
"intermarket": "JJ",
"unifying": "JJ",
"hefty": "JJ",
"carry": "VB",
"oohs": "UH",
"posh": "JJ",
"infiltrate": "VB",
"camouflaged": "VBN",
"reaccelerate": "VB",
"metalized": "VBN",
"paie": "VB",
"re-create": "VB",
"communicated": "VBN",
"blurred": "JJ",
"whooosh": "JJ",
"patronized": "VBN",
"pump": "VB",
"lopes": "VBZ",
"multicolor": "JJ",
"dated": "JJ",
"rehabilitated": "VBN",
"cancel": "VB",
"certify": "VB",
"unconsolidated": "JJ",
"yearling": "JJ",
"compile": "VB",
"sincere": "JJ",
"afflicts": "VBZ",
"plank": "VB",
"amazed": "JJ",
"eviscerate": "VB",
"dissected": "JJ",
"faulknerian": "JJ",
"ups": "VBZ",
"dole": "VB",
"unitized": "VBN",
"lunar": "JJ",
"refers": "VBZ",
"jee-sus": "UH",
"meaning": "JJ",
"decimated": "VBN",
"handcuffed": "VBN",
"sorrel": "JJ",
"hybrid": "JJ",
"privatized": "JJ",
"roams": "VBZ",
"carefree": "JJ",
"alien": "JJ",
"dispel": "VB",
"windy": "JJ",
"romping": "JJ",
"only": "JJ",
"misrepresent": "JJ",
"stood": "VBD",
"stoop": "VB",
"ingratiate": "VB",
"operating": "JJ",
"narrow": "JJ",
"milks": "VBZ",
"controlling": "JJ",
"dey": "PRP",
"der": "JJR",
"def": "JJ",
"dandy": "JJ",
"purchased": "VBN",
"drained": "JJ",
"unclothed": "JJ",
"blacker": "JJR",
"disquieting": "JJ",
"foretell": "VB",
"remade": "VBN",
"handheld": "JJ",
"waiting": "JJ",
"co-operates": "VBZ",
"waged": "VBN",
"lithe": "JJ",
"gripping": "JJ",
"obligatory": "JJ",
"defused": "VBN",
"bohemian": "JJ",
"u.s.-dominated": "JJ",
"confirms": "VBZ",
"assails": "VBZ",
"inexact": "JJ",
"consistent": "JJ",
"cramped": "JJ",
"founds": "VBZ",
"worthy": "JJ",
"sepulchred": "VBN",
"hereabout": "JJ",
"restart": "VB",
"supercede": "VBP",
"improvisatory": "JJ",
"animized": "VBN",
"arouse": "VB",
"rubbin": "VBG",
"endows": "VBZ",
"tightens": "VBZ",
"dwindle": "VB",
"smother": "VB",
"newborn": "JJ",
"dovetail": "VBP",
"navigate": "VB",
"priced": "VBN",
"fun": "JJ",
"irised": "VBN",
"larger": "JJR",
"encountered": "VBN",
"sapiens": "JJ",
"exerts": "VBZ",
"aggregate": "JJ",
"shaded": "JJ",
"rearm": "VB",
"halve": "VB",
"unannounced": "JJ",
"howe": "WRB",
"rears": "VBZ",
"spend": "VB",
"untrammeled": "VBN",
"regimented": "JJ",
"impoverished": "JJ",
"hates": "VBZ",
"luxury": "JJ",
"bogus": "JJ",
"invade": "JJ",
"pared": "VBN",
"bored": "JJ",
"dimmed": "VBN",
"dimmer": "JJR",
"golfed": "VBN",
"graver": "JJR",
"graven": "JJ",
"furloughed": "VBN",
"reverberate": "VB",
"midterm": "JJ",
"mottled": "VBN",
"choppy": "JJ",
"unshelled": "VBN",
"remark": "JJ",
"birthed": "VBN",
"staple": "JJ",
"manufactures": "VBZ",
"themselves": "PRP",
"oily": "JJ",
"assailed": "VBN",
"extrapolated": "VBN",
"crocked": "JJ",
"unreal": "JJ",
"praise": "JJ",
"unread": "JJ",
"reconstructed": "JJ",
"daring": "JJ",
"bothered": "JJ",
"nullify": "VB",
"unmasks": "VBZ",
"ignite": "VB",
"resurgent": "JJ",
"revived": "JJ",
"unfriendly": "JJ",
"revives": "VBZ",
"muddle": "JJ",
"strive": "VB",
"restructured": "VBN",
"shriveled": "JJ",
"attend": "VB",
"announces": "VBZ",
"insolvent": "JJ",
"hedged": "JJ",
"bleed": "VB",
"deprived": "JJ",
"poorer-quality": "JJR",
"overweening": "JJ",
"retain": "VB",
"deprives": "VBZ",
"wakes": "VBZ",
"bisexual": "JJ",
"tidy": "JJ",
"keener": "JJR",
"regenerates": "VBZ",
"provokes": "VBZ",
"unsettled": "JJ",
"provoked": "JJ",
"gargantuan": "JJ",
"supported": "JJ",
"postdoctoral": "JJ",
"misclassified": "VBN",
"ossify": "VB",
"aforementioned": "JJ",
"pertains": "VBZ",
"conform": "VB",
"hurrah": "UH",
"literate": "JJ",
"overestimates": "VBZ",
"fulfilled": "VBN",
"assure": "VB",
"busted": "JJ",
"longhaired": "JJ",
"overstaff": "VB",
"teasing": "JJ",
"muddy": "JJ",
"unstrung": "JJ",
"german": "JJ",
"self-destroyed": "VBN",
"permeate": "VB",
"uniform": "JJ",
"respected": "JJ",
"volstead": "JJ",
"fusiform": "JJ",
"exceeds": "VBZ",
"hearest": "VBP",
"retard": "VB",
"fetal": "JJ",
"impugned": "VBN",
"corroborate": "VB",
"infiltrated": "VBN",
"discorporate": "JJ",
"simpler": "JJR",
"reincarcerated": "VBN",
"submits": "VBZ",
"oughta": "MD",
"wish": "VB",
"penetrating": "JJ",
"enlists": "VBZ",
"unpicturesque": "JJ",
"colombian": "JJ",
"redder": "JJR",
"shrank": "VBD",
"inboard": "RB",
"baked": "JJ",
"continental": "JJ",
"slogs": "VBZ",
"hate": "VBP",
"iliac": "JJ",
"enjoy": "VB",
"ransack": "VB",
"behooves": "VBZ",
"abides": "VBZ",
"corralled": "VBN",
"ridiculed": "VBN",
"resurrected": "VBN",
"circular": "JJ",
"spread-eagled": "VBN",
"sobered": "VBN",
"outdated": "JJ",
"clubby": "JJ",
"entertained": "VBN",
"warn": "VB",
"loosen": "VB",
"looser": "JJR",
"collude": "VB",
"mess": "JJ",
"demanding": "JJ",
"sparkles": "VBZ",
"gentlemanly": "JJ",
"unglued": "JJ",
"comprehend": "VB",
"notified": "VBN",
"unlinked": "JJ",
"notifies": "VBZ",
"damped": "VBN",
"overcame": "VBD",
"stringed": "JJ",
"washed": "JJ",
"unspectacular": "JJ",
"underwrite": "VB",
"slivered": "VBN",
"streamline": "VB",
"afghan": "JJ",
"staphylococcal": "JJ",
"regulate": "VB",
"leafy": "JJ",
"unceasing": "JJ",
"oriented": "VBN",
"cleft": "JJ",
"one-thirty": "RB",
"interjects": "VBZ",
"unorthodox": "JJ",
"soupy": "JJ",
"treats": "VBZ",
"orderly": "JJ",
"flog": "VB",
"untapped": "JJ",
"inspire": "VB",
"unassisted": "JJ",
"interrogated": "VBN",
"double-glaze": "VB",
"slotted": "VBN",
"handwritten": "JJ",
"bahamian": "JJ",
"nonfat": "JJ",
"indistinct": "JJ",
"participating": "JJ",
"elfin": "JJ",
"intimal": "JJ",
"maudlin": "JJ",
"coalesced": "VBN",
"fallow": "JJ",
"unchristian": "JJ",
"decanted": "VBN",
"unservile": "JJ",
"shadowed": "VBN",
"higher-margin": "JJR",
"u.s.-japan": "JJ",
"turquoise": "JJ",
"sanitary": "JJ",
"amok": "JJ",
"clawed": "JJ",
"surround": "VBP",
"misleading": "JJ",
"accommodate": "VB",
"emigrate": "VB",
"rely": "VB",
"unaware": "JJ",
"scamper": "VBP",
"drowsed": "VBN",
"realer": "JJR",
"rankled": "VBN",
"bide": "VB",
"boobify": "VB",
"outstretched": "JJ",
"na": "TO",
"nd": "CC",
"criminalized": "JJ",
"impounded": "VBN",
"dappled": "JJ",
"unregulated": "JJ",
"scrawny": "JJ",
"reassemble": "VB",
"flanged": "VBN",
"sloppy": "JJ",
"hairy": "JJ",
"twentieth": "CD",
"sees": "VBZ",
"decadelong": "JJ",
"united": "JJ",
"seen": "VBN",
"shelled": "JJ",
"sevenfold": "RB",
"concoct": "VB",
"demonized": "VBN",
"prefectural": "JJ",
"inhabit": "VBP",
"coral": "JJ",
"mccarthyite": "JJ",
"harmed": "VBN",
"flavored": "JJ",
"unawares": "RB",
"over-produce": "VB",
"varicolored": "JJ",
"countrywide": "JJ",
"dabs": "VBZ",
"worry": "VB",
"easily": "JJ",
"approximates": "VBZ",
"begun": "VBN",
"approximated": "VBN",
"splashy": "JJ",
"infuriated": "JJ",
"profit": "JJ",
"dehydrated": "JJ",
"subzero": "JJ",
"marries": "VBZ",
"unborn": "JJ",
"simplifies": "VBZ",
"simplified": "JJ",
"anesthetized": "JJ",
"taketh": "VB",
"and": "CC",
"mated": "JJ",
"ani": "JJ",
"pry": "JJ",
"goldang": "UH",
"perpetrated": "VBN",
"overage": "JJ",
"outguess": "VB",
"microchannel": "JJ",
"reveals": "VBZ",
"pummeled": "VBN",
"underpaid": "JJ",
"detect": "VB",
"flop": "JJ",
"belittled": "JJ",
"invokes": "VBZ",
"grieved": "VBN",
"deported": "VBN",
"archrival": "JJ",
"robbed": "VBN",
"crusaded": "VBN",
"agitated": "JJ",
"applaud": "VBP",
"retrograde": "JJ",
"devoid": "JJ",
"prospered": "VBN",
"arose": "VBD",
"softwood": "JJ",
"stiffnecked": "JJ",
"engulfed": "VBN",
"poised": "JJ",
"predetermined": "JJ",
"standstill": "JJ",
"upside": "RB",
"unhocked": "VBN",
"colloidal": "JJ",
"provides": "VBZ",
"terrifies": "VBZ",
"speculates": "VBZ",
"unpolished": "JJ",
"illuminated": "JJ",
"illuminates": "VBZ",
"swathed": "VBN",
"assign": "VB",
"preside": "VB",
"tubercular": "JJ",
"idiot": "JJ",
"kerchiefed": "JJ",
"bounded": "VBN",
"includee": "VBP",
"bilateral": "JJ",
"invest": "VB",
"curvy": "JJ",
"confers": "VBZ",
"remedied": "VBN",
"voids": "VBZ",
"subjected": "VBN",
"bubbled": "VBN",
"jacketed": "JJ",
"nonperforming": "JJ",
"undone": "JJ",
"offsets": "VBZ",
"ovarian": "JJ",
"midrange": "JJ",
"eventuate": "VBP",
"absurdist": "JJ",
"snug": "JJ",
"snub": "JJ",
"thus": "RB",
"vaguer": "JJR",
"coerce": "VB",
"hourlong": "JJ",
"extinguished": "JJ",
"pertained": "VBP",
"preoccupy": "VBP",
"flounce": "VBP",
"co-ordinate": "VB",
"unreasoning": "JJ",
"formulate": "VB",
"recapitulate": "VB",
"braided": "JJ",
"discrete": "JJ",
"generate": "VB",
"thrown": "JJ",
"scratchy": "JJ",
"throws": "VBZ",
"longtime": "JJ",
"blank": "JJ",
"swart": "JJ",
"imprinted": "VBN",
"uncut": "JJ",
"dispensed": "VBN",
"strengthen": "VB",
"febrile": "JJ",
"beribboned": "JJ",
"enduring": "JJ",
"mineral": "JJ",
"devalue": "VB",
"awakens": "VBZ",
"abiding": "JJ",
"transcendental": "JJ",
"stiff": "JJ",
"plays": "VBZ",
"rooseveltian": "JJ",
"more-established": "JJR",
"rarer": "JJR",
"bronze": "JJ",
"breakin": "VBG",
"ritualized": "VBN",
"flies": "VBZ",
"dug": "VBD",
"coerced": "VBN",
"aged": "JJ",
"coerces": "VBZ",
"reasserts": "VBZ",
"unspoken": "JJ",
"earmark": "VB",
"riffle": "VB",
"steeled": "VBN",
"front": "JJ",
"build": "VB",
"lovin": "JJ",
"within": "RB",
"understood": "JJ",
"unreimbursed": "VBN",
"tends": "VBZ",
"tinker": "VB",
"unhusked": "VBN",
"stricken": "JJ",
"mingles": "VBZ",
"malaysian": "JJ",
"forbidding": "JJ",
"interventionist": "JJ",
"fried": "JJ",
"scrutinized": "VBN",
"scrutinizes": "VBZ",
"vaulting": "JJ",
"sufferd": "VBN",
"issued": "VBN",
"flaunts": "VBZ",
"protrude": "VB",
"refilled": "VBN",
"desired": "JJ",
"bugeyed": "JJ",
"sexy": "JJ",
"chaste": "JJ",
"&": "CC",
"fer": "JJR",
"keerist": "UH",
"augment": "VB",
"impedes": "VBZ",
"proprietary": "JJ",
"dripping": "RB",
"carries": "VBZ",
"americans": "NNPS",
"desecrates": "VBZ",
"swearinge": "VBG",
"orthodox": "JJ",
"aztec": "JJ",
"negligent": "JJ",
"emerald": "JJ",
"all-over": "IN",
"rumanian": "JJ",
"tabloid": "JJ",
"integrates": "VBZ",
"brechtian": "JJ",
"thrifty": "JJ",
"performs": "VBZ",
"integrated": "JJ",
"despairing": "JJ",
"rewrote": "VBD",
"overtake": "VB",
"uproot": "VB",
"phrased": "VBN",
"salutary": "JJ",
"regards": "VBZ",
"beamed": "VBN",
"grander": "JJR",
"levelled": "VBN",
"olfactory": "JJ",
"discourage": "VB",
"refreshing": "JJ",
"undimmed": "VBN",
"brutalized": "VBN",
"spun": "VBN",
"prosecute": "JJ",
"inheres": "VBZ",
"spur": "VB",
"fossilized": "JJ",
"govern": "VB",
"torpedo": "VB",
"disenfranchised": "VBN",
"subscribe": "VB",
"coddle": "VBP",
"intimidating": "JJ",
"trim-your-own-franks": "VB",
"kneaded": "VBN",
"cross": "JJ",
"brandishes": "VBZ",
"moral": "JJ",
"unbridled": "JJ",
"replenish": "VB",
"argentine": "JJ",
"clock-stopped": "VBN",
"presume": "JJ",
"underwrote": "VBD",
"stodgy": "JJ",
"bossed": "VBN",
"urges": "VBZ",
"kinda": "RB",
"negate": "VB",
"groomed": "VBN",
"preapproved": "VBN",
"triggered": "VBN",
"tinged": "VBN",
"thievin": "VBG",
"humbling": "JJ",
"downtalking": "JJ",
"sloping": "JJ",
"earthly": "JJ",
"smaller-stock": "JJR",
"upwards": "RB",
"resublimed": "VBN",
"livery": "JJ",
"sputter": "VB",
"immature": "JJ",
"leisurely": "JJ",
"disturb": "VB",
"loathing": "JJ",
"enroute": "RB",
"jocular": "JJ",
"fossil": "JJ",
"resilient": "JJ",
"cull": "VB",
"kee-reist": "UH",
"smolders": "VBZ",
"unanswered": "JJ",
"shelve": "VB",
"dignifies": "VBZ",
"dignified": "JJ",
"minimized": "JJ",
"reassess": "VB",
"minimizes": "VBZ",
"infertile": "JJ",
"stockpiled": "VBN",
"heretofore": "RB",
"interrupt": "JJ",
"shrewder": "JJR",
"differentiates": "VBZ",
"crowned": "JJ",
"eared": "JJ",
"tempting": "JJ",
"procreate": "JJ",
"glassy": "JJ",
"unplowed": "JJ",
"rectified": "JJ",
"wod": "MD",
"hop-skipped": "VBN",
"constricted": "JJ",
"benighted": "JJ",
"soaked": "VBN",
"instructs": "VBZ",
"imprudent": "JJ",
"thrilled": "JJ",
"dummy": "JJ",
"incorporate": "VB",
"lethal": "JJ",
"abreast": "RB",
"crossways": "RB",
"remarry": "VB",
"hasten": "VB",
"peripheral": "JJ",
"flaxen": "JJ",
"avert": "VB",
"propagated": "VBN",
"nonregulated": "JJ",
"decompose": "VB",
"argue": "VBP",
"jog": "VB",
"subside": "VB",
"superhuman": "JJ",
"excorciate": "VB",
"contemplated": "VBN",
"contemplates": "VBZ",
"elicit": "VB",
"maximizing": "JJ",
"detracted": "VBN",
"backhanded": "JJ",
"sleeps": "VBZ",
"sleepy": "JJ",
"rotates": "VBZ",
"u.s.-about": "IN",
"obedient": "JJ",
"withing": "IN",
"creep": "VB",
"unfrozen": "JJ",
"chin-up": "IN",
"substituted": "VBN",
"underdeveloped": "JJ",
"c.i.f": "JJ",
"insincere": "JJ",
"cleaved": "VBN",
"entrust": "VB",
"withstands": "VBZ",
"clattery": "JJ",
"confectionery": "JJ",
"castor": "JJ",
"incurred": "VBN",
"activated": "JJ",
"retrofit": "VB",
"believe": "VBP",
"engrossing": "JJ",
"melt": "VB",
"meld": "VB",
"unshirted": "JJ",
"citywide": "JJ",
"incited": "VBN",
"oversupplied": "JJ",
"remitted": "VBN",
"re-establish": "VB",
"unanticipated": "JJ",
"optimal": "JJ",
"convoluted": "JJ",
"unclaimed": "JJ",
"improving": "JJ",
"natural": "JJ",
"correlate": "VB",
"nearsighted": "JJ",
"roleplayed": "VBN",
"more-selective": "JJR",
"crushing": "JJ",
"owing": "RB",
"propitiate": "VB",
"astray": "RB",
"astral": "JJ",
"uncommitted": "JJ",
"distal": "JJ",
"chekhovian": "JJ",
"bite": "VB",
"diehard": "JJ",
"stuffed": "JJ",
"southbound": "JJ",
"reclaims": "VBZ",
"slashed": "JJ",
"depressed": "JJ",
"damned": "JJ",
"buried": "JJ",
"peacekeeping": "JJ",
"inserted": "VBN",
"scarce": "JJ",
"punchy": "JJ",
"applied": "JJ",
"submerge": "VB",
"uncover": "VB",
"resiny": "JJ",
"aroused": "JJ",
"steroid": "JJ",
"matures": "VBZ",
"coolheaded": "JJ",
"puerile": "JJ",
"considers": "VBZ",
"fiveyear": "JJ",
"endures": "VBZ",
"mono": "JJ",
"cartelized": "VBN",
"spooked": "VBN",
"enrich": "VB",
"sterling": "JJ",
"rolled": "JJ",
"ebullient": "JJ",
"transmuted": "VBN",
"crusty": "JJ",
"snare": "VB",
"expository": "JJ",
"sharp": "JJ",
"crabbed": "JJ",
"pickled": "JJ",
"supplementary": "JJ",
"malposed": "JJ",
"refer": "VB",
"biased": "JJ",
"industrialized": "JJ",
"slatted": "JJ",
"extramarital": "JJ",
"betrays": "VBZ",
"masquerades": "VBZ",
"survives": "VBZ",
"follicular": "JJ",
"amplify": "VB",
"impute": "VBP",
"blinks": "VBZ",
"pinpointed": "VBN",
"straightens": "VBZ",
"catchup": "JJ",
"sanguine": "JJ",
"partitioned": "VBN",
"waived": "VBN",
"waives": "VBZ",
"restated": "VBN",
"squeal": "VB",
"th": "DT",
"joined": "JJ",
"drahve": "VB",
"assured": "JJ",
"whalesized": "JJ",
"befitting": "JJ",
"unbiased": "JJ",
"bided": "VBN",
"imminent": "JJ",
"cajole": "VB",
"unsound": "JJ",
"register": "VB",
"adorned": "VBN",
"nifty": "JJ",
"subtitled": "VBN",
"upstairs": "RB",
"finned": "VBN",
"calumniated": "VBN",
"sicker": "JJR",
"gnash": "VB",
"often": "RB",
"pre-registered": "VBN",
"spavined": "JJ",
"bimolecular": "JJ",
"caress": "VB",
"generalized": "JJ",
"wedded": "VBN",
"gold": "JJ",
"degraded": "JJ",
"standeth": "VBP",
"ordained": "JJ",
"unmeshed": "JJ",
"incident": "JJ",
"tramp": "JJ",
"dissuade": "VB",
"deport": "VB",
"inclement": "JJ",
"petrarchan": "JJ",
"comport": "VB",
"fetching": "JJ",
"rabid": "JJ",
"expend": "VB",
"surrogate": "JJ",
"eager": "JJ",
"semimonthly": "JJ",
"formal": "JJ",
"scape": "VB",
"beckon": "VBP",
"mighty": "JJ",
"re-legalization": "VB",
"anterior": "JJ",
"beefed": "VBN",
"muddleheaded": "JJ",
"awaited": "JJ",
"gleans": "VBZ",
"perplex": "VBP",
"presides": "VBZ",
"besiege": "VB",
"cerebrated": "VBN",
"nominated": "VBN",
"northwestern": "JJ",
"tibetan": "JJ",
"invented": "VBN",
"{": "(",
"altho": "IN",
"sienna": "JJ",
"explains": "VBZ",
"plain": "JJ",
"disarming": "JJ",
"governmentset": "VBN",
"clogs": "VBZ",
"occipital": "JJ",
"motivating": "JJ",
"mumbles": "VBZ",
"redeeming": "JJ",
"counter": "RB",
"re-supplied": "VBN",
"classy": "JJ",
"counted": "VBN",
"dispose": "VB",
"therefor": "RB",
"jagged": "JJ",
"borderline": "JJ",
"mediated": "VBN",
"regulatory": "JJ",
"dubbed": "VBN",
"hand-carried": "VBN",
"opportune": "JJ",
"evacuated": "VBN",
"gummy": "JJ",
"aerate": "VB",
"depressing": "JJ",
"crosswise": "JJ",
"unexpended": "VBN",
"unblushing": "JJ",
"accusing": "JJ",
"unbelieving": "JJ",
"correspond": "VB",
"therewith": "RB",
"souled": "JJ",
"lined": "JJ",
"screechy": "JJ",
"disbanded": "VBN",
"redirect": "VB",
"conciliate": "VB",
"handle": "VB",
"summon": "VB",
"anglian": "JJ",
"absentee": "JJ",
"rockbound": "JJ",
"hee": "UH",
"negotiates": "VBZ",
"unpaired": "VBN",
"overleveraged": "JJ",
"sits": "VBZ",
"burly": "JJ",
"fail": "JJ",
"roomy": "JJ",
"extempore": "RB",
"snitched": "VBN",
"imprison": "VB",
"misperceives": "VBZ",
"bargain-hunt": "VB",
"anguished": "JJ",
"activate": "VBP",
"restricts": "VBZ",
"disengaged": "VBN",
"more-detailed": "JJR",
"interwar": "JJ",
"convince": "VB",
"agreed-upon": "IN",
"oviform": "JJ",
"extrapolates": "VBZ",
"spew": "VBP",
"excoriate": "VB",
"regal": "JJ",
"whack": "VB",
"waterlogged": "JJ",
"pinch": "JJ",
"reinvent": "VB",
"chew": "VB",
"preaches": "VBZ",
"unsurpassed": "JJ",
"deliberate": "JJ",
"consequent": "JJ",
"faced": "JJ",
"thrombosed": "VBN",
"nourishing": "JJ",
"underrepresented": "VBN",
"reappraise": "VB",
"glittering": "JJ",
"hunkered": "VBN",
"zeroed": "VBN",
"wellplaced": "JJ",
"developed": "JJ",
"unshackled": "JJ",
"overvaulting": "JJ",
"antislavery": "JJ",
"unsubordinated": "JJ",
"coined": "VBN",
"austere": "JJ",
"befallen": "VBN",
"discomfited": "JJ",
"noncash": "JJ",
"homemaster": "JJ",
"toot-toot": "UH",
"profusely": "RB",
"mangled": "JJ",
"meshed": "JJ",
"unblinking": "JJ",
"latter": "JJ",
"unhook": "VB",
"insulated": "VBN",
"demoralizes": "VBZ",
"intergroup": "JJ",
"calculated": "JJ",
"judgmental": "JJ",
"demoralized": "VBN",
"unattached": "JJ",
"painfully": "RB",
"pierced": "VBN",
"headlong": "JJ",
"unfilled": "JJ",
"unmet": "JJ",
"afloat": "JJ",
"contraband": "JJ",
"uncataloged": "VBN",
"germinated": "JJ",
"refile": "VB",
"accentuate": "VB",
"thoughtprovoking": "JJ",
"poring": "JJ",
"harms": "VBZ",
"applies": "VBZ",
"unproved": "JJ",
"grandiose": "JJ",
"perform": "VB",
"sheltered": "JJ",
"burbles": "VBZ",
"macaque": "JJ",
"stringent": "JJ",
"invalidate": "VB",
"unifies": "VBZ",
"bismarckian": "JJ",
"exalt": "VBP",
"boxed": "JJ",
"ginnin": "VBG",
"aimed": "VBN",
"denies": "VBZ",
"pose": "VB",
"confer": "VB",
"chafe": "VBP",
"rearrange": "VB",
"rallying": "JJ",
"accepts": "VBZ",
"incur": "VB",
"float": "VB",
"wan": "JJ",
"truncated": "JJ",
"becoming": "JJ",
"sundry": "JJ",
"attuned": "VBN",
"emit": "VB",
"muscular": "JJ",
"necessitates": "VBZ",
"necessitated": "VBN",
"gotham": "VB",
"compensate": "VB",
"presented": "VBN",
"self-insure": "VBP",
"enticing": "JJ",
"wherefore": "RB",
"dental": "JJ",
"frothing": "JJ",
"re-examine": "VB",
"fundamentalist": "JJ",
"selects": "VBZ",
"f": "RB",
"attribute": "VBP",
"heare": "VBP",
"unwritten": "JJ",
"over-magazined": "VBN",
"nonstop": "JJ",
"post-fray": "RB",
"accelerates": "VBZ",
"worsens": "VBZ",
"exacerbates": "VBZ",
"unlovely": "JJ",
"pruned": "VBN",
"enacted": "VBN",
"whitewalled": "JJ",
"zig-zag": "VBP",
"profess": "JJ",
"deadlocked": "JJ",
"weds": "VBZ",
"slaked": "VBN",
"collimated": "VBN",
"prepared": "JJ",
"surfeited": "VBN",
"slap": "VB",
"garpian": "JJ",
"underemployed": "JJ",
"upgrade": "VB",
"scatterbrained": "JJ",
"phased": "VBN",
"rehear": "VB",
"loath": "JJ",
"cannot": "MD",
"celebrate": "VB",
"preempt": "VB",
"keyed": "VBN",
"overworked": "JJ",
"afoul": "RB",
"disppointed": "JJ",
"burmese": "JJ",
"re-educate": "VB",
"reinterpreted": "VBN",
"maladroit": "JJ",
"informer": "JJ",
"patriarchal": "JJ",
"accommodating": "JJ",
"crumbly": "JJ",
"heigh-ho": "UH",
"canceled": "VBN",
"short-sell": "VB",
"closest": "RB",
"avoided": "VBN",
"alfresco": "JJ",
"shouts": "VBZ",
"mirrored": "VBN",
"spectacular": "JJ",
"overlooks": "VBZ",
"recipient": "JJ",
"lilliputian": "JJ",
"unplumbed": "JJ",
"stranger": "JJR",
"equivalent": "JJ",
"leftover": "JJ",
"sabers-along": "IN",
"escalating": "JJ",
"lob": "VB",
"lop": "JJ",
"lot": "RB",
"slovenian": "JJ",
"ragged": "JJ",
"stale": "JJ",
"bellows": "VBZ",
"williamsesque": "JJ",
"trickled": "VBN",
"corporatewide": "JJ",
"intense": "JJ",
"assert": "VB",
"publish": "VB",
"copyrighted": "VBN",
"fizzles": "VBZ",
"glitzy": "JJ",
"foster": "VB",
"erects": "VBZ",
"appealing": "JJ",
"deficient": "JJ",
"libeled": "VBN",
"vulpine": "JJ",
"unheard": "JJ",
"decriminalized": "VBN",
"promotes": "VBZ",
"gether": "VB",
"dolledup": "JJ",
"vegetarian": "JJ",
"threemonth": "JJ",
"takes": "VBZ",
"relegated": "VBN",
"slants": "VBZ",
"taken": "JJ",
"overbuilt": "JJ",
"slouchy": "JJ",
"gauche": "JJ",
"stinging": "JJ",
"magenta": "JJ",
"carpeted": "VBN",
"undedicated": "VBN",
"averts": "VBZ",
"finite": "JJ",
"rots": "VBZ",
"intervene": "VB",
"nonbinding": "JJ",
"historicized": "VBN",
"sketched": "VBN",
"unnatural": "JJ",
"preserve": "VB",
"outrun": "VB",
"curtailed": "VBN",
"maht": "MD",
"transparent": "JJ",
"less-ambitious": "JJR",
"most-livable": "JJS",
"anticipate": "VB",
"obfuscate": "VB",
"towardes": "IN",
"unfocussed": "VBN",
"expansionist": "JJ",
"plunder": "JJ",
"exempts": "VBZ",
"reground": "JJ",
"humid": "JJ",
"renegotiate": "VB",
"grandiloquent": "JJ",
"imparted": "VBN",
"speckled": "JJ",
"noted": "JJ",
"catches": "VBZ",
"catchee": "VB",
"overtaxed": "JJ",
"lynched": "VBN",
"plush": "JJ",
"dally": "VB",
"hardline": "JJ",
"prepubescent": "JJ",
"undigested": "JJ",
"longerterm": "JJ",
"persecuted": "JJ",
"regroup": "VB",
"wherever": "WRB",
"solarheated": "JJ",
"jackbooted": "JJ",
"herewith": "RB",
"older": "JJ",
"docked": "VBN",
"reclaim": "VB",
"olden": "JJ",
"remaining": "JJ",
"coplandesque": "JJ",
"reptilian": "JJ",
"copernican": "JJ",
"wiser": "JJR",
"stimulatory": "JJ",
"skimpy": "JJ",
"taboo": "JJ",
"uppon": "IN",
"misspent": "VBN",
"whittled": "VBN",
"dangle": "VB",
"smelly": "JJ",
"smells": "JJ",
"rummage": "VB",
"branchline": "JJ",
"hairyknuckled": "JJ",
"properly": "RB",
"intermodal": "JJ",
"viennese": "JJ",
"unwise": "JJ",
"upended": "JJ",
"spartan": "JJ",
"nabbed": "VBN",
"jesting": "JJ",
"hyaline": "JJ",
"stave": "VB",
"excluded": "JJ",
"cluttered": "JJ",
"jinxed": "JJ",
"muzzled": "VBN",
"brokered": "JJ",
"redrawn": "JJ",
"likewise": "JJ",
"reestablish": "VB",
"lordly": "JJ",
"outer": "JJ",
"enshrouds": "VBZ",
"dissect": "VB",
"documented": "VBN",
"handy": "JJ",
"uncaring": "JJ",
"illuminate": "VB",
"remiss": "JJ",
"humiliating": "JJ",
"unliterary": "JJ",
"intoxicated": "JJ",
"swapped": "VBN",
"disembodied": "JJ",
"stultifying": "JJ",
"paves": "VBZ",
"perfectly": "RB",
"precursory": "JJ",
"saintly": "JJ",
"arrogate": "VB",
"ephemeral": "JJ",
"circumvents": "VBZ",
"gray": "JJ",
"quarantine": "VB",
"overflowing": "JJ",
"trilateral": "JJ",
"humane": "JJ",
"allotted": "VBN",
"stygian": "JJ",
"admit": "VB",
"re-instated": "VBN",
"pap-pap-pap-hey": "UH",
"distinguish": "VB",
"speakin": "VBG",
"dwarfs": "VBZ",
"encircles": "VBZ",
"uncertified": "JJ",
"intimidate": "JJ",
"coddled": "VBN",
"capture": "VB",
"suborbital": "JJ",
"endearing": "JJ",
"mistaken": "JJ",
"dost": "VBP",
"clouded": "JJ",
"livid": "JJ",
"district-by-district": "RB",
"uttermost": "JJ",
"peter": "VB",
"hinder": "JJR",
"coated": "JJ",
"repaired": "VBN",
"presupposed": "VBN",
"articulate": "JJ",
"withholds": "VBZ",
"globalized": "JJ",
"invent": "VB",
"collected": "JJ",
"strengthens": "VBZ",
"flecked": "VBN",
"onwards": "RB",
"talkin": "VBG",
"wouldbe": "JJ",
"astounding": "JJ",
"dragoon": "VBP",
"undelivered": "JJ",
"theretofore": "RB",
"powdery": "JJ",
"smack": "RB",
"panelized": "VBN",
"implemented": "VBN",
"yooee": "UH",
"harass": "VB",
"diagrammed": "VBN",
"reckoned": "VBN",
"jumbo": "JJ",
"wiry": "JJ",
"multipronged": "VBN",
"moored": "VBN",
"lunge": "VB",
"full-length": "RB",
"ostrich": "JJ",
"faulty": "JJ",
"richer": "JJR",
"predominates": "VBZ",
"natch": "UH",
"ancient": "JJ",
"befall": "VB",
"underenforces": "VBZ",
"unexercised": "JJ",
"persist": "VB",
"marital": "JJ",
"typecast": "VB",
"unconditioned": "JJ",
"scrounge": "VBP",
"naughty": "JJ",
"reassure": "VB",
"radiate": "JJ",
"neuromuscular": "JJ",
"dumbfounded": "JJ",
"halted": "VBN",
"dwell": "VBP",
"bouncing": "JJ",
"gambled": "VBN",
"exorcise": "VB",
"seep": "VB",
"quench": "JJ",
"rechristens": "VBZ",
"seem": "CP",
"rangy": "JJ",
"floppy": "JJ",
"re-scheduled": "VBN",
"mashed": "VBN",
"don": "VB",
"planetary": "JJ",
"sows": "VBZ",
"sown": "VBN",
"hollers": "VBZ",
"rejoicing": "JJ",
"tiled": "JJ",
"internationalized": "VBN",
"rival": "JJ",
"inspects": "VBZ",
"laze": "VB",
"syrian": "JJ",
"though": "RB",
"paralyze": "VB",
"replicate": "VB",
"chug": "VBP",
"unfortunate": "JJ",
"filtered": "VBN",
"sodden": "JJ",
"harbored": "VBN",
"butted": "VBN",
"transforms": "VBZ",
"tattooed": "VBN",
"impending": "JJ",
"legion": "JJ",
"reuse": "VB",
"perfunctory": "JJ",
"dreamy": "JJ",
"dreamt": "VBD",
"ungratified": "JJ",
"conceal": "VB",
"lathered": "VBN",
"restate": "VB",
"inspected": "VBN",
"lampoon": "VB",
"readmit": "VB",
"lingers": "VBZ",
"bloodstained": "JJ",
"discriminate": "VB",
"clingy": "JJ",
"offputting": "JJ",
"clings": "VBZ",
"matriarchal": "JJ",
"delivered": "VBN",
"glossy": "JJ",
"manages": "VBZ",
"depend": "VB",
"forked": "JJ",
"jettison": "VB",
"freemarket": "JJ",
"whiz-bang": "UH",
"sacral": "JJ",
"reunite": "VB",
"sixfold": "RB",
"promissory": "JJ",
"unobserved": "JJ",
"first-ever": "RB",
"equipped": "JJ",
"reappear": "VBP",
"concocted": "VBN",
"battered": "JJ",
"traipse": "VB",
"rarified": "JJ",
"antifundamentalist": "JJ",
"imbedded": "VBN",
"sensitized": "VBN",
"undisclosed": "JJ",
"unlock": "VB",
"befell": "VBD",
"emerges": "VBZ",
"bamboo": "JJ",
"whittle": "VBP",
"orwellian": "JJ",
"brynge": "VBP",
"tailor-make": "VB",
"participates": "VBZ",
"modernist": "JJ",
"ambulatory": "JJ",
"booted": "JJ",
"overenforced": "VBN",
"efficient": "JJ",
"isolate": "JJ",
"endangered": "JJ",
"frolicked": "VBN",
"vitiate": "VB",
"befouled": "JJ",
"enclosed": "JJ",
"navigated": "VBN",
"untold": "JJ",
"longest-standing": "JJS",
"re-emerge": "VB",
"ruptured": "VBN",
"bedraggled": "JJ",
"tuck": "VBP",
"catbird": "JJ",
"paddle": "VB",
"unassuming": "JJ",
"slenderer": "JJR",
"jaunty": "JJ",
"educated": "JJ",
"angolan": "JJ",
"incubate": "VB",
"finagled": "VBN",
"solve": "VB",
"proximal": "JJ",
"outranks": "VBZ",
"fifteenfold": "RB",
"twin": "JJ",
"tooke": "VBD",
"erase": "VB",
"matching": "JJ",
"confirm": "VB",
"untamed": "JJ",
"u.s.-produced": "JJ",
"pretends": "VBZ",
"hated": "JJ",
"keynote": "VBP",
"repent": "VB",
"hemorrhaged": "VBN",
"forbidden": "JJ",
"slung": "VBD",
"sung": "VBN",
"tartar": "JJ",
"pinioned": "JJ",
"nonwhite": "JJ",
"kill": "VB",
"becometh": "VBZ",
"embodies": "VBZ",
"ruminate": "VB",
"scanty": "JJ",
"cowardly": "JJ",
"unapproved": "JJ",
"lebanese": "JJ",
"annunciated": "VBN",
"culinary": "JJ",
"abroade": "RB",
"brasil": "JJ",
"unnumbered": "JJ",
"overhand": "JJ",
"hessian": "JJ",
"awkward": "JJ",
"thout": "VBD",
"intones": "VBZ",
"blunder": "JJ",
"deserted": "JJ",
"graunt": "VB",
"heartstopping": "JJ",
"deteriorates": "VBZ",
"excruciating": "JJ",
"ashen": "JJ",
"deteriorated": "VBN",
"forthright": "JJ",
"hark": "VBP",
"discouraging": "JJ",
"firstround": "JJ",
"trusteth": "VBP",
"crouches": "VBZ",
"ruined": "JJ",
"reinforces": "VBZ",
"reinforced": "VBN",
"inhibits": "VBZ",
"neglects": "VBZ",
"disown": "VB",
"referred": "VBN",
"ungodly": "JJ",
"supposed": "JJ",
"sedate": "JJ",
"ordere": "VBN",
"categorized": "VBN",
"creased": "VBN",
"clearer": "JJR",
"fundamantal": "JJ",
"corrupts": "VBZ",
"whetted": "VBN",
"contorted": "JJ",
"roughshod": "JJ",
"override": "VB",
"distributes": "VBZ",
"infuse": "VB",
"urinary": "JJ",
"unfettered": "JJ",
"forthcoming": "JJ",
"de-iodinate": "VB",
"krist": "UH",
"burned": "JJ",
"transfered": "VBN",
"windswept": "JJ",
"seeded": "JJ",
"alarmist": "JJ",
"reverse": "VB",
"tapered": "JJ",
"longsuffering": "JJ",
"taxfree": "JJ",
"presale": "JJ",
"misunderstands": "VBZ",
"rat": "JJ",
"vulcanized": "VBN",
"unaffected": "JJ",
"timid": "JJ",
"covets": "VBZ",
"distracting": "JJ",
"openly": "JJ",
"re-used": "VBN",
"stirrin": "VBG",
"squawk": "VB",
"married": "JJ",
"whatever": "JJ",
"einsteinian": "JJ",
"whoa": "UH",
"aflame": "JJ",
"patient": "JJ",
"crap": "JJ",
"constrains": "VBZ",
"goody": "UH",
"frenzied": "JJ",
"impure": "JJ",
"cram": "JJ",
"mealynosed": "JJ",
"single": "JJ",
"assassinate": "VB",
"prepares": "VBZ",
"its": "PP",
"dispassionate": "JJ",
"asian": "JJ",
"commoner": "JJR",
"fecund": "JJ",
"huddled": "JJ",
"aromatick": "JJ",
"prototyped": "VBN",
"restates": "VBZ",
"pomaded": "VBN",
"outlying": "JJ",
"implicit": "JJ",
"chinese": "JJ",
"existent": "JJ",
"formulated": "JJ",
"formulates": "VBZ",
"bested": "VBN",
"nauseated": "JJ",
"upcoming": "JJ",
"dupes": "VBZ",
"apprenticed": "VBN",
"unforgiving": "JJ",
"duped": "VBN",
"misfired": "VBN",
"exclaims": "VBZ",
"curving": "JJ",
"revs": "VBZ",
"bluff": "JJ",
"trifling": "JJ",
"counterbalanced": "VBN",
"confiscatory": "JJ",
"test-drive": "VB",
"poaches": "VBZ",
"re-open": "VB",
"widowed": "VBN",
"negro": "JJ",
"outbid": "VB",
"scalding": "JJ",
"sprawled": "VBN",
"multilayered": "JJ",
"pedigreed": "VBN",
"unspecified": "JJ",
"abolished": "VBN",
"newfangled": "JJ",
"mid": "JJ",
"propagate": "VB",
"sally": "VB",
"skinny": "JJ",
"sidetrack": "VB",
"interpeople": "JJ",
"inferior": "JJ",
"re-assumed": "VBN",
"filleted": "VBN",
"enhances": "VBZ",
"embezzle": "VB",
"enhanced": "JJ",
"awaits": "VBZ",
"consentual": "JJ",
"exclaim": "VB",
"devour": "VB",
"elects": "VBZ",
"spellbound": "JJ",
"divvied": "VBN",
"stationed": "VBN",
"an": "DT",
"wellknown": "JJ",
"deloused": "VBN",
"aw": "UH",
"almost": "RB",
"pluck": "VB",
"glycerinated": "JJ",
"infer": "VB",
"numbered": "JJ",
"bluesy": "JJ",
"ratify": "VB",
"miasmal": "JJ",
"add": "VB",
"match": "VB",
"more-than-average": "RB",
"honeycombed": "JJ",
"propel": "VB",
"masked": "JJ",
"bustling": "JJ",
"lessens": "VBZ",
"stellar": "JJ",
"fleshy": "JJ",
"unreleased": "JJ",
"unwind": "VB",
"gleaned": "VBN",
"dizzying": "JJ",
"tilled": "JJ",
"multicolored": "JJ",
"violent": "JJ",
"wallow": "VB",
"goin": "VBG",
"entreat": "VB",
"heelsthe": "DT",
"ceartaine": "JJ",
"violate": "VB",
"rightist": "JJ",
"jack": "VB",
"solemn": "JJ",
"parched": "JJ",
"aural": "JJ",
"ciceronian": "JJ",
"stray": "JJ",
"strap": "VB",
"swingy": "JJ",
"undisciplined": "JJ",
"unwrinkled": "JJ",
"intermeshed": "JJ",
"optioned": "VBN",
"wobbling": "JJ",
"maintain": "VB",
"shadowy": "JJ",
"depress": "VB",
"collaborates": "VBZ",
"pre-fund": "VB",
"east-to-west": "RB",
"awoke": "VBD",
"inconvenient": "JJ",
"leach": "VB",
"murder": "JJ",
"indiscreet": "JJ",
"pyramidal": "JJ",
"separatist": "JJ",
"prone": "JJ",
"overstrained": "VBN",
"inured": "VBN",
"mammary": "JJ",
"preset": "JJ",
"plenty": "JJ",
"disarmed": "JJ",
"interject": "VBP",
"prevails": "VBZ",
"devastating": "JJ",
"prevaile": "VB",
"announce": "VB",
"aaa": "JJ",
"aah": "UH",
"reinstall": "VB",
"overbearing": "JJ",
"unlatch": "VB",
"erupt": "VB",
"predates": "VBZ",
"irregular": "JJ",
"subnormal": "JJ",
"exterior": "JJ",
"upholds": "VBZ",
"pivotal": "JJ",
"bewhiskered": "JJ",
"arbitrary": "JJ",
"reinsured": "VBN",
"reinsurer": "JJR",
"buildin": "VBG",
"enunciate": "VB",
"permitted": "JJ",
"trustworthy": "JJ",
"naturalized": "JJ",
"transform": "VB",
"gim": "VB",
"steers": "VBZ",
"underclass": "JJ",
"attempted": "JJ",
"illuminating": "JJ",
"most-polluted": "JJS",
"quicksilver": "JJ",
"decorate": "VBP",
"acclaimed": "JJ",
"shines": "VBZ",
"longrun": "JJ",
"patterned": "VBN",
"discern": "VB",
"outmoded": "JJ",
"beseiged": "VBN",
"couched": "VBN",
"invades": "VBZ",
"unmaterialized": "VBN",
"looted": "VBN",
"channeled": "VBN",
"overrides": "VBZ",
"guilty": "JJ",
"paralyzes": "VBZ",
"erudite": "JJ",
"paralyzed": "JJ",
"sporty": "JJ",
"noncombat": "JJ",
"baser": "JJR",
"tinplated": "VBN",
"neglected": "JJ",
"moonlit": "JJ",
"unarmed": "JJ",
"provoke": "VB",
"disliked": "JJ",
"coiled": "JJ",
"paide": "VBN",
"paramount": "JJ",
"execute": "VB",
"arteriolar": "JJ",
"plain-out": "RB",
"depersonalized": "VBN",
"cancels": "VBZ",
"kidnaped": "VBN",
"limps": "VBZ",
"uniformed": "JJ",
"broached": "VBN",
"knoweth": "VBP",
"petered": "VBN",
"cooling": "JJ",
"portend": "VBP",
"straddles": "VBZ",
"resifted": "VBN",
"adopt": "VB",
"rebalanced": "VBN",
"partake": "VB",
"hedge": "VB",
"sabotage": "JJ",
"obliterate": "JJ",
"imposing": "JJ",
"disarranged": "JJ",
"unoccupied": "JJ",
"topgrade": "JJ",
"co-edits": "VBZ",
"pronto": "RB",
"jammed": "JJ",
"together": "RB",
"myself": "PRP",
"slippery": "JJ",
"hunts": "VBZ",
"pre-try": "VB",
"hevin": "VBG",
"excavated": "VBN",
"reward": "VB",
"burglarproof": "JJ",
"dulls": "VBZ",
"impound": "VB",
"painteresque": "JJ",
"wainscoted": "JJ",
"overheated": "JJ",
"ours": "PRP",
"oftener": "RBR",
"europeanized": "VBN",
"undreamt": "VBN",
"attests": "VBZ",
"disorganized": "JJ",
"obeys": "VBZ",
"overstaffed": "JJ",
"dislocated": "JJ",
"forbade": "VBD",
"lapidary": "JJ",
"promote": "VB",
"heave": "VB",
"compel": "VB",
"brash": "JJ",
"gator": "JJ",
"variegated": "JJ",
"eschewed": "VBN",
"unlined": "JJ",
"becase": "IN",
"sparked": "VBN",
"infringe": "VB",
"pulmonary": "JJ",
"elongated": "VBN",
"proceed": "VB",
"irritate": "VB",
"widens": "VBZ",
"underprivileged": "JJ",
"quarterly": "JJ",
"mellow": "JJ",
"wrestles": "VBZ",
"co-host": "VBP",
"swung": "VBD",
"allege": "VBP",
"expedient": "JJ",
"earlier-the": "IN",
"ever-greater": "JJR",
"underplayed": "VBN",
"misspelled": "VBN",
"overused": "VBN",
"characterizes": "VBZ",
"characterized": "VBN",
"say-because": "IN",
"organised": "JJ",
"monotone": "JJ",
"seizin": "VBG",
"notify": "VB",
"pleasin": "VBG",
"conventionalized": "VBN",
"flimsy": "JJ",
"inaugurated": "VBN",
"nagging": "JJ",
"outdoors": "RB",
"breakeven": "JJ",
"comforting": "JJ",
"engulf": "VB",
"stigmatizes": "VBZ",
"germans": "NNPS",
"biggest-ever": "RB",
"behynde": "IN",
"gilded": "JJ",
"delinquent": "JJ",
"mosey": "VB",
"deader": "JJR",
"frumpy": "JJ",
"determines": "VBZ",
"unaddressed": "JJ",
"investigate": "VB",
"achieved": "VBN",
"achieves": "VBZ",
"degrading": "JJ",
"pinch-hit": "VB",
"tumbledown": "JJ",
"bludgeoned": "VBN",
"blissfully": "RB",
"rave": "JJ",
"deprecatory": "JJ",
"out-trade": "VB",
"fatiegued": "JJ",
"orchestral": "JJ",
"rocking": "JJ",
"longer-range": "JJR",
"rosy": "JJ",
"advise": "VB",
"selle": "VB",
"flown": "VBN",
"unrestrained": "JJ",
"underreported": "VBN",
"polled": "VBN",
"bestubbled": "JJ",
"be-that": "VB",
"tabled": "VBN",
"amended": "JJ",
"secondary": "JJ",
"awaken": "VB",
"digitalized": "JJ",
"entice": "VB",
"sprightly": "JJ",
"understanded": "VBN",
"raided": "VBN",
"divest": "VB",
"square": "JJ",
"baggy": "JJ",
"usurp": "VB",
"junior": "JJ",
"elide": "VBP",
"freak": "JJ",
"allayed": "VBN",
"rainy": "JJ",
"mock": "JJ",
"muddled": "JJ",
"generates": "VBZ",
"generated": "VBN",
"buries": "VBZ",
"onct": "IN",
"epitomizes": "VBZ",
"resistance": "JJ",
"epitomized": "VBN",
"acclimatized": "VBN",
"breathing": "JJ",
"seized": "VBN",
"relives": "VBZ",
"inaccurate": "JJ",
"appeased": "VBN",
"capital": "JJ",
"incriminating": "JJ",
"wil": "MD",
"stabilized": "JJ",
"undecorated": "JJ",
"stabilizes": "VBZ",
"counterfeit": "JJ",
"tamper": "VB",
"blustery": "JJ",
"demonstrates": "VBZ",
"improvised": "JJ",
"stamped": "JJ",
"restrain": "VB",
"underpin": "VB",
"testifies": "VBZ",
"re-enter": "VB",
"relates": "VBZ",
"maintains": "VBZ",
"via": "IN",
"scattershot": "JJ",
"instituted": "VBN",
"baptized": "VBN",
"congenital": "JJ",
"limiting": "JJ",
"elongate": "VB",
"after": "RB",
"outward": "RB",
"vernacular": "JJ",
"politicized": "VBN",
"enthrones": "VBZ",
"clothbound": "JJ",
"queried": "VBN",
"artsy": "JJ",
"pitted": "VBN",
"acquires": "VBZ",
"broach": "VB",
"refurnished": "VBN",
"swift": "JJ",
"unlamented": "JJ",
"bewildering": "JJ",
"counterchallenge": "VB",
"abandoned": "JJ",
"rename": "VB",
"apprehend": "VB",
"disapprove": "VBP",
"coached": "VBN",
"lopsided": "JJ",
"antsy": "JJ",
"plowed": "VBN",
"banded": "JJ",
"console": "VB",
"superstrong": "JJ",
"ablaze": "JJ",
"u.s.-owned": "JJ",
"swear": "VB",
"*": "SYM",
"stymied": "VBN",
"baffling": "JJ",
"mutter": "VB",
"mailed": "VBN",
"ruling": "JJ",
"fulllength": "JJ",
"fortunate": "JJ",
"myn": "PRP",
"overdeveloped": "JJ",
"u.s.-south": "JJ",
"threetranche": "JJ",
"alienated": "JJ",
"cambodian": "JJ",
"alienates": "VBZ",
"sopping": "JJ",
"woo": "VB",
"mossberg": "JJ",
"kennedyesque": "JJ",
"auctioned": "VBN",
"precise": "JJ",
"reactivated": "VBN",
"catalyzed": "VBN",
"secluded": "JJ",
"exhort": "VB",
"occupying": "JJ",
"untie": "VB",
"icebound": "JJ",
"suffocated": "VBN",
"downward": "JJ",
"brings": "VBZ",
"canonized": "JJ",
"sweeten": "VB",
"sweeter": "JJR",
"denyin": "VBG",
"promulgated": "JJ",
"vitiated": "JJ",
"revisit": "VB",
"retooled": "VBN",
"outlawed": "JJ",
"scoffs": "VBZ",
"tranquilizing": "JJ",
"conned": "VBN",
"undercut": "VB",
"programed": "VBN",
"braised": "VBN",
"clumsy": "JJ",
"addicted": "VBN",
"obdurate": "JJ",
"ate": "VBD",
"no-o": "UH",
"earthy": "JJ",
"playfully": "RB",
"tangy": "JJ",
"unguided": "JJ",
"readjusted": "VBN",
"zounds": "UH",
"unintended": "JJ",
"relaunched": "VBN",
"kayo": "VB",
"unperformed": "JJ",
"figger": "VB",
"unsuspecting": "JJ",
"blackmailed": "VBN",
"shalt": "VB",
"quality": "JJ",
"comprise": "VBP",
"prim": "JJ",
"sexist": "JJ",
"undue": "JJ",
"pastoral": "JJ",
"plagued": "VBN",
"thees": "DT",
"pilloried": "VBN",
"symbolizes": "VBZ",
"closed": "JJ",
"trucked": "VBN",
"sauterne": "JJ",
"roofed": "VBN",
"vows": "VBZ",
"morever": "RB",
"shipwrecked": "JJ",
"disseminated": "VBN",
"disseminates": "VBZ",
"distribute": "VB",
"deters": "VBZ",
"unimpassioned": "JJ",
"remind": "VB",
"cavin": "VBG",
"further": "JJR",
"animate": "JJ",
"whitens": "VBZ",
"prefund": "VB",
"ruffles": "VBZ",
"summoned": "VBN",
"bowing": "JJ",
"emits": "VBZ",
"first": "JJ",
"instructed": "VBN",
"recollect": "VBP",
"frazzled": "JJ",
"unfree": "JJ",
"followthrough": "JJ",
"sighs": "VBZ",
"bateau": "JJ",
"momentary": "JJ",
"front-loads": "VBZ",
"shimmy": "VB",
"smalltime": "JJ",
"fatigued": "JJ",
"most-remarkable": "JJS",
"bulldozed": "VBN",
"coppery": "JJ",
"bi": "IN",
"contemplate": "VB",
"fourfold": "JJ",
"loving": "JJ",
"refrain": "VB",
"militated": "VBN",
"jewel-bright": "RB",
"privy": "JJ",
"unequalled": "JJ",
"uncomforted": "JJ",
"immune": "JJ",
"advancing": "JJ",
"burgundian": "JJ",
"cardiac": "JJ",
"lighter": "JJR",
"stampeded": "VBN",
"derive": "VBP",
"haughty": "JJ",
"paraded": "VBN",
"decreased": "JJ",
"bipartisan": "JJ",
"retails": "VBZ",
"withdrew": "VBD",
"suspends": "VBZ",
"fluted": "JJ",
"topnotch": "JJ",
"exploding": "JJ",
"complimented": "VBN",
"quits": "VBZ",
"sin-ned": "VB",
"unlicensed": "JJ",
"punk": "JJ",
"isolated": "JJ",
"reopen": "VB",
"structured": "JJ",
"plies": "VBZ",
"veers": "VBZ",
"sag": "VB",
"sap": "VB",
"aside": "RB",
"transcribed": "VBN",
"destroy": "VB",
"knew": "VBD",
"butchered": "VBN",
"accented": "JJ",
"homespun": "JJ",
"foward": "JJ",
"uppermost": "RB",
"dissimilar": "JJ",
"ghastly": "JJ",
"plummet": "VB",
"churchgoing": "JJ",
"forsake": "VB",
"lettin": "VBG",
"facilitatory": "JJ",
"adept": "JJ",
"madcap": "JJ",
"overland": "RB",
"originates": "VBZ",
"rekindles": "VBZ",
"observe": "VB",
"spanking": "JJ",
"coextrude": "VBP",
"twisty": "JJ",
"maximal": "JJ",
"redeemin": "VBG",
"thinkin": "VBG",
"colorblind": "JJ",
"manifold": "JJ",
"west-to-east": "RB",
"disperse": "VB",
"nymphomaniac": "JJ",
"ghostly": "JJ",
"coded": "JJ",
"warped": "JJ",
"indeed": "RB",
"stationary": "JJ",
"pushy": "JJ",
"tote": "VB",
"side": "JJ",
"jordanian": "JJ",
"stony": "JJ",
"sneering": "JJ",
"wade": "VB",
"mourns": "VBZ",
"unveils": "VBZ",
"flirt": "VBP",
"laminated": "VBN",
"noninflationary": "JJ",
"preppy": "JJ",
"overlying": "JJ",
"bilked": "VBN",
"instigate": "VB",
"ninetieth": "CD",
"forestall": "VB",
"discolors": "VBZ",
"introductory": "JJ",
"brutal": "JJ",
"unsatisfactory": "JJ",
"whammo": "UH",
"wavering": "JJ",
"russian": "JJ",
"teen": "JJ",
"u.s.-canadian": "JJ",
"foregone": "JJ",
"unanalyzed": "JJ",
"rowdy": "JJ",
"denude": "VB",
"licks": "VBZ",
"pre-signed": "VBN",
"motley": "JJ",
"imperil": "VB",
"thereof": "RB",
"featured": "JJ",
"reappointed": "VBN",
"flyaway": "JJ",
"dwelt": "VBD",
"disadvantaged": "JJ",
"bargen": "VBP",
"thespian": "JJ",
"forwards": "RB",
"sidle": "VB",
"molecular": "JJ",
"vocal": "JJ",
"multipurpose": "JJ",
"disenchanted": "JJ",
"ancillary": "JJ",
"nasal": "JJ",
"despise": "VBP",
"stepwise": "JJ",
"scuff": "VB",
"resent": "VBP",
"belled": "JJ",
"#": "#",
"diluted": "VBN",
"dilutes": "VBZ",
"kneel": "VB",
"milder": "JJR",
"disallow": "VB",
"enables": "VBZ",
"harpy": "JJ",
"jowly": "JJ",
"modern": "JJ",
"hind": "JJ",
"arching": "JJ",
"sounding": "JJ",
"favorites": "NNPS",
"displeased": "JJ",
"unlabeled": "JJ",
"rammin": "VBG",
"unto": "IN",
"expansionary": "JJ",
"dictated": "VBN",
"irked": "JJ",
"appropriate": "JJ",
"deduct": "VB",
"traduce": "VB",
"consumed": "VBN",
"reconcile": "JJ",
"raging": "JJ",
"surpassing": "JJ",
"nondiscriminatory": "JJ",
"overconfident": "JJ",
"labelled": "JJ",
"illustrates": "VBZ",
"unmatched": "JJ",
"manipulates": "VBZ",
"gather": "VB",
"jettisoned": "VBN",
"pledge": "JJ",
"gettin": "VBG",
"overshadows": "VBZ",
"deduces": "VBZ",
"subgross": "JJ",
"deduced": "VBN",
"involves": "VBZ",
"counsels": "VBZ",
"illegal": "JJ",
"afforded": "VBN",
"zim": "UH",
"indpendent": "JJ",
"pour": "VB",
"rubberized": "VBN",
"fulfill": "VB",
"pieced": "VBN",
"purposed": "VBN",
"puckered": "VBN",
"overridden": "VBN",
"hitched": "VBN",
"crabby": "JJ",
"derelict": "JJ",
"archival": "JJ",
"hindering": "JJ",
"fascinating": "JJ",
"behaves": "VBZ",
"courted": "VBN",
"fluffy": "JJ",
"elite": "JJ",
"stricter": "JJR",
"amble": "VB",
"particular": "JJ",
"fervent": "JJ",
"more-distinctive": "JJR",
"touching": "JJ",
"spiffy": "JJ",
"familiar": "JJ",
"lazy": "JJ",
"tripled": "VBN",
"staved": "VBN",
"homosexual": "JJ",
"lumbar": "JJ",
"intradepartmental": "JJ",
"loathes": "VBZ",
"prefabricated": "VBN",
"eventshahleh": "RB",
"glaring": "JJ",
"conflicting": "JJ",
"cutsie": "JJ",
"expand": "VB",
"extradited": "VBN",
"overcast": "JJ",
"prospering": "JJ",
"off-line": "RB",
"howda": "WRB",
"predicts": "VBZ",
"commandeered": "VBN",
"mannered": "JJ",
"rectilinear": "JJ",
"overdosed": "VBN",
"persecuting": "JJ",
"portly": "JJ",
"shone": "VBD",
"legato": "RB",
"briefly-illumed": "VBN",
"afoot": "RB",
"mere": "JJ",
"alreadeh": "RB",
"misguided": "JJ",
"de-leverage": "VB",
"bunched": "VBN",
"grecian": "JJ",
"mercenary": "JJ",
"suicidal": "JJ",
"admixed": "VBN",
"bludgeon": "VB",
"closeup": "JJ",
"viral": "JJ",
"zairean": "JJ",
"prolong": "VB",
"jamaican": "JJ",
"sparkling": "JJ",
"lighted": "JJ",
"flng": "VB",
"tolerated": "VBN",
"hereditary": "JJ",
"tolerates": "VBZ",
"overrun": "VBN",
"blooming": "JJ",
"overheard": "VBN",
"betide": "VB",
"cites": "VBZ",
"as-it-were": "RB",
"subpenaed": "VBN",
"lax": "JJ",
"egged": "VBN",
"stimulate": "VB",
"counseled": "VBN",
"deducted": "VBN",
"satisfies": "VBZ",
"dapper": "JJ",
"insolently": "RB",
"unacknowledged": "JJ",
"pastdue": "JJ",
"entitled": "JJ",
"overpopulated": "VBN",
"churchillian": "JJ",
"gridded": "JJ",
"unkempt": "JJ",
"coldhearted": "JJ",
"delves": "VBZ",
"licked": "JJ",
"delved": "VBN",
"guatemalan": "JJ",
"reimbursed": "VBN",
"vibrate": "VB",
"tackled": "VBN",
"overlays": "VBZ",
"pleural": "JJ",
"confabulated": "VBN",
"swims": "VBZ",
"fitted": "VBN",
"respectfully": "RB",
"versed": "VBN",
"blighted": "JJ",
"herded": "VBN",
"obsoleted": "VBN",
"mexican": "JJ",
"a-reflects": "VBZ",
"bestows": "VBZ",
"dimwitted": "JJ",
"untarnished": "JJ",
"refurbished": "VBN",
"repelled": "VBN",
"relaxing": "JJ",
"millionth": "JJ",
"hoist": "VB",
"spelled": "VBN",
"inhibit": "VB",
"thenceforth": "RB",
"pungent": "JJ",
"entertains": "VBZ",
"crowning": "JJ",
"outclassed": "JJ",
"grapple": "VB",
"unlaundered": "VBN",
"nil": "JJ",
"swell": "VB",
"outmaneuvered": "VBN",
"wispy": "JJ",
"figural": "JJ",
"mingle": "VB",
"quoted": "VBN",
"chides": "VBZ",
"demolished": "JJ",
"slouches": "VBZ",
"soar": "VB",
"rile": "VBP",
"unrivaled": "JJ",
"cede": "VB",
"disillusioned": "JJ",
"honoured": "VBN",
"ply": "VBP",
"tropho": "JJ",
"emulated": "VBN",
"snowy": "JJ",
"astonished": "JJ",
"overrules": "VBZ",
"conserves": "VBZ",
"howling": "JJ",
"conserved": "VBN",
"wintry": "JJ",
"shrink": "VB",
"bestowed": "VBN",
"gyrate": "VB",
"hovers": "VBZ",
"disapproves": "VBZ",
"released": "VBN",
"devotes": "VBZ",
"bilinear": "JJ",
"unblemished": "JJ",
"unbundled": "VBN",
"hypophysectomised": "VBN",
"disqualify": "VB",
"upper": "JJ",
"tempts": "VBZ",
"discover": "VB",
"penetrated": "VBN",
"hops": "VBZ",
"tippling": "JJ",
"homeward": "RB",
"marked": "JJ",
"immunized": "VBN",
"uncountered": "JJ",
"menstrual": "JJ",
"intrapulmonary": "JJ",
"nomenclatural": "JJ",
"infantile": "JJ",
"amputated": "VBN",
"bartered": "VBN",
"unuttered": "JJ",
"disparate": "JJ",
"lumbering": "JJ",
"discuss": "VB",
"expedite": "VB",
"commercialized": "VBN",
"prospers": "VBZ",
"supplant": "VB",
"counteract": "VB",
"accomplish": "VB",
"yourself": "PRP",
"dawns": "VBZ",
"thar": "RB",
"reconvenes": "VBZ",
"lumpy": "JJ",
"nervy": "JJ",
"similiar": "JJ",
"erred": "VBN",
"concurs": "VBZ",
"reorganized": "VBN",
"reorganizes": "VBZ",
"derogatory": "JJ",
"examinin": "VBG",
"analyzes": "VBZ",
"analyzed": "VBN",
"segmental": "JJ",
"pulverized": "VBN",
"invert": "VB",
"wolde": "MD",
"avian": "JJ",
"homely": "JJ",
"foggy": "JJ",
"grevouselye": "RB",
"outmaneuver": "VB",
"coordinate": "VB",
"defers": "VBZ",
"nazi": "JJ",
"charged": "JJ",
"thinking": "JJ",
"congeal": "VB",
"seamy": "JJ",
"allocates": "VBZ",
"dumpy": "JJ",
"hoa-whup": "UH",
"uncorrected": "JJ",
"sniffs": "VBZ",
"sniffy": "JJ",
"vacillate": "VB",
"hampers": "VBZ",
"unbounded": "JJ",
"color-coded": "VBN",
"garrisoned": "VBN",
"forwarded": "VBN",
"exonerated": "JJ",
"mellowed": "VBN",
"reintegrated": "VBN",
"posterior": "JJ",
"u.s.-backed": "JJ",
"overpay": "VB",
"restores": "VBZ",
"midweek": "JJ",
"godamit": "VB",
"semiarid": "JJ",
"authoritarian": "JJ",
"repay": "VB",
"renege": "VB",
"messy": "JJ",
"revoke": "VB",
"egad": "UH",
"amatory": "JJ",
"edited": "VBN",
"modular": "JJ",
"multipartisan": "JJ",
"creepy": "JJ",
"locates": "VBZ",
"ripe": "JJ",
"ejected": "VBN",
"woodsy": "JJ",
"headquartered": "VBN",
"malnourished": "JJ",
"contrived": "JJ",
"unfertilized": "VBN",
"lateral": "JJ",
"followeth": "VBZ",
"relate": "VBP",
"motivates": "VBZ",
"dulled": "JJ",
"duller": "JJR",
"tode": "VBN",
"bald": "JJ",
"resettle": "VB",
"earliest": "RB",
"revolutionary": "JJ",
"corrupting": "JJ",
"financed": "VBN",
"lament": "JJ",
"sentenced": "VBN",
"impressively": "RB",
"multilateral": "JJ",
"grafted": "JJ",
"flighty": "JJ",
"albeit": "IN",
"intensify": "VB",
"gels": "VBZ",
"vanquish": "VB",
"hobbles": "VBZ",
"hobbled": "VBN",
"cautions": "VBZ",
"delimit": "VB",
"vaster": "JJR",
"breakneck": "JJ",
"steely": "JJ",
"deter": "VB",
"tactual": "JJ",
"animates": "VBZ",
"fleet": "JJ",
"flees": "VBZ",
"gala": "JJ",
"clobbers": "VBZ",
"simian": "JJ",
"fairer": "JJR",
"autopsied": "VBN",
"unpromising": "JJ",
"shoe-horned": "VBN",
"savvy": "JJ",
"abstain": "VB",
"fabulously": "RB",
"defies": "VBZ",
"overthrown": "VBN",
"ingratiating": "JJ",
"saddled": "JJ",
"stagger": "VB",
"slapstick": "JJ",
"dehydrate": "VB",
"raspberry": "JJ",
"react": "JJ",
"encircling": "JJ",
"revealing": "JJ",
"innate": "JJ",
"bantering": "JJ",
"newsworthy": "JJ",
"reiterates": "VBZ",
"restarted": "VBN",
"overweighted": "VBN",
"deconstructed": "JJ",
"aa": "JJ",
"drab": "JJ",
"moribund": "JJ",
"homicidal": "JJ",
"ribald": "JJ",
"pristine": "JJ",
"ventilates": "VBZ",
"adulterate": "JJ",
"addressed": "VBN",
"recused": "VBN",
"whisks": "VBZ",
"retried": "VBN",
"stemmed": "JJ",
"re-use": "VB",
"immoral": "JJ",
"hafta": "VB",
"alaskan": "JJ",
"hid": "VBD",
"soggy": "JJ",
"surrounds": "VBZ",
"refuel": "VB",
"depreciating": "JJ",
"joins": "VBZ",
"undo": "VB",
"lanced": "VBN",
"strapping": "JJ",
"overestimate": "VB",
"unequivocal": "JJ",
"punish": "VB",
"recessed": "VBN",
"cosmopolitan": "JJ",
"pursued": "VBN",
"aftermarket": "JJ",
"goddamned": "JJ",
"connected": "JJ",
"scrambled": "JJ",
"shakespearean": "JJ",
"creamed": "VBN",
"cavort": "VBP",
"outflank": "VB",
"gratify": "VB",
"improvident": "JJ",
"trammel": "VB",
"computed": "VBN",
"realign": "VB",
"juggle": "VB",
"castoff": "JJ",
"publicized": "VBN",
"undermined": "VBN",
"bearing": "JJ",
"undermines": "VBZ",
"harder": "JJR",
"harden": "VB",
"midpriced": "JJ",
"riddled": "VBN",
"prophesies": "VBZ",
"evenhanded": "JJ",
"clashing": "JJ",
"lures": "VBZ",
"barefooted": "JJ",
"lured": "VBN",
"pooh-poohed": "VB",
"crushed": "JJ",
"tarnish": "VB",
"thatcherite": "JJ",
"warmer": "JJR",
"solicits": "VBZ",
"rewarding": "JJ",
"weighs": "VBZ",
"offset": "VB",
"cleans": "VBZ",
"persuaded": "VBN",
"overlook": "VB",
"legitimizes": "VBZ",
"legitimized": "VBN",
"second-guess": "VB",
"tapers": "VBZ",
"converted": "VBN",
"pumped": "VBN",
"u.s.-mexico": "JJ",
"leathery": "JJ",
"unroll": "VBP",
"extenuate": "VB",
"updated": "JJ",
"overcomes": "VBZ",
"accentual": "JJ",
"sunder": "VB",
"taper": "VB",
"chaperoned": "JJ",
"tabulated": "VBN",
"defer": "VB",
"blistering": "JJ",
"degenerate": "JJ",
"cursory": "JJ",
"prohibits": "VBZ",
"neutered": "VBN",
"accusatory": "JJ",
"overcome": "VB",
"mamalian": "JJ",
"unregistered": "JJ",
"sulphured": "VBN",
"upstaged": "VBN",
"mandated": "VBN",
"linear": "JJ",
"subtended": "JJ",
"lineal": "JJ",
"warmhearted": "JJ",
"lacerated": "JJ",
"deplete": "VB",
"silly": "JJ",
"deserving": "JJ",
"spoiled": "JJ",
"closeted": "JJ",
"desist": "VB",
"nighttime": "JJ",
"chartered": "JJ",
"acquit": "VB",
"establishes": "VBZ",
"compounded": "JJ",
"perceive": "VB",
"sallow": "JJ",
"thyself": "PRP",
"shaven": "JJ",
"sail": "VB",
"shaved": "VBN",
"reassigned": "VBN",
"shaves": "VBZ",
"disinfected": "VBN",
"hardworking": "JJ",
"lowly": "JJ",
"recut": "JJ",
"recur": "VB",
"distorts": "VBZ",
"spawn": "VB",
"nae": "UH",
"grown": "JJ",
"yongst": "JJS",
"alludes": "VBZ",
"downtrodden": "JJ",
"afire": "RB",
"uncivil": "JJ",
"intercollegiate": "JJ",
"repudiate": "VB",
"bold": "JJ",
"errs": "VBZ",
"approximate": "JJ",
"impassioned": "JJ",
"chekovian": "JJ",
"multiscreen": "JJ",
"secondhand": "JJ",
"overburden": "VB",
"attached": "JJ",
"hypertrophied": "VBN",
"covert": "JJ",
"covers": "VBZ",
"vacate": "VB",
"unholy": "JJ",
"worcestershire": "JJ",
"excel": "JJ",
"misinterpreted": "VBN",
"overdue": "JJ",
"deputized": "VBN",
"peruse": "VB",
"agleam": "JJ",
"disgusting": "JJ",
"amaze": "VB",
"overproduce": "VB",
"encircle": "VB",
"shod": "JJ",
"overlaid": "VBN",
"faustian": "JJ",
"dishonored": "VBN",
"validate": "VB",
"breathtaking": "JJ",
"weeklong": "JJ",
"intensively": "RB",
"perk": "JJ",
"creamy": "JJ",
"pert": "JJ",
"cremate": "VB",
"beholden": "JJ",
"recites": "VBZ",
"gassy": "JJ",
"deformed": "JJ",
"claim": "VB",
"marbleized": "VBN",
"accessory": "JJ",
"instills": "VBZ",
"downsized": "VBN",
"longhand": "JJ",
"technophiliac": "JJ",
"frittered": "VBN",
"sculpts": "VBZ",
"irresolute": "JJ",
"bein": "VBG",
"unvisited": "VBN",
"discourages": "VBZ",
"slaughters": "VBZ",
"many-fold": "RB",
"dominate": "VB",
"bootlegged": "VBN",
"mortared": "VBN",
"musing": "JJ",
"forbids": "VBZ",
"standby": "JJ",
"inflight": "JJ",
"exclusionary": "JJ",
"occupies": "VBZ",
"greet": "VB",
"occupied": "JJ",
"clung": "VBD",
"astounds": "VBZ",
"enumerated": "VBN",
"pained": "JJ",
"typify": "VBP",
"dedicate": "VB",
"arcaded": "JJ",
"terse": "JJ",
"maintained": "VBN",
"disciplinary": "JJ",
"undertake": "VB",
"referrin": "VBG",
"outspends": "VBZ",
"sprained": "VBN",
"underweighted": "VBN",
"everyday": "JJ",
"pat": "JJ",
"mortgaged": "VBN",
"haint": "VBZ",
"doctoral": "JJ",
"recopied": "VBN",
"safeguarded": "VBN",
"mor": "JJR",
"mop": "VB",
"mow": "VB",
"intracompany": "JJ",
"disappointed": "JJ",
"gossipy": "JJ",
"laughing": "JJ",
"undifferentiated": "JJ",
"receave": "VBP",
"unissued": "JJ",
"classifies": "VBZ",
"unclassified": "JJ",
"preoccupies": "VBZ",
"solidify": "VB",
"roam": "VB",
"uptown": "RB",
"amassed": "VBN",
"suject": "JJ",
"gory": "JJ",
"gore": "VB",
"grudging": "JJ",
"unturned": "JJ",
"princesse": "JJ",
"prudent": "JJ",
"casts": "VBZ",
"corporeal": "JJ",
"forges": "VBZ",
"goofy": "JJ",
"forged": "JJ",
"worded": "VBN",
"invigorate": "VB",
"disused": "JJ",
"preordained": "VBN",
"overshot": "VBD",
"face-to-wall": "RB",
"faded": "JJ",
"doting": "JJ",
"chipper": "JJ",
"distinct": "JJ",
"promazine": "JJ",
"staggering": "JJ",
"unindicted": "JJ",
"taut": "JJ",
"prods": "VBZ",
"siren": "JJ",
"sired": "VBN",
"uninspired": "JJ",
"bathed": "VBN",
"chopped": "JJ",
"minincomputer": "JJR",
"forthwith": "RB",
"oks": "VBZ",
"declamatory": "JJ",
"conspires": "VBZ",
"bah": "JJ",
"obtaine": "VB",
"effete": "JJ",
"byinge": "VBG",
"hosted": "VBN",
"wanting": "JJ",
"slithers": "VBZ",
"weave": "VB",
"gotten": "VBN",
"cross-pollinated": "VBN",
"damaging": "JJ",
"sole": "JJ",
"totter": "VB",
"outta": "IN",
"dismember": "VB",
"appellate": "JJ",
"fluctuate": "VBP",
"poach": "VB",
"a-stoopin": "VBG",
"socalled": "JJ",
"multichannel": "JJ",
"dividing": "JJ",
"omani": "JJ",
"relocate": "VB",
"elapse": "VB",
"brooken": "VBN",
"glottal": "JJ",
"noninstitutionalized": "JJ",
"glorifies": "VBZ",
"feasted": "VBN",
"donate": "VB",
"declaratory": "JJ",
"renews": "VBZ",
"alters": "VBZ",
"cubed": "VBN",
"consume": "VBP",
"unremitting": "JJ",
"u.s.-european": "JJ",
"foreshadowed": "VBN",
"adjusts": "VBZ",
"uhhu": "UH",
"embarks": "VBZ",
"inspect": "VB",
"unregisterd": "JJ",
"plinking": "JJ",
"snap": "VB",
"redeem": "JJ",
"pollinate": "VB",
"keeeerist": "UH",
"extremist": "JJ",
"accelerate": "VB",
"ourselves": "PRP",
"scald": "VB",
"costumed": "VBN",
"downhill": "RB",
"multilayer": "JJ",
"bong": "UH",
"overpower": "VB",
"quiescent": "JJ",
"unstimulated": "JJ",
"calico": "JJ",
"intricate": "JJ",
"mowed": "VBN",
"annoy": "VB",
"populist": "JJ",
"grooved": "VBN",
"replicated": "VBN",
"lower-priced": "JJR",
"transplanted": "VBN",
"advertised": "VBN",
"sink": "VB",
"irritating": "JJ",
"tat": "VB",
"appended": "VBN",
"clockwise": "RB",
"matinee": "JJ",
"airlifted": "VBN",
"higher-technology": "JJR",
"stock": "JJ",
"subpoenaed": "VBN",
"envisage": "VB",
"negotiated": "VBN",
"whereof": "RB",
"<": "SYM",
"infrequent": "JJ",
"serpentine": "JJ",
"slacken": "VB",
"verifying": "JJ",
"unstuck": "JJ",
"labile": "JJ",
"postpone": "VB",
"chased": "VBN",
"tbond": "JJ",
"natty": "JJ",
"retrench": "VBP",
"unending": "JJ",
"loved": "JJ",
"halcyon": "JJ",
"sublunary": "JJ",
"builtin": "JJ",
"replanted": "VBN",
"rediscovered": "VBN",
"trundles": "VBZ",
"yeeech": "UH",
"gulled": "VBN",
"shrugs": "VBZ",
"circumpolar": "JJ",
"resubmit": "VB",
"bogartian": "JJ",
"accrue": "VB",
"striped": "JJ",
"cleaned": "VBN",
"dislodge": "VB",
"packaged": "VBN",
"fester": "VB",
"most-indebted": "JJS",
"upbeat": "JJ",
"plaid": "JJ",
"deem": "VBP",
"promoted": "VBN",
"preconference": "JJ",
"persianesque": "JJ",
"injured": "JJ",
"tighten": "VB",
"injures": "VBZ",
"tighter": "JJR",
"terrorized": "VBN",
"inviting": "JJ",
"stuffy": "JJ",
"regain": "VB",
"maronite": "JJ",
"expire": "VB",
"buckle": "VB",
"awarded": "JJ",
"reminds": "VBZ",
"annoying": "JJ",
"backfires": "VBZ",
"misstated": "VBN",
"individuate": "VB",
"surreal": "JJ",
"misstates": "VBZ",
"handcrafted": "VBN",
"misgauged": "VBN",
"prevalent": "JJ",
"oral": "JJ",
"assembles": "VBZ",
"sleek": "JJ",
"assembled": "VBN",
"vile": "JJ",
"incurs": "VBZ",
"lurk": "VB",
"sunk": "VBN",
"razed": "JJ",
"frizzled": "JJ",
"omits": "VBZ",
"slaughtered": "VBN",
"ensnared": "VBN",
"brushy": "JJ",
"adjourn": "VB",
"quick-fired": "VBN",
"thoriated": "VBN",
"adjacent": "JJ",
"nonsingular": "JJ",
"predicated": "VBN",
"oooo": "UH",
"transcultural": "JJ",
"reorient": "VB",
"digest": "VB",
"edits": "VBZ",
"tantalized": "VBN",
"appoint": "VB",
"explode": "VB",
"holdin": "VBG",
"unscrew": "VB",
"reused": "VBN",
"rail": "JJ",
"whereupon": "IN",
"superimpose": "VB",
"decorticated": "VBN",
"blunts": "VBZ",
"withheld": "VBN",
"staminate": "JJ",
"kinder": "JJR",
"meanders": "VBZ",
"centered": "VBN",
"cross-fertilized": "VBN",
"injected": "VBN",
"kept": "VBD",
"nominate": "VB",
"isolates": "VBZ",
"genital": "JJ",
"pops": "VBZ",
"queer": "JJ",
"curricular": "JJ",
"commence": "VB",
"enslave": "VBP",
"sectionalized": "JJ",
"startle": "VB",
"cajun": "JJ",
"yearago": "JJ",
"rightward": "RB",
"confide": "VB",
"dabbles": "VBZ",
"affixed": "VBN",
"catch": "VB",
"subjugate": "VB",
"cracked": "JJ",
"precede": "VB",
"outface": "VB",
"lockian": "JJ",
"hearty": "JJ",
"detained": "VBN",
"accede": "VB",
"toadying": "JJ",
"spawns": "VBZ",
"gifted": "JJ",
"tristate": "JJ",
"arbitrated": "VBN",
"jejune": "JJ",
"reassign": "VB",
"arbitrates": "VBZ",
"puzzle": "JJ",
"forbad": "VBD",
"dank": "JJ",
"plumps": "VBZ",
"wipes": "VBZ",
"radioed": "JJ",
"vanishes": "VBZ",
"scandanavian": "JJ",
"stinkin": "JJ",
"obviate": "VB",
"mistook": "VBD",
"abhorrent": "JJ",
"overwrought": "JJ",
"leathered": "JJ",
"svelte": "JJ",
"f-includes": "VBZ",
"shulde": "MD",
"crippled": "JJ",
"hoarse": "JJ",
"snubbed": "VBN",
"rededicate": "VB",
"chaired": "VBN",
"graduated": "JJ",
"confounded": "JJ",
"bengali": "JJ",
"contradicts": "VBZ",
"modified": "JJ",
"resembles": "VBZ",
"modifies": "VBZ",
"tinted": "VBN",
"inclosed": "VBN",
"bleary": "JJ",
"heartbreaking": "JJ",
"typewritten": "JJ",
"doggone": "JJ",
"branched": "JJ",
"redheaded": "JJ",
"duplex": "JJ",
"devastated": "JJ",
"flaccid": "JJ",
"keno": "JJ",
"electrified": "VBN",
"delude": "VB",
"discontinued": "JJ",
"sonuvabitch": "UH",
"dynamited": "VBN",
"hyperfine": "JJ",
"boiling": "JJ",
"moldy": "JJ",
"readjust": "VB",
"crimped": "JJ",
"fickle": "JJ",
"subjugated": "JJ",
"lighten": "JJ",
"athenian": "JJ",
"veiled": "JJ",
"impolite": "JJ",
"ignored": "JJ",
"encourages": "VBZ",
"emote": "VB",
"ignores": "VBZ",
"professed": "JJ",
"visceral": "JJ",
"addled": "JJ",
"thunderstruck": "JJ",
"deposited": "VBN",
"allnight": "JJ",
"followin": "VBG",
"circulatory": "JJ",
"muffled": "JJ",
"barged": "VBN",
"longing": "JJ",
"sed": "VBD",
"tweedy": "JJ",
"desolate": "JJ",
"captures": "VBZ",
"mugged": "VBN",
"styled": "VBN",
"loudest": "RB",
"fabled": "JJ",
"baffled": "JJ",
"inadvertent": "JJ",
"backwater": "JJR",
"disposed": "JJ",
"ferris": "JJ",
"expatriate": "JJ",
"vested": "VBN",
"fabricate": "VB",
"tiptoe": "JJ",
"surly": "JJ",
"contributory": "JJ",
"ingeniously": "RB",
"spends": "VBZ",
"whiskery": "JJ",
"booked": "VBN",
"exhausting": "JJ",
"propagandizes": "VBZ",
"grinds": "VBZ",
"ultraviolet": "JJ",
"corp.-toyota": "JJ",
"resettled": "VBN",
"oncoming": "JJ",
"disbursed": "VBN",
"frightens": "VBZ",
"somewheres": "RB",
"allows": "VBZ",
"vertebral": "JJ",
"wield": "VB",
"demeaned": "VBN",
"re-elected": "VBN",
"undreamed": "VBN",
"shielded": "VBN",
"infests": "VBZ",
"cross-react": "VBP",
"brahmsian": "JJ",
"mould": "VB",
"reflect": "JJ",
"replete": "JJ",
"forgiving": "JJ",
"inward": "JJ",
"pirated": "VBN",
"mildewy": "JJ",
"gimbaled": "JJ",
"unredeemed": "JJ",
"abrogated": "VBN",
"interact": "VBP",
"imperfect": "JJ",
"dethroned": "VBN",
"exploded": "JJ",
"litigated": "VBN",
"convinces": "VBZ",
"explodes": "VBZ",
"stalk": "VBP",
"dang": "JJ",
"cleaner": "JJR",
"depletes": "VBZ",
"decadent": "JJ",
"needs": "VBZ",
"oaken": "JJ",
"depleted": "VBN",
"unperturbed": "JJ",
"doggie": "JJ",
"unheralded": "JJ",
"antilock": "JJ",
"reconnoiter": "VBP",
"better-off": "JJR",
"citybred": "JJ",
"dump": "VB",
"unsure": "JJ",
"unpaved": "JJ",
"drooping": "JJ",
"enchained": "VBN",
"unsigned": "JJ",
"incandescent": "JJ",
"untracked": "JJ",
"pursue": "VB",
"acrid": "JJ",
"sever": "VB",
"debasing": "JJ",
"misbehaving": "JJ",
"heighten": "VB",
"churchly": "JJ",
"rip": "VB",
"lengthy": "JJ",
"minin": "VBG",
"time-&-motion": "JJ",
"fastens": "VBZ",
"castigates": "VBZ",
"thermostated": "VBN",
"castigated": "VBN",
"starved": "JJ",
"nope": "UH",
"pithy": "JJ",
"recond": "VBD",
"incidental": "JJ",
"prop": "VB",
"prod": "VB",
"red-handed": "RB",
"firebombed": "VBN",
"subvert": "VB",
"greets": "VBZ",
"modal": "JJ",
"hoodle": "UH",
"resigns": "VBZ",
"unstructured": "JJ",
"pallid": "JJ",
"signifies": "VBZ",
"unadorned": "JJ",
"perplexing": "JJ",
"crank": "VB",
"bluechip": "JJ",
"inflame": "VB",
"reproaches": "VBZ",
"wagnerian": "JJ",
"fenced": "JJ",
"snipes": "VBZ",
"lynch": "VB",
"wishes": "VBZ",
"descend": "VB",
"quintuple": "JJ",
"outdo": "JJ",
"astounded": "JJ",
"tarred": "VBN",
"jeweled": "JJ",
"spiced": "JJ",
"offends": "VBZ",
"unhappy": "JJ",
"motor": "JJ",
"apply": "VB",
"discerns": "VBZ",
"iced": "JJ",
"weeping": "JJ",
"cooperate": "VB",
"paralleled": "VBN",
"slaps": "VBZ",
"sweetens": "VBZ",
"unjustified": "JJ",
"underwater": "JJ",
"commended": "VBN",
"entrench": "VB",
"tallied": "VBN",
"eloquent": "JJ",
"unenunciated": "JJ",
"bedazzled": "VBN",
"segregated": "JJ",
"substantiate": "VB",
"cain": "MD",
"hitherto": "RB",
"droop": "VBP",
"resurrects": "VBZ",
"italianate": "JJ",
"woebegone": "JJ",
"outstrip": "JJ",
"florid": "JJ",
"oozing": "JJ",
"divert": "VB",
"divers": "JJ",
"standup": "JJ",
"offend": "JJ",
"deny": "VB",
"inane": "JJ",
"upright": "JJ",
"wry": "JJ",
"inaugurates": "VBZ",
"humanitarian": "JJ",
"workin": "VBG",
"merchandised": "VBN",
"penetrate": "VB",
"wordy": "JJ",
"scoured": "VBN",
"complementary": "JJ",
"audiovisual": "JJ",
"broadside": "JJ",
"withdraws": "VBZ",
"ricoed": "JJ",
"zapotec": "JJ",
"withdrawn": "JJ",
"validating": "JJ",
"merrily": "RB",
"saner": "JJR",
"readied": "VBN",
"irate": "JJ",
"shylockian": "JJ",
"vintage": "JJ",
"appropriated": "VBN",
"appropriates": "VBZ",
"outgrow": "VB",
"superconcentrated": "JJ",
"knoe": "VB",
"tawny": "JJ",
"jocund": "JJ",
"starred": "JJ",
"shabby": "JJ",
"holler": "VB",
"leaden": "JJ",
"leaded": "JJ",
"outrageously": "RB",
"codetermines": "VBZ",
"leased": "VBN",
"dispossessed": "JJ",
"contradictory": "JJ",
"lubricated": "VBN",
"immobilized": "VBN",
"roars": "VBZ",
"shown": "VBN",
"contends": "VBZ",
"supple": "JJ",
"outslugged": "VBN",
"footloose": "JJ",
"of course": "RB",
"at least": "RB",
"for example": "RB",
"in order": "JJ",
"more than": "RB",
"no longer": "RB",
"a little": "RB",
"for instance": "RB",
"in particular": "RB",
"a bit": "RB",
"sort of": "RB",
"all right": "JJ",
"no doubt": "RB",
"and so on": "RB",
"at first": "RB",
"alright": "JJ",
"o'clock": "RB",
"in addition": "RB",
"at last": "RB",
"that is": "RB",
"at once": "RB",
"once again": "RB",
"at present": "RB",
"less than": "RB",
"up to": "RB",
"once more": "RB",
"by now": "RB",
"eg": "RB",
"so as": "RB",
"from time to time": "RB",
"in part": "RB",
"by no means": "RB",
"all but": "RB",
"in short": "RB",
"ie": "RB",
"even so": "RB",
"just about": "RB",
"as yet": "RB",
"for long": "RB",
"far from": "RB",
"for ever": "RB",
"fucking": "RB",
"on board": "RB",
"in common": "RB",
"all the same": "RB",
"pm": "RB",
"in public": "RB",
"as good as": "RB",
"as it were": "RB",
"a lot": "RB",
"by far": "RB",
"over here": "RB",
"per annum": "RB",
"as a whole": "RB",
"at best": "RB",
"for once": "RB",
"downwards": "RB",
"at large": "RB",
"any longer": "RB",
"for the time being": "RB",
"for good": "RB",
"for the most part": "RB",
"gmt": "RB",
"vice versa": "RB",
"none the less": "RB",
"for certain": "RB",
"kind of": "RB",
"anything but": "RB",
"in between": "RB",
"a little bit": "RB",
"ever so": "RB",
"bc": "RB",
"so much as": "RB",
"and so forth": "RB",
"en route": "RB",
"in private": "RB",
"from now on": "RB",
"in vain": "RB",
"by and large": "RB",
"at length": "RB",
"outwards": "RB",
"at random": "RB",
"for sure": "RB",
"upside down": "JJ",
"all of a sudden": "RB",
"at most": "RB",
"per se": "RB",
"as a matter of fact": "RB",
"per capita": "JJ",
"up front": "RB",
"in situ": "RB",
"in the main": "RB",
"inwards": "RB",
"inter alia": "RB",
"ex parte": "RB",
"in vitro": "RB",
"to and fro": "RB",
"in vivo": "RB",
"in brief": "RB",
"ibid": "RB",
"at worst": "RB",
"northwards": "RB",
"time and again": "RB",
"eastwards": "RB",
"approx": "RB",
"southwards": "RB",
"every so often": "RB",
"westwards": "RB",
"prima facie": "RB",
"'ere": "RB",
"bst": "RB",
"lots": "RB",
"upwards of": "RB",
"in case": "RB",
"en masse": "RB",
"ultra vires": "RB",
"upside-down": "RB",
"offline": "RB",
"so-and-so": "RB",
"forte": "JJ",
"a priori": "JJ",
"ad hoc": "RB",
"viz": "RB",
"offside": "JJ",
"example": "RB",
"leeward": "JJ",
"get-together": "RB",
"astern": "RB",
"none the": "RB",
"i.e": "RB",
"hereto": "RB",
"et cetera": "RB",
"yonder": "RB",
"de facto": "RB",
"getting on for": "RB",
"lengthways": "RB",
"henceforward": "RB",
"tv-am": "RB",
"off guard": "RB",
"in the order of": "RB",
"spot on": "JJ",
"one-handed": "RB",
"ipso facto": "RB",
"ceteris paribus": "RB",
"unbeknown": "RB",
"ad infinitum": "RB",
"'ome": "RB",
"pinafore": "RB",
"in absentia": "RB",
"skywards": "RB",
"en bloc": "RB",
"aright": "RB",
"in camera": "RB",
"point blank": "RB",
"upfront": "RB",
"pro-am": "RB",
"a fortiori": "RB",
"hereof": "RB",
"ex officio": "RB",
"seawards": "RB",
"incognito": "RB",
"upstage": "JJ",
"overmuch": "JJ",
"nigh on": "RB",
"best-ever": "RB",
"ad nauseam": "RB",
"through thick and thin": "RB",
"heavenwards": "RB",
"ne'er": "RB",
"leftwards": "RB",
"inside out": "RB",
"à la carte": "RB",
"sotto voce": "RB",
"blindfold": "RB",
"esp": "RB",
"anon": "RB",
"underhand": "RB",
"pro rata": "RB",
"ff": "RB",
"siward": "RB",
"in memoriam": "RB",
"in extremis": "RB",
"not withstanding": "RB",
"to-night": "RB",
"seaward": "RB",
"say-so": "RB",
"in toto": "RB",
"head-first": "RB",
"a-side": "RB",
"up-river": "RB",
"rightwards": "RB",
"instance": "RB",
"amidships": "RB",
"'course": "RB",
"the most part": "RB",
"never-never": "RB",
"netwise": "RB",
"for keeps": "RB",
"evermore": "RB",
"al fresco": "RB",
"ab initio": "RB",
"de jure": "RB",
"anticlockwise": "RB",
"a la carte": "RB",
"sub judice": "RB",
"streetwise": "JJ",
"op. cit": "RB",
"fit-again": "RB",
"hereward": "RB",
"headfirst": "JJ",
"thenceforward": "RB",
"pan-am": "RB",
"career-best": "RB",
"post hoc": "RB",
"polewards": "RB",
"in loco parentis": "RB",
"contrariwise": "RB",
"all-too": "RB",
"short-handed": "RB",
"shorewards": "RB",
"off-stage": "RB",
"en passant": "RB",
"woodwards": "RB",
"two-handed": "RB",
"fain": "RB",
"den": "RB",
"addition": "RB",
"'alf": "RB",
"quite a": "RB",
"north-westwards": "RB",
"north-eastwards": "RB",
"landward": "RB",
"jus": "RB",
"here-and-now": "RB",
"go-as-you-please": "RB",
"al dente": "RB",
"south-eastwards": "RB",
"pro tem": "RB",
"lemarchand": "RB",
"fuckin'": "RB",
"de profundis": "RB",
"basinwards": "RB",
"bareback": "RB",
"aslant": "RB",
"ad lib": "RB",
"à la mode": "RB",
"youngest-ever": "RB",
"worst-ever": "RB",
"south-westwards": "RB",
"sidewards": "RB",
"parrot-fashion": "RB",
"once-over": "RB",
"none-the-less": "RB",
"midstream": "JJ",
"highest-ever": "RB",
"foreward": "RB",
"en famille": "RB",
"a hell of a lot": "RB",
"'ard": "RB",
"straight-ahead": "RB",
"so on": "RB",
"sine die": "RB",
"righto": "RB",
"period": "RB",
"off-side": "RB",
"no-where": "RB",
"greatest-ever": "RB",
"forehand": "RB",
"crabwise": "JJ",
"coming-together": "RB",
"quasi": "RB",
"op cit": "RB",
"oneish": "RB",
"ofttimes": "RB",
"windward": "RB",
"well of": "RB",
"weatherwise": "RB",
"viz-a-viz": "RB",
"upward of": "RB",
"underarm": "RB",
"same-again": "RB",
"never-the-less": "RB",
"lower-ranking": "JJR"
}
exports.multiples = #adverbs
"of course": true
"at least": true
"for example": true
"in order": true
"more than": true
"no longer": true
"a little": true
"for instance": true
"in particular": true
"a bit": true
"sort of": true
"all right": true
"no doubt": true
"and so on": true
"at first": true
"in addition": true
"at last": true
"that is": true
"at once": true
"once again": true
"at present": true
"less than": true
"up to": true
"once more": true
"by now": true
"so as": true
"in part": true
"all but": true
"in short": true
"even so": true
"just about": true
"as yet": true
"for long": true
"far from": true
"for ever": true
"on board": true
"a lot": true
"by far": true
"over here": true
"per annum": true
"as usual": true
"at best": true
"for once": true
"at large": true
"any longer": true
"for good": true
"vice versa": true
"for certain": true
"kind of": true
"anything but": true
"in between": true
"en route": true
"in private": true
"in vain": true
"at length": true
"at random": true
"for sure": true
"upside down": true
"at most": true
"per se": true
"per capita": true
"up front": true
"in situ": true
"in the main": true
"inter alia": true
"ex parte": true
"in vitro": true
"to and fro": true
"in vivo": true
"in brief": true
"at worst": true
"prima facie": true
"upwards of": true
"something like": true
"in case": true
"en masse": true
"ultra vires": true
"a priori": true
"ad hoc": true
"none the": true
"et cetera": true
"de facto": true
"off guard": true
"spot on": true
"ipso facto": true
"ceteris paribus": true
"ad infinitum": true
"op. cit.": true
"in absentia": true
"en bloc": true
"in camera": true
"point blank": true
"a fortiori": true
"ex officio": true
"nigh on": true
"ad nauseam": true
"inside out": true
"sotto voce": true
"pro rata": true
"in memoriam": true
"in extremis": true
"not withstanding": true
"in toto": true
"the most part": true
"for keeps": true
"al fresco": true
"ab initio": true
"de jure": true
"a la carte": true
"sub judice": true
"op. cit": true
"post hoc": true
"so on": true
"sine die": true
"op cit": true
"just in": true
"ex gratia": true
"au contraire": true
"ad hominem": true
"a posteriori": true
#adjectives
"fed up": true
"brand new": true
"ad hoc": true
"so called": true
"out of date": true
"old fashioned": true
"per capita": true
"de facto": true
"grown up": true
"bona fide": true
"ex parte": true
"well off": true
"prima facie": true
"far off": true
"a priori": true
"in between": true
"par excellence": true
"a la carte": true
"ultra vires": true
"straight forward": true
"hard up": true
"de luxe": true
"post mortem": true
"ex gratia": true
"upside down": true
"up front": true
"au fait": true
"sui generis": true
"pro rata": true
"post hoc": true
"ex officio": true
"ab initio": true
"inside out": true
"point blank": true
"en suite": true
"spot on": true
"all right": true
"ad hominem": true
"de jure": true
"tout court": true
"avant garde": true
"viva voce": true
"sub judice": true
"al fresco": true
"sans serif": true
"gung ho": true
"compos mentis": true
"super duper": true
"such like": true
"de trop": true
#mine
"will be": true
exports.parts_of_speech =
VB:
description: "verb, base form"
example: "eat"
parent: "verb"
tag: "VB"
CP:
description: "copula"
example: "is, was, were"
parent: "verb"
tag: "CP"
VBD:
description: "verb, past tense"
example: "ate"
parent: "verb"
tense: "past"
tag: "VBD"
VBN:
description: "verb, past part"
example: "eaten"
parent: "verb"
tense: "past"
tag: "VBN"
VBP:
description: "Verb, present"
example: "eat"
parent: "verb"
tense: "present"
tag: "VBP"
VBZ:
description: "Verb, present"
example: "eats, swims"
tense: "present"
parent: "verb"
tag: "VBZ"
MD:
description: "Modal"
example: "can,should"
parent: "glue"
tag: "MD"
RB:
description: "Adverb"
example: "quickly, softly"
parent: "glue"
tag: "RB"
JJ:
description: "Adjective"
example: "big, nice"
parent: "adjective"
tag: "JJ"
JJR:
description: "Adj., comparative"
example: "bigger, cooler"
parent: "adjective"
tag: "JJR"
JJS:
description: "Adj., superlative"
example: "biggest, fattest"
parent: "adjective"
tag: "JJS"
RBR:
description: "Adverb, comparative"
example: "faster, cooler"
parent: "adjective"
tag: "RBR"
RBS:
description: "Adverb, superlative"
example: "fastest (driving), coolest (looking)"
parent: "adjective"
tag: "RBS"
NN:
description: "Noun, sing. or mass"
example: "dog, rain"
parent: "noun"
tag: "NN"
NNP:
description: "Proper noun, sing."
example: "Edinburgh, skateboard"
parent: "noun"
tag: "NNP"
NNPS:
description: "Proper noun, plural"
example: "Smiths"
parent: "noun"
tag: "NNPS"
NNS:
description: "Noun, plural"
example: "dogs, foxes"
parent: "noun"
tag: "NNS"
NNO:
description: "Noun, possessive"
example: "spencer's, sam's"
parent: "noun"
tag: "NNO"
PP:
description: "Possessive pronoun"
example: "my,one's"
parent: "glue"
tag: "PP"
FW:
description: "foreign word"
example: "mon dieu, voila"
parent: "noun"
tag: "FW"
CD:
description: "Cardinal number"
example: "one,two"
parent: "glue" #may want to change this
tag: "CD"
VBG:
description: "verb, gerund"
example: "eating,winning"
parent: "verb"
tag: "VBG"
NG:
description: "noun, gerund"
example: "eating,winning - but used grammatically as a noun"
parent: "noun"
tag: "VBG"
IN:
description: "Preposition"
example: "of,in,by"
parent: "glue"
tag: "IN"
UP:
description: "dependent preposition"
example: "up, down"
parent: "glue"
tag: "UP"
CC:
description: "Coord Conjuncn"
example: "and,but,or"
parent: "glue"
tag: "CC"
PRP:
description: "Personal pronoun"
example: "I,you,she"
parent: "glue"
tag: "PRP"
DT:
description: "Determiner"
example: "the,some"
parent: "title"
tag: "DT"
example:
description: "Existential there"
example: "there"
parent: "glue"
tag: "EX"
POS:
description: "Possessive ending"
example: "s"
parent: "glue"
tag: "POS"
PDT:
description: "Predeterminer"
example: "all, both"
parent: "glue"
tag: "PDT"
RP:
description: "Particle"
example: "up,off"
parent: "glue"
tag: "RP"
TO:
description: "to"
example: "to"
parent: "glue"
tag: "TO"
UH:
description: "Interjection"
example: "oh, oops"
parent: "glue"
tag: "UH"
WDT:
description: "Wh-determiner"
example: "which,that"
parent: "glue"
tag: "WDT"
WP:
description: "Wh pronoun"
example: "who,what"
parent: "glue"
tag: "WP"
WRB:
description: "Wh-adverb"
example: "how,where"
parent: "glue"
tag: "WRB"
LS:
description: "List item marker"
example: "1,One"
parent: "glue"
tag: "LS"
SYM:
description: "Symbol"
example: "+,%,&"
parent: "glue"
tag: "SYM"
exports.notends =
the: true
los: true
les: true
san: true
dr: true
they: true
he: true
she: true
a: true
his: true
an: true
their: true
its: true
"it's": true
my: true
your: true
or: true
if: true
therefor: true
therefore: true
exports.dateword = ["july", "august", "september", "october", "november", "december", "january", "february", "march", "april", "may", "june", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]
exports.silly =[
"a-z",
"able",
"accessibility",
"according",
"accordingly",
"actor",
"actress",
"actually",
"adjustment",
"advertising",
"aha",
"ain't",
"album",
"amoungst",
"amount",
"amplitude",
"anybody",
"anyone",
"anything",
"area",
"aren't",
"article",
"as to",
"asking",
"available",
"awfully",
"being",
"best",
"bill",
"brother",
"building",
"c'mon",
"c's",
"can't",
"cant",
"capacity",
"caption",
"cause",
"causes",
"century",
"certainly",
"change",
"changes",
"children",
"citizens",
"clearly",
"co.",
"color",
"colour",
"com",
"comments",
"computer",
"con",
"concerning",
"consequently",
"containing",
"contestant",
"could",
"couldn't",
"couldnt",
"cover",
"cry",
"currently",
"daren't",
"day",
"decade",
"definitely",
"density",
"depth",
"detail",
"didn't",
"directly",
"distance",
"doesn't",
"doing",
"don't",
"doughter",
"due to",
"edu",
"end",
"ending",
"entirely",
"episode",
"especially",
"everybody",
"everyone",
"everything",
"exactly",
"fairly",
"fify",
"fire",
"folk",
"followed",
"follower",
"food",
"formerly",
"full",
"getting",
"girl",
"going",
"goodbye",
"greetings",
"guy",
"hadn't",
"hardly",
"hasn't",
"hasnt",
"haven't",
"having",
"he'd",
"he'll",
"he's",
"height",
"here's",
"hereupon",
"house",
"how's",
"howbeit",
"hue",
"i'd",
"i'll",
"i'm",
"i've",
"inc",
"inc.",
"including",
"indicated",
"interest",
"isn't",
"it'd",
"it'll",
"it's",
"lady",
"lastnight",
"lastweek",
"lately",
"latterly",
"league",
"length",
"les",
"less",
"let's",
"like",
"los",
"ltd",
"magnitude",
"mainly",
"man",
"mayn't",
"member",
"merely",
"mhm",
"mightn't",
"mill",
"month",
"mrs",
"mustn't",
"name",
"namely",
"nearly",
"need",
"needn't",
"neverf",
"neverless",
"no-one",
"nobody",
"non",
"none",
"noone",
"normally",
"nothing",
"obviously",
"on to",
"one's",
"ones",
"ooh",
"others",
"oughtn't",
"out of",
"people",
"person",
"pitch",
"policy",
"possible",
"president",
"presumably",
"printable",
"privacy",
"probably",
"program",
"quantity",
"que",
"really",
"reasonably",
"recently",
"record",
"regarding",
"relatively",
"report",
"respectively",
"review",
"room",
"san",
"saying",
"season",
"secondly",
"seeing",
"self",
"selves",
"sensible",
"serious",
"seriously",
"service",
"shade",
"shan't",
"shape",
"she'd",
"she'll",
"she's",
"should",
"shouldn't",
"show",
"singer",
"size",
"some",
"somebody",
"someone",
"something",
"son",
"specifying",
"speed",
"staff",
"sub",
"such as",
"system",
"taking",
"team",
"terms",
"text",
"texture",
"thanks",
"thanx",
"that'll",
"that's",
"that've",
"thats",
"there'd",
"there'll",
"there're",
"there's",
"there've",
"theres",
"they'd",
"they'll",
"they're",
"they've",
"thing",
"things",
"thoroughly",
"thru",
"time",
"timing",
"today",
"tommorrow",
"towards",
"truly",
"undoing",
"unfortunately",
"unit",
"unlike",
"use",
"useful",
"uses",
"using",
"usually",
"uucp",
"value",
"various",
"version",
"volume",
"waiter",
"waitress",
"wasn't",
"way",
"we'd",
"we'll",
"we're",
"we've",
"week",
"weight",
"welcome",
"weren't",
"what'll",
"what's",
"what've",
"when's",
"where's",
"whereafter",
"whilst",
"whither",
"who'd",
"who'll",
"who's",
"whomever",
"why's",
"width",
"wife",
"won't",
"wonder",
"would",
"wouldn't",
"year",
"yep",
"yesterday",
"you",
"you'd",
"you'll",
"you're",
"you've",
"zero",
"n't",
"years",
"erm",
"world",
"work",
"life",
"number",
"case",
"social",
"group",
"party",
"important",
"place",
"information",
"men",
"per cent",
"school",
"national",
"fact",
"night",
"company",
"family",
"hand",
"business",
"days",
"john",
"development",
"state",
"council",
"power",
"political",
"members",
"eyes",
"public",
"problem",
"problems",
"a few",
"face",
"times",
"office",
"door",
"form",
"services",
"months",
"health",
"words",
"making",
"market",
"economic",
"areas",
"position",
"process",
"effect",
"line",
"moment",
"community",
"action",
"special",
"international",
"father",
"age",
"management",
"idea",
"so that",
"evidence",
"minister",
"view",
"sense",
"table",
"death",
"industry",
"control",
"sort",
"range",
"word",
"history",
"road",
"centre",
"study",
"programme",
"result",
"air",
"hour",
"committee",
"experience",
"handshome",
"rate",
"section",
"trade",
"minutes",
"reason",
"authority",
"cases",
"role",
"data",
"class",
"because of",
"companies",
"rather than",
"simply",
"department",
"personal",
"paper",
"land",
"systems",
"TRUE",
"support",
"act",
"type",
"city",
"friend",
"countries",
"care",
"decision",
"financial",
"price",
"stage",
"matter",
"parent",
"club",
"practice",
"based",
"as well as",
"cos",
"town",
"situation",
"bed",
"according to",
"david",
"as if",
"conditions",
"at all",
"ground",
"weeks",
"tax",
"production",
"friends",
"musicanyone",
"game",
"ways",
"schools",
"issue",
"mr.",
"workers",
"student",
"knowledge",
"art",
"basis",
"subject",
"series",
"bank",
"feet",
"south",
"west",
"rest",
"security",
"manager",
"cost",
"heart",
"structure",
"attention",
"story",
"&",
"means",
"letter",
"question",
"chapter",
"field",
"studies",
"movement",
"union",
"success",
"figure",
"analysis",
"news",
"chance",
"evening",
"population",
"boy",
"theory",
"approach",
"final",
"performance",
"authorities",
"rights",
"relationship",
"growth",
"agreement",
"parties",
"account",
"space",
"property",
"project",
"meeting",
"quickly",
"behaviour",
"previous",
"energy",
"sir",
"term",
"director",
"significant",
"income",
"as well",
"levels",
"treatment",
"model",
"suddenly",
"pounds",
"choice",
"away from",
"results",
"scheme",
"details",
"design",
"list",
"defence",
"parts",
"points",
"loss",
"industrial",
"activities",
"floor",
"generally",
"issues",
"activity",
"paul",
"talking",
"difference",
"labour",
"specific",
"numbers",
"lord",
"relations",
"contract",
"product",
"ideas",
"george",
"material",
"wall",
"arms",
"basic",
"reasons",
"technology",
"each other",
"effects",
"figures",
"style",
"date",
"window",
"forces",
"showed",
"resources",
"sea",
"events",
"advice",
"circumstance",
"plan",
"event",
"hon.",
"training",
"picture",
"sales",
"village",
"original",
"investment",
"cup",
"lines",
"james",
"goods",
"blood",
"opportunity",
"prices",
"professional",
"conference",
"extent",
"interests",
"application",
"page",
"operation",
"film",
"richard",
"in terms of",
"response",
"majority",
"rules",
"shop",
"effective",
"press",
"york",
"degree",
"statement",
"risk",
"force",
"miles",
"traditional",
"site",
"glass",
"died",
"street",
"costs",
"earlier",
"playing",
"scottish",
"importance",
"test",
"jobs",
"immediately",
"standards",
"talk",
"considerable",
"girls",
"physical",
"species",
"title",
"michael",
"eye",
"access",
"employment",
"daughter",
"responsible",
"competition",
"plans",
"medical",
"purpose",
"mouth",
"piece",
"answer",
"leaving",
"task",
"responsibility",
"arm",
"eventually",
"ability",
"highly",
"hotel",
"pattern",
"method",
"source",
"election",
"charles",
"region",
"methods",
"campaign",
"equipment",
"fully",
"disease",
"machine",
"slightly",
"software",
"peace",
"charge",
"types",
"policies",
"houses",
"even if",
"windows",
"teacher",
"forms",
"provision",
"factors",
"direction",
"trouble",
"beautiful",
"leader",
"officer",
"status",
"character",
"variety",
"safety",
"completely",
"box",
"sector",
"animal",
"oxford",
"culture",
"obvious",
"increase",
"context",
"station",
"sale",
"william",
"positive",
"king",
"essential",
"live",
"condition",
"families",
"works",
"appeal",
"trees",
"argument",
"demand",
"principle",
"run",
"pupils",
"chairman",
"cash",
"states",
"hope",
"sun",
"duty",
"countyrule",
"presence",
"truth",
"dog",
"board",
"courses",
"media",
"exchange",
"relevant",
"balance",
"robert",
"slowly",
"players",
"discussion",
"letters",
"budget",
"protection",
"collection",
"speech",
"smith",
"effort",
"attempt",
"survey",
"failure",
"absence",
"accident",
"accommodation",
"adam",
"address",
"administration",
"advance",
"advantage",
"agency",
"agent",
"aid",
"aircraft",
"alan",
"andrew",
"anne",
"appearance",
"appointment",
"approval",
"army",
"arrival",
"artist",
"aspect",
"assembly",
"assessment",
"assistance",
"association",
"attack",
"attitude",
"audience",
"author",
"award",
"awareness",
"background",
"bag",
"ball",
"band",
"bar",
"base",
"battle",
"beauty",
"belief",
"benefit",
"birth",
"block",
"bob",
"body",
"book",
"border",
"bottle",
"branch",
"breath",
"brian",
"bridge",
"cabinet",
"candidate",
"car",
"card",
"career",
"chain",
"chair",
"challenge",
"chest",
"child",
"chris",
"client",
"co-operation",
"coast",
"code",
"combination",
"commission",
"commitment",
"communication",
"concept",
"conclusion",
"confidence",
"conflict",
"connection",
"consequence",
"consideration",
"constitution",
"construction",
"consumer",
"contact",
"contrast",
"contribution",
"convention",
"conversation",
"copy",
"corner",
"corporation",
"country",
"countryside",
"county",
"court",
"creation",
"credit",
"crime",
"crisis",
"criticism",
"crowd",
"curriculum",
"customer",
"dad",
"damage",
"danger",
"darlington",
"database",
"deal",
"debate",
"debt",
"decline",
"definition",
"delivery",
"deputy",
"description",
"desire",
"desk",
"diet",
"difficulty",
"dinner",
"display",
"distinction",
"distribution",
"district",
"division",
"doctor",
"document",
"dream",
"dress",
"drink",
"drive",
"driver",
"drug",
"edge",
"editor",
"education",
"edward",
"efficiency",
"element",
"elizabeth",
"emphasis",
"enemy",
"engine",
"engineering",
"enterprise",
"entry",
"environment",
"error",
"establishment",
"estate",
"examination",
"executive",
"exercise",
"exhibition",
"existence",
"expansion",
"expenditure",
"explanation",
"expression",
"extension",
"factor",
"factory",
"fall",
"farm",
"fault",
"fear",
"feature",
"feeling",
"fig.",
"finance",
"flight",
"flow",
"focus",
"foot",
"formation",
"foundation",
"framework",
"fuel",
"function",
"fund",
"garden",
"gas",
"generation",
"gentleman",
"goal",
"graham",
"guide",
"hair",
"hall",
"harry",
"heat",
"henry",
"hill",
"hole",
"holiday",
"horse",
"hospital",
"household",
"housing",
"husband",
"ian",
"identity",
"image",
"impact",
"impression",
"improvement",
"independence",
"index",
"influence",
"initiative",
"injury",
"inquiry",
"institute",
"insurance",
"intention",
"interpretation",
"interview",
"introduction",
"investigation",
"involvement",
"island",
"item",
"jane",
"jim",
"job",
"joe",
"jones",
"journey",
"judge",
"kingdom",
"language",
"law",
"leadership",
"lee",
"leeds",
"leg",
"legislation",
"lewis",
"liability",
"licence",
"lifespan",
"link",
"literature",
"location",
"luke",
"magazine",
"maintenance",
"manner",
"map",
"margaret",
"mark",
"martin",
"mary",
"meal",
"measure",
"membership",
"memory",
"message",
"mike",
"ministry",
"minority",
"mother",
"motion",
"mountain",
"nation",
"network",
"nigel",
"note",
"notice",
"notion",
"object",
"occasion",
"offence",
"opinion",
"opposition",
"option",
"organisation",
"organization",
"outcome",
"output",
"owner",
"package",
"pair",
"panel",
"parish",
"park",
"partner",
"passage",
"path",
"payment",
"percent",
"phase",
"philip",
"phone",
"plane",
"planning",
"plant",
"player",
"possibility",
"post",
"pound",
"procedure",
"proportion",
"proposal",
"publication",
"quarter",
"race",
"railway",
"reaction",
"reader",
"reality",
"recession",
"recognition",
"recovery",
"reduction",
"ref",
"reference",
"reform",
"regime",
"release",
"relief",
"representation",
"reputation",
"request",
"research",
"resolution",
"respect",
"restaurant",
"return",
"revenue",
"ring",
"rise",
"river",
"signal",
"replay",
"rock",
"roof",
"route",
"row",
"rule",
"sample",
"sarah",
"scale",
"scene",
"scope",
"screen",
"seat",
"selection",
"sentence",
"sequence",
"session",
"settlement",
"share",
"sheet",
"ship",
"shock",
"sight",
"sign",
"significance",
"silence",
"simon",
"skin",
"sky",
"smile",
"solution",
"song",
"spain",
"speaker",
"spirit",
"spokesman",
"sport",
"spot",
"spring",
"star",
"step",
"stephen",
"steve",
"stone",
"store",
"strategy",
"strength",
"struggle",
"studio",
"stuff",
"sum",
"summer",
"supply",
"surprise",
"tape",
"target",
"taste",
"taylor",
"technique",
"temperature",
"theme",
"thomas",
"threat",
"tim",
"tom",
"tone",
"tony",
"touch",
"tour",
"track",
"tradition",
"traffic",
"train",
"transfer",
"transport",
"treaty",
"tree",
"trial",
"trip",
"trust",
"understanding",
"unemployment",
"university",
"user",
"vehicle",
"victim",
"victory",
"video",
"violence",
"vision",
"visit",
"voice",
"vote",
"wealth",
"weather",
"weekend",
"welfare",
"wilson",
"wind",
"wood",
"worker",
"writer",
"writing",
"youth",
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday",
"jan",
"feb",
"apr",
"june",
"july",
"aug",
"sept",
"oct",
"nov",
"dec",
"january",
"february",
"march",
"april",
"september",
"october",
"novermber",
"december"
]
| 168792 | require("sugar")
exports.lexicon= {
"one": "JJ",
"two": "CD",
"three": "JJ",
"four": "JJ",
"five": "CD",
"six": "CD",
"seven": "CD",
"eight": "CD",
"nine": "CD",
"ten": "CD",
"eleven": "JJ",
"twelve": "CD",
"thirteen": "CD",
"fourteen": "CD",
"fifteen": "CD",
"sixteen": "CD",
"seventeen": "CD",
"eighteen": "CD",
"nineteen": "CD",
"twenty": "CD",
"thirty": "CD",
"forty": "CD",
"fifty": "CD",
"sixty": "CD",
"seventy": "CD",
"eighty": "CD",
"ninety": "CD",
"hundred": "CD",
"thousand": "CD",
"million": "CD",
"billion": "JJ",
"trillion": "JJ",
"clotted": "JJ",
"localized": "JJ",
"spidery": "JJ",
"western": "JJ",
"famed": "JJ",
"wooded": "JJ",
"grueling": "JJ",
"shocked": "JJ",
"inanimate": "JJ",
"pawed": "VBN",
"confronts": "VBZ",
"uplifting": "JJ",
"stern": "JJ",
"darling": "JJ",
"nondiscretionary": "JJ",
"exposited": "VBN",
"assimilated": "VBN",
"stipulate": "VBP",
"sprawling": "JJ",
"gay-ess": "VBP",
"his": "PP",
"hit": "VBD",
"fit": "JJ",
"screaming": "JJ",
"him": "PRP",
"effecte": "VB",
"plebian": "JJ",
"specialized": "JJ",
"wooden": "JJ",
"combine": "VB",
"uninfluenced": "VBN",
"announced": "JJ",
"adapt": "VB",
"underfoot": "RB",
"elsewhere": "RB",
"silent": "JJ",
"signed": "JJ",
"disturbed": "JJ",
"renovated": "VBN",
"needed": "JJ",
"master": "JJ",
"yield": "VB",
"mutilated": "JJ",
"brawny": "JJ",
"recapitalized": "VBN",
"then": "JJ",
"them": "PRP",
"thee": "PRP",
"they": "PRP",
"diminishing": "JJ",
"resonates": "VBZ",
"transverse": "JJ",
"semicircular": "JJ",
"willinge": "JJ",
"civilized": "JJ",
"purged": "VBN",
"ffreind": "VB",
"padded": "JJ",
"apace": "RB",
"teach": "VBP",
"affronted": "VBN",
"nicely": "RB",
"succumb": "VB",
"extend": "VB",
"brainwashed": "VBN",
"unhealed": "JJ",
"fondled": "VBN",
"fro": "RB",
"much": "JJ",
"dehumanised": "JJ",
"fry": "VB",
"spit": "VB",
"spin": "VB",
"wildcat": "JJ",
"misconstrued": "VBN",
"prostrate": "JJ",
"conditioned": "JJ",
"hone": "VB",
"mummified": "VBN",
"honk": "VBP",
"tahitian": "JJ",
"conformed": "VBN",
"maybe": "RB",
"torpedoed": "VBN",
"spotty": "JJ",
"peremptory": "JJ",
"corporate": "JJ",
"golden": "JJ",
"has": "VBZ",
"fiduciary": "JJ",
"perchance": "RB",
"bottom": "JJ",
"inhuman": "JJ",
"calls": "VBZ",
"considerin": "VBG",
"starring": "JJ",
"catchy": "JJ",
"sticle": "VB",
"concerned": "JJ",
"shoots": "VBZ",
"despised": "JJ",
"raped": "VBN",
"grasping": "JJ",
"perfumed": "JJ",
"nineteenth": "CD",
"whom": "WP",
"soldering": "JJ",
"young": "JJ",
"thoroughgoing": "JJ",
"smelling": "JJ",
"whoever": "WP",
"grapples": "VBZ",
"freelance": "JJ",
"balled": "VBN",
"jerk": "JJ",
"enflamed": "VBN",
"barred": "JJ",
"gloomy": "JJ",
"locked": "JJ",
"exact": "JJ",
"minute": "JJ",
"skewed": "VBN",
"reimpose": "VB",
"hindered": "VBN",
"ogles": "VBZ",
"celebrated": "JJ",
"celebrates": "VBZ",
"me": "PRP",
"climbs": "VBZ",
"dwindling": "JJ",
"my": "PRP",
"impacted": "VBN",
"sprouted": "JJ",
"unjust": "JJ",
"those": "DT",
"perishes": "VBZ",
"laotian": "JJ",
"following": "JJ",
"renew": "VB",
"want": "VBP",
"dumb": "JJ",
"fueled": "VBN",
"shirked": "VBN",
"disconnect": "VB",
"shacked": "VBN",
"overpowering": "JJ",
"henpecked": "JJ",
"sorted": "JJ",
"bedevil": "VB",
"didn": "VBD",
"yellow": "JJ",
"growthy": "JJ",
"presages": "VBZ",
"calming": "JJ",
"spoken": "JJ",
"affords": "VBZ",
"lingering": "JJ",
"raised": "JJ",
"snatch": "VB",
"absorbs": "VBZ",
"so-so": "RB",
"turned": "JJ",
"uninterrupted": "JJ",
"pistachio": "JJ",
"opposite": "JJ",
"discerning": "JJ",
"touchy": "JJ",
"jittery": "JJ",
"scavanged": "VBN",
"imagines": "VBZ",
"inconsistent": "JJ",
"imagined": "JJ",
"reconciling": "JJ",
"transact": "VB",
"surprising": "JJ",
"rejoices": "VBZ",
"etcetera": "RB",
"unlocks": "VBZ",
"welcomes": "VBZ",
"menacing": "JJ",
"fix": "VB",
"offshore": "RB",
"abject": "JJ",
"adjusted": "JJ",
"bankrupts": "VBZ",
"graphed": "VBN",
"ingrained": "JJ",
"assigns": "VBZ",
"anywhere": "RB",
"clean": "JJ",
"wane": "VB",
"may": "MD",
"nonunionized": "JJ",
"completed": "JJ",
"adroit": "JJ",
"plumed": "JJ",
"completes": "VBZ",
"unerring": "JJ",
"rejoin": "VB",
"decomposed": "JJ",
"conpired": "VBN",
"obstruct": "JJ",
"satisfactory": "JJ",
"expressed": "JJ",
"averse": "JJ",
"disparaging": "JJ",
"knows": "VBZ",
"exasperating": "JJ",
"perturbed": "JJ",
"commingled": "VBN",
"revivified": "VBN",
"lively": "JJ",
"pivot": "JJ",
"bubbly": "JJ",
"glean": "VB",
"sealed": "JJ",
"secreted": "VBN",
"societal": "JJ",
"with": "IN",
"abused": "JJ",
"rage": "JJ",
"chomped": "VBN",
"tremble": "VB",
"unparalleled": "JJ",
"refunded": "VBN",
"hairsplitting": "JJ",
"henh": "UH",
"accreted": "VBN",
"caused": "VBN",
"beware": "VB",
"about": "IN",
"predawn": "JJ",
"overexpose": "VB",
"wilkes": "VBZ",
"insufficiently": "RB",
"sane": "JJ",
"semifinished": "VBN",
"sank": "VBD",
"abbreviated": "JJ",
"ultravehement": "JJ",
"thrice": "RB",
"straggle": "VBP",
"pays": "VBZ",
"dwells": "VBZ",
"obtrudes": "VBZ",
"daunted": "JJ",
"unrewarding": "JJ",
"hast": "VBP",
"dehumanized": "JJ",
"depart": "VB",
"reclaimed": "VBN",
"initiated": "VBN",
"corrected": "JJ",
"initiates": "VBZ",
"grope": "VB",
"scramble": "VBP",
"bogs": "VBZ",
"meaner": "JJR",
"called": "VBN",
"somali": "JJ",
"bonded": "VBN",
"huge": "JJ",
"hugh": "JJ",
"dismissed": "JJ",
"disgraced": "JJ",
"malevolent": "JJ",
"resemble": "VB",
"accuse": "VB",
"peppy": "JJ",
"installed": "VBN",
"bummed": "VBN",
"parental": "JJ",
"bypass": "VB",
"reintroduced": "VBN",
"abandons": "VBZ",
"shocking": "JJ",
"scoops": "VBZ",
"precautionary": "JJ",
"stifle": "VB",
"de-emphasized": "VBN",
"mutilates": "VBZ",
"blond": "JJ",
"fermented": "VBN",
"peridontal": "JJ",
"understands": "VBZ",
"proliferated": "VBN",
"administrate": "VB",
"indirect": "JJ",
"exterminate": "VB",
"deadly": "JJ",
"affix": "VB",
"behold": "VB",
"overwhelmed": "VBN",
"gooey": "JJ",
"dire": "JJ",
"uncontested": "JJ",
"pleasure": "JJ",
"cooked": "VBN",
"remedy": "JJ",
"damnit": "UH",
"incapacitated": "JJ",
"tanked": "VBN",
"improper": "JJ",
"rumored": "VBN",
"insane": "JJ",
"semidrying": "JJ",
"dipole": "JJ",
"ablated": "JJ",
"thrive": "VBP",
"condoned": "VBN",
"retarded": "JJ",
"nimbler": "JJR",
"longs": "VBZ",
"complements": "VBZ",
"awake": "JJ",
"pressed": "VBN",
"binding": "JJ",
"spencerian": "JJ",
"copes": "VBZ",
"uncouth": "JJ",
"on": "IN",
"ol": "JJ",
"oh": "JJ",
"of": "IN",
"couple": "JJ",
"oneyear": "JJ",
"or": "CC",
"ok": "JJ",
"bounce": "VB",
"bouncy": "JJ",
"greener": "JJR",
"sorbed": "VBN",
"hello": "UH",
"browny": "JJ",
"disjointed": "JJ",
"scraggly": "JJ",
"rican": "JJ",
"discoid": "JJ",
"fragmented": "JJ",
"principal": "JJ",
"consolidated": "JJ",
"paired": "JJ",
"retaliatory": "JJ",
"purges": "VBZ",
"haunt": "VB",
"unsaturated": "JJ",
"intrepid": "JJ",
"puzzling": "JJ",
"last": "RB",
"interfaith": "JJ",
"transient": "JJ",
"doubt": "RB",
"unforseen": "JJ",
"dicker": "VB",
"intercity": "JJ",
"vouchsafes": "VBZ",
"begins": "VBZ",
"tempted": "VBN",
"waning": "JJ",
"sweaty": "JJ",
"ould": "JJ",
"makes": "VBZ",
"panicked": "JJ",
"solo": "JJ",
"hears": "VBZ",
"incertain": "JJ",
"sold": "VBN",
"neutral": "JJ",
"rich": "JJ",
"undeclared": "JJ",
"growing": "JJ",
"retell": "VBP",
"rode": "VBD",
"bolstered": "VBN",
"evolutionary": "JJ",
"altogether": "RB",
"reconsider": "VB",
"prosper": "VBP",
"fortified": "JJ",
"creedal": "JJ",
"concave": "JJ",
"dropping": "JJ",
"witness": "VB",
"frowns": "VBZ",
"unwieldy": "JJ",
"greedy": "JJ",
"underinvestigated": "JJ",
"receding": "JJ",
"imprecates": "VBZ",
"erstwhile": "RB",
"existing": "JJ",
"false": "JJ",
"shrinks": "VBZ",
"tonight": "RB",
"secret": "JJ",
"mustachioed": "JJ",
"depict": "VB",
"cipher": "VB",
"bred": "VBN",
"unstained": "JJ",
"replaster": "VB",
"taps": "VBZ",
"trying": "JJ",
"irk": "JJ",
"undivided": "JJ",
"hooked": "VBN",
"unbundle": "VB",
"wring": "VB",
"taxed": "VBN",
"deathward": "RB",
"nuclear": "JJ",
"roiled": "JJ",
"stubbed": "VBN",
"staring": "JJ",
"indict": "VB",
"willing": "JJ",
"entitle": "VB",
"commuted": "VBN",
"banish": "VB",
"westerly": "JJ",
"greater": "JJR",
"regular": "JJ",
"off": "JJ",
"oft": "RB",
"resuspended": "VBN",
"neoliberal": "JJ",
"falters": "VBZ",
"become": "VB",
"imaginary": "JJ",
"grayer": "JJR",
"replace": "VB",
"grayed": "JJ",
"swimming": "JJ",
"cultivates": "VBZ",
"somewhere": "RB",
"unstanched": "VBN",
"cultivated": "JJ",
"bothers": "VBZ",
"nonfarm": "JJ",
"splintered": "JJ",
"faster-growing": "JJR",
"terminates": "VBZ",
"evident": "JJ",
"shrunk": "VBN",
"obese": "JJ",
"nonetheless": "RB",
"tubular": "JJ",
"druse": "JJ",
"compete": "VB",
"agile": "JJ",
"stinks": "JJ",
"immediate": "JJ",
"worth": "JJ",
"aaawww": "UH",
"summarized": "VBN",
"blanche": "JJ",
"debunked": "VBN",
"superlunary": "JJ",
"troubled": "JJ",
"no-o-o": "UH",
"equals": "VBZ",
"bilevel": "JJ",
"stressed": "JJ",
"absolute": "JJ",
"shootin": "VBG",
"fulfull": "VB",
"unrehearsed": "JJ",
"spearhead": "VB",
"exacts": "VBZ",
"competes": "VBZ",
"ascribe": "VBP",
"overstretch": "VB",
"divorced": "VBN",
"cuddly": "JJ",
"rationed": "VBN",
"nuts": "JJ",
"misleads": "VBZ",
"call": "VB",
"slimmed": "VBN",
"undetected": "JJ",
"slimmer": "JJR",
"coiling": "JJ",
"counter-drill": "VB",
"understates": "VBZ",
"understated": "JJ",
"underperform": "VB",
"sizenine": "JJ",
"volatile": "JJ",
"feeds": "VBZ",
"unfocused": "JJ",
"disputed": "JJ",
"certifies": "VBZ",
"certified": "JJ",
"ugh": "UH",
"affluent": "JJ",
"chortles": "VBZ",
"re-enact": "VB",
"hamstring": "VB",
"another": "DT",
"illustrate": "VB",
"rare": "JJ",
"offhand": "JJ",
"enmeshed": "JJ",
"impelled": "VBN",
"convenient": "JJ",
"confiscated": "VBN",
"thundering": "JJ",
"witnessed": "VBN",
"enshrined": "VBN",
"mid-flight": "RB",
"facaded": "VBN",
"haitian": "JJ",
"haunted": "JJ",
"roundabout": "JJ",
"runs": "VBZ",
"rung": "VBN",
"freshwater": "JJR",
"shoe-horn": "VB",
"pastel": "JJ",
"draws": "VBZ",
"smoggy": "JJ",
"pasted": "VBN",
"fifteenth": "CD",
"drawn": "JJ",
"succumbs": "VBZ",
"bring": "VB",
"had": "VBD",
"engulfs": "VBZ",
"anticipatory": "JJ",
"infirm": "JJ",
"plebeian": "JJ",
"excite": "VB",
"reciprocal": "JJ",
"thrash": "VB",
"dizzy": "JJ",
"municipal": "JJ",
"smug": "JJ",
"wider-body": "JJR",
"fuss": "VB",
"unready": "JJ",
"rasping": "JJ",
"wops": "VBZ",
"doubtless": "RB",
"nilpotent": "JJ",
"eighth": "JJ",
"eroded": "VBN",
"cool": "JJ",
"bemused": "JJ",
"contaminating": "JJ",
"architectural": "JJ",
"gentler": "JJR",
"overblown": "JJ",
"garaged": "VBN",
"largely": "JJ",
"faze": "VB",
"}": ")",
"headstrong": "JJ",
"extols": "VBZ",
"turns": "VBZ",
"reaganite": "JJ",
"detonated": "VBN",
"hand-woven": "VBN",
"foregoing": "JJ",
"peels": "VBZ",
"wonduh": "VB",
"juvenile": "JJ",
"plotted": "VBN",
"regardless": "RB",
"extra": "JJ",
"uphill": "JJ",
"puffed": "JJ",
"coalesce": "VB",
"fell": "VBD",
"unreinforced": "JJ",
"slough": "VB",
"require": "VB",
"prepay": "VB",
"deteriorate": "VB",
"escalate": "VB",
"elaborate": "JJ",
"opts": "VBZ",
"still": "JJ",
"placate": "JJ",
"drop": "VB",
"extradite": "VB",
"grouse": "VBP",
"challenged": "JJ",
"yeah": "UH",
"challenges": "NNPS",
"becalmed": "JJ",
"norwegian": "JJ",
"indochinese": "JJ",
"tangled": "JJ",
"nonprofit": "JJ",
"suffice": "VB",
"flipping": "RB",
"travels": "VBZ",
"tomorrow": "RB",
"brainy": "JJ",
"uninformed": "JJ",
"transferred": "VBN",
"diktat": "JJ",
"overcollateralized": "VBN",
"extinguish": "VB",
"unsubstantiated": "JJ",
"outside": "JJ",
"deep": "JJ",
"custom-built": "VBN",
"chauffeured": "VBN",
"wet": "JJ",
"jeepers": "UH",
"embittered": "JJ",
"paneled": "JJ",
"humbled": "JJ",
"bannnnnng": "VB",
"burst": "VBD",
"anchored": "VBN",
"westbound": "JJ",
"broil": "VB",
"wins": "VBZ",
"outcuss": "VBZ",
"botched": "JJ",
"exploit": "VB",
"amino": "JJ",
"muzzling": "JJ",
"paid": "JJ",
"involved": "JJ",
"offbeat": "JJ",
"performed": "VBN",
"moody": "JJ",
"bickered": "VBN",
"insurgent": "JJ",
"better": "JJ",
"unwilling": "JJ",
"develop": "VB",
"pester": "VB",
"preisolated": "VBN",
"peruvian": "JJ",
"tarpapered": "JJ",
"overbought": "VBN",
"thatcherian": "JJ",
"disproportionate": "JJ",
"propped": "VBN",
"unrequited": "JJ",
"conducts": "VBZ",
"unspoiled": "JJ",
"verbal": "JJ",
"exposed": "JJ",
"intend": "JJ",
"chilean": "JJ",
"fractured": "VBN",
"backup": "JJ",
"curtail": "VB",
"embedded": "JJ",
"balks": "VBZ",
"finishes": "VBZ",
"poor": "JJ",
"titillating": "JJ",
"overseas": "JJ",
"unknown": "JJ",
"unblock": "VB",
"take": "VB",
"coloured": "JJ",
"startin": "VBG",
"coudn": "MD",
"lurch": "JJ",
"excess": "JJ",
"inspires": "VBZ",
"seventeenth": "CD",
"climb": "VB",
"so": "RB",
"macho": "JJ",
"bitten": "VBN",
"persists": "VBZ",
"cubist": "JJ",
"unconcealed": "VBN",
"innocent": "JJ",
"stymie": "VB",
"surpassed": "VBN",
"reject": "JJ",
"lower": "JJR",
"compulsory": "JJ",
"embark": "VB",
"anytime": "RB",
"groundup": "JJ",
"definite": "JJ",
"sarcolemmal": "JJ",
"miter": "VB",
"slighter": "JJR",
"slighted": "JJ",
"liquefied": "JJ",
"obligates": "VBZ",
"blest": "VB",
"fairy": "JJ",
"obligated": "VBN",
"heavy": "JJ",
"transcribe": "VB",
"honest-to-betsy": "RB",
"jolly": "JJ",
"shrivel": "VB",
"earns": "VBZ",
"adds": "VBZ",
"trapped": "JJ",
"imperiled": "VBN",
"deflationary": "JJ",
"late": "JJ",
"adorns": "VBZ",
"adrift": "JJ",
"itemized": "VBN",
"lookit": "VB",
"chief": "JJ",
"ansuh": "VB",
"french": "JJ",
"competing": "JJ",
"boils": "VBZ",
"unburned": "JJ",
"hypo": "JJ",
"doctrinaire": "JJ",
"drafted": "VBN",
"falsify": "VB",
"freed": "VBN",
"hoisted": "VBN",
"memorized": "VBN",
"enroll": "VB",
"substantiates": "VBZ",
"embroidered": "VBN",
"masks": "VBZ",
"makeshift": "JJ",
"grand": "JJ",
"fatty": "JJ",
"seated": "VBN",
"calibrates": "VBZ",
"calibrated": "VBN",
"grenadian": "JJ",
"reviewed": "VBN",
"informal": "JJ",
"questioned": "VBN",
"reemphasizes": "VBZ",
"preparatory": "JJ",
"dilapidated": "JJ",
"undergone": "VBN",
"multivalent": "JJ",
"assists": "VBZ",
"lyophilized": "VBN",
"unimpaired": "JJ",
"opposed": "JJ",
"uncomplaining": "JJ",
"perpetual": "JJ",
"limpid": "JJ",
"purloined": "VBN",
"familar": "JJ",
"similar": "JJ",
"ordered": "JJ",
"dashed": "VBN",
"exterminatin": "VBG",
"assayed": "VBN",
"correlated": "JJ",
"perched": "VBN",
"compact": "JJ",
"insistent": "JJ",
"not": "RB",
"now": "RB",
"nor": "CC",
"unabridged": "JJ",
"yourselves": "PRP",
"curb": "VB",
"sedentary": "JJ",
"enforce": "VB",
"overfunded": "VBN",
"notwithstanding": "RB",
"upsetting": "JJ",
"conducted": "VBN",
"back": "RB",
"foresee": "VBP",
"manage": "VB",
"loyalist": "JJ",
"discontinue": "VB",
"salvages": "VBZ",
"salvaged": "VBN",
"laendler": "JJ",
"meek": "JJ",
"meet": "VB",
"israeli": "JJ",
"peelback": "JJ",
"deeper": "JJR",
"listens": "VBZ",
"embellished": "VBN",
"outdid": "VBD",
"roman": "JJ",
"allow": "VB",
"desensitized": "VBN",
"multiple": "JJ",
"multiply": "VB",
"loser": "JJ",
"constitute": "VBP",
"littered": "VBN",
"delegated": "VBN",
"resumes": "VBZ",
"timed": "VBN",
"confuse": "VB",
"unsupported": "JJ",
"bitch": "JJ",
"newtonian": "JJ",
"crackle": "JJ",
"innovate": "VB",
"enforced": "VBN",
"flying": "JJ",
"enforces": "VBZ",
"thunders": "VBZ",
"venereal": "JJ",
"swollen": "JJ",
"exceed": "VB",
"subtracted": "VBN",
"repeated": "JJ",
"fellow": "JJ",
"rusting": "JJ",
"loadin": "VBG",
"seclude": "VB",
"halting": "JJ",
"telling": "JJ",
"unfinished": "JJ",
"brighten": "VB",
"won": "VBP",
"inherited": "VBN",
"embody": "VBP",
"kinked": "JJ",
"maritime": "JJ",
"scintillating": "JJ",
"forget": "VB",
"canadian": "JJ",
"yearn": "VB",
"coaxed": "VBN",
"austrian": "JJ",
"canine": "JJ",
"intercorporate": "JJ",
"illusory": "JJ",
"southward": "RB",
"re-oriented": "VBN",
"hurrying": "JJ",
"indiscriminate": "JJ",
"hooray": "UH",
"key": "JJ",
"outrank": "VBP",
"heavenward": "RB",
"red-flag": "VB",
"paranormal": "JJ",
"immense": "JJ",
"bolivian": "JJ",
"spook": "VBP",
"controlled": "JJ",
"unamusing": "JJ",
"examines": "VBZ",
"surface": "JJ",
"pretty": "JJ",
"cometh": "VBZ",
"arabist": "JJ",
"proscribe": "VBP",
"stumped": "VBN",
"steals": "VBZ",
"increasingly": "RB",
"liked": "JJ",
"propelled": "VBN",
"skips": "VBZ",
"unthaw": "VB",
"revisits": "VBZ",
"avoid": "VB",
"moderated": "VBN",
"demonstrated": "JJ",
"to-and-fro": "RB",
"forgit": "VB",
"straight": "JJ",
"up": "IN",
"us": "PRP",
"berserk": "JJ",
"unhinged": "VBN",
"unaided": "JJ",
"interlobular": "JJ",
"lagged": "VBN",
"squirmy": "JJ",
"highest": "RB",
"beats": "VBZ",
"leftist": "JJ",
"stormbound": "JJ",
"middlebrow": "JJ",
"backstage": "JJ",
"endure": "VB",
"shuns": "VBZ",
"soak": "VB",
"trodden": "JJ",
"swam": "VBD",
"recycle": "VB",
"sorry": "JJ",
"sway": "VB",
"collaborate": "VB",
"unrelated": "JJ",
"enhance": "VB",
"hibernate": "VBP",
"kidnap": "VB",
"uptempo": "JJ",
"mee": "PRP",
"met": "RB",
"biconcave": "JJ",
"systematized": "VBN",
"sliced": "JJ",
"rationalist": "JJ",
"lobbies": "VBZ",
"overlooked": "VBN",
"grabbin": "VBG",
"defecated": "VBN",
"elicited": "VBN",
"disassemble": "VB",
"defaces": "VBZ",
"neglect": "JJ",
"pasteurized": "VBN",
"determinate": "JJ",
"budding": "JJ",
"deathly": "JJ",
"drops": "VBZ",
"rebutted": "VBN",
"madly": "JJ",
"driftin": "VBG",
"glazed": "JJ",
"nonchurchgoing": "JJ",
"trading": "JJ",
"forgot": "VBN",
"unbound": "JJ",
"join": "VB",
"abate": "VB",
"resew": "VB",
"sudden": "JJ",
"enraged": "JJ",
"acquaint": "VB",
"excellent": "JJ",
"estimated": "JJ",
"homogenized": "JJ",
"exhausted": "JJ",
"conforms": "VBZ",
"recommence": "VB",
"prerecorded": "VBN",
"egyptian": "JJ",
"yearlong": "JJ",
"unleashed": "VBN",
"mineralized": "JJ",
"flouted": "VBN",
"dampening": "JJ",
"nyet": "UH",
"yesiree": "UH",
"indexed": "VBN",
"narrated": "VBN",
"billed": "VBN",
"otherwise": "RB",
"precut": "JJ",
"puts": "VBZ",
"regenerate": "JJ",
"lovely": "JJ",
"capitalist": "JJ",
"recuperate": "VB",
"evolve": "VB",
"opulent": "JJ",
"impelling": "JJ",
"presto": "JJ",
"failing": "JJ",
"yours": "PRP",
"unclenched": "VBN",
"assigned": "VBN",
"salivary": "JJ",
"pecuniary": "JJ",
"involuntary": "JJ",
"paramilitary": "JJ",
"repossessed": "JJ",
"are": "CP",
"deaf": "JJ",
"been": "VBN",
"dear": "JJ",
"codifies": "VBZ",
"codified": "JJ",
"blithe": "JJ",
"second-guessed": "VBN",
"down": "IN",
"refined": "JJ",
"feminine": "JJ",
"evinced": "VBN",
"helps": "VBZ",
"awhile": "RB",
"marinated": "VBN",
"brightens": "VBZ",
"pseudo": "JJ",
"restored": "VBN",
"winning": "JJ",
"redouble": "VB",
"hijacked": "VBN",
"turgid": "JJ",
"stiffer": "JJR",
"onrushing": "JJ",
"targets": "VBZ",
"define": "VB",
"encrusted": "VBN",
"comend": "VB",
"suspect": "JJ",
"noconfidence": "JJ",
"founded": "VBN",
"diagnosed": "VBN",
"bog": "VB",
"teenage": "JJ",
"passthrough": "JJ",
"cooperates": "VBZ",
"cooperated": "VBN",
"forswears": "VBZ",
"drags": "VBZ",
"romanticized": "VBN",
"fuck": "VB",
"irreverent": "JJ",
"nondairy": "JJ",
"reseller": "JJR",
"nicaraguan": "JJ",
"solder": "VB",
"blooded": "VBN",
"reinvested": "VBN",
"tucked": "VBN",
"routine": "JJ",
"disappointing": "JJ",
"carrion": "JJ",
"publicsector": "JJ",
"ajar": "RB",
"contented": "JJ",
"frequent": "JJ",
"enthralled": "JJ",
"black": "JJ",
"intrastate": "JJ",
"speaking": "JJ",
"inefficient": "JJ",
"doddering": "JJ",
"himself": "PRP",
"nondefeatist": "JJ",
"squat": "JJ",
"reacquainted": "VBN",
"ultimate": "JJ",
"flattered": "VBN",
"cosponsors": "VBZ",
"we": "PRP",
"detached": "JJ",
"wo": "MD",
"travesty": "JJ",
"pegged": "VBN",
"seekin": "VBG",
"gee": "UH",
"unaltered": "JJ",
"enjoys": "VBZ",
"right": "JJ",
"declared": "JJ",
"provide": "VB",
"sear": "VB",
"held": "VBN",
"declares": "VBZ",
"indicted": "VBN",
"illiterate": "JJ",
"permeated": "VBN",
"across": "RB",
"satiate": "VB",
"august": "JJ",
"for": "IN",
"each": "RB",
"fulminate": "VB",
"sketchy": "JJ",
"taught": "JJ",
"tout": "VB",
"carved": "VBN",
"considering": "RB",
"wobble": "VB",
"wobbly": "JJ",
"assemble": "VB",
"wake": "VB",
"hardcore": "JJ",
"revise": "VB",
"falsified": "VBN",
"blackballed": "VBN",
"intermediate": "JJ",
"woodland": "JJ",
"extended": "JJ",
"expended": "VBN",
"shopworn": "JJ",
"stunted": "VBN",
"bit": "RB",
"admonishing": "JJ",
"englishy": "JJ",
"liberal": "JJ",
"acquainted": "VBN",
"moreover": "RB",
"passionate": "JJ",
"pronounce": "VB",
"illustrated": "VBN",
"glomerular": "JJ",
"purported": "JJ",
"fertile": "JJ",
"distracted": "VBN",
"practised": "JJ",
"spicy": "JJ",
"wholehearted": "JJ",
"undiminished": "JJ",
"examine": "VB",
"spat": "VBD",
"weeded": "VBN",
"somewhat": "RB",
"itches": "VBZ",
"wanta": "VB",
"u": "PRP",
"double-bolt": "VB",
"prime": "JJ",
"puffs": "VBZ",
"righted": "VBN",
"puffy": "JJ",
"yon": "RB",
"clench": "VB",
"alma": "JJ",
"outworn": "JJ",
"clinch": "VB",
"arithmetized": "VBN",
"straighten": "VB",
"squeezes": "VBZ",
"repeals": "VBZ",
"mull": "VB",
"calculates": "VBZ",
"witchy": "JJ",
"wrangle": "VB",
"collated": "VBN",
"splashes": "VBZ",
"pigmented": "VBN",
"coming": "JJ",
"engaged": "JJ",
"recall": "VB",
"remain": "VB",
"reaps": "VBZ",
"stubborn": "JJ",
"synchronized": "JJ",
"rejuvenated": "VBN",
"minimum": "JJ",
"rejuvenates": "VBZ",
"stir": "VB",
"uninfected": "JJ",
"accorded": "VBN",
"verified": "JJ",
"undecided": "JJ",
"co-exist": "VB",
"heartfelt": "JJ",
"hundredth": "JJ",
"emaciated": "JJ",
"compound": "JJ",
"polished": "JJ",
"evade": "VB",
"micro": "JJ",
"engaging": "JJ",
"edged": "JJ",
"bandaged": "JJ",
"extraordinary": "JJ",
"deflate": "VB",
"backed": "JJ",
"constraining": "JJ",
"puritan": "JJ",
"environmental": "JJ",
"catapult": "VB",
"differentiate": "VB",
"unbroken": "JJ",
"once": "RB",
"swerve": "VBP",
"amusing": "JJ",
"ukrainian": "JJ",
"lifts": "VBZ",
"chary": "JJ",
"serene": "JJ",
"serviced": "VBN",
"fresh": "JJ",
"teems": "VBZ",
"watch": "VB",
"seething": "JJ",
"swelling": "JJ",
"confident": "JJ",
"thruways": "RB",
"u.n.-monitored": "JJ",
"favorite": "JJ",
"rotted": "JJ",
"lucullan": "JJ",
"spiked": "JJ",
"female": "JJ",
"semisecret": "JJ",
"internationalist": "JJ",
"get": "VB",
"defunct": "JJ",
"slower": "JJR",
"yea": "JJ",
"foreign": "JJ",
"focused": "JJ",
"yet": "RB",
"subpar": "JJ",
"surrounded": "VBN",
"fused": "VBN",
"appall": "VBP",
"peppery": "JJ",
"assorted": "JJ",
"resisted": "VBN",
"deferred": "JJ",
"radiosterilized": "VBN",
"confining": "JJ",
"ahm": "PRP",
"bristle": "VBP",
"unveil": "VB",
"iffy": "JJ",
"criss-cross": "VBP",
"segregate": "VB",
"propose": "VB",
"knock": "JJ",
"borrows": "VBZ",
"happens": "VBZ",
"balmy": "JJ",
"retailed": "VBN",
"u.s.-style": "JJ",
"underused": "JJ",
"underlines": "VBZ",
"exterminated": "VBN",
"curt": "JJ",
"scarlet": "JJ",
"curl": "VB",
"commissioned": "JJ",
"confine": "VB",
"endocrine": "JJ",
"cater": "VBP",
"implies": "VBZ",
"implied": "VBN",
"determine": "VB",
"conjugal": "JJ",
"masculine": "JJ",
"pleasing": "JJ",
"uttuh": "VB",
"entire": "JJ",
"fast": "JJ",
"repurchased": "VBN",
"fat": "JJ",
"employerpaid": "JJ",
"healing": "JJ",
"safer": "JJR",
"implement": "VB",
"hammered": "VBN",
"year-ago": "RB",
"prized": "JJ",
"silvery": "JJ",
"closing": "JJ",
"fetch": "VB",
"blabs": "VBZ",
"varied": "JJ",
"nonworking": "JJ",
"trembling": "JJ",
"rutted": "JJ",
"disarm": "VB",
"flattering": "JJ",
"twirls": "VBZ",
"twirly": "JJ",
"accredited": "JJ",
"disrupts": "VBZ",
"bolder": "JJR",
"frayed": "JJ",
"blindfolded": "VBN",
"theatergoing": "JJ",
"recoated": "VBN",
"sexual": "JJ",
"trappist": "JJ",
"fluctuates": "VBZ",
"picks": "VBZ",
"braced": "JJ",
"reaches": "VBZ",
"reached": "VBN",
"pershare": "JJ",
"demythologized": "VBN",
"bulldog": "JJ",
"unsubtle": "JJ",
"inapt": "JJ",
"stirs": "VBZ",
"have": "VBP",
"misrelated": "VBN",
"squeegee": "VBP",
"submachine": "JJ",
"hypophyseal": "JJ",
"discreet": "JJ",
"wean": "VB",
"dirty": "JJ",
"weak": "JJ",
"revoked": "VBN",
"joke": "JJ",
"equal": "JJ",
"magnetized": "VBN",
"welcoming": "JJ",
"general": "JJ",
"ensuing": "JJ",
"frustrating": "JJ",
"prevents": "VBZ",
"aims": "VBZ",
"unfetter": "VB",
"disoriented": "JJ",
"multibilliondollar": "JJ",
"interim": "JJ",
"reformer": "JJ",
"onward": "RB",
"reformed": "JJ",
"resolved": "VBN",
"thread": "VB",
"resolves": "VBZ",
"inflammatory": "JJ",
"elephantine": "JJ",
"indemnify": "VB",
"unalluring": "JJ",
"racks": "VBZ",
"uptight": "JJ",
"introduces": "VBZ",
"befogged": "JJ",
"introduced": "VBN",
"iraqi": "JJ",
"rushes": "VBZ",
"onepage": "JJ",
"touted": "VBN",
"insures": "VBZ",
"insured": "VBN",
"flit": "JJ",
"flip": "JJ",
"omnibus": "JJ",
"dressed": "JJ",
"interdepartmental": "JJ",
"detain": "VB",
"stirred": "JJ",
"ramble": "VB",
"grimmer": "JJR",
"gratified": "VBN",
"communist": "JJ",
"inexpert": "JJ",
"glides": "VBZ",
"@": "IN",
"prowls": "VBZ",
"shook": "VBD",
"harried": "JJ",
"annual": "JJ",
"feathery": "JJ",
"direct": "JJ",
"revolves": "VBZ",
"mmm": "JJ",
"ebbs": "VBZ",
"overplanted": "VBN",
"leaves": "VBZ",
"purifying": "JJ",
"henceforth": "RB",
"meaty": "JJ",
"overstored": "JJ",
"accrued": "JJ",
"supplemental": "JJ",
"salvage": "VB",
"overhears": "VBZ",
"keep": "VB",
"attract": "VB",
"insecure": "JJ",
"befoh": "RB",
"parallel": "JJ",
"healthy": "JJ",
"amid": "IN",
"highpriced": "JJ",
"rough": "JJ",
"resounds": "VBZ",
"sportin": "VBG",
"howdy": "UH",
"sob": "VB",
"convinced": "JJ",
"blistered": "VBN",
"preconceived": "JJ",
"diseased": "JJ",
"exhilarated": "JJ",
"foolishly": "RB",
"unwraps": "VBZ",
"mononuclear": "JJ",
"x-rayed": "VBN",
"interviewed": "VBN",
"automated": "VBN",
"embellish": "VB",
"twice": "RB",
"overinvested": "VBN",
"unpopular": "JJ",
"thorough": "JJ",
"dermal": "JJ",
"impels": "VBZ",
"rancid": "JJ",
"pardoned": "VBN",
"overpriced": "JJ",
"peddle": "VB",
"gouty": "JJ",
"liquified": "JJ",
"borrowed": "VBN",
"considerate": "JJ",
"angers": "VBZ",
"sharpens": "VBZ",
"mus": "MD",
"hopefully": "RB",
"mum": "JJ",
"deposed": "VBN",
"portrays": "VBZ",
"overcooks": "VBZ",
"consonantal": "JJ",
"interoffice": "JJ",
"antisony": "JJ",
"inactivate": "VB",
"pre-selected": "VBN",
"unchanged": "JJ",
"persecutory": "JJ",
"dazzled": "VBN",
"dazzles": "VBZ",
"tell": "VB",
"prior": "JJ",
"beside": "RB",
"descending": "JJ",
"unyielding": "JJ",
"darned": "RB",
"multistage": "JJ",
"estonian": "JJ",
"gave": "VBD",
"b-includes": "VBZ",
"renames": "VBZ",
"unmarried": "JJ",
"renamed": "VBN",
"majored": "VBN",
"envision": "VBP",
"experienced": "JJ",
"mystified": "VBN",
"khaki": "JJ",
"shuck": "VB",
"disaffiliate": "VBP",
"unsalted": "JJ",
"ahs": "UH",
"abed": "RB",
"stuck": "JJ",
"automate": "VB",
"pricked": "VBN",
"overcollected": "JJ",
"forborne": "VB",
"u.n.-backed": "JJ",
"nerdy": "JJ",
"more": "RB",
"cobbled": "VBN",
"sometime": "RB",
"inborn": "JJ",
"eerie": "JJ",
"outgrew": "VBD",
"papery": "JJ",
"flushes": "VBZ",
"flushed": "JJ",
"agayne": "RB",
"faster": "JJR",
"unchallenged": "JJ",
"fasten": "VB",
"tsk": "UH",
"rob": "VB",
"gets": "VBZ",
"inverse": "JJ",
"emphasizes": "VBZ",
"creepers": "UH",
"emphasized": "JJ",
"irritates": "VBZ",
"savory": "JJ",
"irritated": "JJ",
"goes": "VBZ",
"jilted": "VBN",
"learn": "VB",
"boast": "VB",
"rethink": "VB",
"visiting": "JJ",
"wreak": "VB",
"prep": "JJ",
"cased": "JJ",
"inveterate": "JJ",
"dthat": "IN",
"adherent": "JJ",
"unloads": "VBZ",
"fourth": "CD",
"cathodoluminescent": "JJ",
"everywhere": "RB",
"pervade": "VBP",
"leggy": "JJ",
"invents": "VBZ",
"ordain": "VB",
"intended": "JJ",
"concur": "VBP",
"precooked": "VBN",
"sha": "MD",
"throw": "VB",
"minted": "VBN",
"drilled": "VBN",
"ah-ah": "UH",
"handled": "VBN",
"squashed": "JJ",
"spurned": "VBN",
"arousing": "JJ",
"stylized": "JJ",
"grunt": "VB",
"overfill": "VB",
"commonplace": "JJ",
"good": "JJ",
"proud": "JJ",
"antitakeover": "JJR",
"cheat": "JJ",
"inshore": "RB",
"cautionary": "JJ",
"burlesque": "JJ",
"gouldoid": "JJ",
"loose": "JJ",
"saucy": "JJ",
"harshly": "RB",
"quiet": "JJ",
"insist": "JJ",
"subscribed": "JJ",
"lower-value": "JJR",
"subscribes": "VBZ",
"exasperate": "VB",
"fiercer": "JJR",
"cast": "VBN",
"abducted": "VBN",
"dionysian": "JJ",
"impaled": "VBN",
"manila": "JJ",
"even-handed": "RB",
"bodied": "JJ",
"pure": "JJ",
"justify": "VB",
"pink": "JJ",
"splices": "VBZ",
"spliced": "VBN",
"cease": "VB",
"feminist": "JJ",
"co-ordinates": "VBZ",
"accompanied": "JJ",
"acute": "JJ",
"coursed": "VBN",
"old": "JJ",
"struggling": "JJ",
"animalcare": "JJ",
"whence": "WRB",
"nods": "VBZ",
"engendered": "VBN",
"rising": "JJ",
"cultured": "JJ",
"permit": "VB",
"competitve": "JJ",
"incise": "VB",
"autoimmune": "JJ",
"outgrip": "VB",
"deserve": "VBP",
"dark": "JJ",
"darn": "JJ",
"dare": "VB",
"releasing": "JJ",
"cuban": "JJ",
"numbing": "JJ",
"crumpled": "JJ",
"tarry": "VB",
"subsides": "VBZ",
"nahce": "JJ",
"occurs": "VBZ",
"stitched": "VBN",
"uh-huh": "UH",
"ease": "VB",
"easy": "JJ",
"east": "JJ",
"sue": "VB",
"sup": "VB",
"underhanded": "JJ",
"theodosian": "JJ",
"libyan": "JJ",
"ineffectual": "JJ",
"apropos": "JJ",
"indefinite": "JJ",
"captured": "VBN",
"liveried": "JJ",
"irrigate": "VB",
"untied": "JJ",
"antebellum": "JJ",
"armed": "JJ",
"same": "JJ",
"unitary": "JJ",
"err": "VBP",
"u.s.-grown": "JJ",
"accommodates": "VBZ",
"ready": "JJ",
"accommodated": "VBN",
"oppressed": "JJ",
"loopy": "JJ",
"telltale": "JJ",
"bland": "JJ",
"ponder": "JJ",
"seeming": "JJ",
"vellum": "JJ",
"indian": "JJ",
"scathing": "JJ",
"leading": "JJ",
"bevel": "VB",
"shrunken": "JJ",
"kind": "JJ",
"weatherproof": "JJ",
"multibillion": "JJ",
"shrewd": "JJ",
"tongued": "JJ",
"conforming": "JJ",
"establshed": "VBN",
"gild": "VB",
"rarefied": "JJ",
"acclaims": "VBZ",
"lying": "JJ",
"vaunted": "JJ",
"lacking": "JJ",
"suburbanized": "VBN",
"incapacitating": "JJ",
"invoke": "VB",
"knighted": "VBN",
"reprint": "VB",
"engraved": "VBN",
"wrote": "VBD",
"mmmm": "UH",
"manual": "JJ",
"franchised": "VBN",
"oversee": "VB",
"shorthanded": "JJ",
"apollonian": "JJ",
"nettled": "JJ",
"lovie": "UH",
"institutionalized": "JJ",
"unswagged": "JJ",
"kick": "JJ",
"unaccompanied": "JJ",
"laundered": "VBN",
"shirk": "VB",
"higher": "JJR",
"sell": "VB",
"demarcated": "VBN",
"restrains": "VBZ",
"try": "VB",
"magnified": "VBN",
"magnifies": "VBZ",
"prorate": "VB",
"jostle": "VBP",
"thou": "PRP",
"bemoan": "VB",
"macromolecular": "JJ",
"confront": "VB",
"disinclined": "VBN",
"perpendicular": "JJ",
"defrost": "VB",
"calloused": "JJ",
"flagellated": "VBN",
"impressed": "JJ",
"acquiesce": "VB",
"lone": "JJ",
"handles": "VBZ",
"long": "JJ",
"etch": "VB",
"authored": "VBN",
"nice": "JJ",
"smitten": "VBN",
"relaunch": "VB",
"safekeep": "VB",
"uphold": "VB",
"repackage": "VB",
"blended": "JJ",
"include": "VB",
"acid": "JJ",
"disentangle": "VB",
"chose": "VBD",
"wraps": "VBZ",
"explore": "VB",
"insubordinate": "JJ",
"suggests": "VBZ",
"pale": "JJ",
"hardy": "JJ",
"from": "IN",
"procrastinate": "JJ",
"accrues": "VBZ",
"recessionary": "JJ",
"thirsty": "JJ",
"nonverbal": "JJ",
"re-set": "VB",
"australian": "JJ",
"concocts": "VBZ",
"secular": "JJ",
"cliched": "JJ",
"detests": "VBZ",
"outdoor": "JJ",
"budge": "VB",
"sanctioned": "JJ",
"interpreted": "JJ",
"strove": "VBD",
"dismaying": "JJ",
"neighborly": "JJ",
"measly": "JJ",
"edit": "VB",
"treads": "VBZ",
"whipsawed": "JJ",
"delivre": "VB",
"m.i.t.-trained": "JJ",
"unique": "JJ",
"pours": "VBZ",
"stupid": "JJ",
"footnoted": "VBN",
"hence": "RB",
"eleventh": "JJ",
"misunderstood": "JJ",
"mixtec": "JJ",
"househld": "JJ",
"co-written": "VBN",
"delineated": "VBN",
"declasse": "JJ",
"why": "JJ",
"ensues": "VBZ",
"whose": "WP",
"balding": "JJ",
"utter": "JJ",
"pleased": "JJ",
"he": "PRP",
"widegrip": "JJ",
"skimp": "VB",
"skims": "VBZ",
"spinning": "JJ",
"multipart": "JJ",
"despoiled": "VBN",
"credentialized": "JJ",
"multifaceted": "JJ",
"limit": "JJ",
"machiavellian": "JJ",
"postwar": "JJ",
"decent": "JJ",
"responds": "VBZ",
"stunning": "JJ",
"draining": "JJ",
"lonely": "JJ",
"lightweight": "JJ",
"disinterred": "VBN",
"over-price": "VB",
"maddening": "JJ",
"disagree": "VBP",
"overcrowded": "JJ",
"picayune": "JJ",
"enamored": "JJ",
"conquer": "VB",
"re-incorporated": "VBN",
"feigned": "JJ",
"pasty": "JJ",
"carried": "VBN",
"crave": "VBP",
"spiral": "JJ",
"leveraged": "VBN",
"greasy": "JJ",
"automates": "VBZ",
"defamed": "VBN",
"unasterisked": "JJ",
"bewail": "VB",
"overhauled": "VBN",
"maroon": "JJ",
"overprotected": "VBN",
"auxiliary": "JJ",
"surviving": "JJ",
"impersonalized": "JJ",
"thriving": "JJ",
"taints": "VBZ",
"antianemia": "JJ",
"tensile": "JJ",
"disburden": "VB",
"milled": "JJ",
"admire": "VB",
"unlisted": "JJ",
"dangles": "VBZ",
"negated": "VBN",
"increasing": "JJ",
"longer": "JJR",
"foremost": "JJ",
"besets": "VBZ",
"spoke": "VBD",
"overshadow": "VBP",
"anticipated": "JJ",
"heralded": "VBN",
"sassy": "JJ",
"mired": "VBN",
"hurt": "JJ",
"goddammit": "UH",
"straddle": "VB",
"unstuffy": "VB",
"insulate": "VB",
"reprove": "VB",
"complaining": "JJ",
"atop": "IN",
"killing": "JJ",
"attracts": "VBZ",
"keeps": "VBZ",
"handcuff": "VBP",
"affect": "VB",
"commemorate": "VB",
"represents": "VBZ",
"dumps": "VBZ",
"clothed": "JJ",
"queued": "JJ",
"typifies": "VBZ",
"precedes": "VBZ",
"urbane": "JJ",
"rented": "VBN",
"sensory": "JJ",
"assures": "VBZ",
"typified": "VBN",
"obsolescent": "JJ",
"waddles": "VBZ",
"human": "JJ",
"please": "RB",
"shopped": "VBN",
"postulate": "VB",
"persecute": "JJ",
"snooty": "JJ",
"named": "VBN",
"recheck": "VBP",
"overregulated": "JJ",
"crotale": "JJ",
"looming": "JJ",
"alas": "UH",
"braying": "JJ",
"bomb": "VB",
"undefined": "JJ",
"buxom": "JJ",
"mend": "JJ",
"belated": "JJ",
"requalify": "VB",
"purified": "JJ",
"traverse": "VB",
"stealthy": "JJ",
"planoconcave": "JJ",
"conceptual": "JJ",
"screwball": "JJ",
"demented": "JJ",
"adapted": "VBN",
"polycrystalline": "JJ",
"breakoff": "JJ",
"quadripartite": "JJ",
"incompetent": "JJ",
"hospitalized": "VBN",
"concrete": "JJ",
"lift": "VB",
"unsold": "JJ",
"actuated": "JJ",
"swarthy": "JJ",
"wholewheat": "JJ",
"taped": "JJ",
"misrepresents": "VBZ",
"halfhearted": "JJ",
"forsaken": "VBN",
"forsakes": "VBZ",
"irradiated": "VBN",
"articulated": "JJ",
"tapering": "JJ",
"de-listed": "VBN",
"behind": "RB",
"warring": "JJ",
"germinate": "VBP",
"pinched": "JJ",
"shifting": "JJ",
"think": "VBP",
"rebuffed": "VBN",
"repellent": "JJ",
"spins": "VBZ",
"shake": "VB",
"happy": "JJ",
"completing": "JJ",
"anticommunist": "JJ",
"pontificate": "VB",
"exist": "VB",
"accounting": "JJ",
"dotted": "VBN",
"dissimiliar": "JJ",
"invested": "VBN",
"stirring": "JJ",
"plump": "JJ",
"rousing": "JJ",
"indolent": "JJ",
"behave": "VB",
"prepaid": "JJ",
"refinance": "VB",
"mourn": "JJ",
"experimental": "JJ",
"solves": "VBZ",
"northeastern": "JJ",
"officiate": "VB",
"current": "JJ",
"drewe": "VBD",
"studied": "VBN",
"therein": "RB",
"monaural": "JJ",
"fresher": "JJR",
"kafkaesque": "JJ",
"afford": "VB",
"apparent": "JJ",
"overloaded": "JJ",
"believes": "VBZ",
"intransigent": "JJ",
"deserves": "VBZ",
"belongs": "VBZ",
"snaps": "VBZ",
"rehabilitate": "JJ",
"yielding": "JJ",
"catching": "JJ",
"ungentlemanly": "JJ",
"solitary": "JJ",
"lackluster": "JJ",
"unlimited": "JJ",
"into": "IN",
"matches": "VBZ",
"socialist": "JJ",
"matched": "JJ",
"revert": "VB",
"whosoever": "WP",
"bovine": "JJ",
"giddy": "JJ",
"aye-yah-ah-ah": "UH",
"toned": "VBN",
"nested": "VBN",
"intermolecular": "JJ",
"redoubled": "VBN",
"embarrassed": "JJ",
"future": "JJ",
"opens": "VBZ",
"undercover": "JJ",
"altered": "JJ",
"settled": "JJ",
"portuguese": "JJ",
"occidental": "JJ",
"hereby": "RB",
"surplus": "JJ",
"mince": "VB",
"unkind": "JJ",
"robs": "VBZ",
"allowed": "JJ",
"charmed": "VBN",
"assimilate": "VB",
"neutralist": "JJ",
"disparage": "VB",
"rages": "VBZ",
"demonetized": "VBN",
"anti": "IN",
"combines": "VBZ",
"combined": "JJ",
"lowincome": "JJ",
"distressed": "JJ",
"disbelieve": "VB",
"jolt": "JJ",
"brok": "VBD",
"shuts": "VBZ",
"spiraling": "JJ",
"unemployed": "JJ",
"cheere": "VBP",
"glycerolized": "VBN",
"cheery": "JJ",
"escorts": "VBZ",
"coste": "VB",
"slay": "VBP",
"barbecued": "JJ",
"hereabouts": "RB",
"lengthens": "VBZ",
"unquiet": "JJ",
"clad": "JJ",
"overhyped": "JJ",
"endeavor": "VB",
"riveting": "JJ",
"oblige": "VB",
"contingent": "JJ",
"sprung": "VBN",
"confides": "VBZ",
"joyfully": "JJ",
"fightin": "VBG",
"somnolent": "JJ",
"pakistani": "JJ",
"recommends": "VBZ",
"cloned": "VBN",
"close": "RB",
"agree": "VBP",
"detailed": "JJ",
"gone": "JJ",
"carves": "VBZ",
"ah": "UH",
"am": "RB",
"as": "RB",
"at": "IN",
"carven": "VBN",
"jell": "VB",
"unrefrigerated": "JJ",
"fluorinated": "VBN",
"middling": "RB",
"absorbing": "JJ",
"overeager": "JJ",
"revolting": "JJ",
"piddling": "JJ",
"compromising": "JJ",
"delayed": "VBN",
"re-examines": "VBZ",
"squashy": "JJ",
"interconnected": "JJ",
"unbleached": "JJ",
"contrive": "VB",
"slick": "JJ",
"evolves": "VBZ",
"evolved": "JJ",
"compelled": "VBN",
"stated": "JJ",
"rustled": "VBN",
"dislikes": "VBZ",
"moon": "JJ",
"accept": "VB",
"venezuelan": "JJ",
"cling": "VBP",
"alter": "VB",
"debilitated": "VBN",
"consign": "VB",
"iridescent": "JJ",
"fewer": "JJR",
"catalogued": "VBN",
"disheveled": "JJ",
"imagine": "VB",
"redeemded": "VBN",
"corrugated": "JJ",
"protectionist": "JJ",
"thereafter": "RB",
"small": "JJ",
"unexplained": "JJ",
"crisscrossed": "VBN",
"consult": "VB",
"inhouse": "JJ",
"lovelorn": "JJ",
"adverse": "JJ",
"more-senior": "JJR",
"unequal": "JJ",
"covet": "VB",
"aghast": "JJ",
"undying": "JJ",
"alloted": "VBN",
"gratis": "RB",
"dustin": "VBG",
"obscure": "JJ",
"sew": "VB",
"dryin": "VBG",
"overwhelm": "JJ",
"see": "VB",
"unsheltered": "JJ",
"umm": "UH",
"topmost": "JJ",
"avuncular": "JJ",
"serves": "VBZ",
"shortlived": "JJ",
"served": "VBN",
"pagan": "JJ",
"embargoed": "JJ",
"repainted": "VBN",
"drunk": "JJ",
"underwent": "VBD",
"hollow": "JJ",
"underlay": "VBP",
"flounced": "VBN",
"redounds": "VBZ",
"owed": "VBN",
"owes": "VBZ",
"doan": "VBP",
"expands": "VBZ",
"upland": "JJ",
"hypothesized": "VBN",
"damp": "JJ",
"damn": "JJ",
"u.s.-soviet": "JJ",
"scarify": "VB",
"next": "JJ",
"textual": "JJ",
"occupy": "VB",
"impudent": "JJ",
"redeemed": "JJ",
"indoor": "JJ",
"mature": "JJ",
"frothy": "JJ",
"wove": "VBD",
"leftward": "JJ",
"overshoots": "VBZ",
"pockmarked": "JJ",
"unionized": "VBN",
"dedicates": "VBZ",
"send": "VB",
"sent": "VBN",
"languished": "VBN",
"languishes": "VBZ",
"related": "JJ",
"bemoans": "VBZ",
"agrarian": "JJ",
"shivery": "JJ",
"engage": "VB",
"alleged": "JJ",
"distrusted": "VBN",
"ha": "UH",
"outright": "JJ",
"insists": "VBZ",
"instinctual": "JJ",
"subtle": "JJ",
"wed": "VBN",
"several": "JJ",
"stand": "VB",
"excretory": "JJ",
"shudder": "VB",
"merge": "VB",
"most-favored": "<NAME>",
"wander": "VB",
"exults": "VBZ",
"aided": "JJ",
"shuld": "MD",
"mesmerized": "VBN",
"owned": "VBN",
"naturally": "JJ",
"upstate": "JJ",
"midlevel": "JJ",
"applauds": "VBZ",
"meanwile": "RB",
"delimits": "VBZ",
"punctured": "JJ",
"steep": "JJ",
"steer": "VB",
"seaborne": "JJ",
"remember": "VB",
"snuff": "VB",
"hold": "VB",
"thirdquarter": "JJ",
"reignite": "VB",
"endrocrine": "JJ",
"dissociate": "VB",
"understate": "VBP",
"illumine": "VB",
"championed": "VBN",
"emancipate": "VB",
"planted": "VBN",
"matronly": "JJ",
"maggoty": "JJ",
"multiyear": "JJ",
"dishearten": "VB",
"nise": "JJ",
"streamlined": "JJ",
"creationist": "JJ",
"partisan": "JJ",
"drum": "VB",
"unflinching": "JJ",
"sevenday": "JJ",
"ethiopian": "JJ",
"sugared": "JJ",
"ca": "MD",
"allocated": "VBN",
"equips": "VBZ",
"dazzling": "JJ",
"stalled": "VBN",
"rigged": "JJ",
"maul": "VB",
"rethought": "JJ",
"delaying": "JJ",
"lush": "JJ",
"maligned": "VBN",
"highlighted": "VBN",
"glares": "VBZ",
"inlaid": "VBN",
"balk": "VB",
"heaped": "VBN",
"glum": "JJ",
"fluctuating": "JJ",
"crisp": "JJ",
"quit": "VB",
"snappy": "JJ",
"forgiven": "VBN",
"haulage": "JJ",
"toward": "IN",
"ingest": "VBP",
"seedy": "JJ",
"strode": "VBD",
"unbent": "JJ",
"beeped": "VBN",
"suppose": "VBP",
"delivers": "VBZ",
"straightaway": "JJ",
"harvested": "VBN",
"unguaranteed": "JJ",
"denote": "VB",
"wanes": "VBZ",
"penciled": "VBN",
"felled": "VBN",
"unswerving": "JJ",
"pacify": "JJ",
"soaring": "JJ",
"buoy": "VB",
"consolidates": "VBZ",
"metropolitian": "JJ",
"hell-for-leather": "RB",
"litle": "JJ",
"distort": "VB",
"disobedient": "JJ",
"uninviting": "JJ",
"surrounding": "JJ",
"ambiguan": "JJ",
"dwindles": "VBZ",
"established": "JJ",
"+": "SYM",
"yeller": "JJ",
"textured": "JJ",
"secure": "JJ",
"modulated": "JJ",
"fragmentary": "JJ",
"sunbleached": "VBN",
"unfailing": "JJ",
"grovel": "VB",
"unsatisfying": "JJ",
"indifferent": "JJ",
"envenomed": "VBN",
"morbid": "JJ",
"if": "IN",
"extruded": "VBN",
"unmiked": "VBN",
"repeats": "VBZ",
"nascent": "JJ",
"tricked": "VBN",
"inner": "JJ",
"soothing": "JJ",
"classified": "JJ",
"naysay": "VB",
"softer": "JJR",
"wary": "JJ",
"warm": "JJ",
"understaffs": "VBZ",
"forth": "RB",
"eastern": "JJ",
"unenticing": "JJ",
"toconsolidated": "VBN",
"stalinist": "JJ",
"protracted": "JJ",
"totted": "VBN",
"extracurricular": "JJ",
"encumbered": "JJ",
"correct": "JJ",
"unsophisticated": "JJ",
"fussy": "JJ",
"infrared": "JJ",
"dredges": "VBZ",
"wrung": "VB",
"latent": "JJ",
"custom-fit": "VB",
"frowning": "JJ",
"soviet": "JJ",
"pull": "VB",
"seeks": "VBZ",
"preoccupied": "JJ",
"leads": "VBZ",
"beastly": "JJ",
"jeopardized": "VBN",
"coherent": "JJ",
"jeopardizes": "VBZ",
"soundproof": "JJ",
"accused": "JJ",
"abrupt": "JJ",
"dried": "JJ",
"thence": "RB",
"falling": "JJ",
"rococo": "JJ",
"skyjacked": "VBN",
"unharmed": "JJ",
"blames": "VBZ",
"blamed": "VBN",
"bodes": "VBZ",
"proper": "JJ",
"starboard": "VB",
"transformed": "JJ",
"zambian": "JJ",
"lapsed": "JJ",
"sends": "VBZ",
"divided": "JJ",
"seasoned": "JJ",
"led": "VBN",
"let": "VB",
"scribbles": "VBZ",
"unswaggering": "JJ",
"blander": "JJR",
"swine": "JJ",
"dines": "VBZ",
"theirs": "JJ",
"cherish": "VB",
"make": "VB",
"delighted": "JJ",
"balanced": "JJ",
"lewd": "JJ",
"liquidated": "VBN",
"unstressed": "JJ",
"encoded": "VBN",
"filigreed": "JJ",
"hotter": "JJR",
"subsist": "VB",
"blunt": "JJ",
"jacobean": "JJ",
"weaned": "VBN",
"handmade": "JJ",
"liberalized": "VBN",
"cheated": "VBN",
"situated": "VBN",
"global": "JJ",
"quite": "JJ",
"hums": "VBZ",
"dispelled": "VBN",
"floodlighted": "JJ",
"fragile": "JJ",
"during": "IN",
"supporting": "JJ",
"burn": "VB",
"rubbery": "JJ",
"appears": "VBZ",
"detonate": "VB",
"retires": "VBZ",
"jam": "JJ",
"re-insure": "VB",
"concise": "JJ",
"gathers": "VBZ",
"dedicated": "JJ",
"saith": "VBZ",
"expanding": "JJ",
"crepe": "JJ",
"truley": "RB",
"crept": "VBD",
"tagged": "VBN",
"cold": "JJ",
"enny": "JJ",
"wielded": "VBN",
"appoints": "VBZ",
"em": "PRP",
"eh": "UH",
"except": "IN",
"er": "UH",
"showy": "JJ",
"ghanaian": "JJ",
"eluted": "VBN",
"bavarian": "JJ",
"domed": "JJ",
"even": "JJ",
"ever": "RB",
"sheer": "JJ",
"calmer": "JJR",
"shampooed": "VBN",
"pelting": "JJ",
"peck": "VBP",
"rugged": "JJ",
"shady": "JJ",
"sublime": "JJ",
"saute": "VB",
"calm": "JJ",
"sterilized": "JJ",
"hamstrung": "JJ",
"dispersed": "VBN",
"higher-caliber": "JJR",
"fifth": "CD",
"gnaw": "VB",
"unedifying": "JJ",
"solar": "JJ",
"underfunded": "JJ",
"prides": "VBZ",
"remoter": "JJR",
"seldom": "RB",
"herbal": "JJ",
"transluscent": "JJ",
"swamped": "VBN",
"diocesan": "JJ",
"unfrosted": "VBN",
"rebuild": "VB",
"rebuilt": "VBN",
"embrace": "VB",
"mediocre": "JJ",
"finish": "VB",
"videotaped": "VBN",
"woulda": "MD",
"wintered": "VBN",
"conclude": "VB",
"real": "JJ",
"preliterate": "JJ",
"detoxify": "VB",
"leapfrog": "VB",
"detract": "VB",
"reap": "VBP",
"rear": "JJ",
"servile": "JJ",
"recorded": "JJ",
"southeast": "RB",
"heated": "JJ",
"gungho": "JJ",
"prepare": "VB",
"displayed": "VBN",
"faulted": "VBN",
"appareled": "VBN",
"condemnatory": "JJ",
"subdue": "VB",
"reassumed": "VBN",
"thither": "RB",
"adsorbed": "VBN",
"bequeath": "VB",
"brown": "JJ",
"recovering": "JJ",
"very": "RB",
"apologizes": "VBZ",
"probing": "JJ",
"recruits": "VBZ",
"rudimentary": "JJ",
"answers": "VBZ",
"yummy": "JJ",
"interposed": "VBN",
"ahead": "JJ",
"agonized": "JJ",
"injure": "VB",
"girds": "VBZ",
"erode": "VB",
"exclude": "VB",
"cloying": "JJ",
"pass": "VB",
"gasp": "JJ",
"overnight": "RB",
"file": "VB",
"fill": "VB",
"uncensored": "JJ",
"dine": "VB",
"tousled": "VBN",
"painstaking": "JJ",
"prenatal": "JJ",
"unachieved": "VBN",
"cemented": "VBN",
"starve": "VB",
"since": "RB",
"temporary": "JJ",
"flaunt": "VB",
"ast": "JJ",
"ask": "VB",
"perceptual": "JJ",
"six-fold": "RB",
"liquefies": "VBZ",
"hardbound": "JJ",
"inducted": "VBN",
"prejudged": "VBN",
"squeaks": "VBZ",
"saudis": "NNPS",
"substantiated": "JJ",
"juicy": "JJ",
"bridled": "VBN",
"sensual": "JJ",
"outbound": "JJ",
"retracted": "VBN",
"flaming": "JJ",
"repossesed": "JJ",
"thy": "JJ",
"hothouse": "JJ",
"the": "DT",
"flounders": "VBZ",
"begets": "VBZ",
"spackle": "VB",
"gloved": "JJ",
"sacrificed": "VBN",
"crams": "VBZ",
"re-rated": "VBN",
"yeeeeeech": "UH",
"horrid": "JJ",
"unknowing": "JJ",
"hard": "JJ",
"likee": "VB",
"likes": "VBZ",
"described": "VBN",
"most": "JJ",
"describes": "VBZ",
"budgeted": "VBN",
"append": "VB",
"else": "RB",
"utmost": "JJ",
"straggling": "JJ",
"furthermore": "RB",
"shuttered": "JJ",
"shag": "JJ",
"overweight": "JJ",
"unrolls": "VBZ",
"wedged": "VBN",
"grind": "VBP",
"segmented": "JJ",
"mislaid": "JJ",
"unhedged": "VBN",
"moist": "JJ",
"guaranteed": "JJ",
"finished": "JJ",
"havin": "VBG",
"overriding": "JJ",
"learning": "JJ",
"shu-tt": "VB",
"verbatim": "RB",
"slash": "VB",
"chargin": "VBG",
"ochre": "JJ",
"sourdough": "JJ",
"nonequivalent": "JJ",
"lowprofile": "JJ",
"u.n.-sponsored": "JJ",
"thought": "VBD",
"required": "VBN",
"humiliated": "JJ",
"humiliates": "VBZ",
"requires": "VBZ",
"eradicated": "VBN",
"unalloyed": "JJ",
"go": "VB",
"earthbound": "JJ",
"transacted": "VBN",
"attired": "JJ",
"defamatory": "JJ",
"oddball": "JJ",
"opaque": "JJ",
"rotten": "JJ",
"stanch": "VB",
"colder": "JJR",
"repel": "VB",
"horticultural": "JJ",
"manipulate": "JJ",
"strapped": "VBN",
"benchmark": "JJ",
"nurture": "VB",
"hesitate": "VB",
"reoriented": "VBN",
"digested": "VBN",
"your": "PRP",
"compiled": "VBN",
"fostered": "VBN",
"foment": "VB",
"adjectival": "JJ",
"unsolved": "JJ",
"denuclearized": "VBN",
"aggravates": "VBZ",
"aggravated": "JJ",
"sandy": "JJ",
"lukewarm": "JJ",
"fathom": "VB",
"towering": "JJ",
"amendatory": "JJ",
"terminated": "VBN",
"fundamental": "JJ",
"managing": "JJ",
"fella": "UH",
"adjoins": "VBZ",
"chintz": "VBP",
"attach": "VB",
"overwhelming": "JJ",
"choreographed": "VBN",
"distinguishes": "VBZ",
"beg": "VBP",
"snazzy": "JJ",
"distinguished": "JJ",
"constrained": "JJ",
"floundered": "JJ",
"bloodthirsty": "JJ",
"anyway": "RB",
"farfetched": "JJ",
"parked": "VBN",
"unenvied": "JJ",
"counterterror": "JJ",
"remunerated": "JJ",
"quantified": "VBN",
"shy": "JJ",
"she": "PRP",
"sho": "UH",
"differs": "VBZ",
"horribly": "JJ",
"neither": "RB",
"wipe": "VB",
"seemed": "CP",
"spared": "VBN",
"undetermined": "JJ",
"conjoined": "VBN",
"pretend": "JJ",
"owne": "JJ",
"tired": "JJ",
"ripen": "VBP",
"owns": "VBZ",
"interrogate": "VB",
"plundered": "VBN",
"orbital": "JJ",
"incumbent": "JJ",
"compared": "VBN",
"taller": "JJR",
"spells": "VBZ",
"fine-tune": "VB",
"wooed": "VBN",
"worthwile": "VB",
"hydrolyzed": "VBN",
"lends": "VBZ",
"seizes": "VBZ",
"medieval": "JJ",
"choked": "JJ",
"citron": "JJ",
"agin": "IN",
"apiece": "RB",
"gagged": "VBN",
"torrid": "JJ",
"depicted": "VBN",
"savage": "JJ",
"intermingle": "VBP",
"onstage": "RB",
"bimonthly": "JJ",
"evaluated": "VBN",
"affected": "JJ",
"unskilled": "JJ",
"evolving": "JJ",
"never": "RB",
"piercing": "JJ",
"astute": "JJ",
"elaborated": "JJ",
"elaborates": "VBZ",
"drowned": "VBN",
"corresponding": "JJ",
"removed": "VBN",
"expose": "VB",
"loony": "JJ",
"inhabited": "VBN",
"endow": "VB",
"summarizes": "VBZ",
"give": "VB",
"crystallized": "JJ",
"peopled": "VBN",
"prickly": "JJ",
"ambivalent": "JJ",
"soaking": "RB",
"underscore": "VBP",
"weakens": "VBZ",
"wow": "JJ",
"conjectured": "VBN",
"prodigal": "JJ",
"perforated": "JJ",
"loud": "JJ",
"mutate": "VB",
"nondefense": "JJ",
"depraved": "JJ",
"espouse": "VBP",
"replenished": "VBN",
"repatriate": "VB",
"government-set": "VBN",
"unleashes": "VBZ",
"folded": "VBN",
"integrate": "VB",
"somnambulates": "VBZ",
"stop": "VB",
"comply": "VB",
"briefer": "JJR",
"briefed": "VBN",
"tantamount": "JJ",
"juxtapose": "VBP",
"were": "CP",
"abnormal": "JJ",
"devoted": "JJ",
"unsloped": "JJ",
"recognised": "JJ",
"obtained": "VBN",
"sunshiny": "JJ",
"misquoted": "VBN",
"near": "JJ",
"apocryphal": "JJ",
"neat": "JJ",
"despite": "IN",
"is": "CP",
"it": "PRP",
"in": "IN",
"sanitized": "VBN",
"overstated": "JJ",
"anoint": "VB",
"bottled": "VBN",
"overstates": "VBZ",
"astringent": "JJ",
"redevelop": "VB",
"practiced": "JJ",
"minicar": "JJ",
"sporting": "JJ",
"identify": "VB",
"supernormal": "JJ",
"regarded": "VBN",
"defray": "VB",
"beholds": "VBZ",
"targo": "JJ",
"unexplored": "JJ",
"daytime": "JJ",
"unmagnified": "JJ",
"untenured": "VBN",
"intellectual": "JJ",
"snorts": "VBZ",
"lurid": "JJ",
"unvarying": "JJ",
"separated": "JJ",
"sidestep": "VB",
"fashioned": "JJ",
"gowned": "JJ",
"nonpareil": "JJ",
"jeffersonian": "JJ",
"alerts": "VBZ",
"derail": "VB",
"sobering": "JJ",
"mobilized": "VBN",
"skip": "VB",
"skim": "JJ",
"explicit": "JJ",
"where": "WRB",
"banished": "VBN",
"miniaturized": "VBN",
"banishes": "VBZ",
"two-timed": "VBN",
"less-liquid": "JJR",
"ere": "IN",
"leatherbound": "JJ",
"unrestricted": "JJ",
"quack": "JJ",
"pollute": "JJ",
"satirizes": "VBZ",
"subsistent": "JJ",
"antismoking": "JJ",
"deceased": "JJ",
"caring": "JJ",
"coincident": "JJ",
"dutch": "JJ",
"strainin": "VBG",
"till": "IN",
"hubba": "UH",
"whodunnit": "UH",
"designed": "JJ",
"scalloped": "JJ",
"gaussian": "JJ",
"fluent": "JJ",
"thorny": "JJ",
"feared": "JJ",
"cute": "JJ",
"plagiarized": "JJ",
"serenaded": "VBN",
"extirpated": "VBN",
"nouveau": "JJ",
"captivated": "VBN",
"shatter": "VB",
"sooner": "RB",
"killed": "VBN",
"unwashed": "JJ",
"southwestern": "JJ",
"aloof": "JJ",
"socialized": "JJ",
"undulate": "VB",
"socializes": "VBZ",
"unless": "IN",
"already": "RB",
"rewrites": "VBZ",
"scandalizes": "VBZ",
"rivets": "VBZ",
"vermeil": "JJ",
"midsized": "JJ",
"massaged": "VBN",
"gotta": "VB",
"commends": "VBZ",
"personalized": "JJ",
"weakwilled": "JJ",
"fills": "VBZ",
"wreathed": "VBN",
"arrayed": "VBN",
"filed": "VBN",
"contemporary": "JJ",
"lieder": "JJ",
"underage": "JJ",
"ruddy": "JJ",
"unsecured": "JJ",
"steadfast": "JJ",
"forgive": "VB",
"oversized": "JJ",
"pillared": "JJ",
"indelicate": "JJ",
"elizabethan": "JJ",
"disconnected": "JJ",
"endowed": "JJ",
"middle": "JJ",
"insofar": "RB",
"devours": "VBZ",
"munch": "VB",
"intermittent": "JJ",
"imprint": "VB",
"vivify": "VB",
"liken": "VBP",
"dimensioning": "JJ",
"nosy": "JJ",
"specifies": "VBZ",
"specified": "JJ",
"new": "JJ",
"net": "JJ",
"gross": "JJ",
"buttressed": "VBN",
"broken": "JJ",
"highest-priced": "JJS",
"tease": "VB",
"othe": "JJ",
"arty": "JJ",
"many": "JJ",
"suffering": "JJ",
"collosal": "JJ",
"anemated": "VBN",
"undereducated": "JJ",
"leaked": "VBN",
"croons": "VBZ",
"unaccustomed": "JJ",
"tackle": "VB",
"revolve": "VB",
"remote": "JJ",
"restructure": "VB",
"nutrient": "JJ",
"starting": "JJ",
"suburban": "JJ",
"b-reflects": "VBZ",
"transcaucasian": "JJ",
"overdone": "JJ",
"scour": "VBP",
"benevolent": "JJ",
"titled": "VBN",
"knitted": "VBN",
"unreported": "JJ",
"pupated": "VBN",
"venerated": "VBN",
"biweekly": "JJ",
"drubbed": "VBN",
"fatter": "JJR",
"search": "VB",
"fatten": "VB",
"bathe": "VB",
"seceded": "VBN",
"debugged": "VBN",
"establish": "VB",
"our": "PRP",
"out": "JJ",
"both": "RB",
"federal": "JJ",
"brisk": "JJ",
"dammit": "UH",
"compare": "VB",
"buttress": "VB",
"socal": "JJ",
"petite": "JJ",
"coax": "VB",
"what": "WP",
"finalized": "VBN",
"wham": "UH",
"whah": "WRB",
"ranking": "JJ",
"render": "VB",
"clamor": "VBP",
"bereft": "JJ",
"detach": "VB",
"token": "JJ",
"clamp": "VB",
"implicated": "VBN",
"avenge": "VB",
"chin-use": "VB",
"squeezed": "VBN",
"omit": "JJ",
"convicts": "VBZ",
"bullies": "VBZ",
"smaller": "JJR",
"slight": "JJ",
"beardown": "JJ",
"plead": "JJ",
"collateralized": "JJ",
"schizoid": "JJ",
"extracted": "VBN",
"squelched": "VBN",
"encouraging": "JJ",
"squelch": "VBP",
"antisubmarine": "JJ",
"cumulate": "VB",
"individual": "JJ",
"tender": "JJ",
"enveloped": "VBN",
"manumitted": "VBN",
"overvalued": "JJ",
"trespassed": "VBN",
"create": "VB",
"understand": "VB",
"unify": "VB",
"enchanted": "JJ",
"bilk": "VB",
"defending": "JJ",
"incorrect": "JJ",
"shoddy": "JJ",
"cadge": "VBP",
"itch": "JJ",
"knowed": "VBN",
"zodiacal": "JJ",
"excites": "VBZ",
"bridal": "JJ",
"co-managed": "VBN",
"per": "IN",
"simplex": "JJ",
"peg": "VBP",
"defrayed": "VBN",
"engorged": "VBN",
"conciliatory": "JJ",
"uncaused": "JJ",
"forward": "JJ",
"doctored": "VBN",
"weaker": "JJR",
"nodular": "JJ",
"juxtaposed": "VBN",
"soon": "RB",
"fogged": "JJ",
"plugged": "JJ",
"fiberglas": "JJ",
"excrete": "VB",
"intercede": "VB",
"fished": "VBN",
"oceanthermal": "JJ",
"retranslated": "VBN",
"amused": "JJ",
"worldly": "JJ",
"dogged": "VBN",
"granular": "JJ",
"inject": "VB",
"subservient": "JJ",
"select": "JJ",
"tinny": "JJ",
"bloodshot": "JJ",
"nonexistent": "JJ",
"resurrect": "VB",
"ashamed": "JJ",
"grandmotherly": "JJ",
"nullified": "VBN",
"celiac": "JJ",
"shining": "JJ",
"whitehaired": "JJ",
"druther": "VB",
"fete": "VB",
"aft": "RB",
"resist": "VB",
"sic": "RB",
"repassed": "VBN",
"ahdawam": "UH",
"vivified": "VBN",
"thwart": "VB",
"transported": "VBN",
"programmed": "JJ",
"defend": "VB",
"red": "JJ",
"retrieved": "VBN",
"expect": "VB",
"cured": "JJ",
"rusticated": "VBN",
"afield": "RB",
"splotched": "JJ",
"rippled": "JJ",
"slack": "JJ",
"thyroidal": "JJ",
"flee": "VB",
"hazel": "JJ",
"heartening": "JJ",
"absurd": "JJ",
"rusted": "JJ",
"thrives": "VBZ",
"excreted": "VBN",
"pistol-whipping": "IN",
"oriental": "JJ",
"dissolves": "VBZ",
"heightens": "VBZ",
"boil": "VB",
"exploited": "JJ",
"grumble": "VBP",
"predispose": "VB",
"conquered": "JJ",
"passing": "JJ",
"unventilated": "VBN",
"laugh": "JJ",
"weird": "JJ",
"piecewise": "RB",
"lithuanian": "JJ",
"perplexed": "JJ",
"arisen": "VBN",
"prosy": "JJ",
"portray": "VB",
"untoward": "JJ",
"bullying": "JJ",
"flew": "VBD",
"besmirch": "VB",
"center": "JJ",
"roughhewn": "JJ",
"overshadowed": "VBN",
"retiring": "JJ",
"supercharged": "JJ",
"oops": "JJ",
"fixated": "VBN",
"surpass": "VB",
"anye": "JJ",
"raves": "VBZ",
"testy": "JJ",
"condescending": "JJ",
"mushroomed": "VBN",
"legislated": "VBN",
"obsessed": "JJ",
"lousy": "JJ",
"rendered": "VBN",
"varitinted": "JJ",
"again": "RB",
"buy": "VB",
"co-anchored": "VBN",
"but": "RB",
"shute": "VB",
"misty": "JJ",
"meantime": "RB",
"virtual": "JJ",
"annihilate": "VB",
"augmented": "VBN",
"represent": "VB",
"placated": "VBN",
"nonresident": "JJ",
"every": "DT",
"upstream": "RB",
"crocketed": "JJ",
"persuade": "JJ",
"freehand": "RB",
"sheeted": "JJ",
"transmits": "VBZ",
"bulks": "VBZ",
"proportioned": "JJ",
"housed": "VBN",
"quarrel": "JJ",
"smart": "JJ",
"arbitrate": "VB",
"imbued": "VBN",
"selected": "JJ",
"fade": "VBP",
"sturdy": "JJ",
"roost": "VB",
"skeletal": "JJ",
"woolgather": "VB",
"lasting": "JJ",
"co-produce": "VB",
"got": "VBD",
"periodontal": "JJ",
"labored": "JJ",
"working": "JJ",
"sober": "JJ",
"abates": "VBZ",
"took": "VBD",
"abated": "VBN",
"nonpartisan": "JJ",
"whereby": "WRB",
"unsentimental": "JJ",
"dying": "JJ",
"doughty": "JJ",
"absent": "JJ",
"romantick": "JJ",
"epistolatory": "JJ",
"blinking": "JJ",
"baffle": "VB",
"disabled": "JJ",
"interspersed": "VBN",
"discriminating": "JJ",
"amalgamated": "VBN",
"postride": "JJ",
"luminescent": "JJ",
"unificationist": "JJ",
"improve": "VB",
"layered": "VBN",
"unfurled": "VBN",
"trampled": "VBN",
"usurped": "VBN",
"lessen": "VB",
"lesser": "JJ",
"inexplicit": "JJ",
"complex": "JJ",
"vilifies": "VBZ",
"interprets": "VBZ",
"content": "JJ",
"reapportion": "VBP",
"apart": "JJ",
"intertwined": "VBN",
"clearheaded": "JJ",
"educate": "VB",
"reunifed": "VBN",
"untried": "JJ",
"embodied": "VBN",
"rattled": "JJ",
"reinvest": "VB",
"cooped": "JJ",
"implores": "VBZ",
"ironclad": "JJ",
"erodes": "VBZ",
"cooled": "VBN",
"froze": "VBD",
"taffy": "JJ",
"survive": "VB",
"lags": "VBZ",
"head": "JJ",
"medium": "JJ",
"heal": "VB",
"hear": "VB",
"adore": "VBP",
"co-opted": "VBN",
"southernmost": "JJ",
"adorn": "VB",
"withhold": "VB",
"backward": "JJ",
"flowered": "JJ",
"thawed": "JJ",
"indebted": "JJ",
"denounces": "VBZ",
"inland": "JJ",
"allout": "JJ",
"retroviral": "JJ",
"dissipates": "VBZ",
"dissipated": "JJ",
"unidentified": "JJ",
"pearly": "JJ",
"hungarian": "JJ",
"push": "VB",
"corrupted": "JJ",
"considered": "JJ",
"speaks": "VBZ",
"evoke": "VB",
"reposition": "VB",
"misbegotten": "JJ",
"asleep": "JJ",
"undervalued": "JJ",
"blocked": "JJ",
"coordinated": "JJ",
"sparing": "JJ",
"appraised": "VBN",
"warranted": "VBN",
"feathered": "JJ",
"slumps": "VBZ",
"lower-paid": "JJR",
"weighted": "JJ",
"pillaged": "JJ",
"blacked": "VBN",
"reckons": "VBZ",
"sustains": "VBZ",
"shakespearian": "JJ",
"someplace": "RB",
"sovereign": "JJ",
"disinterested": "JJ",
"circa": "RB",
"greatcoated": "JJ",
"huh": "UH",
"circulates": "VBZ",
"petrified": "JJ",
"tawdry": "JJ",
"armored": "JJ",
"underprepared": "JJ",
"stolid": "JJ",
"overjoyed": "JJ",
"exploratory": "JJ",
"vetted": "VBN",
"woolen": "JJ",
"crimp": "VB",
"hooting": "JJ",
"narrows": "VBZ",
"substitutionary": "JJ",
"tailor": "VB",
"ancestral": "JJ",
"violates": "VBZ",
"best-run": "JJS",
"darin": "JJ",
"smiling": "JJ",
"unleaded": "JJ",
"runaway": "JJ",
"gaited": "JJ",
"was": "CP",
"paying": "JJ",
"amend": "VB",
"straitjacketed": "JJ",
"someday": "RB",
"unrolled": "JJ",
"silver": "JJ",
"ninefold": "JJ",
"idle": "JJ",
"threaded": "VBN",
"tigrean": "JJ",
"guided": "JJ",
"overlapped": "VBN",
"scheduled": "JJ",
"loaned": "VBN",
"tall": "JJ",
"sheared": "JJ",
"unnerving": "JJ",
"revised": "JJ",
"finally": "JJ",
"recalls": "VBZ",
"boasts": "VBZ",
"outpaces": "VBZ",
"floured": "VBN",
"fusty": "JJ",
"nutty": "JJ",
"communicate": "VB",
"nudist": "JJ",
"subdues": "VBZ",
"amber": "JJ",
"garner": "VB",
"abrogate": "VB",
"strict": "JJ",
"racist": "JJ",
"condone": "VB",
"equated": "VBN",
"x-there": "EX",
"revamps": "VBZ",
"drawin": "VBG",
"unteach": "VB",
"unneeded": "JJ",
"dismayed": "JJ",
"suffers": "VBZ",
"fetid": "JJ",
"cromwellian": "JJ",
"multimegaton": "JJ",
"unscathed": "JJ",
"likely": "JJ",
"rimmed": "JJ",
"underutilized": "VBN",
"migrated": "VBN",
"faint": "JJ",
"migrates": "VBZ",
"unmoved": "JJ",
"longstrained": "VBN",
"assuage": "VB",
"depending": "JJ",
"equivocal": "JJ",
"induce": "VB",
"rebounds": "VBZ",
"sanctify": "VB",
"interlaced": "VBN",
"misinterpret": "VB",
"sculptural": "JJ",
"golly": "UH",
"drips": "VBZ",
"draughty": "JJ",
"recast": "VB",
"debated": "VBN",
"arise": "VBP",
"cultivate": "VB",
"cleansing": "JJ",
"emulate": "VB",
"rotund": "JJ",
"unhip": "JJ",
"interesting": "JJ",
"underwhelmed": "VBN",
"paunchy": "JJ",
"utilizes": "VBZ",
"glide": "VB",
"muddied": "JJ",
"evaded": "VBN",
"bigger": "JJR",
"utilized": "VBN",
"nab": "VB",
"modernized": "JJ",
"third": "CD",
"male": "JJ",
"turne": "VB",
"unhealthy": "JJ",
"rankles": "VBZ",
"pedal": "VB",
"overrode": "VBD",
"moan": "VB",
"prescient": "JJ",
"newer": "JJR",
"unchecked": "JJ",
"gangling": "JJ",
"asham": "JJ",
"outstanding": "JJ",
"delisted": "VBN",
"semiliterate": "JJ",
"interferes": "VBZ",
"reckon": "VB",
"pillage": "JJ",
"reunited": "VBN",
"measured": "JJ",
"dissolved": "JJ",
"zey": "PRP",
"perfect": "JJ",
"aggravate": "VBP",
"nevertheless": "RB",
"revered": "JJ",
"epicurean": "JJ",
"short": "JJ",
"nailed": "VBN",
"succeed": "VB",
"bolster": "VB",
"illumines": "VBZ",
"corrode": "VBP",
"leans": "VBZ",
"tradedistorting": "JJ",
"arrives": "VBZ",
"wallops": "VBZ",
"robust": "JJ",
"equalled": "VBN",
"bounces": "VBZ",
"unwomanly": "JJ",
"jots": "VBZ",
"flabbergasted": "JJ",
"streaming": "JJ",
"guar": "JJ",
"jumpy": "JJ",
"beleaguered": "JJ",
"procedural": "JJ",
"decries": "VBZ",
"mustached": "JJ",
"introverted": "JJ",
"deployed": "VBN",
"higher-profit": "JJR",
"beguiling": "JJ",
"saturate": "VB",
"associated": "JJ",
"underground": "JJ",
"elected": "JJ",
"develops": "VBZ",
"weigh": "VB",
"andean": "JJ",
"proximate": "JJ",
"panamanian": "JJ",
"jovian": "JJ",
"overlaps": "VBZ",
"reinterpret": "VB",
"incoherent": "JJ",
"light": "JJ",
"slated": "VBN",
"yalagaloo": "UH",
"elderly": "JJ",
"treat": "VB",
"redo": "VB",
"rackety": "JJ",
"intervenes": "VBZ",
"by-passed": "VBN",
"taiwanese": "JJ",
"amethystine": "JJ",
"purports": "VBZ",
"befits": "VBZ",
"unites": "VBZ",
"shows": "VBZ",
"cheaper": "JJR",
"ferret": "VB",
"spreads": "VBZ",
"saturated": "JJ",
"permanent": "JJ",
"orange": "JJ",
"eastward": "RB",
"bumbling": "JJ",
"impaired": "JJ",
"unpublicized": "JJ",
"profound": "JJ",
"pro": "JJ",
"mitral": "JJ",
"mothered": "VBN",
"which": "WDT",
"flustered": "JJ",
"wilsonian": "JJ",
"promptly": "JJ",
"usual": "JJ",
"manicures": "VBZ",
"illicit": "JJ",
"manicured": "VBN",
"lemme": "VB",
"steams": "VBZ",
"rousseauan": "JJ",
"postgraduate": "JJ",
"shallow": "JJ",
"boring": "JJ",
"westward": "RB",
"alienating": "JJ",
"=": "SYM",
"comest": "VBP",
"halved": "VBN",
"filmed": "VBN",
"interclass": "JJ",
"myriad": "JJ",
"spent": "JJ",
"trims": "VBZ",
"uneven": "JJ",
"expel": "VB",
"junks": "VBZ",
"freckled": "JJ",
"confused": "JJ",
"unlikely": "JJ",
"illiquid": "JJ",
"unconvincing": "JJ",
"narrower": "JJR",
"misapplied": "VBN",
"narrowed": "JJ",
"literal": "JJ",
"sidesteps": "VBZ",
"floats": "VBZ",
"sufficient": "JJ",
"jaded": "JJ",
"acknowledges": "VBZ",
"trumped": "VBN",
"dual": "JJ",
"snuck": "VBD",
"intelligent": "JJ",
"aftuh": "RB",
"wealthy": "JJ",
"reconsidered": "VBN",
"enact": "VB",
"captivating": "JJ",
"meager": "JJ",
"below": "RB",
"throughout": "RB",
"mined": "VBN",
"patiently": "JJ",
"obey": "JJ",
"analysed": "VBN",
"sectarian": "JJ",
"taxpaying": "JJ",
"own": "JJ",
"policed": "VBN",
"demonstrate": "VB",
"rickety": "JJ",
"recork": "VB",
"triphosphopyridine": "JJ",
"apportioned": "VBN",
"quicker": "JJR",
"pricey": "JJ",
"foul": "JJ",
"until": "IN",
"quadruple": "JJ",
"outwit": "JJ",
"demoted": "VBN",
"callin": "VBG",
"tantalizing": "JJ",
"lignite": "JJ",
"vast": "JJ",
"disunited": "JJ",
"tolerate": "VB",
"grovels": "VBZ",
"fissured": "VBN",
"unwanted": "JJ",
"reticulate": "JJ",
"standardized": "JJ",
"taffycolored": "VBN",
"grimed": "VBN",
"overextend": "VBP",
"unmasked": "VBN",
"despondent": "JJ",
"renowned": "JJ",
"monthly": "JJ",
"recruited": "VBN",
"wrought": "VBN",
"unforeseen": "JJ",
"lenient": "JJ",
"code-named": "VBN",
"unwary": "JJ",
"emulsified": "VBN",
"super": "JJ",
"written": "JJ",
"withered": "JJ",
"shipped": "VBN",
"speedy": "JJ",
"repealed": "VBN",
"caught": "VBN",
"due": "JJ",
"infused": "VBN",
"prepurchase": "JJ",
"bethought": "VB",
"lunges": "VBZ",
"expunged": "VBN",
"crawl": "VB",
"untrained": "JJ",
"gripe": "VBP",
"recommended": "JJ",
"debonair": "JJ",
"reverberated": "VBN",
"camp": "JJ",
"rotary": "JJ",
"came": "VBD",
"reschedule": "VB",
"participate": "VB",
"unmanaged": "JJ",
"quaint": "JJ",
"ballyhooed": "VBN",
"organizes": "VBZ",
"pre-empt": "VB",
"denounce": "VBP",
"encompassing": "JJ",
"resigned": "JJ",
"pressured": "JJ",
"oedipal": "JJ",
"wanted": "JJ",
"fullscale": "JJ",
"reconstitute": "VB",
"blessed": "JJ",
"planned": "JJ",
"alternate": "JJ",
"munches": "VBZ",
"hers": "PRP",
"gloats": "VBZ",
"doth": "VBZ",
"gritty": "JJ",
"excited": "JJ",
"overpowers": "VBZ",
"upscale": "JJ",
"damaged": "JJ",
"naw": "UH",
"verify": "VB",
"haggard": "JJ",
"simulates": "VBZ",
"beset": "VBN",
"simulated": "JJ",
"dissects": "VBZ",
"thank": "VB",
"that": "WP",
"subsequent": "JJ",
"than": "RB",
"brought": "VBN",
"ballooned": "VBN",
"polluted": "JJ",
"shakes": "VBZ",
"rejects": "VBZ",
"annualized": "VBN",
"hulking": "JJ",
"few": "JJ",
"sow": "VBP",
"latino": "JJ",
"authorizes": "VBZ",
"waits": "VBZ",
"inside": "JJ",
"faster-working": "JJR",
"buoyed": "VBN",
"centrifuged": "VBN",
"unused": "JJ",
"pet": "JJ",
"conferred": "VBN",
"skate": "VB",
"obsessively": "JJ",
"reverting": "JJ",
"persevere": "JJ",
"everytime": "RB",
"amoral": "JJ",
"alaouite": "JJ",
"cheek-to-jowl": "RB",
"morover": "JJR",
"convenes": "VBZ",
"fake": "JJ",
"flagging": "JJ",
"crammed": "VBN",
"angry": "JJ",
"enriched": "JJ",
"wicked": "JJ",
"sintered": "VBN",
"sanctified": "JJ",
"inflamed": "JJ",
"stole": "VBD",
"savor": "VB",
"undertook": "VBD",
"revealed": "JJ",
"opinionated": "JJ",
"sl": "UH",
"drunken": "JJ",
"augurs": "VBZ",
"wrappin": "VBG",
"flips": "VBZ",
"frequents": "VBZ",
"bulldoze": "VB",
"drunker": "JJR",
"sacrosanct": "JJ",
"tore": "VBD",
"avid": "JJ",
"how": "WRB",
"torn": "JJ",
"sylvan": "JJ",
"mideastern": "JJ",
"learned": "JJ",
"suhthuhn": "JJ",
"squared": "JJ",
"abide": "VB",
"bumpy": "JJ",
"scarred": "JJ",
"open": "JJ",
"partook": "VBP",
"hmpf": "UH",
"hmm": "JJ",
"deglycerolized": "VBN",
"convene": "VB",
"begotten": "VBN",
"infected": "JJ",
"homemade": "JJ",
"preprepared": "VBN",
"fooled": "VBN",
"favors": "VBZ",
"individualized": "JJ",
"unadited": "JJ",
"blinding": "JJ",
"staffed": "VBN",
"crochet": "VB",
"nonlethal": "JJ",
"scattered": "JJ",
"versa": "RB",
"murmurs": "VBZ",
"merit": "JJ",
"debunk": "VB",
"unplagued": "VBN",
"rephrase": "VB",
"freezing": "JJ",
"hinged": "VBN",
"anyways": "UH",
"securities": "NNPS",
"concentrate": "VB",
"mans": "VBZ",
"raddled": "JJ",
"unamortized": "JJ",
"hurts": "VBZ",
"swashbuckling": "JJ",
"recaptured": "VBN",
"concede": "VBP",
"enable": "VB",
"antiquarian": "JJ",
"nonqualified": "VBN",
"diffuse": "JJ",
"spiritual": "JJ",
"profane": "JJ",
"aerosolized": "VBN",
"binary": "JJ",
"prevail": "VB",
"licit": "JJ",
"barbed": "JJ",
"escape": "VB",
"recapture": "VB",
"customized": "JJ",
"clobber": "VB",
"starving": "JJ",
"around": "RB",
"scurrying": "JJ",
"danubian": "JJ",
"expanded": "VBN",
"undercuts": "VBZ",
"cozy": "JJ",
"away": "JJ",
"legged": "JJ",
"shies": "VBZ",
"hev": "VB",
"her": "PP",
"bristles": "VBZ",
"hey": "UH",
"u.s.japan": "JJ",
"underdressed": "JJ",
"browbeaten": "VBN",
"invigorating": "JJ",
"appalling": "JJ",
"solaced": "VBN",
"misplace": "VB",
"resell": "VB",
"mass": "JJ",
"evicted": "VBN",
"uncounted": "JJ",
"overpowered": "VBN",
"misrouted": "VBN",
"immiserated": "JJ",
"sentient": "JJ",
"latvian": "JJ",
"welded": "VBN",
"transposed": "VBN",
"reacquired": "VBN",
"expends": "VBZ",
"beheld": "VBD",
"pulls": "VBZ",
"prompt": "JJ",
"att": "IN",
"glowing": "JJ",
"relinquished": "JJ",
"sq": "JJ",
"waver": "VBP",
"decontaminated": "VBN",
"refuse": "JJ",
"inquire": "VB",
"m-m-m": "UH",
"stealin": "VBG",
"laced": "VBN",
"lacey": "JJ",
"transbay": "JJ",
"speculate": "VB",
"hereafter": "RB",
"unsprayed": "VBN",
"found": "VBD",
"dosed": "VBN",
"reduce": "VB",
"embattled": "JJ",
"launches": "VBZ",
"demure": "JJ",
"sublimed": "VBN",
"belies": "VBZ",
"qualify": "JJ",
"housebound": "JJ",
"longneck": "JJ",
"rooted": "JJ",
"belligerent": "JJ",
"unpleased": "VBN",
"rude": "JJ",
"omnipresent": "JJ",
"polarized": "VBN",
"teensy": "JJ",
"beforehand": "JJ",
"pedestrian": "JJ",
"majoritarian": "JJ",
"herniated": "VBN",
"honduran": "JJ",
"dragged": "VBN",
"drenched": "JJ",
"lengthwise": "RB",
"banned": "VBN",
"re-edited": "VBN",
"potent": "JJ",
"backfire": "VB",
"baritone": "JJ",
"weickerian": "JJ",
"frosty": "JJ",
"u.s.-mexican": "JJ",
"champion": "JJ",
"stung": "JJ",
"selfdamaging": "JJ",
"limited": "JJ",
"italicized": "VBN",
"equilibrated": "VBN",
"befuddled": "JJ",
"befuddles": "VBZ",
"entrenched": "JJ",
"squandered": "VBN",
"continue": "VB",
"aloft": "RB",
"digitizes": "VBZ",
"weatherbeaten": "JJ",
"striven": "VBN",
"strives": "VBZ",
"hoo-pig": "UH",
"uh": "UH",
"deviate": "VB",
"lucid": "JJ",
"holed": "VBN",
"melts": "VBZ",
"knotted": "JJ",
"tattered": "JJ",
"soften": "VB",
"longstanding": "JJ",
"edgewise": "RB",
"pestilent": "JJ",
"stocked": "VBN",
"creeps": "VBZ",
"racy": "JJ",
"licensed": "JJ",
"imply": "VB",
"aboveboard": "JJ",
"sixth": "CD",
"resulting": "JJ",
"buffered": "VBN",
"unmasculine": "JJ",
"causal": "JJ",
"exciting": "JJ",
"unplug": "VB",
"prompts": "VBZ",
"nonliterary": "JJ",
"slid": "VBD",
"slim": "JJ",
"slip": "VB",
"higher-fat": "JJR",
"fits": "VBZ",
"chosen": "JJ",
"mitigates": "VBZ",
"wholesale": "RB",
"outlined": "VBN",
"innermost": "JJ",
"launder": "VB",
"legendary": "JJ",
"regionalism": "JJ",
"minimalist": "JJ",
"castigate": "VB",
"antimissile": "JJ",
"delineate": "VB",
"graze": "VBP",
"point": "JJ",
"put": "VB",
"ultramodern": "JJ",
"yells": "VBZ",
"actual": "JJ",
"difficult": "JJ",
"disengage": "VB",
"meanin": "VBG",
"bother": "VB",
"trusting": "JJ",
"reassuring": "JJ",
"gentle": "JJ",
"fourteenth": "CD",
"awed": "JJ",
"astride": "RB",
"awes": "VBZ",
"midmonth": "RB",
"tramps": "VBZ",
"incarcerate": "VB",
"briny": "JJ",
"pitched": "JJ",
"burnished": "VBN",
"meant": "VBD",
"because": "IN",
"unexecuted": "VBN",
"meted": "VBN",
"packed": "JJ",
"rejoins": "VBZ",
"reappears": "VBZ",
"invited": "VBN",
"scribe": "VB",
"invites": "VBZ",
"inspiring": "JJ",
"distil": "VB",
"concerted": "JJ",
"whitewashed": "JJ",
"appalls": "VBZ",
"fitting": "JJ",
"askew": "RB",
"upmarket": "JJ",
"concealed": "JJ",
"grew": "VBD",
"pleasantly": "JJ",
"fascinate": "VB",
"renegotiated": "VBN",
"closer": "JJR",
"immortalized": "VBN",
"fuming": "JJ",
"clipped": "VBN",
"exempt": "JJ",
"supervise": "VB",
"whopping": "JJ",
"redound": "VB",
"inexperienced": "JJ",
"treks": "VBZ",
"out-compete": "VB",
"dependent": "JJ",
"broader": "JJR",
"centrist": "JJ",
"rectify": "JJ",
"assess": "VB",
"contrarian": "JJ",
"larval": "JJ",
"impeding": "JJ",
"insanely": "JJ",
"compute": "VB",
"tertian": "JJ",
"appraise": "VB",
"contribute": "VB",
"unsavory": "JJ",
"r-revised": "VBN",
"scholarly": "JJ",
"ticketed": "VBN",
"superefficient": "JJ",
"defraud": "VB",
"begrudge": "VB",
"pique": "JJ",
"bubbling": "JJ",
"frank": "JJ",
"kindred": "JJ",
"unveiled": "JJ",
"motivate": "JJ",
"hamiltonian": "JJ",
"hatted": "VBN",
"validated": "VBN",
"welsh": "JJ",
"witching": "JJ",
"hasty": "JJ",
"infested": "JJ",
"decide": "VB",
"highlights": "VBZ",
"bespeak": "VBP",
"versus": "IN",
"woken": "VBN",
"affianced": "VBN",
"absolve": "VBP",
"kneels": "VBZ",
"confess": "VB",
"transcends": "VBZ",
"motorized": "JJ",
"attested": "VBN",
"mourning": "JJ",
"lies": "VBZ",
"buys": "VBZ",
"created": "VBN",
"creates": "VBZ",
"regress": "VB",
"contrary": "JJ",
"vulgar": "JJ",
"daunting": "JJ",
"sparse": "JJ",
"guzzle": "VB",
"thick": "JJ",
"happily": "JJ",
"minus": "CC",
"effectuate": "VB",
"quieter": "JJR",
"laden": "JJ",
"hamper": "VB",
"transmit": "VB",
"frozen": "JJ",
"exercised": "VBN",
"went": "VBD",
"missed": "JJ",
"doped": "JJ",
"steadying": "JJ",
"european": "JJ",
"deepest": "RB",
"fiscal": "JJ",
"gored": "VBN",
"quick": "JJ",
"uninhabited": "JJ",
"indonesian": "JJ",
"warmed-over": "IN",
"ocular": "JJ",
"brag": "VB",
"condemned": "VBN",
"cleaning": "JJ",
"deterred": "VBN",
"aim": "VB",
"inspired": "JJ",
"launched": "VBN",
"prescribed": "JJ",
"prescribes": "VBZ",
"kali": "VBP",
"nondrying": "JJ",
"bandied": "VBN",
"re-activate": "VB",
"expelled": "VBN",
"vies": "VBZ",
"augur": "VBP",
"honored": "VBN",
"somersaulting": "JJ",
"mulls": "VBZ",
"goldbanded": "VBN",
"bound": "JJ",
"insider": "JJR",
"capped": "JJ",
"mutates": "VBZ",
"divertimento": "JJ",
"mutated": "VBN",
"converse": "VB",
"true": "JJ",
"left": "JJ",
"nationwide": "JJ",
"undefeated": "JJ",
"anew": "RB",
"inquiring": "JJ",
"lowering": "JJ",
"lumped": "VBN",
"write": "VB",
"topped": "JJ",
"concurrent": "JJ",
"governed": "JJ",
"outlive": "VB",
"collared": "VBN",
"loyal": "JJ",
"erased": "VBN",
"margined": "VBN",
"unmixed": "VBN",
"bowenized": "VBN",
"perceived": "JJ",
"just": "JJ",
"perceives": "VBZ",
"woven": "VBN",
"unsubsidized": "JJ",
"appear": "VBP",
"georgian": "JJ",
"sells": "VBZ",
"incoming": "JJ",
"impatiently": "JJ",
"penalizes": "VBZ",
"outfly": "VB",
"penalized": "VBN",
"stingy": "JJ",
"prove": "JJ",
"cuter": "JJR",
"pity": "JJ",
"hesitates": "VBZ",
"unsung": "JJ",
"undiversified": "JJ",
"hardest": "RB",
"renders": "VBZ",
"can": "MD",
"nonpaying": "JJ",
"o": "IN",
"repackaged": "VBN",
"unwavering": "JJ",
"bitter": "JJ",
"freezes": "VBZ",
"deviates": "VBZ",
"priestly": "JJ",
"deactivated": "VBN",
"deactivates": "VBZ",
"compress": "VB",
"scarcer": "JJR",
"intrigued": "JJ",
"hurried": "JJ",
"hurries": "VBZ",
"happen": "VB",
"antiwar": "JJ",
"worshiped": "VBN",
"side-by-side": "RB",
"carp": "VBP",
"counteracted": "VBN",
"beautify": "VBP",
"entrusted": "VBN",
"linked": "VBN",
"indecent": "JJ",
"untrue": "JJ",
"drove": "VBD",
"checked": "VBN",
"locking": "JJ",
"comfy": "JJ",
"distorted": "JJ",
"uncousinly": "JJ",
"]": ")",
"forever": "RB",
"unamended": "JJ",
"underestimates": "VBZ",
"thefin": "VBG",
"rambling": "JJ",
"u.s.-made": "JJ",
"southwest": "RB",
"overwritten": "JJ",
"peritoneal": "JJ",
"crotchety": "JJ",
"effectual": "JJ",
"incite": "VB",
"blame": "VB",
"pertain": "VBP",
"oh-the-pain-of-it": "UH",
"through": "JJ",
"newfound": "JJ",
"evict": "VB",
"stick": "VB",
"prurient": "JJ",
"confectionary": "JJ",
"pleads": "VBZ",
"petted": "VBN",
"bigoted": "JJ",
"anecdotal": "JJ",
"smelt": "VBD",
"enchanting": "JJ",
"comment": "VB",
"gimmee": "UH",
"fleeced": "VBN",
"warms": "VBZ",
"zany": "JJ",
"unfold": "VB",
"unaccounted": "JJ",
"commend": "VB",
"bespectacled": "JJ",
"fullyear": "JJ",
"uneasy": "JJ",
"wold": "MD",
"backbench": "JJ",
"seek": "VB",
"snuffed": "VBN",
"computerized": "JJ",
"suited": "JJ",
"fancy": "JJ",
"untidy": "JJ",
"refocus": "VB",
"equate": "VB",
"maladjusted": "JJ",
"concurring": "JJ",
"colossal": "JJ",
"overturns": "VBZ",
"staged": "JJ",
"modify": "VB",
"unproven": "JJ",
"disassociate": "VB",
"toys": "NNPS",
"entails": "VBZ",
"instrumental": "JJ",
"mounted": "VBN",
"offended": "JJ",
"decapitalized": "JJ",
"northernmost": "JJ",
"sneak": "VB",
"custom-make": "VB",
"crafty": "JJ",
"help": "VB",
"sooo": "RB",
"teeming": "JJ",
"acculturated": "VBN",
"nondollar": "JJ",
"ye": "PRP",
"vomit": "VBP",
"anticipates": "VBZ",
"ys": "VBZ",
"stopped": "JJ",
"positioned": "VBN",
"dominates": "VBZ",
"platter": "JJ",
"blossom": "VB",
"dominating": "JJ",
"bum": "JJ",
"transcendent": "JJ",
"ulcerated": "JJ",
"uncolored": "JJ",
"ousted": "VBN",
"parliamentary": "JJ",
"gon": "VBG",
"sidewise": "RB",
"aboveground": "JJ",
"languid": "JJ",
"bespeaks": "VBZ",
"scorched": "JJ",
"paranoid": "JJ",
"outlast": "VB",
"docile": "JJ",
"molten": "JJ",
"poisoned": "JJ",
"disapproving": "JJ",
"changed": "JJ",
"protecting": "JJ",
"disgruntled": "JJ",
"bifurcate": "JJ",
"quips": "VBZ",
"as-yet": "RB",
"woke": "VBD",
"weatherstrip": "VB",
"hewn": "JJ",
"complies": "VBZ",
"hews": "VBZ",
"complied": "VBN",
"alexandrine": "JJ",
"f.o.b": "JJ",
"overstate": "VB",
"allied": "JJ",
"reenact": "VB",
"loom": "VBZ",
"soiled": "JJ",
"look": "JJ",
"endanger": "VB",
"loot": "JJ",
"clientslose": "JJ",
"confound": "VB",
"reads": "VBZ",
"born": "VBN",
"repudiated": "VBN",
"discredit": "VB",
"prick": "VB",
"extortionate": "JJ",
"migratory": "JJ",
"decayed": "JJ",
"insert": "VB",
"resold": "VBN",
"paginated": "VBN",
"forgets": "VBZ",
"minimal": "JJ",
"berated": "VBN",
"stem": "VB",
"lasts": "VBZ",
"toppled": "VBN",
"shiny": "JJ",
"dietary": "JJ",
"paltry": "JJ",
"computes": "VBZ",
"legislates": "VBZ",
"nonsense": "JJ",
"unbeknownst": "RB",
"manufacture": "VB",
"inept": "JJ",
"bolsters": "VBZ",
"fishy": "JJ",
"accustomed": "JJ",
"chafed": "VBN",
"chafes": "VBZ",
"dammed-up": "VBN",
"sullen": "JJ",
"overlong": "JJ",
"sounder": "JJR",
"sales-of": "IN",
"aware": "JJ",
"backflips": "VBZ",
"shackled": "VBN",
"cellular": "JJ",
"facilitate": "VB",
"compensated": "JJ",
"among": "IN",
"compensates": "VBZ",
"intraocular": "JJ",
"marketed": "VBN",
"quell": "VB",
"overseen": "VBN",
"oversees": "VBZ",
"win": "JJ",
"remains": "VBZ",
"vivid": "JJ",
"four-for-one": "RB",
"ushers": "VBZ",
"cheapens": "VBZ",
"ferrets": "VBZ",
"intraparty": "JJ",
"advocated": "VBN",
"catty": "JJ",
"feels": "VBZ",
"emptied": "VBN",
"smarts": "VBZ",
"sing": "VB",
"placid": "JJ",
"grumbling": "JJ",
"divides": "VBZ",
"benedictine": "JJ",
"withering": "JJ",
"upset": "JJ",
"soldered": "VBN",
"reallocate": "VB",
"underperforms": "VBZ",
"breezy": "JJ",
"deploy": "VB",
"expires": "VBZ",
"passe": "JJ",
"must": "MD",
"(": "(",
"rash": "JJ",
"suckered": "VBN",
"popular": "JJ",
"course": "RB",
"gush": "VBP",
"counterprogram": "VB",
"spotted": "VBN",
"freeze": "VB",
"desperate": "JJ",
"reattached": "VBN",
"reconfirm": "VB",
"missing": "JJ",
"supernatural": "JJ",
"demur": "VBP",
"lamechian": "JJ",
"melds": "VBZ",
"diligent": "JJ",
"christen": "VB",
"budgetary": "JJ",
"low": "JJ",
"hoverin": "VBG",
"sizzling": "JJ",
"hytt": "PRP",
"outspread": "VBN",
"coincidental": "JJ",
"inhabits": "VBZ",
"swinging": "JJ",
"overrendered": "VBN",
"strange": "JJ",
"nightly": "JJ",
"fierce": "JJ",
"weld": "VB",
"well": "JJ",
"sovietized": "JJ",
"skill": "JJ",
"spenglerian": "JJ",
"imparts": "VBZ",
"accomodate": "VB",
"executed": "VBN",
"gephardtian": "JJ",
"drizzly": "JJ",
"seventh": "JJ",
"injects": "VBZ",
"unfleshed": "VBN",
"interlinked": "VBN",
"beige": "JJ",
"attains": "VBZ",
"synthesized": "VBN",
"synthesizes": "VBZ",
"f-as": "IN",
"threaten": "VB",
"storied": "JJ",
"empty": "JJ",
"stumpy": "JJ",
"heed": "VB",
"empowers": "VBZ",
"persistent": "JJ",
"uneducated": "JJ",
"sunburnt": "JJ",
"plenary": "JJ",
"calculate": "VB",
"syndciated": "VBN",
"embroider": "VBP",
"hath": "VBZ",
"horse-blanket": "RB",
"nepalese": "NNPS",
"winded": "JJ",
"hazy": "JJ",
"liberated": "JJ",
"rests": "VBZ",
"sombre": "JJ",
"exacting": "JJ",
"afraid": "JJ",
"rather": "JJ",
"includes": "VBZ",
"adult": "JJ",
"protozoan": "JJ",
"aligned": "JJ",
"somber": "JJ",
"akin": "JJ",
"divergent": "JJ",
"sinusoidal": "JJ",
"masterly": "JJ",
"lure": "JJ",
"construe": "VB",
"higher-paid": "JJR",
"overtaken": "VBN",
"foresaw": "VBD",
"decaffeinated": "VBN",
"bony": "JJ",
"mean": "JJ",
"improvise": "VB",
"awry": "RB",
"rebuts": "VBZ",
"quantify": "VB",
"bluntest": "RBS",
"rehearsed": "VBN",
"backlit": "JJ",
"allso": "RB",
"trichrome": "JJ",
"bioengineer": "VB",
"wronged": "JJ",
"thereon": "RB",
"buddhist": "JJ",
"comforted": "VBN",
"torpid": "JJ",
"annotated": "VBN",
"introduce": "VB",
"consider": "VB",
"stratified": "JJ",
"unthinking": "JJ",
"divulge": "VB",
"directed": "VBN",
"caricatured": "VBN",
"mitigate": "VB",
"mushy": "JJ",
"consumes": "VBZ",
"explain": "VB",
"free": "JJ",
"stabbing": "JJ",
"clobbered": "VBN",
"fret": "VBP",
"waylaid": "VBN",
"searching": "JJ",
"cower": "VBP",
"grilled": "JJ",
"decides": "VBZ",
"boost": "VB",
"smacks": "VBZ",
"overt": "JJ",
"staves": "VBZ",
"disorderly": "JJ",
"cutglass": "JJ",
"pollinated": "VBN",
"against": "IN",
"gushes": "VBZ",
"loaded": "JJ",
"riled": "JJ",
"erect": "VB",
"riles": "VBZ",
"suppress": "VB",
"prolonged": "JJ",
"decrepit": "JJ",
"censored": "JJ",
"say": "VB",
"melted": "JJ",
"mousy": "JJ",
"defeated": "JJ",
"faked": "VBN",
"entitles": "VBZ",
"contaminate": "VB",
"kid": "JJ",
"unconcerned": "JJ",
"virile": "JJ",
"heavenly": "JJ",
"erected": "VBN",
"unnecessary": "JJ",
"ridicules": "VBZ",
"broad": "JJ",
"unorganized": "JJ",
"compleated": "VBN",
"warrent": "JJ",
"frustrated": "JJ",
"gentrified": "VBN",
"idealized": "JJ",
"largest-ever": "RB",
"breathe": "VB",
"frowzy": "JJ",
"franciscan": "JJ",
"cushioned": "VBN",
"skirted": "VBN",
"prepupal": "JJ",
"decelerate": "VB",
"customary": "JJ",
"downplays": "VBZ",
"proletarian": "JJ",
"fancies": "VBZ",
"breathy": "JJ",
"skirting": "JJ",
"simmer": "VB",
"shoot": "VB",
"estranging": "JJ",
"trended": "VBN",
"zooms": "VBZ",
"dwelled": "VBN",
"tangent": "JJ",
"tuxedoed": "JJ",
"swipes": "VBZ",
"bruised": "JJ",
"elect": "VB",
"undepicted": "JJ",
"withal": "IN",
"surmount": "VB",
"aye": "RB",
"diversionary": "JJ",
"demolish": "VB",
"unimproved": "JJ",
"mar": "VB",
"mad": "JJ",
"mai": "MD",
"mah": "PRP",
"deceive": "VB",
"unleash": "VB",
"recoup": "VB",
"comes": "VBZ",
"less-perfectly": "RBR",
"bestselling": "JJ",
"simple": "JJ",
"scolded": "VBN",
"shorted": "VBN",
"swears": "VBZ",
"shorter": "JJR",
"startled": "JJ",
"fazed": "JJ",
"hemmed": "VBN",
"sideways": "JJ",
"infuriating": "JJ",
"normal": "JJ",
"thine": "JJ",
"sounds": "VBZ",
"cheesy": "JJ",
"tough": "JJ",
"interred": "JJ",
"cleanse": "VB",
"midtown": "JJ",
"reacquire": "VB",
"notched": "JJ",
"stubby": "JJ",
"monochrome": "JJ",
"center-punch": "VB",
"enter": "VB",
"coveted": "JJ",
"shot": "VBN",
"elevate": "VB",
"fend": "VB",
"rubenesquely": "JJ",
"reproduced": "VBN",
"plumb": "RB",
"worrying": "JJ",
"limber": "JJ",
"malted": "VBN",
"enthralling": "JJ",
"soars": "VBZ",
"continues": "VBZ",
"cornered": "VBN",
"slain": "VBN",
"u.s.-japanese": "JJ",
"here": "RB",
"intrude": "JJ",
"umber": "JJ",
"memorialized": "VBN",
"somehow": "RB",
"ongoing": "JJ",
"orginate": "VB",
"planar": "JJ",
"malformed": "JJ",
"baptismal": "JJ",
"worryin": "VBG",
"to": "TO",
"slanted": "VBN",
"grim": "JJ",
"thirsted": "VBN",
"ascend": "VB",
"amazing": "JJ",
"added": "JJ",
"pioneer": "JJ",
"highbrow": "JJ",
"dry": "JJ",
"annoys": "VBZ",
"unwarranted": "JJ",
"totalitarian": "JJ",
"sophisticated": "JJ",
"nonacid": "JJ",
"beneath": "RB",
"electrifying": "JJ",
"grasped": "VBN",
"carps": "VBZ",
"stilted": "JJ",
"decorated": "JJ",
"prewar": "JJ",
"inhibited": "JJ",
"wormy": "JJ",
"duplicates": "VBZ",
"dazed": "JJ",
"prolongs": "VBZ",
"duplicated": "JJ",
"unsuspected": "JJ",
"overtakin": "VBG",
"bankrolled": "VBN",
"chandelle": "VB",
"cultural": "JJ",
"everlasting": "JJ",
"disinflationary": "JJ",
"cleared": "JJ",
"empties": "VBZ",
"eyd": "VBN",
"dunks": "VBZ",
"atone": "VB",
"slovenly": "JJ",
"bravely": "JJ",
"traduced": "VBN",
"attain": "VB",
"stained": "JJ",
"hypnotized": "VBN",
"misplaced": "JJ",
"played": "VBN",
"winged": "JJ",
"hifalutin": "JJ",
"u.s.-endorsed": "JJ",
"rifled": "JJ",
"predisposed": "JJ",
"noncommissioned": "JJ",
"suffer": "VB",
"thrilling": "JJ",
"complain": "VBP",
"exquisite": "JJ",
"watered": "VBN",
"ironed": "JJ",
"beneficient": "JJ",
"manned": "JJ",
"dons": "VBZ",
"done": "VBN",
"rerouted": "VBN",
"revive": "VB",
"pare": "VB",
"draped": "JJ",
"rockin": "JJ",
"part": "RB",
"says": "VBZ",
"declare": "VB",
"idled": "VBN",
"custom": "JJ",
"trifled": "VBN",
"easygoing": "JJ",
"serve": "VBP",
"cosy": "JJ",
"defiles": "VBZ",
"devastate": "VB",
"common": "JJ",
"kuwaiti": "JJ",
"resolute": "JJ",
"electoral": "JJ",
"distraught": "JJ",
"scuttle": "VB",
"caked": "VBN",
"ensures": "VBZ",
"vertebrate": "JJ",
"kidnapped": "VBN",
"gay": "JJ",
"replaces": "VBZ",
"outperforms": "VBZ",
"consular": "JJ",
"aches": "JJ",
"engrossed": "JJ",
"wherein": "WRB",
"benign": "JJ",
"absolved": "JJ",
"craved": "VBN",
"redesigned": "VBN",
"craven": "JJ",
"craves": "VBZ",
"toil": "VBP",
"vague": "JJ",
"displace": "VB",
"coupled": "JJ",
"fond": "JJ",
"channelled": "VBN",
"obliged": "JJ",
"obliges": "VBZ",
"fivefold": "RB",
"metamorphosed": "VBN",
"connecting": "JJ",
"visionary": "JJ",
"wayward": "JJ",
"wilted": "JJ",
"harassed": "JJ",
"framed": "JJ",
"discomfit": "VB",
"perhaps": "JJ",
"notarized": "VBN",
"adjudicate": "VB",
"spurns": "VBZ",
"ascertained": "VBN",
"beckons": "VBZ",
"whosever": "WP",
"integral": "JJ",
"stupefying": "JJ",
"molal": "JJ",
"cassocked": "JJ",
"revisionist": "JJ",
"demoniac": "JJ",
"neater": "JJR",
"tack-solder": "VB",
"brazilian": "JJ",
"asteroid": "JJ",
"silted": "VBN",
"normalized": "VBN",
"encourage": "VB",
"pedaled": "VBN",
"unwitting": "JJ",
"inviolate": "JJ",
"sought": "JJ",
"lame": "JJ",
"factored": "VBN",
"bushwhackin": "JJ",
"nary": "JJ",
"picturesque": "JJ",
"sidelong": "JJ",
"burning": "JJ",
"stronghold": "JJ",
"spell": "VB",
"loves": "VBZ",
"virulent": "JJ",
"fed": "VBN",
"richterian": "JJ",
"plods": "VBZ",
"repress": "VB",
"fouled": "JJ",
"grieving": "JJ",
"unspent": "JJ",
"swept": "VBN",
"sixteenth": "CD",
"eavesdrop": "VB",
"smolder": "VBP",
"dreary": "JJ",
"perforce": "RB",
"discretionary": "JJ",
"o.k": "UH",
"circumspect": "JJ",
"flush": "RB",
"transitory": "JJ",
"fought": "VBD",
"prays": "VBZ",
"rubber-stamp": "VB",
"afresh": "RB",
"wherewith": "VB",
"stranded": "JJ",
"festooned": "VBN",
"underappreciated": "JJ",
"cycled": "VBN",
"emitted": "VBN",
"deliver": "VB",
"handpicked": "VBN",
"asunder": "RB",
"swallow": "VB",
"hoe": "VB",
"unearthed": "VBN",
"attends": "VBZ",
"certain": "JJ",
"phosphorescent": "JJ",
"protect": "VB",
"inherits": "VBZ",
"walks": "VBZ",
"unretouched": "JJ",
"oink": "UH",
"frontal": "JJ",
"ride": "VB",
"unruly": "JJ",
"pampered": "JJ",
"knotty": "JJ",
"necessitate": "VBP",
"wide": "JJ",
"offers": "VBZ",
"shrug": "VB",
"unfunny": "JJ",
"afterward": "RB",
"accosted": "VBN",
"oiled": "JJ",
"although": "IN",
"raiding": "JJ",
"ribbed": "JJ",
"comprised": "VBN",
"prevailing": "JJ",
"faltering": "JJ",
"obliterated": "JJ",
"imbibed": "VBN",
"glib": "JJ",
"snagged": "VBN",
"proposed": "JJ",
"uninhibited": "JJ",
"recounts": "VBZ",
"undiluted": "JJ",
"antiviral": "JJ",
"noriegan": "JJ",
"know": "VB",
"uncommon": "JJ",
"co-develop": "VB",
"sleep": "VB",
"many-times": "RB",
"hammers": "VBZ",
"poorly": "JJ",
"snipe": "VB",
"hampered": "VBN",
"maximized": "VBN",
"pooled": "VBN",
"undated": "JJ",
"redistributed": "VBN",
"worsen": "VB",
"insinuate": "VB",
"redistributes": "VBZ",
"endorse": "VB",
"balking": "JJ",
"feisty": "JJ",
"follow": "VB",
"represented": "VBN",
"stipulates": "VBZ",
"disclaims": "VBZ",
"stipulated": "JJ",
"sick": "JJ",
"express": "RB",
"mediate": "VB",
"interpenetrate": "VBP",
"eat": "VB",
"prearranged": "VBN",
"unilateral": "JJ",
"sneers": "VBZ",
"aching": "JJ",
"moisten": "VB",
"snarling": "JJ",
"decreasing": "JJ",
"aloud": "RB",
"nouvelle": "JJ",
"outshine": "JJ",
"utilitarian": "JJ",
"supervoting": "JJ",
"entranced": "VBN",
"compelling": "JJ",
"onleh": "RB",
"fraught": "JJ",
"adjust": "VB",
"aspire": "VB",
"onto": "IN",
"grassed": "VBN",
"rang": "VBD",
"rank": "JJ",
"bombard": "JJ",
"lulled": "VBN",
"geered": "VBN",
"rewritten": "VBN",
"indeterminate": "JJ",
"urban": "JJ",
"overdraw": "VB",
"wrapped": "JJ",
"bloated": "JJ",
"interrelated": "JJ",
"conceived": "VBN",
"yank": "VB",
"sage": "JJ",
"pickin": "VBG",
"delays": "VBZ",
"criticizes": "VBZ",
"fluid": "JJ",
"criticized": "VBN",
"congruent": "JJ",
"older-skewing": "JJR",
"wrest": "VB",
"proclaims": "VBZ",
"corrupt": "JJ",
"modulate": "VBP",
"wear": "VB",
"amortized": "VBN",
"subverts": "VBZ",
"interacts": "VBZ",
"uncharged": "JJ",
"lusty": "JJ",
"settle": "VB",
"deflect": "VB",
"trendy": "JJ",
"appease": "VB",
"bugged": "VBN",
"ought": "MD",
"dearer": "JJR",
"vie": "VBP",
"trashed": "VBN",
"spanned": "VBN",
"zoom": "VB",
"overrated": "JJ",
"hung": "VBD",
"smarmy": "JJ",
"wrenching": "JJ",
"totals": "VBZ",
"hastens": "VBZ",
"idolized": "JJ",
"plus": "JJ",
"over-stress": "VB",
"credited": "VBN",
"overbid": "VBD",
"unbalanced": "JJ",
"icy": "JJ",
"quash": "JJ",
"sours": "VBZ",
"little": "JJ",
"encroach": "VB",
"obsolete": "JJ",
"deluded": "JJ",
"transcontinental": "JJ",
"shove": "VB",
"ravaging": "JJ",
"floating": "JJ",
"emerge": "VB",
"hoppled": "VBN",
"brighter": "JJR",
"reorder": "VB",
"sheds": "VBZ",
"eighteenth": "CD",
"begs": "VBZ",
"leavin": "VBG",
"fascist": "JJ",
"scoff": "VBP",
"muggy": "JJ",
"liquid": "JJ",
"invests": "VBZ",
"furnished": "JJ",
"paternalist": "JJ",
"furnishes": "VBZ",
"white": "JJ",
"supplemented": "VBN",
"underneath": "RB",
"coaxes": "VBZ",
"populated": "VBN",
"inopportune": "JJ",
"tuned": "VBN",
"de-iodinated": "VBN",
"overmedicated": "VBN",
"accelerated": "VBN",
"unpaid": "JJ",
"start": "VB",
"peddles": "VBZ",
"terrifying": "JJ",
"peddled": "VBN",
"seduced": "VBN",
"cope": "VB",
"naked": "JJ",
"seduces": "VBZ",
"specify": "VB",
"schooled": "VBN",
"rend": "VB",
"unglazed": "VBN",
"ideal": "JJ",
"sculpted": "VBN",
"adhere": "VB",
"hustles": "VBZ",
"unshaven": "JJ",
"principled": "JJ",
"multimillion": "JJ",
"reveal": "VB",
"abler": "JJR",
"kitschy": "JJ",
"interfere": "JJ",
"wanders": "VBZ",
"recumbent": "JJ",
"pontificates": "VBZ",
"hunched": "VBN",
"swum": "VBN",
"bequeathed": "VBN",
"sniff": "VB",
"vary": "VBP",
"premature": "JJ",
"pre-date": "VB",
"enriches": "VBZ",
"unqualified": "JJ",
"synthesised": "VBN",
"shroud": "VBP",
"halfway": "JJ",
"rose": "VBD",
"disrupt": "VB",
"confined": "JJ",
"reduces": "VBZ",
"snort": "VB",
"substandard": "JJ",
"reduced": "JJ",
"resonate": "VB",
"unfertile": "JJ",
"infinite": "JJ",
"amongst": "IN",
"inscribed": "VBN",
"encompass": "VB",
"discerned": "VBN",
"hired": "JJ",
"heathen": "JJ",
"deafening": "JJ",
"internalized": "VBN",
"tanned": "JJ",
"amusement": "JJ",
"all": "DT",
"hmmm": "UH",
"wanton": "JJ",
"strut": "VB",
"sentimental": "JJ",
"nursing": "JJ",
"proscribed": "JJ",
"proscribes": "VBZ",
"immanent": "JJ",
"monodisperse": "JJ",
"frustrate": "VB",
"condensed": "JJ",
"exaggerated": "JJ",
"top": "JJ",
"too": "RB",
"denominated": "VBN",
"overall": "JJ",
"minor": "JJ",
"pinheaded": "JJ",
"nitpicking": "JJ",
"particularly": "JJ",
"influenced": "VBN",
"bawdy": "JJ",
"structural": "JJ",
"unsurprising": "JJ",
"prefers": "VBZ",
"stash": "VB",
"outraged": "JJ",
"reconnect": "VB",
"pray": "JJ",
"disagrees": "VBZ",
"prai": "VBP",
"flexural": "JJ",
"thoroughbred": "JJ",
"asean": "JJ",
"but-bulls": "IN",
"sedimentary": "JJ",
"inflates": "VBZ",
"buffetted": "VBN",
"inflated": "JJ",
"reverent": "JJ",
"clandestine": "JJ",
"induces": "VBZ",
"induced": "JJ",
"e.g": "RB",
"feed": "VB",
"feel": "VB",
"brisker": "JJR",
"hangs": "VBZ",
"grimy": "JJ",
"recovered": "JJ",
"korean": "JJ",
"chousin": "VBG",
"insulted": "JJ",
"rife": "JJ",
"contractual": "JJ",
"choral": "JJ",
"finds": "VBZ",
"relive": "VBP",
"amateur": "JJ",
"grotesque": "JJ",
"unsuited": "JJ",
"funded": "VBN",
"fastest": "RB",
"compiles": "VBZ",
"restudy": "VB",
"repulsed": "VBN",
"desegregated": "VBN",
"outfit": "JJ",
"gussied": "VBN",
"crispy": "JJ",
"scented": "JJ",
"re-explore": "VB",
"skyward": "RB",
"stagewhispers": "VBZ",
"evaluates": "VBZ",
"canvassed": "VBN",
"distrusts": "VBZ",
"stimulates": "VBZ",
"assuaged": "VBN",
"stimulated": "JJ",
"resuscitated": "VBN",
"throwaway": "JJ",
"lowers": "VBZ",
"canted": "JJ",
"governmental": "JJ",
"reinstate": "VB",
"complains": "VBZ",
"entangled": "JJ",
"rotate": "VB",
"baited": "VBN",
"upraised": "VBN",
"wanna": "VB",
"gouge": "VB",
"analyze": "VB",
"contrite": "JJ",
"tutored": "VBN",
"consist": "VB",
"shooed": "VBN",
"highlight": "VB",
"sublet": "VB",
"shallower": "JJR",
"garbed": "VBN",
"wrestle": "VB",
"uninspected": "JJ",
"veterinary": "JJ",
"unstapled": "JJ",
"interpenetrates": "VBZ",
"midocean": "JJ",
"posture": "JJ",
"super-imposed": "VBN",
"stratify": "VB",
"datelined": "VBN",
"brief": "JJ",
"galloped": "VBN",
"garbled": "JJ",
"recount": "VB",
"detects": "VBZ",
"dusted": "VBN",
"bittersweet": "JJ",
"sit": "VB",
"outclass": "VBP",
"immersed": "VBN",
"rifkinesque": "JJ",
"reauthorized": "VBN",
"pulsed": "VBN",
"demobilized": "VBN",
"statutory": "JJ",
"beguile": "VBP",
"hankered": "VBN",
"frightening": "JJ",
"liberian": "JJ",
"gassed": "VBN",
"restrict": "VB",
"beveled": "VBN",
"lilac": "JJ",
"tepid": "JJ",
"indulges": "VBZ",
"tabulate": "VB",
"unencumbered": "JJ",
"supports": "VBZ",
"engenders": "VBZ",
"north": "RB",
"misinformed": "VBN",
"docketed": "VBN",
"reflecting": "JJ",
"overreaches": "VBZ",
"blue": "JJ",
"leery": "JJ",
"rearranges": "VBZ",
"barrette": "JJ",
"alarmed": "JJ",
"neighboring": "JJ",
"bulging": "JJ",
"riiiing": "UH",
"squirms": "VBZ",
"deceives": "VBZ",
"allocate": "VB",
"deceived": "VBN",
"televised": "VBN",
"frustrates": "VBZ",
"underscores": "VBZ",
"sequenced": "VBN",
"walk": "VB",
"subsurface": "JJ",
"counterculture": "JJ",
"inbound": "JJ",
"interrupts": "VBZ",
"nicked": "VBN",
"walloping": "JJ",
"overturn": "VB",
"outspend": "VBP",
"improves": "VBZ",
"fantasized": "VBN",
"extramural": "JJ",
"re-paid": "VBD",
"gutted": "VBN",
"dismounts": "VBZ",
"riveted": "VBN",
"obtain": "VB",
"stowed": "VBN",
"rescind": "VB",
"incendiary": "JJ",
"sultry": "JJ",
"informed": "JJ",
"debuts": "VBZ",
"fluorescent": "JJ",
"dulcet": "JJ",
"incipient": "JJ",
"good-bye": "UH",
"made": "JJ",
"whether": "IN",
"atheist": "JJ",
"inadequate": "JJ",
"writes": "VBZ",
"mutual": "JJ",
"cutthroat": "JJ",
"strident": "JJ",
"nonbuilding": "JJ",
"metabolized": "VBN",
"twangy": "JJ",
"extort": "VB",
"ole": "JJ",
"consists": "VBZ",
"rusty": "JJ",
"weary": "JJ",
"wrong": "JJ",
"redelivered": "VBN",
"contributes": "VBZ",
"specialist": "JJ",
"misjudged": "JJ",
"brocaded": "JJ",
"reported": "VBN",
"rise-perhaps": "RB",
"sweltering": "JJ",
"holy": "JJ",
"detracts": "VBZ",
"menaced": "VBN",
"pardon": "VB",
"malign": "JJ",
"hot": "JJ",
"classify": "VB",
"a": "DT",
"infrastructural": "JJ",
"overexploited": "JJ",
"tasty": "JJ",
"smarter": "JJR",
"distinguishing": "JJ",
"nobler": "JJ<NAME>",
"superior": "JJ",
"c-translated": "VBN",
"borne": "VBN",
"whoosh": "VBP",
"piecemeal": "JJ",
"reprimanded": "VBN",
"beguiled": "JJ",
"fevered": "JJ",
"broody": "JJ",
"corny": "JJ",
"backpedal": "VB",
"known": "JJ",
"consummate": "JJ",
"incomplete": "JJ",
"marvel": "VB",
"chirpy": "JJ",
"heckled": "VBN",
"touches": "VBZ",
"busy": "JJ",
"particulate": "JJ",
"olympian": "JJ",
"patented": "VBN",
"mew": "VB",
"asked": "VBN",
"starstruck": "JJ",
"levied": "VBN",
"any": "DT",
"outsell": "VB",
"preachy": "JJ",
"spurred": "VBN",
"enters": "VBZ",
"falter": "VB",
"posed": "VBN",
"bushy": "JJ",
"rehearse": "VB",
"terraced": "VBN",
"manufacturing": "JJ",
"coexistent": "JJ",
"disqualified": "JJ",
"meddle": "VB",
"fiery": "JJ",
"precludes": "VBZ",
"knowing": "JJ",
"uncluttered": "JJ",
"underestimated": "VBN",
"offer": "VB",
"squalid": "JJ",
"unchlorinated": "VBN",
"highest-grossing": "JJS",
"differ": "VBP",
"virgin": "JJ",
"rolling": "JJ",
"annointed": "VBN",
"congested": "JJ",
"denationalized": "VBN",
"serialized": "VBN",
"lowdown": "JJ",
"unquenched": "VBN",
"doted": "VBN",
"fawned": "VBN",
"thermoformed": "VBN",
"muscat": "JJ",
"leering": "JJ",
"undismayed": "JJ",
"alone": "JJ",
"along": "RB",
"prefer": "VBP",
"coinciding": "JJ",
"unabsorbed": "JJ",
"unmarked": "JJ",
"homesick": "JJ",
"filmy": "JJ",
"unwounded": "JJ",
"retail": "JJ",
"coexist": "VB",
"explores": "VBZ",
"explored": "VBN",
"such": "JJ",
"suck": "VB",
"titular": "JJ",
"furiouser": "RBR",
"unsolicited": "JJ",
"noteworthy": "JJ",
"reaffirms": "VBZ",
"yawning": "JJ",
"singin": "VBG",
"retrain": "VB",
"olivefaced": "JJ",
"repaid": "VBN",
"undeterred": "JJ",
"willya": "MD",
"mapped": "VBN",
"plea": "JJ",
"longrange": "JJ",
"monogrammed": "JJ",
"silhouetted": "VBN",
"undisguised": "JJ",
"routed": "VBN",
"jumbled": "JJ",
"teaches": "VBZ",
"dissipate": "VB",
"betray": "VB",
"install": "VB",
"unprecedented": "JJ",
"dissenting": "JJ",
"cowed": "VBN",
"obliging": "JJ",
"descends": "VBZ",
"nott": "RB",
"twinned": "JJ",
"slow": "JJ",
"slog": "VB",
"infringes": "VBZ",
"borrow": "VB",
"wheare": "WRB",
"marred": "VBN",
"diddle": "UH",
"spare": "JJ",
"spark": "VB",
"suppressed": "JJ",
"czechoslovak": "JJ",
"extinct": "JJ",
"whenever": "WRB",
"play": "VB",
"chatty": "JJ",
"unclouded": "JJ",
"eschews": "VBZ",
"dressy": "JJ",
"airy": "JJ",
"threatens": "VBZ",
"underestimate": "VB",
"reverts": "VBZ",
"domineering": "JJ",
"culled": "VBN",
"distills": "VBZ",
"sprayed": "VBN",
"amalgamate": "VB",
"slimy": "JJ",
"boycotted": "VBN",
"expunge": "VB",
"discarded": "JJ",
"searing": "JJ",
"forecasted": "VBN",
"dissociates": "VBZ",
"intimate": "JJ",
"travelin": "VBG",
"slender": "JJ",
"lofty": "JJ",
"beaten": "JJ",
"accumulates": "VBZ",
"acting": "JJ",
"accumulated": "JJ",
"mollify": "VB",
"complete": "JJ",
"darken": "VBP",
"darker": "JJR",
"brotherly": "JJ",
"barbary": "JJ",
"abolish": "VB",
"predestined": "JJ",
"bullshit": "JJ",
"bombed": "JJ",
"disdained": "VBN",
"mocking": "JJ",
"fraudulent": "JJ",
"grows": "VBZ",
"evil": "JJ",
"tricolor": "JJ",
"destitute": "JJ",
"resume": "VB",
"succinct": "JJ",
"outdone": "VBN",
"reshaped": "VBN",
"reshapes": "VBZ",
"underrate": "VB",
"apprised": "VBN",
"maltreat": "VBP",
"classificatory": "JJ",
"salty": "JJ",
"condemn": "VB",
"trebled": "VBN",
"emancipated": "VBN",
"ungoverned": "JJ",
"functioning": "JJ",
"snotty": "JJ",
"manipulated": "VBN",
"re-enforces": "VBZ",
"behahn": "RB",
"fixed": "JJ",
"laddered": "JJ",
"reticent": "JJ",
"reassured": "VBN",
"shifty": "JJ",
"cratered": "VBN",
"marry": "VB",
"airconditioner": "JJR",
"terrify": "VB",
"midcontinent": "JJ",
"reared": "VBN",
"retained": "VBN",
"unmanned": "JJ",
"exhibited": "VBN",
"adduce": "VB",
"franked": "JJ",
"franker": "JJR",
"degassed": "VBN",
"nowadays": "RB",
"firsthand": "JJ",
"clog": "VB",
"post-tragedy": "RB",
"younguh": "JJR",
"adheres": "VBZ",
"adhered": "VBN",
"untreated": "JJ",
"riven": "VBN",
"tabby": "JJ",
"proclaim": "JJ",
"nibble": "VB",
"sacred": "JJ",
"futile": "JJ",
"offending": "JJ",
"unmcguanean": "JJ",
"approve": "VB",
"churns": "VBZ",
"nestled": "VBN",
"convicted": "VBN",
"silenced": "JJ",
"bitchy": "JJ",
"reinstalled": "VBN",
"folksy": "JJ",
"triple": "JJ",
"shorten": "VB",
"tells": "VBZ",
"x-includes": "VBZ",
"foments": "VBZ",
"unsatisfied": "JJ",
"imcomplete": "JJ",
"overbroad": "JJ",
"surprised": "JJ",
"worsening": "JJ",
"bedridden": "JJ",
"major": "JJ",
"repair": "JJ",
"recreate": "VB",
"sneaks": "VBZ",
"submit": "VB",
"behavioral": "JJ",
"discolored": "VBN",
"sunken": "JJ",
"invalid": "JJ",
"tart": "JJ",
"scrub": "VB",
"provided": "VBN",
"unpunctured": "JJ",
"bedeviled": "VBN",
"ago": "RB",
"furthest": "RB",
"reasoned": "JJ",
"scotch": "JJ",
"dainty": "JJ",
"oceanfront": "JJ",
"continued": "JJ",
"timely": "JJ",
"odd": "JJ",
"toughens": "VBZ",
"gathered": "VBN",
"octave": "JJ",
"gazes": "VBZ",
"great": "JJ",
"receive": "VB",
"overcommitted": "VBN",
"excludes": "VBZ",
"disobey": "VB",
"terrified": "JJ",
"extricate": "VB",
"duplicate": "JJ",
"subdued": "JJ",
"gladly": "JJ",
"this": "RB",
"thin": "JJ",
"overcooled": "JJ",
"reedy": "JJ",
"intramural": "JJ",
"hereinafter": "RB",
"weaken": "VB",
"singular": "JJ",
"buffeted": "JJ",
"produces": "VBZ",
"produced": "VBN",
"cracking": "JJ",
"silken": "JJ",
"popularized": "VBN",
"orphaned": "VBN",
"traced": "VBN",
"accompanies": "VBZ",
"sad": "JJ",
"saw": "VBD",
"sat": "VBD",
"overextended": "VBN",
"exacerbated": "VBN",
"snippy": "JJ",
"traversed": "VBN",
"alpine": "JJ",
"tied": "JJ",
"tempt": "VB",
"shun": "VBP",
"defining": "JJ",
"scary": "JJ",
"scare": "VB",
"equates": "VBZ",
"autographed": "JJ",
"imitate": "VB",
"travelled": "JJ",
"reproach": "VB",
"suburbanite": "JJ",
"rearmed": "JJ",
"fizzes": "VBZ",
"disciplined": "JJ",
"disband": "VB",
"aging": "JJ",
"viewed": "VBN",
"big": "JJ",
"embroiled": "JJ",
"noblesse": "JJ",
"better-known": "JJR",
"acquired": "JJ",
"u.s.-czech": "JJ",
"wounded": "JJ",
"terminate": "VB",
"centralized": "JJ",
"unconnected": "JJ",
"younger": "JJR",
"withstand": "VB",
"exerted": "VBN",
"unravel": "VB",
"harsher": "JJR",
"republican": "JJ",
"browbeat": "VB",
"developing": "JJ",
"more-volatile": "JJR",
"etc": "RB",
"puff": "JJ",
"unsanctioned": "JJ",
"powered": "VBN",
"crisscross": "VBP",
"freewheeling": "JJ",
"conserve": "VB",
"terrorist": "JJ",
"dilate": "VB",
"earthmoving": "JJ",
"nonsegregated": "JJ",
"increased": "JJ",
"pries": "VBZ",
"sinewy": "JJ",
"downside": "JJ",
"jalapeno": "JJ",
"does": "VBZ",
"blurry": "JJ",
"yuh": "PRP",
"slackjawed": "VBN",
"asks": "VBZ",
"courtly": "JJ",
"encamp": "VB",
"trigger": "VB",
"troubling": "JJ",
"be": "VB",
"fold": "VB",
"menstruation": "JJ",
"kowtow": "VB",
"gasconade": "VB",
"cosponsored": "VBN",
"abhor": "VB",
"iranian": "JJ",
"gobbles": "VBZ",
"furrowed": "JJ",
"scalar": "JJ",
"nondescript": "JJ",
"phoney": "JJ",
"shut": "VB",
"seven-thirty": "RB",
"deluged": "VBN",
"told": "VBN",
"unmotivated": "JJ",
"kindled": "VBN",
"walkin": "VBG",
"struck": "VBD",
"charred": "JJ",
"embarrass": "JJ",
"challenging": "JJ",
"worn": "JJ",
"resents": "VBZ",
"mammalian": "JJ",
"exhorts": "VBZ",
"hyphenated": "JJ",
"disappear": "VB",
"disappoint": "VB",
"will be": "CP",
"will": "MD",
"interlibrary": "JJ",
"wild": "JJ",
"shimmering": "JJ",
"foolhardy": "JJ",
"thickens": "VBZ",
"order": "RB",
"proportionate": "JJ",
"absorbed": "JJ",
"monetary": "JJ",
"stippled": "JJ",
"raising": "JJ",
"bolted": "VBN",
"doles": "VBZ",
"admits": "VBZ",
"undaunted": "JJ",
"australasian": "JJ",
"louse": "VB",
"palestinian": "JJ",
"comin": "VBG",
"hustle": "VB",
"provisioned": "VBN",
"rejected": "JJ",
"dissociated": "VBN",
"wrecks": "VBZ",
"rewrite": "VB",
"accompany": "VB",
"genuine": "JJ",
"overtook": "VBD",
"corded": "VBN",
"solidifies": "VBZ",
"knightly": "JJ",
"sewn": "VBN",
"elucidated": "VBN",
"so-far": "RB",
"sews": "VBZ",
"unsteady": "JJ",
"preferred": "JJ",
"humanist": "JJ",
"steal": "VB",
"observes": "VBZ",
"observed": "VBN",
"seeping": "JJ",
"mincing": "JJ",
"received": "JJ",
"ill": "JJ",
"receives": "VBZ",
"groans": "VBZ",
"wider": "JJR",
"speak": "VB",
"exhume": "VB",
"lahk": "IN",
"avoids": "VBZ",
"insulating": "JJ",
"impertinent": "JJ",
"dignify": "VB",
"supervisory": "JJ",
"photographed": "VBN",
"maye": "MD",
"nude": "JJ",
"lightheaded": "JJ",
"mennonite": "JJ",
"squander": "VB",
"mechanized": "JJ",
"dead": "JJ",
"wellrun": "JJ",
"czech": "JJ",
"foreknown": "VB",
"dovetails": "VBZ",
"fulfills": "VBZ",
"stronger": "JJR",
"spongy": "JJ",
"orate": "VB",
"dance": "JJ",
"desegregate": "VB",
"fabricated": "JJ",
"underworked": "JJ",
"present": "JJ",
"upriver": "RB",
"cochannel": "JJ",
"introjected": "VBN",
"governing": "JJ",
"legalized": "VBN",
"regret": "JJ",
"commensurate": "JJ",
"unescorted": "JJ",
"peeled": "VBN",
"lawmaking": "JJ",
"evenings": "RB",
"embarrassing": "JJ",
"sighted": "VBN",
"wept": "VBD",
"unflattering": "JJ",
"bowled": "VBN",
"vietnamese": "JJ",
"refine": "JJ",
"industrywide": "JJ",
"gaping": "JJ",
"superintend": "VB",
"southern": "JJ",
"novelized": "JJ",
"genteel": "JJ",
"appearin": "VBG",
"showered": "VBN",
"overreacted": "VBN",
"sugary": "JJ",
"reflects": "VBZ",
"virtuoso": "JJ",
"marine": "JJ",
"fonder": "JJR",
"ninth": "JJ",
"disable": "VB",
"mayst": "MD",
"there": "RB",
"angular": "JJ",
"corinthian": "JJ",
"hourly": "JJ",
"eliminates": "VBZ",
"disabuse": "VB",
"eliminated": "VBN",
"hurl": "VB",
"accessed": "VBN",
"invalidated": "VBN",
"recover": "JJ",
"online": "JJ",
"motivated": "JJ",
"accustoms": "VBZ",
"underserved": "JJ",
"threefold": "JJ",
"recharged": "VBN",
"pituitary": "JJ",
"whisked": "VBN",
"tranquil": "JJ",
"reputed": "JJ",
"fascinates": "VBZ",
"impromptu": "JJ",
"onetime": "JJ",
"cleave": "VB",
"binuclear": "JJ",
"skew": "VB",
"handicapped": "JJ",
"laggard": "JJ",
"absorbedthe": "VB",
"northward": "RB",
"officered": "VBN",
"angered": "VBN",
"investigated": "VBN",
"prefuh": "VB",
"bumpin": "VBG",
"investigates": "VBZ",
"belittle": "VBP",
"ribosomal": "JJ",
"refurbish": "VB",
"early": "JJ",
"nubile": "JJ",
"endorsed": "VBN",
"abetted": "VBN",
"premonitory": "JJ",
"strained": "JJ",
"inherent": "JJ",
"emasculate": "JJ",
"four-thirty": "RB",
"resuscitate": "VB",
"assumed": "VBN",
"unmodified": "JJ",
"drank": "VBD",
"assumes": "VBZ",
"reassume": "VB",
"happening": "JJ",
"unrecognized": "JJ",
"bamboozled": "VBN",
"unwelcome": "JJ",
"valid": "JJ",
"lay": "VBD",
"disbelieves": "VBZ",
"spruced": "VBN",
"relieve": "VB",
"casual": "JJ",
"said": "VB",
"partaker": "VB",
"partakes": "VBZ",
"outsells": "VBZ",
"cartesian": "JJ",
"iodinated": "VBN",
"countercultural": "JJ",
"transcend": "VBP",
"unjacketed": "JJ",
"interstate": "JJ",
"derived": "JJ",
"tries": "VBZ",
"derives": "VBZ",
"sweet": "JJ",
"grizzled": "JJ",
"preponderating": "JJ",
"chalked": "VBN",
"committed": "JJ",
"crossborder": "JJ",
"cardiovascular": "JJ",
"overexcited": "JJ",
"unheated": "JJ",
"disclosed": "VBN",
"tenfold": "RB",
"stiffen": "VB",
"pre-empted": "VBN",
"worried": "JJ",
"victorian": "JJ",
"lightens": "VBZ",
"decimal": "JJ",
"beyond": "RB",
"sustain": "VB",
"upon": "IN",
"ignore": "VB",
"litigate": "VB",
"diffused": "VBN",
"darwinian": "JJ",
"undergo": "VB",
"miss": "VB",
"inure": "VB",
"interwoven": "JJ",
"pinned": "VBN",
"bowed": "JJ",
"improved": "JJ",
"outgrown": "VBN",
"alongside": "RB",
"elemental": "JJ",
"lie": "JJ",
"empowered": "JJ",
"sordid": "JJ",
"lit": "JJ",
"aggravating": "JJ",
"sponsored": "VBN",
"clear": "JJ",
"nondoctrinaire": "JJ",
"lest": "IN",
"hyper": "JJ",
"surveyed": "VBN",
"grow": "VB",
"far-lower": "JJR",
"filled": "JJ",
"redefine": "VB",
"bakes": "VBZ",
"timeworn": "JJ",
"mega": "JJ",
"gaunt": "JJ",
"headed": "JJ",
"deemed": "VBN",
"reciprocate": "VB",
"coarse": "JJ",
"delights": "VBZ",
"compromised": "VBN",
"wrings": "VBZ",
"hobnob": "VB",
"while": "IN",
"uncompromising": "JJ",
"deworm": "VB",
"tendered": "JJ",
"declining": "JJ",
"boo": "VB",
"stashed": "VBN",
"appalled": "JJ",
"conjured": "VBN",
"fractionated": "VBN",
"translates": "VBZ",
"translated": "VBN",
"mauve": "JJ",
"urgent": "JJ",
"choose": "VB",
"foreclosed": "VBN",
"jazzy": "JJ",
"subtract": "VB",
"hinge": "VB",
"yemeni": "JJ",
"decertify": "VB",
"douse": "VB",
"governs": "VBZ",
"skulk": "VB",
"bewilders": "VBZ",
"elitist": "JJ",
"gushy": "JJ",
"spousal": "JJ",
"nap": "JJ",
"kills": "VBZ",
"nay": "RB",
"out-smart": "VB",
"resign": "VB",
"rested": "JJ",
"bleached": "JJ",
"tactile": "JJ",
"yes": "JJ",
"blobby": "JJ",
"wracked": "VBN",
"salaried": "JJ",
"fictionalized": "VBN",
"retold": "VBD",
"stoned": "VBN",
"ardent": "JJ",
"evokes": "VBZ",
"exacerbate": "VB",
"evoked": "VBN",
"prescribe": "VB",
"construct": "VB",
"danged": "VBN",
"subsidizes": "VBZ",
"snoop": "VB",
"subsidized": "JJ",
"varying": "JJ",
"pleated": "JJ",
"becomes": "VBZ",
"lacerate": "JJ",
"blindsided": "VBN",
"disrobe": "VB",
"becomed": "VBN",
"vesicular": "JJ",
"insufficient": "JJ",
"crazee": "JJ",
"crazed": "JJ",
"rove": "VB",
"craggy": "JJ",
"facilitated": "VBN",
"mentioned": "VBN",
"facilitates": "VBZ",
"stuggles": "VBZ",
"consensual": "JJ",
"puny": "JJ",
"unsurprised": "JJ",
"consigns": "VBZ",
"statist": "JJ",
"intruded": "VBN",
"draw": "VB",
"interplanetary": "JJ",
"intrudes": "VBZ",
"pedimented": "VBN",
"indisposed": "JJ",
"signify": "VB",
"animated": "JJ",
"jump-start": "VB",
"bears": "VBZ",
"swindled": "VBN",
"thwarted": "VBN",
"sings": "VBZ",
"pronouncing": "JJ",
"unsmiling": "JJ",
"dubs": "VBZ",
"forlorn": "JJ",
"emerging": "JJ",
"untimely": "JJ",
"employed": "JJ",
"dodge": "VBP",
"up-pp": "RP",
"italian": "JJ",
"contain": "VB",
"orphan": "JJ",
"ciliated": "JJ",
"reallocated": "VBN",
"pestered": "JJ",
"roil": "VB",
"tread": "VB",
"relax": "VB",
"adjourns": "VBZ",
"piqued": "VBN",
"reapportioned": "VBN",
"begat": "VBD",
"coastal": "JJ",
"reactionary": "JJ",
"trembles": "VBZ",
"discouraged": "JJ",
"steoreotyped": "JJ",
"draconian": "JJ",
"marauding": "JJ",
"germanized": "VBN",
"sputtering": "JJ",
"logged": "VBN",
"by": "IN",
"ample": "JJ",
"devised": "VBN",
"less-rigorous": "JJR",
"shed": "VB",
"redress": "VB",
"midwestern": "JJ",
"prohibited": "JJ",
"chancy": "JJ",
"co-authors": "VBZ",
"staked": "VBN",
"primal": "JJ",
"arrange": "VB",
"evacuate": "VB",
"uncurled": "JJ",
"sicilian": "JJ",
"cruel": "JJ",
"devise": "VB",
"scowls": "VBZ",
"palletized": "VBN",
"nigh": "JJ",
"scheming": "JJ",
"minuscule": "JJ",
"presente": "JJ",
"presents": "VBZ",
"saves": "VBZ",
"connects": "VBZ",
"warns": "VBZ",
"helluva": "JJ",
"saved": "VBN",
"untenanted": "JJ",
"maverick": "JJ",
"sometimes": "RB",
"carmelite": "JJ",
"expedited": "VBN",
"ornamental": "JJ",
"circumvent": "VB",
"overhear": "VB",
"overheat": "VB",
"barks": "VBZ",
"overhead": "JJ",
"name-drops": "VBZ",
"twirled": "JJ",
"composite": "JJ",
"laughs": "VBZ",
"honed": "VBN",
"involve": "VB",
"waldensian": "JJ",
"salivate": "VB",
"civil": "JJ",
"uninsured": "JJ",
"unfolds": "VBZ",
"eyewear": "JJ",
"fortify": "VB",
",": ",",
"cutting": "JJ",
"carve": "VB",
"leaner": "JJR",
"extract": "VB",
"hushed": "JJ",
"saggy": "JJ",
"shaggy": "JJ",
"starts": "VBZ",
"deems": "VBZ",
"curtails": "VBZ",
"peculiar": "JJ",
"congratulatory": "JJ",
"churn": "VB",
"dismantle": "VB",
"bye": "UH",
"clocked": "VBN",
"reprinted": "VBN",
"fungal": "JJ",
"retire": "VB",
"upfield": "RB",
"cripple": "VB",
"nodding": "JJ",
"unified": "JJ",
"illegitimate": "JJ",
"bam": "UH",
"unworthy": "JJ",
"emergent": "JJ",
"spattered": "VBN",
"mournfully": "JJ",
"inappropriate": "JJ",
"disprove": "VB",
"bronzed": "JJ",
"given": "JJ",
"exemplary": "JJ",
"threw": "VBD",
"aggrieved": "VBN",
"sly": "JJ",
"originate": "VB",
"redecorated": "VBN",
"vindicate": "VB",
"who": "WP",
"miswritten": "JJ",
"smokes": "VBZ",
"claims": "VBZ",
"smoked": "JJ",
"unfair": "JJ",
"nonchlorinated": "JJ",
"interior": "JJ",
"whichever": "WDT",
"natal": "JJ",
"fined": "VBN",
"revel": "VB",
"readmitted": "VBN",
"dense": "JJ",
"outspoken": "JJ",
"sift": "VB",
"impersonates": "VBZ",
"retired": "JJ",
"commie": "JJ",
"abstract": "JJ",
"impersonated": "VBN",
"commit": "VB",
"canny": "JJ",
"cascades": "VBZ",
"stay": "VB",
"effaces": "VBZ",
"mortgagebacked": "JJ",
"builds": "VBZ",
"diagnose": "VB",
"toss": "VB",
"oppose": "VB",
"tardy": "JJ",
"ba-a-a": "UH",
"stoke": "VB",
"themed": "VBN",
"hidebound": "JJ",
"polyunsaturated": "JJ",
"scribble": "VB",
"bordered": "JJ",
"sappy": "JJ",
"wore": "VBD",
"dim": "JJ",
"did": "VBD",
"die": "JJ",
"dig": "VB",
"dip": "VB",
"eclipse": "VB",
"takin": "VBG",
"monied": "JJ",
"signalizes": "VBZ",
"decipher": "VB",
"finer": "JJR",
"hither": "RB",
"careworn": "JJ",
"subverted": "VBN",
"ungainly": "JJ",
"sharper": "JJR",
"touched": "JJ",
"sharpen": "VB",
"unconfirmed": "JJ",
"cited": "VBN",
"downtown": "RB",
"sour": "JJ",
"ailing": "JJ",
"arrive": "VB",
"predict": "VBP",
"digital": "JJ",
"soft": "JJ",
"flat-out": "RB",
"gradual": "JJ",
"argues": "VBZ",
"main": "JJ",
"society-measured": "VBN",
"possess": "VBP",
"outweigh": "VBP",
"redraw": "VB",
"gird": "VB",
"giveth": "VBZ",
"living": "JJ",
"lak": "IN",
"fuller": "JJR",
"desultory": "JJ",
"unthreatening": "JJ",
"discharged": "JJ",
"slept": "VBD",
"daunt": "VB",
"blacklist": "VB",
"protected": "VBN",
"fluoresces": "VBZ",
"do": "VBP",
"mundane": "JJ",
"winding": "JJ",
"unheeding": "JJ",
"permeates": "VBZ",
"succumbed": "VBN",
"spirited": "JJ",
"satisfying": "JJ",
"gracefully": "JJ",
"disconcerting": "JJ",
"muni": "JJ",
"designated": "VBN",
"uninvolved": "JJ",
"designates": "VBZ",
"beseech": "VBP",
"median": "JJ",
"crushes": "VBZ",
"gratifying": "JJ",
"tacit": "JJ",
"signaled": "VBN",
"remake": "VB",
"stretched": "JJ",
"anyplace": "RB",
"unusual": "JJ",
"mars": "VBZ",
"second": "JJ",
"profiled": "VBN",
"different": "JJ",
"harsh": "JJ",
"skiddy": "JJ",
"scorned": "VBN",
"suffuse": "VB",
"adulterated": "JJ",
"tackles": "VBZ",
"implicate": "VB",
"amortizing": "JJ",
"spans": "VBZ",
"moderate": "JJ",
"shellshocked": "VBN",
"strangles": "VBZ",
"recraft": "VB",
"strangled": "VBN",
"arrested": "VBN",
"imitated": "VBN",
"heady": "JJ",
"imitates": "VBZ",
"gravid": "JJ",
"decode": "VB",
"chambered": "JJ",
"shortterm": "JJ",
"evaporate": "VB",
"retrained": "VBN",
"departs": "VBZ",
"unload": "VB",
"unsee": "VBN",
"weighty": "JJ",
"spectral": "JJ",
"undisrupted": "JJ",
"wants": "VBZ",
"straightforward": "JJ",
"subterranean": "JJ",
"veined": "JJ",
"dampen": "VB",
"unstilted": "JJ",
"hym": "PRP",
"hys": "PRP",
"nucleated": "VBN",
"ratchet": "VB",
"promising": "JJ",
"whole": "JJ",
"publishes": "VBZ",
"unconvinced": "JJ",
"published": "JJ",
"bused": "VBN",
"congratulated": "VBN",
"obstinate": "JJ",
"barbequed": "JJ",
"deplores": "VBZ",
"subminimum": "JJ",
"frilly": "JJ",
"inflationary": "JJ",
"bleak": "JJ",
"eats": "VBZ",
"re-enacted": "VBN",
"nonagricultural": "JJ",
"rounded": "JJ",
"oblique": "JJ",
"rounder": "JJR",
"lewdly": "JJ",
"detected": "JJ",
"scandalizing": "JJ",
"redistribute": "VB",
"neophyte": "JJ",
"grubby": "JJ",
"sprang": "VBD",
"bestirred": "VBN",
"exiled": "VBN",
"mental": "JJ",
"connect": "VB",
"simplify": "VB",
"squished": "VBN",
"commits": "VBZ",
"geared": "JJ",
"killin": "VBG",
"indulgent": "JJ",
"smoother": "JJR",
"bumble": "VB",
"excels": "VBZ",
"peaked": "JJ",
"quickwitted": "JJ",
"treated": "JJ",
"cometary": "JJ",
"unafraid": "JJ",
"fading": "JJ",
"built": "VBN",
"arab": "JJ",
"diphosphopyridine": "JJ",
"bustin": "VBG",
"prepackaged": "VBN",
"repels": "VBZ",
"fine": "JJ",
"find": "VB",
"relent": "JJ",
"dicate": "VBP",
"stumbling": "JJ",
"resolve": "JJ",
"overeat": "VBP",
"superseded": "VBN",
"supersedes": "VBZ",
"vindicated": "JJ",
"encapsulate": "VB",
"upgraded": "JJ",
"scairt": "VBN",
"denied": "VBN",
"raise": "VB",
"frets": "VBZ",
"solid": "JJ",
"confirming": "JJ",
"instead": "RB",
"seduce": "VB",
"supersede": "VB",
"dystopian": "JJ",
"forfeited": "VBN",
"alluring": "JJ",
"nowbankrupt": "JJ",
"ad": "RB",
"unite": "VB",
"profferred": "VBN",
"follows": "VBZ",
"miffed": "JJ",
"ai": "VBP",
"rheumatoid": "JJ",
"unilateralist": "JJ",
"pronounced": "VBN",
"affects": "VBZ",
"pronounces": "VBZ",
"tripping": "JJ",
"crass": "JJ",
"invading": "JJ",
"afflict": "VB",
"multilevel": "JJ",
"panglossian": "JJ",
"babylonian": "JJ",
"accidental": "JJ",
"lend": "VB",
"hansom": "JJ",
"liberating": "JJ",
"downcast": "JJ",
"enjoined": "VBN",
"fatal": "JJ",
"bleeding": "RB",
"bode": "VB",
"extreme": "JJ",
"dastardly": "JJ",
"former": "JJ",
"limp": "JJ",
"harrowing": "JJ",
"collonaded": "VBN",
"upheld": "VBD",
"uh-uh": "UH",
"impeded": "JJ",
"immoderate": "JJ",
"boned": "JJ",
"employs": "VBZ",
"reeking": "JJ",
"watery": "JJ",
"forswore": "VBD",
"furnish": "VB",
"unforethought": "JJ",
"noncommittal": "JJ",
"mention": "VB",
"estranged": "JJ",
"identified": "VBN",
"identifies": "VBZ",
"uninteresting": "JJ",
"thereupon": "RB",
"predominate": "VBP",
"instill": "VB",
"dehumidified": "VBN",
"reserved": "JJ",
"reaffirm": "VB",
"pay": "VB",
"dictate": "VB",
"curved": "JJ",
"preliminary": "JJ",
"rural": "JJ",
"starched": "VBN",
"quilted": "JJ",
"downbeat": "JJ",
"rebuke": "JJ",
"afferent": "JJ",
"restyled": "VBN",
"overgrown": "JJ",
"unauthorized": "JJ",
"bright": "JJ",
"exists": "VBZ",
"abstruse": "JJ",
"hottest-selling": "JJS",
"progress": "JJ",
"contaminated": "JJ",
"upcountry": "JJ",
"neutralized": "VBN",
"stentorian": "JJ",
"copied": "VBN",
"censor": "VBP",
"ridden": "VBN",
"homey": "JJ",
"crooked": "JJ",
"produce": "VB",
"dismal": "JJ",
"neutralizes": "VBZ",
"twelfth": "JJ",
"caters": "VBZ",
"fucken": "JJ",
"shamed": "VBN",
"insure": "VB",
"peacefully": "JJ",
"conjugated": "JJ",
"scrimp": "VB",
"rumpled": "JJ",
"epoxy": "JJ",
"awash": "JJ",
"convey": "VB",
"convex": "JJ",
"bifurcated": "JJ",
"buttoned": "VBN",
"noisy": "JJ",
"discard": "VB",
"perspiring": "JJ",
"adolescent": "JJ",
"earsplitting": "JJ",
"plague": "JJ",
"durn": "JJ",
"supreme": "JJ",
"pin": "VB",
"pip": "UH",
"motored": "JJ",
"that-a-way": "RB",
"private": "JJ",
"vehement": "JJ",
"whereever": "WRB",
"patched": "JJ",
"excused": "JJ",
"regrets": "VBZ",
"verie": "RB",
"flashy": "JJ",
"shockproof": "JJ",
"louder": "JJR",
"bronchiolar": "JJ",
"outpace": "VB",
"mistake": "JJ",
"petty": "JJ",
"perpetuated": "VBN",
"tend": "VBP",
"perpetuates": "VBZ",
"preserved": "JJ",
"phony": "JJ",
"daft": "JJ",
"pokes": "VBZ",
"pokey": "JJ",
"acknowledged": "JJ",
"unpunished": "JJ",
"deepens": "VBZ",
"salvadoran": "JJ",
"sprout": "VBP",
"over": "JJ",
"sickle": "JJ",
"sickly": "JJ",
"executes": "VBZ",
"outsized": "JJ",
"destroyed": "JJ",
"compensatory": "JJ",
"armenian": "JJ",
"however": "RB",
"antithyroid": "JJ",
"stinking": "JJ",
"prohibit": "JJ",
"independent": "JJ",
"stern-to": "RB",
"hanged": "VBN",
"clothe": "VB",
"ammoniac": "JJ",
"re-creates": "VBZ",
"recite": "VB",
"acidified": "VBN",
"re-acquire": "VB",
"classed": "VBN",
"strung": "VBN",
"ran": "VBD",
"ram": "VB",
"raw": "JJ",
"degenerates": "VBZ",
"glimpsed": "VBN",
"contacted": "VBN",
"thereby": "RB",
"whiteface": "JJ",
"reconstruct": "VB",
"pummel": "VB",
"upturned": "JJ",
"devout": "JJ",
"ventricular": "JJ",
"unheeded": "JJ",
"suggest": "VB",
"vexed": "JJ",
"reconstructs": "VBZ",
"vexes": "VBZ",
"hmong": "JJ",
"aback": "RB",
"fleeting": "JJ",
"evidenced": "VBN",
"unelected": "JJ",
"thousandth": "JJ",
"penultimate": "JJ",
"brewed": "VBN",
"mentions": "VBZ",
"uncoached": "JJ",
"furry": "JJ",
"explanatory": "JJ",
"rubicund": "JJ",
"willowy": "JJ",
"advertise": "VB",
"perfected": "VBN",
"hi": "UH",
"ho": "UH",
"homewards": "RB",
"curry": "VB",
"shaken": "VBN",
"unresolved": "JJ",
"abysmal": "JJ",
"removes": "VBZ",
"outfox": "VB",
"sustained": "JJ",
"fired": "JJ",
"muster": "VB",
"higher-salaried": "JJR",
"starchy": "JJ",
"trim": "JJ",
"boodleoo": "UH",
"constructed": "JJ",
"tie": "VB",
"portends": "VBZ",
"grisly": "JJ",
"premeditated": "JJ",
"unimpeded": "JJ",
"standard": "JJ",
"headquarter": "JJ",
"firmwide": "RB",
"registered": "JJ",
"sucks": "VB",
"stands": "VBZ",
"unripe": "JJ",
"alkaline": "JJ",
"gauged": "VBN",
"avenging": "JJ",
"bygone": "JJ",
"grounded": "JJ",
"mimicked": "VBN",
"unbidden": "JJ",
"swallowed": "VBN",
"unsheathe": "VB",
"smeared": "VBN",
"smudged": "JJ",
"mainline": "JJ",
"drown": "VB",
"nonunion": "JJ",
"secured": "JJ",
"unwire": "VB",
"unappreciated": "JJ",
"floral": "JJ",
"amuse": "VB",
"needy": "JJ",
"swank": "JJ",
"moving": "JJ",
"save": "VB",
"extrapolate": "VB",
"maneuver": "JJ",
"hobble": "VB",
"eject": "VB",
"retreating": "JJ",
"gusty": "JJ",
"suspend": "VB",
"undercapitalized": "JJ",
"fetches": "VBZ",
"molded": "VBN",
"haggle": "VB",
"senior": "JJ",
"supraventricular": "JJ",
"diverge": "VB",
"woos": "VBZ",
"continuing": "JJ",
"dreaded": "JJ",
"reoffered": "VBN",
"baroque": "JJ",
"braver": "JJR",
"fainter": "JJR",
"inhibitory": "JJ",
"rebuilds": "VBZ",
"multiplied": "VBN",
"multiplies": "VBZ",
"recentralized": "VBN",
"hereunto": "RB",
"destabilizes": "VBZ",
"herculean": "JJ",
"raring": "JJ",
"followup": "JJ",
"reimburse": "VB",
"implored": "VBN",
"rhymes": "VBZ",
"refractory": "JJ",
"contend": "VBP",
"dissident": "JJ",
"amomng": "JJ",
"supra": "RB",
"distilled": "VBN",
"barefoot": "RB",
"driven": "JJ",
"disloyal": "JJ",
"sampled": "VBN",
"embezzled": "JJ",
"replaced": "VBN",
"divested": "VBN",
"oddly": "JJ",
"deduce": "VB",
"intact": "JJ",
"renounce": "JJ",
"stops": "VBZ",
"unfunded": "JJ",
"severed": "VBN",
"later": "JJ",
"convincing": "JJ",
"prevented": "VBN",
"feudal": "JJ",
"thereabouts": "RB",
"deteriorating": "JJ",
"caraway": "JJ",
"sleazy": "JJ",
"russet": "JJ",
"frighten": "VB",
"slosh": "VB",
"nuf": "RB",
"redial": "VB",
"stalwart": "JJ",
"separate": "JJ",
"refinanced": "VBN",
"lack": "JJ",
"lacy": "JJ",
"defuse": "VB",
"far": "JJ",
"perseveres": "VBZ",
"shipboard": "JJ",
"align": "VB",
"fabricates": "VBZ",
"over-emphasized": "VBN",
"imported": "JJ",
"scowling": "JJ",
"whitecollar": "JJ",
"miniature": "JJ",
"spaceborn": "JJ",
"pervades": "VBZ",
"branded": "JJ",
"waxen": "JJ",
"crested": "JJ",
"confronted": "VBN",
"univalent": "JJ",
"protects": "VBZ",
"meditate": "VB",
"wither": "VB",
"shippin": "VB",
"retrofitted": "VBN",
"retaliate": "VB",
"microsomal": "JJ",
"gauges": "VBZ",
"eludes": "VBZ",
"dithers": "VBZ",
"conformist": "JJ",
"accumulate": "VB",
"subtler": "JJR",
"refresh": "JJ",
"succulent": "JJ",
"used": "JJ",
"inflict": "VB",
"lag": "VB",
"cremated": "VBN",
"booming": "JJ",
"brave": "JJ",
"passed": "VBN",
"penetrates": "VBZ",
"treasured": "JJ",
"relieved": "JJ",
"rawboned": "JJ",
"relieves": "VBZ",
"fence-sit": "VB",
"whiskered": "JJ",
"gilt": "JJ",
"perpetrate": "VB",
"sandwiched": "VBN",
"buff": "JJ",
"wheedled": "VBN",
"reach": "VB",
"miserly": "JJ",
"coincides": "VBZ",
"rationalized": "JJ",
"reassembled": "VBN",
"laments": "VBZ",
"unopposed": "JJ",
"hip": "JJ",
"hir": "PRP",
"longest": "RB",
"commiserate": "VB",
"joint": "JJ",
"outstrips": "VBZ",
"yassuhs": "UH",
"bare": "JJ",
"compacted": "JJ",
"learns": "VBZ",
"glistening": "JJ",
"rapid": "JJ",
"african": "JJ",
"japanese": "JJ",
"became": "VBD",
"unleveled": "VBN",
"whoe": "WP",
"stolen": "JJ",
"succeeding": "JJ",
"wireline": "JJ",
"underperformed": "VBN",
"lodged": "VBN",
"cite": "VBP",
"openended": "VBN",
"predigested": "VBN",
"twofold": "JJ",
"itchy": "JJ",
"negotiate": "VB",
"refute": "JJ",
"edgy": "JJ",
"unnourished": "JJ",
"dares": "VBZ",
"tamer": "JJR",
"unscheduled": "JJ",
"grazin": "VBG",
"unnoticed": "JJ",
"intraday": "JJ",
"amidst": "IN",
"fuzzy": "JJ",
"maoist": "JJ",
"unsealed": "JJ",
"worthwhile": "JJ",
"forestalled": "VBN",
"grouped": "VBN",
"ornamented": "VBN",
"mammoth": "JJ",
"liquefy": "VB",
"commanding": "JJ",
"systemwide": "JJ",
"engineered": "VBN",
"headlined": "VBN",
"dealt": "VBN",
"neanderthal": "JJ",
"narcotizes": "VBZ",
"reinsure": "VB",
"surefire": "JJ",
"noncontract": "JJ",
"end-tailed": "VBN",
"scrapped": "VBN",
"oversold": "VBN",
"u.s.-korean": "JJ",
"gossiped": "VBN",
"forbid": "VB",
"chipped": "VBN",
"threatening": "JJ",
"subsidary": "JJ",
"scaled": "VBN",
"adsorbs": "VBZ",
"shoves": "VBZ",
"grassy": "JJ",
"inclined": "JJ",
"entwined": "VBN",
"restaged": "VBN",
"extralegal": "JJ",
"abort": "VB",
"merged": "VBN",
"northern": "JJ",
"rapt": "JJ",
"undersized": "JJ",
"exemplify": "VBP",
"interrupted": "JJ",
"sculptured": "JJ",
"outsold": "VBD",
"complicate": "VB",
"choosy": "JJ",
"owe": "VBP",
"covered": "JJ",
"pending": "JJ",
"flout": "VB",
"lionized": "VBN",
"mollified": "VBN",
"decommissioned": "VBN",
"unavailing": "JJ",
"u.s.-built": "JJ",
"effloresce": "VB",
"unabated": "JJ",
"impart": "VB",
"sunbaked": "JJ",
"yore": "PRP",
"conscripted": "VBN",
"reweave": "VB",
"salient": "JJ",
"galled": "VBN",
"tootles": "VBZ",
"earthshaking": "JJ",
"doomed": "JJ",
"powdered": "JJ",
"simulate": "VB",
"frugal": "JJ",
"supplanted": "VBN",
"kiss": "JJ",
"siphon": "VB",
"delve": "VB",
"high": "JJ",
"intragovernment": "JJ",
"b-as": "IN",
"superimposed": "JJ",
"painted": "JJ",
"unpublished": "JJ",
"re-echo": "VB",
"sues": "VBZ",
"gosh": "UH",
"truer": "JJR",
"turbulent": "JJ",
"superb": "JJ",
"shunted": "VBN",
"neonatal": "JJ",
"spoil": "VB",
"clogged": "JJ",
"demurs": "VBZ",
"torments": "VBZ",
"intimidates": "VBZ",
"uncanny": "JJ",
"wily": "JJ",
"wilt": "MD",
"unaccommodating": "JJ",
"riche": "JJ",
"lobular": "JJ",
"privileged": "JJ",
"premiere": "JJ",
"marketwide": "JJ",
"proprietory": "JJ",
"looked": "CP",
"unpacked": "JJ",
"schmalma": "UH",
"miniscule": "JJ",
"ahem": "UH",
"repressed": "JJ",
"faithfully": "JJ",
"darkhaired": "JJ",
"lead": "JJ",
"lean": "JJ",
"locate": "VB",
"all-in-all": "RB",
"murdered": "VBN",
"tempered": "JJ",
"corneal": "JJ",
"goddamn": "JJ",
"insipid": "JJ",
"recede": "VBP",
"domesticates": "VBZ",
"ususal": "JJ",
"more-or-less": "RB",
"honorary": "JJ",
"withstood": "VBD",
"junk": "JJ",
"dollarette": "JJ",
"rotting": "JJ",
"northerly": "JJ",
"hardboiled": "JJ",
"scold": "VB",
"halfways": "RB",
"citrus": "JJ",
"broiled": "VBN",
"sooty": "JJ",
"tiered": "JJ",
"hallucinating": "JJ",
"nawt": "RB",
"farther": "JJR",
"lengthen": "VB",
"forbore": "VBD",
"laodicean": "JJ",
"therefore": "RB",
"primeval": "JJ",
"unpack": "VB",
"unreconstructed": "JJ",
"lo": "UH",
"sickening": "JJ",
"partnered": "VBN",
"rewarded": "VBN",
"secede": "VB",
"undeveloped": "JJ",
"glutted": "JJ",
"authenticated": "VBN",
"outgeneraled": "VBN",
"allay": "VB",
"touts": "VBZ",
"zap": "VB",
"reintroduces": "VBZ",
"arousal": "JJ",
"missionary": "JJ",
"concedes": "VBZ",
"vexing": "JJ",
"scream": "VB",
"zanzibar": "JJ",
"curly": "JJ",
"pioneering": "JJ",
"housewarming": "JJ",
"clarified": "VBN",
"overexercised": "VBN",
"mass-produce": "VB",
"clarifies": "VBZ",
"deadpan": "JJ",
"sinhalese": "JJ",
"croakin": "VBG",
"advanced": "JJ",
"unseemly": "JJ",
"flathead": "JJ",
"veer": "VB",
"eradicate": "VB",
"blonde": "JJ",
"relearns": "VBZ",
"participatory": "JJ",
"ugly": "JJ",
"employ": "VB",
"womanly": "JJ",
"split": "VBN",
"boiled": "VBN",
"outlived": "VBN",
"portrayed": "VBN",
"beloved": "JJ",
"otherworldly": "JJ",
"unprotected": "JJ",
"clustered": "JJ",
"retake": "VB",
"begin": "VB",
"between": "RB",
"plucked": "JJ",
"alligatored": "VBN",
"disdains": "VBZ",
"browse": "VB",
"stoked": "VBN",
"oversaw": "VBD",
"beinge": "VBG",
"administer": "VB",
"tame": "JJ",
"tamp": "VB",
"nonvoting": "JJ",
"safeguard": "VB",
"eventual": "JJ",
"comely": "JJ",
"intent": "JJ",
"rephrased": "VBN",
"filing": "JJ",
"overturned": "VBN",
"osf": "IN",
"timbered": "JJ",
"stays": "VBZ",
"tap": "VB",
"tan": "JJ",
"accomplishes": "VBZ",
"dusty": "JJ",
"accomplished": "JJ",
"shattered": "JJ",
"enough": "JJ",
"doubled": "JJ",
"unraveled": "VBN",
"admired": "JJ",
"mirrors": "VBZ",
"incremental": "JJ",
"admires": "VBZ",
"bore": "VBD",
"slams": "VBZ",
"temperate": "JJ",
"encouraged": "VBN",
"yeard": "VBN",
"civilian": "JJ",
"secularized": "VBN",
"u.s.backed": "JJ",
"materializes": "VBZ",
"retrieve": "VB",
"interned": "VBN",
"paroxysmal": "JJ",
"typed": "VBN",
"complicates": "VBZ",
"complicated": "JJ",
"initiate": "VB",
"aboard": "RB",
"saving": "JJ",
"stifles": "VBZ",
"oversimplified": "VBN",
"decommissoned": "JJ",
"plugugly": "JJ",
"nonsocialist": "JJ",
"unfit": "JJ",
"brews": "VBZ",
"intends": "VBZ",
"half": "JJ",
"printed": "JJ",
"redirected": "VBN",
"fascinated": "JJ",
"infuriate": "VB",
"fecal": "JJ",
"betrothal": "JJ",
"hindmost": "JJ",
"guarded": "JJ",
"multifiber": "JJR",
"morose": "JJ",
"intoxicating": "JJ",
"alarming": "JJ",
"refreshed": "JJ",
"concentrated": "JJ",
"concentrates": "VBZ",
"unsettling": "JJ",
"compels": "VBZ",
"radicalized": "VBN",
"stripped": "JJ",
"berber": "JJ",
"combatted": "VBN",
"formed": "VBN",
"geothermal": "JJ",
"runnin": "VBG",
"straighter": "JJR",
"u.s.-led": "JJ",
"reviled": "VBN",
"obtuse": "JJ",
"electrogalvanized": "JJ",
"eliminate": "JJ",
"debilitating": "JJ",
"deft": "JJ",
"defy": "VB",
"utl": "JJ",
"wired": "JJ",
"steamed": "JJ",
"recycles": "VBZ",
"disconcert": "VB",
"uncap": "VB",
"overthrow": "JJ",
"militate": "VB",
"goosey": "JJ",
"unshielded": "VBN",
"demeaning": "JJ",
"divine": "JJ",
"retains": "VBZ",
"puzzled": "JJ",
"shapely": "JJ",
"no": "JJ",
"lacquered": "VBN",
"rumbles": "VBZ",
"worsted": "JJ",
"dyed": "VBN",
"landlocked": "JJ",
"checkin": "VBG",
"healed": "JJ",
"past": "JJ",
"quicken": "JJ",
"corked": "JJ",
"a-includes": "VBZ",
"literary": "JJ",
"enliven": "VBP",
"tested": "JJ",
"nonviolent": "JJ",
"centrifugal": "JJ",
"enlargd": "VBN",
"enlarge": "VB",
"sprinkle": "VB",
"mended": "VBN",
"overcooked": "VBN",
"replies": "VBZ",
"revalued": "VBN",
"focussed": "VBN",
"unstated": "JJ",
"dull": "JJ",
"brunette": "JJ",
"denotes": "VBZ",
"denoted": "VBN",
"multihulled": "VBN",
"purport": "VBP",
"hallowed": "JJ",
"cradled": "VBN",
"surrealist": "JJ",
"waft": "VB",
"also": "RB",
"departmental": "JJ",
"balkanized": "JJ",
"barren": "JJ",
"haw": "UH",
"bulgarian": "JJ",
"sunny": "JJ",
"devoured": "VBN",
"adapts": "VBZ",
"overboard": "RB",
"unrealized": "JJ",
"agreed": "JJ",
"hostile": "JJ",
"untouched": "JJ",
"door-fronted": "VBN",
"lash": "VB",
"aforethought": "JJ",
"patrolled": "VBN",
"infect": "VB",
"caged": "VBN",
"cagey": "JJ",
"waivered": "VBN",
"disgusted": "JJ",
"eventshah-leh": "RB",
"flooded": "VBN",
"unimpressed": "JJ",
"crackles": "VBZ",
"abound": "VBP",
"obscures": "VBZ",
"obscured": "VBN",
"deserved": "JJ",
"epochal": "JJ",
"wrinkled": "JJ",
"harnessed": "VBN",
"nonrecourse": "JJ",
"inhumane": "JJ",
"unsafe": "JJ",
"char": "VB",
"diverse": "JJ",
"hove": "VBD",
"arthurian": "JJ",
"gawdamighty": "UH",
"electroplated": "VBN",
"toted": "VBN",
"broaden": "VB",
"amiss": "RB",
"quadruples": "VBZ",
"quadrupled": "VBN",
"whooping": "JJ",
"damning": "JJ",
"croon": "VB",
"thatt": "IN",
"suspected": "JJ",
"lock": "VB",
"nears": "VBZ",
"uncompensated": "JJ",
"procured": "VBN",
"bilingual": "JJ",
"pales": "VBZ",
"realized": "JJ",
"regains": "VBZ",
"realizes": "VBZ",
"presuppose": "VBP",
"good-by": "UH",
"holds": "VBZ",
"mute": "JJ",
"directs": "VBZ",
"varies": "VBZ",
"hungry": "JJ",
"blown-up": "VBN",
"bump": "VB",
"bicameral": "JJ",
"unprepared": "JJ",
"chilly": "JJ",
"manufactured": "JJ",
"untested": "JJ",
"starker": "JJR",
"backdoor": "JJ",
"burglarized": "VBN",
"pressurized": "VBN",
"u.s.-supplied": "JJ",
"seethes": "VBZ",
"ponders": "VBZ",
"prevayle": "VB",
"uncalled": "JJ",
"worldwide": "JJ",
"bleaker": "JJR",
"woolly": "JJ",
"wynne": "VB",
"lower-middle": "JJR",
"exude": "VBP",
"insulting": "JJ",
"thermonuclear": "JJ",
"faces": "VBZ",
"undergraduate": "JJ",
"rougher": "JJR",
">": "SYM",
"bioequivalent": "JJ",
"agonizes": "VBZ",
"adequate": "JJ",
"joking": "JJ",
"diversify": "VB",
"audio": "JJ",
"wee": "JJ",
"undulating": "JJ",
"nipponese": "JJ",
"tick": "VB",
"undid": "VBD",
"immortal": "JJ",
"scatters": "VBZ",
"contested": "JJ",
"recurring": "JJ",
"e-estimated": "VBN",
"pressure": "JJ",
"wields": "VBZ",
"outshines": "VBZ",
"indoctrinated": "VBN",
"nation-wide": "RB",
"placed": "VBN",
"reciprocates": "VBZ",
"effected": "VBN",
"compares": "VBZ",
"c-excludes": "VB",
"rekindle": "VB",
"manhandled": "VBN",
"sexualized": "JJ",
"military": "JJ",
"exaggerate": "VB",
"harrowed": "VBN",
"unfelt": "JJ",
"personifies": "VBZ",
"multifamily": "JJ",
"residual": "JJ",
"redeploy": "VB",
"personified": "VBN",
"postponed": "VBN",
"cloistered": "JJ",
"plot": "JJ",
"plod": "VB",
"bundled": "VBN",
"wavy": "JJ",
"separates": "VBZ",
"flunk": "VBP",
"flung": "VBD",
"impair": "VB",
"indicates": "VBZ",
"vehicular": "JJ",
"recovers": "VBZ",
"co-wrote": "VBD",
"complacent": "JJ",
"alienate": "VB",
"appreciate": "VB",
"rogue": "JJ",
"argentinian": "JJ",
"safe": "JJ",
"lifelong": "JJ",
"dingy": "JJ",
"engrave": "VB",
"ahah": "UH",
"dashing": "JJ",
"disembark": "VBP",
"wasted": "JJ",
"policymaking": "JJ",
"askance": "RB",
"off-shore": "RB",
"germane": "JJ",
"culminates": "VBZ",
"assessed": "VBN",
"grave": "JJ",
"topple": "VB",
"conjures": "VBZ",
"disturbs": "VBZ",
"papillary": "JJ",
"intergovernmental": "JJ",
"panned": "VBN",
"gutsy": "JJ",
"rotated": "VBN",
"overrule": "VB",
"scrubbed": "VBN",
"optimum": "JJ",
"bracing": "JJ",
"arcane": "JJ",
"shaped": "VBN",
"fermentation": "JJ",
"disappears": "VBZ",
"unchangedat": "JJ",
"katangan": "JJ",
"innoculated": "VBN",
"attacked": "VBN",
"collects": "VBZ",
"cont": "VBN",
"synce": "IN",
"tramples": "VBZ",
"taxing": "JJ",
"shout": "VB",
"unmolested": "JJ",
"unfounded": "JJ",
"cooler": "JJR",
"homing": "JJ",
"flatter": "JJR",
"flatten": "VB",
"confusing": "JJ",
"congratulate": "VBP",
"matriculate": "VB",
"booby": "JJ",
"peel": "VB",
"peed": "VBN",
"procure": "VB",
"gram": "JJ",
"asserts": "VBZ",
"grab": "VB",
"breaded": "VBN",
"shared": "JJ",
"negroid": "JJ",
"stumble": "VB",
"connote": "VB",
"romanesque": "JJ",
"maximum": "JJ",
"commences": "VBZ",
"falls": "VBZ",
"competent": "JJ",
"update": "VB",
"visualizes": "VBZ",
"dissatisfied": "JJ",
"unformed": "JJ",
"evades": "VBZ",
"agitate": "VBP",
"pretax": "JJ",
"thicker": "JJR",
"housebroken": "JJ",
"losing": "JJ",
"most-actives": "JJS",
"decked": "VBN",
"occur": "VB",
"ornery": "JJ",
"affirms": "VBZ",
"a.k.a": "JJ",
"factual": "JJ",
"unplanned": "JJ",
"agricultural": "JJ",
"unloaded": "JJ",
"consummated": "JJ",
"legal": "JJ",
"wrap": "VB",
"expected": "JJ",
"tried": "JJ",
"parceled": "VBN",
"blind": "JJ",
"blink": "VB",
"authorized": "JJ",
"appreciates": "VBZ",
"repossess": "VB",
"appreciated": "VBN",
"underwritten": "VBN",
"recruit": "VB",
"impinge": "VB",
"profuse": "JJ",
"approves": "VBZ",
"approved": "JJ",
"neatly": "JJ",
"steady": "JJ",
"discovered": "VBN",
"worse": "JJ",
"staid": "JJ",
"worst": "JJ",
"shrill": "JJ",
"charcoaled": "VBN",
"suspects": "VBZ",
"glaze": "VB",
"rollicking": "JJ",
"overcerebral": "JJ",
"orchestrate": "VB",
"moans": "VBZ",
"resides": "VBZ",
"interested": "JJ",
"impugn": "VB",
"stimulating": "JJ",
"aground": "RB",
"alleviate": "VB",
"uninjured": "JJ",
"might": "JJ",
"renewed": "JJ",
"swim": "VB",
"stunk": "VBD",
"onscreen": "RB",
"gonne": "VBN",
"gonna": "VBG",
"ramshackle": "JJ",
"semiannual": "JJ",
"sadder": "JJR",
"conceals": "VBZ",
"stare": "VB",
"shags": "VBZ",
"stark": "JJ",
"evens": "VBZ",
"appraising": "JJ",
"trample": "VB",
"nations": "NNPS",
"dabble": "VB",
"prying": "JJ",
"pledged": "JJ",
"uncollaborated": "JJ",
"resounding": "JJ",
"begot": "VBD",
"antagonised": "VBN",
"throbbing": "JJ",
"enjoin": "VB",
"befriends": "VBZ",
"envisions": "VBZ",
"gridlocked": "VBN",
"tracks": "VBZ",
"inflected": "JJ",
"implanted": "VBN",
"afterwards": "RB",
"rejuvenate": "VB",
"shrouds": "VBZ",
"horizontal": "JJ",
"misnamed": "VBN",
"thermal": "JJ",
"tumbles": "VBZ",
"siberian": "JJ",
"predatory": "JJ",
"exasperated": "JJ",
"deride": "VBP",
"nonvirulent": "JJ",
"splattered": "VBN",
"testify": "VB",
"counterrevolutionary": "JJ",
"favored": "JJ",
"unsightly": "JJ",
"brightest": "RB",
"incubated": "VBN",
"warty": "JJ",
"seafaring": "JJ",
"gret": "JJ",
"grey": "JJ",
"null": "JJ",
"aired": "VBN",
"hires": "VBZ",
"multilingual": "JJ",
"reawaken": "VB",
"raving": "JJ",
"bedfast": "JJ",
"unwed": "JJ",
"naively": "JJ",
"velvety": "JJ",
"distressing": "JJ",
"stored": "VBN",
"pictured": "VBN",
"forgotten": "JJ",
"wifely": "JJ",
"pick": "VB",
"intriguing": "JJ",
"pack": "VB",
"costly": "JJ",
"superfast": "JJ",
"multisided": "JJ",
"shivering": "JJ",
"disseminate": "VB",
"brushed": "JJ",
"keynesian": "JJ",
"equipotent": "JJ",
"looks": "CP",
"alpha": "JJ",
"done-and": "CC",
"woodward": "RB",
"surmise": "VB",
"goddamit": "UH",
"crippling": "JJ",
"amazonian": "JJ",
"underrated": "JJ",
"imprecise": "JJ",
"rekindled": "VBN",
"friendly": "JJ",
"rattling": "JJ",
"compassionate": "JJ",
"magnificent": "JJ",
"redone": "JJ",
"blanched": "VBN",
"enterprising": "JJ",
"convert": "VB",
"comminge": "VBG",
"soapy": "JJ",
"infest": "VB",
"traditionalized": "VBN",
"charming": "JJ",
"appointed": "JJ",
"wearin": "VBG",
"postmarked": "VBN",
"ensconced": "VBN",
"transmitted": "VBN",
"despairs": "VBZ",
"asinine": "JJ",
"unseated": "JJ",
"fare": "VBP",
"temporal": "JJ",
"instrumented": "JJ",
"stout": "JJ",
"respond": "VB",
"miniwelfare": "JJ",
"spoon-feed": "VB",
"overcharged": "VBN",
"chided": "VBN",
"random": "JJ",
"vacuolated": "VBN",
"refight": "VB",
"maximizes": "VBZ",
"re-emphasise": "VB",
"galling": "JJ",
"inasmuch": "RB",
"submitted": "VBN",
"other": "JJ",
"imperilled": "VBN",
"counterbalance": "VB",
"corrects": "VBZ",
"astonishing": "JJ",
"constrain": "VB",
"underpins": "VBZ",
"achieve": "VB",
"nevermind": "VB",
"failed": "JJ",
"slimed": "VBN",
"shrouded": "JJ",
"operates": "VBZ",
"operated": "VBN",
"unshaved": "JJ",
"merry": "JJ",
"unfired": "VBN",
"formosan": "JJ",
"revitalized": "VBN",
"scabbed": "VBN",
"constitutes": "VBZ",
"impress": "VB",
"ratiocinating": "JJ",
"tweezed": "VBN",
"abounds": "VBZ",
"non-god": "UH",
"drowns": "VBZ",
"pin-pointed": "VBN",
"necessary": "JJ",
"lost": "JJ",
"tipple": "VBP",
"lose": "JJ",
"mayan": "JJ",
"home": "JJ",
"pinpoint": "VB",
"octogenarian": "JJ",
"hurls": "VBZ",
"greening": "JJ",
"fettered": "VBN",
"multivalve": "JJ",
"triangular": "JJ",
"universal": "JJ",
"began": "VBD",
"discorporated": "VBN",
"forgone": "JJ",
"whoops": "JJ",
"knelt": "VBD",
"perverted": "JJ",
"subordinate": "JJ",
"upward": "JJ",
"snared": "VBN",
"either": "RB",
"tertiary": "JJ",
"highfalutin": "JJ",
"ostracized": "VBN",
"whereas": "IN",
"isothermal": "JJ",
"adventurist": "JJ",
"colde": "MD",
"vibratory": "JJ",
"operate": "VB",
"wus": "RB",
"unnamed": "JJ",
"ordinary": "JJ",
"wuh": "VBP",
"before": "RB",
"runny": "JJ",
"downright": "JJ",
"untrustworthy": "JJ",
"redressed": "VBN",
"lurks": "VBZ",
"punctuated": "VBN",
"chinked": "VBN",
"foreclose": "VB",
"digs": "VBZ",
"requisite": "JJ",
"unscented": "VBN",
"evaporates": "VBZ",
"reassert": "VB",
"floodlit": "JJ",
"overloud": "JJ",
"breathes": "VBZ",
"unadjusted": "JJ",
"annoyed": "JJ",
"flatulent": "JJ",
"jailed": "VBN",
"leave": "VB",
"earn": "VB",
"monumental": "JJ",
"enchant": "VB",
"roasted": "VBN",
"unmurmuring": "JJ",
"incorporating": "JJ",
"woozy": "JJ",
"adjudged": "VBN",
"wears": "VBZ",
"insinuates": "VBZ",
"suggested": "VBN",
"civilised": "JJ",
"jotted": "JJ",
"papal": "JJ",
"tint": "VBP",
"tiny": "JJ",
"detrimental": "JJ",
"dismiss": "VB",
"shattering": "JJ",
"tolled": "VBN",
"deepen": "VB",
"downplay": "VB",
"affirm": "VB",
"unshed": "JJ",
"settles": "VBZ",
"maryed": "VBN",
"bearded": "JJ",
"valued": "JJ",
"inherit": "VB",
"flops": "VBZ",
"nudge": "VB",
"royal": "JJ",
"bantered": "VBN",
"giving": "JJ",
"translucent": "JJ",
"sapped": "VBN",
"coincide": "VB",
"vaulted": "JJ",
"uncoated": "JJ",
"offcourse": "JJ",
"pressing": "JJ",
"thinner": "JJR",
"scalded": "VBN",
"thinned": "VBN",
"slipshod": "JJ",
"vacated": "VBN",
"unpadded": "JJ",
"tollways": "RB",
"horrifying": "JJ",
"average": "JJ",
"spotlighted": "VBN",
"erupts": "VBZ",
"pimpled": "JJ",
"tarnished": "JJ",
"bruising": "JJ",
"fosters": "VBZ",
"cut-and-paste": "VB",
"vermilion": "JJ",
"unrelieved": "JJ",
"advised": "JJ",
"unworn": "JJ",
"round": "JJ",
"unexpected": "JJ",
"exemplified": "VBN",
"exemplifies": "VBZ",
"insolent": "JJ",
"statewide": "JJ",
"spiffing": "JJ",
"disaffiliated": "JJ",
"unequaled": "JJ",
"reelected": "VBN",
"premarital": "JJ",
"nearest": "RB",
"frescoed": "JJ",
"burgeoning": "JJ",
"purify": "JJ",
"abuzz": "JJ",
"underpriced": "JJ",
"equip": "VB",
"monitor": "VB",
"repriced": "VBN",
"-ing": "JJ",
"rattles": "VBZ",
"condemns": "VBZ",
"brimming": "JJ",
"afternoon": "UH",
"lambaste": "VB",
"a[fj]": "SYM",
"gaudy": "JJ",
"looking": "JJ",
"centigrade": "JJ",
"strolls": "VBZ",
"lick": "VB",
"entombed": "VBN",
"tight": "JJ",
"recreated": "VBN",
"recreates": "VBZ",
"francophone": "JJ",
"bete": "JJ",
"hatched": "JJ",
"spaced": "JJ",
"scowl": "VBP",
"reek": "VBP",
"stormy": "JJ",
"rid": "JJ",
"large": "JJ",
"biosynthesized": "VBN",
"striking": "JJ",
"audited": "VBN",
"vital": "JJ",
"contains": "VBZ",
"radiates": "VBZ",
"rescued": "JJ",
"ascribed": "VBN",
"pacifies": "VBZ",
"ascribes": "VBZ",
"tilts": "VBZ",
"fiftieth": "CD",
"oust": "VB",
"come": "VB",
"sound": "JJ",
"cancelled": "VBN",
"sleeping": "JJ",
"belie": "VBP",
"clammy": "JJ",
"unperceived": "VBN",
"patrician": "JJ",
"assist": "VB",
"uncomplicated": "JJ",
"sputters": "VBZ",
"thudding": "JJ",
"git": "VB",
"gnarled": "JJ",
"hydrated": "JJ",
"bewitched": "VBN",
"imaged": "VBN",
"princely": "JJ",
"scared": "JJ",
"consolidate": "VB",
"skilled": "JJ",
"actuate": "VB",
"restrained": "JJ",
"disfavored": "JJ",
"oxidised": "VBN",
"motherly": "JJ",
"arranged": "JJ",
"arranges": "VBZ",
"eschew": "VB",
"frail": "JJ",
"goddam": "JJ",
"withdraw": "VB",
"collegiate": "JJ",
"commute": "VBP",
"preserves": "VBZ",
"byzantine": "JJ",
"crimson": "JJ",
"unabashed": "JJ",
"purrs": "VBZ",
"elated": "JJ",
"drugged": "VBN",
"blares": "VBZ",
"bypassed": "VBN",
"swampy": "JJ",
"leafhopper": "JJR",
"returning": "JJ",
"sofar": "RB",
"uncharted": "JJ",
"bizarre": "JJ",
"plastered": "JJ",
"subsumed": "VBN",
"constructs": "VBZ",
"american": "JJ",
"specializes": "VBZ",
"junked": "VBN",
"ensnarled": "VBN",
"questioning": "JJ",
"tangere": "JJ",
"aristotelian": "JJ",
"upholstered": "VBN",
"afrikaner": "JJR",
"forced": "JJ",
"researches": "VBZ",
"frigid": "JJ",
"prejudiced": "JJ",
"hails": "VBZ",
"winnow": "VB",
"uninvited": "JJ",
"pubescent": "JJ",
"impeached": "VBN",
"beginning": "JJ",
"embraces": "VBZ",
"embraced": "VBN",
"unacquainted": "JJ",
"bloodied": "JJ",
"obstructed": "JJ",
"dippy": "JJ",
"lilting": "JJ",
"recondite": "JJ",
"wows": "VBZ",
"loosens": "VBZ",
"inarticulate": "JJ",
"drifts": "VBZ",
"converge": "VB",
"chimes": "VBZ",
"merges": "VBZ",
"threehour": "JJ",
"biannual": "JJ",
"manly": "JJ",
"expert": "JJ",
"shatterproof": "JJ",
"punch": "JJ",
"vascular": "JJ",
"beetling": "JJ",
"intimidated": "JJ",
"re-run": "VBN",
"profligate": "JJ",
"asserted": "JJ",
"ravaged": "JJ",
"furthers": "VBZ",
"omniscient": "JJ",
"chiseled": "VBN",
"grainy": "JJ",
"reopens": "VBZ",
"unearned": "JJ",
"astound": "VB",
"disillusioning": "JJ",
"shortchanged": "VBN",
"irritably": "JJ",
"kenyan": "JJ",
"cut": "VB",
"undistinguished": "JJ",
"christian": "JJ",
"recycled": "VBN",
"unhindered": "JJ",
"absolutely": "RB",
"proficient": "JJ",
"delist": "VB",
"depose": "VB",
"translate": "VB",
"planed": "VBN",
"deprive": "VB",
"consulted": "VBN",
"revelatory": "JJ",
"appetizing": "JJ",
"overfeed": "VB",
"chrissake": "UH",
"adoring": "JJ",
"intensifying": "JJ",
"intensified": "VBN",
"entertaining": "JJ",
"overlooking": "JJ",
"amplifies": "VBZ",
"amplified": "JJ",
"compose": "VB",
"suave": "JJ",
"bottomed": "JJ",
"unhurt": "JJ",
"companywide": "JJ",
"dowdy": "JJ",
"assisted": "VBN",
"pleading": "JJ",
"agrees": "VBZ",
"composed": "JJ",
"decentralized": "JJ",
"corpuscular": "JJ",
"belittling": "JJ",
"engender": "VB",
"etruscan": "JJ",
"gruff": "JJ",
"syrupy": "JJ",
"circumscribed": "JJ",
"knocks": "VBZ",
"transborder": "JJ",
"iguana": "JJ",
"undressed": "JJ",
"pugh": "UH",
"denigrate": "VB",
"preschool": "JJ",
"hisself": "PRP",
"preclude": "VB",
"oversubscribed": "VBN",
"beady": "JJ",
"incensed": "JJ",
"scriptural": "JJ",
"clarify": "VB",
"pokerfaced": "JJ",
"backwards": "RB",
"mortal": "JJ",
"domiciled": "VBN",
"elegiac": "JJ",
"rubber": "JJ",
"nebular": "JJ",
"acquire": "VB",
"foamy": "JJ",
"nearby": "JJ",
"catapults": "VBZ",
"glad": "JJ",
"thicken": "VB",
"stumbles": "VBZ",
"pave": "VB",
"overinsistent": "JJ",
"dispell": "VB",
"racked": "VBN",
"groggy": "JJ",
"reiterate": "VB",
"jewelled": "JJ",
"reproduces": "VBZ",
"metered": "VBN",
"kosher": "JJ",
"reborn": "VBN",
"uninitiated": "JJ",
"migrate": "VB",
"drowsy": "JJ",
"iodinate": "VB",
"tense": "JJ",
"commmon": "JJ",
")": ")",
"coronary": "JJ",
"shoehorned": "VBN",
"discredited": "JJ",
"neural": "JJ",
"total": "JJ",
"reintroduce": "VBP",
"drafty": "JJ",
"inveigle": "VB",
"nicknamed": "<NAME>BN",
"elapsed": "VBN",
"displaced": "JJ",
"displaces": "VBZ",
"straightway": "RB",
"screwed": "JJ",
"topiary": "JJ",
"urbanized": "JJ",
"condense": "VB",
"hankerin": "VBG",
"avowed": "JJ",
"unpartisan": "JJ",
"versatile": "JJ",
"indiscriminating": "JJ",
"transfused": "VBN",
"overpurchase": "VB",
"conveys": "VBZ",
"deregulated": "VBN",
"propsed": "VBN",
"reprocess": "VB",
"undisputed": "JJ",
"whipsaw": "JJ",
"whatsoever": "RB",
"nasty": "JJ",
"arboreal": "JJ",
"dispense": "VB",
"gluey": "JJ",
"conceive": "VB",
"glued": "VBN",
"ruffled": "JJ",
"construed": "VBN",
"hide": "VB",
"supplied": "VBN",
"democratized": "VBN",
"culminate": "VB",
"yehhh": "UH",
"grumbles": "VBZ",
"excommunicated": "VBN",
"defile": "VB",
"legislate": "VB",
"splendid": "JJ",
"howsomever": "RB",
"signatory": "JJ",
"mistreat": "VB",
"mobile": "JJ",
"ripens": "VBZ",
"rental": "JJ",
"tootley-toot-tootled": "VBN",
"herald": "VB",
"pounce": "VB",
"laid": "VBN",
"lain": "VBN",
"aforesaid": "JJ",
"longterm": "JJ",
"primary": "JJ",
"pre-paid": "VBD",
"researched": "VBN",
"leaking": "JJ",
"unsaid": "JJ",
"pre-tested": "VBN",
"alight": "JJ",
"bail": "VB",
"graded": "VBN",
"spits": "VBZ",
"unhurried": "JJ",
"anxiously": "RB",
"disturbing": "JJ",
"feline": "JJ",
"discovers": "VBZ",
"empower": "VBP",
"colored": "JJ",
"absorbent": "JJ",
"smuggled": "VBN",
"wretched": "JJ",
"seein": "VBG",
"moneymaking": "JJ",
"zingggg-o": "UH",
"javanese": "JJ",
"buyback": "JJ",
"possessed": "JJ",
"departed": "JJ",
"leagued": "VBN",
"enlighten": "VB",
"cherry": "JJ",
"burne": "VB",
"burnt": "JJ",
"peeved": "JJ",
"contradict": "VB",
"heard": "VBN",
"pursues": "VBZ",
"clucks": "VBZ",
"kayoed": "VBN",
"accepted": "JJ",
"deleted": "VBN",
"choke": "VB",
"ensure": "VB",
"inveigh": "VBP",
"ownself": "PRP",
"obscene": "JJ",
"pampers": "VBZ",
"amen": "UH",
"encumber": "VB",
"swissmade": "JJ",
"when": "WRB",
"liquidate": "VB",
"contrasted": "VBN",
"forgoes": "VBZ",
"tripartite": "JJ",
"sequestered": "VBN",
"widthwise": "RB",
"unfamiliar": "JJ",
"ritzy": "JJ",
"level": "JJ",
"posts": "VBZ",
"likens": "VBZ",
"tougher": "JJR",
"toughen": "VB",
"port": "JJ",
"stately": "JJ",
"entertain": "VB",
"crowded": "JJ",
"undersea": "JJ",
"druncke": "VBD",
"co-market": "VB",
"flattens": "VBZ",
"reaped": "VBN",
"inform": "VB",
"syndicated": "VBN",
"lamented": "JJ",
"hassled": "VBN",
"retools": "VBZ",
"donates": "VBZ",
"demeans": "VBZ",
"qualifies": "VBZ",
"refrigerated": "JJ",
"gushing": "JJ",
"donated": "VBN",
"lambastes": "VBZ",
"unsolder": "VB",
"widen": "VB",
"turn": "VB",
"toughest-ever": "JJS",
"break": "VB",
"phoenician": "JJ",
"reinforce": "VB",
"branch-by-branch": "RB",
"tory": "JJ",
"sure": "JJ",
"beaded": "VBN",
"prodded": "VBN",
"uninterested": "JJ",
"urge": "VB",
"reinvigorate": "VB",
"crimps": "VBZ",
"glandular": "JJ",
"outperform": "VB",
"voluntary": "JJ",
"illusionary": "JJ",
"yff": "IN",
"himalayan": "JJ",
"widespread": "JJ",
"opines": "VBZ",
"escalated": "VBN",
"fishin": "VBG",
"downwind": "JJ",
"repond": "VB",
"defunded": "VBN",
"granted": "VBN",
"eggshell": "JJ",
"careen": "VB",
"studentled": "VBN",
"weep": "VB",
"sinned": "VBN",
"maltreated": "JJ",
"without": "RB",
"deflated": "JJ",
"coaxing": "JJ",
"belgian": "JJ",
"wher": "WRB",
"lets": "VBZ",
"inordinate": "JJ",
"located": "VBN",
"developmental": "JJ",
"frees": "VBZ",
"freer": "JJR",
"imputed": "VBN",
"unpegged": "JJ",
"beached": "JJ",
"stereotyped": "JJ",
"discussed": "VBN",
"decelerated": "VBN",
"cursed": "JJ",
"alleges": "VBZ",
"rouse": "VB",
"creeping": "JJ",
"accentuated": "VBN",
"cockeyed": "JJ",
"accentuates": "VBZ",
"uncovered": "VBN",
"c-reflects": "VBZ",
"proliferate": "VBP",
"platted": "VBN",
"scrappy": "JJ",
"re-rescue": "VB",
"tethered": "VBN",
"beefore": "IN",
"abstracted": "JJ",
"risen": "VBN",
"nowhere": "RB",
"unquestioned": "JJ",
"ruffle": "VB",
"mayoral": "JJ",
"compressed": "JJ",
"bungled": "JJ",
"horrified": "JJ",
"flat": "JJ",
"flay": "VB",
"besides": "RB",
"salted": "JJ",
"libertarian": "JJ",
"exalted": "JJ",
"rebalance": "VB",
"guttural": "JJ",
"okay": "JJ",
"abdicate": "VBP",
"holored": "VBN",
"proclaimed": "VB",
"democrats": "NNPS",
"shorn": "VBN",
"oftentimes": "RB",
"hunted": "VBN",
"mastered": "VBN",
"cloudy": "JJ",
"foolproof": "JJ",
"fallen": "JJ",
"enlarges": "VBZ",
"enlarged": "JJ",
"abroad": "RB",
"unmentioned": "VBN",
"elementary": "JJ",
"amass": "VB",
"exert": "VB",
"zionist": "JJ",
"foamed": "JJ",
"populate": "VB",
"diversifed": "VBN",
"liberate": "VB",
"restore": "VB",
"witty": "JJ",
"cringe": "VBP",
"unflagging": "JJ",
"unincorporated": "JJ",
"reside": "VBP",
"regulates": "VBZ",
"regulated": "VBN",
"startling": "JJ",
"flinty": "JJ",
"dominated": "JJ",
"impede": "VB",
"bourgeois": "JJ",
"deflects": "VBZ",
"overemphasized": "VBN",
"awaye": "RB",
"unseen": "JJ",
"seems": "VBZ",
"arrowed": "JJ",
"u.n.-supervised": "JJ",
"tormented": "JJ",
"collect": "VB",
"retry": "VB",
"inoculate": "VB",
"retro": "JJ",
"contrasting": "JJ",
"complimentary": "JJ",
"paved": "JJ",
"raftered": "VBN",
"landscaped": "JJ",
"capitalized": "VBN",
"capitalizes": "VBZ",
"steeped": "VBN",
"sepia": "JJ",
"attracted": "VBN",
"teased": "VBN",
"steeper": "JJR",
"disappoints": "VBZ",
"these": "DT",
"fertilized": "VBN",
"impatient": "JJ",
"re-animates": "VBZ",
"thynke": "VBP",
"gloat": "VB",
"submerged": "JJ",
"lighthearted": "JJ",
"apt": "JJ",
"clever": "JJ",
"dissolve": "VB",
"persuades": "VBZ",
"hinders": "VBZ",
"monthlong": "JJ",
"restructures": "VBZ",
"latermaturing": "JJ",
"interstellar": "JJ",
"trimmer": "JJR",
"trimmed": "VBN",
"southerly": "JJ",
"cerebral": "JJ",
"disclose": "VB",
"informs": "VBZ",
"galvanized": "JJ",
"outstate": "JJ",
"m.d.-speak": "JJ",
"dickensian": "JJ",
"disheartening": "JJ",
"diminish": "VB",
"traded": "VBN",
"succeeded": "VBN",
"coalesces": "VBZ",
"ringed": "JJ",
"weekly": "JJ",
"nearer": "JJR",
"postulated": "VBN",
"studded": "VBN",
"local": "JJ",
"misbranded": "JJ",
"manye": "JJ",
"leviathan": "JJ",
"ascertain": "VB",
"bought": "VBD",
"hokey": "JJ",
"unclear": "JJ",
"connotes": "VBZ",
"unclean": "JJ",
"bedded": "JJ",
"concludes": "VBZ",
"thum": "PRP",
"subcontract": "VB",
"clamors": "VBZ",
"conceives": "VBZ",
"undertakes": "VBZ",
"undertaken": "VBN",
"reincorporated": "VBN",
"z-not": "RB",
"more-powerful": "JJR",
"envisages": "VBZ",
"countervailing": "JJ",
"synchotron": "JJ",
"energized": "VBN",
"remove": "VB",
"f-series": "NNPS",
"promise": "JJ",
"unrifled": "JJ",
"fawning": "JJ",
"egalitarian": "JJ",
"resists": "VBZ",
"prominent": "JJ",
"hilar": "JJ",
"assail": "VB",
"distract": "VB",
"carborundum": "JJ",
"curtained": "JJ",
"shredded": "JJ",
"ornate": "JJ",
"conjure": "VB",
"swivel": "JJ",
"test-fired": "VBN",
"preceeded": "VBN",
"uncertain": "JJ",
"differentiated": "JJ",
"stiffens": "VBZ",
"charted": "VBN",
"sterile": "JJ",
"decry": "VB",
"intentioned": "JJ",
"interdependent": "JJ",
"strewn": "VBN",
"divide": "VB",
"highflying": "JJ",
"relay": "VB",
"unaffiliated": "JJ",
"orney": "JJ",
"afar": "RB",
"organized": "JJ",
"cheetal": "JJ",
"shored": "VBN",
"destined": "JJ",
"repatriated": "VBN",
"squint": "VBP",
"offered": "VBN",
"bewteen": "IN",
"matured": "JJ",
"hidden": "JJ",
"glorify": "VB",
"blinded": "JJ",
"waive": "VB",
"alert": "JJ",
"knit": "VB",
"enlist": "VB",
"carolingian": "JJ",
"bated": "JJ",
"instruct": "VB",
"listed": "VBN",
"underlie": "VBP",
"listen": "VB",
"outlaw": "VB",
"entail": "VB",
"privvy": "JJ",
"wise": "JJ",
"doin": "VBG",
"undamaged": "JJ",
"infidel": "JJ",
"blew": "VBD",
"mandatory": "JJ",
"fair": "JJ",
"hunker": "VB",
"invigorated": "JJ",
"up-front": "RB",
"vain": "JJ",
"diverted": "VBN",
"biotech": "JJ",
"trusted": "JJ",
"topping": "JJ",
"haphazard": "JJ",
"tops": "JJ",
"hackneyed": "JJ",
"rescinded": "VBN",
"givin": "VBG",
"disguise": "VB",
"uncombed": "JJ",
"gooshey": "JJ",
"abashed": "JJ",
"firmer": "JJR",
"seaside": "JJ",
"prepositioning": "JJ",
"bruited": "VBN",
"bonkers": "JJ",
"macabre": "JJ",
"equestrian": "JJ",
"foh": "IN",
"unfixed": "JJ",
"rebut": "VB",
"therefrom": "RB",
"lays": "VBZ",
"looms": "VBZ",
"proved": "JJ",
"proven": "JJ",
"crumble": "VB",
"soothe": "VB",
"proves": "VBZ",
"maimed": "JJ",
"cheap": "JJ",
"trod": "VBN",
"tear": "VB",
"unscripted": "JJ",
"outdrew": "VBD",
"prevent": "VB",
"reminiscent": "JJ",
"reread": "VB",
"namibian": "JJ",
"crumbles": "VBZ",
"bunkered": "VBN",
"vitiates": "VBZ",
"thereunder": "RB",
"bloody": "JJ",
"qualified": "JJ",
"cherishes": "VBZ",
"cherished": "VBN",
"visual": "JJ",
"degrade": "VB",
"nether": "JJ",
"fatherly": "JJ",
"four-to-one": "RB",
"misshapen": "JJ",
"filthy": "JJ",
"inflate": "VB",
"subordinated": "JJ",
"brags": "VBZ",
"contained": "JJ",
"mixed": "JJ",
"disguised": "JJ",
"collapsing": "JJ",
"misused": "JJ",
"chubby": "JJ",
"potted": "JJ",
"indicate": "VB",
"blazon": "VB",
"simmered": "VBN",
"nicer": "JJR",
"indentured": "VBN",
"microwaved": "VBN",
"myne": "PRP",
"bade": "VBD",
"trained": "JJ",
"maniacal": "JJ",
"bootleg": "JJ",
"presage": "VB",
"unpremeditated": "JJ",
"reigns": "VBZ",
"undermine": "VB",
"twotiered": "JJ",
"throttled": "VBN",
"daylong": "JJ",
"perpetuate": "VB",
"decertified": "VBN",
"askin": "VBG",
"bulletproof": "JJ",
"fleisher": "VB",
"retrace": "VB",
"truculent": "JJ",
"snarled": "JJ",
"underline": "VB",
"retract": "VB",
"fringed": "JJ",
"glitters": "VBZ",
"thinke": "VBZ",
"playin": "VBG",
"thinks": "VBZ",
"authenticate": "VBP",
"destroys": "VBZ",
"spotlights": "VBZ",
"stunned": "JJ",
"flawed": "JJ",
"dour": "JJ",
"least": "RB",
"freaked": "VBN",
"reinvigorated": "JJ",
"harro": "UH",
"antiquated": "JJ",
"oversoft": "JJ",
"administers": "VBZ",
"enrolled": "VBN",
"near-by": "IN",
"gravitates": "VBZ",
"restricted": "JJ",
"undeserved": "JJ",
"crestfallen": "JJ",
"candid": "JJ",
"caesarean": "JJ",
"excitatory": "JJ",
"yellowed": "VBN",
"skyrocket": "VB",
"smuggle": "VB",
"indoors": "RB",
"implore": "VB",
"tightfisted": "JJ",
"nonbanking": "JJ",
"cunning": "JJ",
"apportion": "VB",
"dazzle": "VB",
"unattended": "JJ",
"aplenty": "JJ",
"swiss": "JJ",
"wrench": "VB",
"reshape": "VB",
"crouchin": "JJ",
"unimposing": "JJ",
"anyhow": "RB",
"nighted": "JJ",
"stewed": "JJ",
"always": "JJ",
"m&a": "JJ",
"throwin": "VBG",
"tipsy": "JJ",
"reformulated": "VBN",
"trite": "JJ",
"premediated": "JJ",
"well-nigh": "RB",
"prefab": "JJ",
"w": "IN",
"delicate": "JJ",
"emblazoned": "VBN",
"twisted": "JJ",
"ethereal": "JJ",
"numbed": "VBN",
"relies": "VBZ",
"determined": "JJ",
"remembers": "VBZ",
"projected": "VBN",
"crude": "JJ",
"stoneware": "JJ",
"commemorates": "VBZ",
"commemorated": "VBN",
"relied": "VBN",
"hipper": "JJR",
"rhyme": "VB",
"fugual": "JJ",
"rectangular": "JJ",
"niobe": "VB",
"stirling": "JJ",
"tottering": "JJ",
"overdrawn": "JJ",
"backstitch": "VB",
"muted": "JJ",
"shortsighted": "JJ",
"smashing": "JJ",
"corresponds": "VBZ",
"assassinated": "VBN",
"firm": "JJ",
"vanish": "VBP",
"funny": "JJ",
"elevated": "JJ",
"longer-run": "JJR",
"elevates": "VBZ",
"leapt": "VBD",
"focal": "JJ",
"recent": "JJ",
"canned": "JJ",
"whaddya": "WP",
"plagues": "VBZ",
"numb": "JJ",
"daily": "JJ",
"pertinent": "JJ",
"underway": "RB",
"unfazed": "VBN",
"indigent": "JJ",
"abandon": "VB",
"prosecuted": "VBN",
"tidal": "JJ",
"discontented": "JJ",
"forgave": "VBD",
"chide": "VB",
"relaxed": "JJ",
"buttery": "JJ",
"relaxes": "VBZ",
"horned": "JJ",
"nationalist": "JJ",
"defined": "VBN",
"defines": "VBZ",
"mealy": "JJ",
"bodily": "JJ",
"tailored": "JJ",
"guzzles": "VBZ",
"cares": "VBZ",
"moot": "JJ",
"jist": "RB",
"disordered": "JJ",
"umpteenth": "JJ",
"proffer": "VB",
"unmask": "VB",
"impressionist": "JJ",
"distributed": "JJ",
"boxy": "JJ",
"standing": "JJ",
"half-aloud": "RB",
"confiscate": "VB",
"queerer": "JJR",
"deregulate": "VB",
"reproduce": "VB",
"bent": "JJ",
"transpired": "VBN",
"aspiring": "JJ",
"await": "VB",
"acquitted": "VBN",
"allot": "VB",
"irks": "VBZ",
"hoodwinked": "VBN",
"scants": "VBZ",
"decays": "VBZ",
"bad": "JJ",
"reformist": "JJ",
"oblong": "JJ",
"dismantled": "JJ",
"latches": "VBZ",
"dismantles": "VBZ",
"shucks": "UH",
"latched": "VBN",
"blown": "VBN",
"blows": "VB",
"world-amid": "IN",
"adopts": "VBZ",
"opalescent": "JJ",
"subliterary": "JJ",
"tortured": "JJ",
"misunderstand": "VB",
"heeds": "VBZ",
"adjunct": "JJ",
"bloodsucking": "JJ",
"unscramble": "VB",
"self-reinsure": "VB",
"under": "JJ",
"resells": "VBZ",
"squirreled": "VBN",
"enamelled": "JJ",
"softens": "VBZ",
"flinch": "VB",
"exchanged": "JJ",
"move": "JJ",
"stomachwise": "RB",
"rein": "VB",
"c": "RB",
"aspires": "VBZ",
"grasp": "VB",
"revamp": "VB",
"crafted": "VBN",
"poured-in-place": "VBN",
"badly": "RB",
"sore": "JJ",
"imprisoned": "VBN",
"elicits": "VBZ",
"discounted": "JJ",
"disrupted": "VBN",
"rambles": "VBZ",
"afflicted": "JJ",
"u.s.-donated": "JJ",
"magnify": "VB",
"accelerating": "JJ",
"becomin": "VBG",
"unaudited": "JJ",
"apprehended": "VBN",
"gummed": "VBN",
"gives": "VBZ",
"disaffected": "JJ",
"imbibe": "VB",
"funnel": "VB",
"smooth": "JJ",
"coiffed": "JJ",
"changing": "JJ",
"restock": "VB",
"bewildered": "JJ",
"sufi": "JJ",
"occasioned": "VBN",
"above": "JJ",
"sinks": "VBZ",
"hush": "JJ",
"most-respected": "JJS",
"cheats": "VBZ",
"escapist": "JJ",
"continual": "JJ",
"permits": "VBZ",
"marxist": "JJ",
"bureaucraticized": "JJ",
"aerated": "JJ",
"photocopy": "VB",
"aerates": "VBZ",
"fudge": "VB",
"overdressed": "JJ",
"chilled": "JJ",
"green": "JJ",
"remonstrate": "VB",
"twelvefold": "JJ",
"devote": "VB",
"precipitate": "VB",
"thei": "PRP",
"clogging": "JJ",
"thet": "DT",
"ther": "RB",
"moneyed": "JJ",
"relishes": "VBZ",
"eritrean": "JJ",
"marketwise": "RB",
"incorporates": "VBZ",
"unfulfilled": "JJ",
"aborning": "RB",
"incorporated": "JJ",
"warded": "VBN",
"imposed": "JJ",
"exhilarating": "JJ",
"advisory": "JJ",
"set": "VBN",
"glorified": "JJ",
"binds": "VBZ",
"stooooomp": "VB",
"emasculated": "JJ",
"producin": "VBG",
"eminent": "JJ",
"musta": "MD",
"intersect": "VB",
"dd": "VBD",
"side-step": "VBP",
"depends": "VBZ",
"jocose": "JJ",
"tainted": "VBN",
"coy": "JJ",
"broadens": "VBZ",
"naval": "JJ",
"recurrent": "JJ",
"plated": "VBN",
"bifocal": "JJ",
"mind": "JJ",
"mine": "JJ",
"hilly": "JJ",
"mocked": "VBN",
"ashore": "RB",
"antique": "JJ",
"ransacked": "JJ",
"purple": "JJ",
"black-balled": "VBN",
"effeminate": "JJ",
"confluent": "JJ",
"unchanging": "JJ",
"pre-register": "VB",
"cuk": "JJ",
"stacked": "VBN",
"impose": "VB",
"presumes": "VBZ",
"running": "JJ",
"asteroidal": "JJ",
"polite": "JJ",
"mightily": "RB",
"atrophied": "VBN",
"presumed": "JJ",
"blase": "JJ",
"federalized": "JJ",
"niggardly": "JJ",
"generalpurpose": "JJ",
"satisfy": "VB",
"collateral": "JJ",
"eke": "VB",
"computerrelated": "JJ",
"senile": "JJ",
"conspire": "VBP",
"labeled": "VBN",
"underlying": "JJ",
"baddebt": "JJ",
"hull-first": "RB",
"bankrupt": "JJ",
"howsabout": "RB",
"averted": "VBN",
"brazen": "JJ",
"forfeit": "VB",
"acknowledge": "VBP",
"suffocate": "VB",
"centenary": "JJ",
"natured": "JJ",
"highyield": "JJ",
"wont": "JJ",
"handsomer": "JJR",
"proofread": "VBD",
"waxy": "JJ",
"rated": "VBN",
"omitted": "JJ",
"mostly": "RB",
"lunched": "VBN",
"fruity": "JJ",
"intrauterine": "JJ",
"veteran": "JJ",
"legitimate": "JJ",
"plainer": "JJ<NAME>",
"encased": "JJ",
"foaming": "JJ",
"a.m": "RB",
"sufficent": "JJ",
"inaugural": "JJ",
"nonstandard": "JJ",
"concern": "JJ",
"justifies": "VBZ",
"justified": "JJ",
"thirtieth": "CD",
"attaches": "VBZ",
"talented": "JJ",
"occluded": "JJ",
"punishes": "VBZ",
"punished": "VBN",
"diclosed": "VBN",
"reprice": "VB",
"stems": "VBZ",
"expropriated": "JJ",
"unfluoridated": "JJ",
"moth-eaten": "VBN",
"edifying": "JJ",
"hover": "VB",
"frown": "VBP",
"perverse": "JJ",
"meets": "VBZ",
"reexamine": "VB",
"chop": "VB",
"deranged": "JJ",
"renovate": "JJ",
"immaculate": "JJ",
"overpaid": "JJ",
"hire": "VB",
"describe": "VB",
"precrash": "JJ",
"administered": "VBN",
"intercontinental": "JJ",
"polar": "JJ",
"overreact": "VB",
"overreach": "VB",
"laudatory": "JJ",
"resealed": "VBN",
"dedifferentiated": "JJ",
"stringy": "JJ",
"solicit": "VB",
"clubbed": "JJ",
"parry": "VB",
"matriculated": "VBN",
"enciphered": "VBN",
"robed": "VBN",
"mild": "JJ",
"knead": "VB",
"latin": "JJ",
"flocculated": "VBN",
"strong": "JJ",
"ultra": "JJ",
"itself": "PRP",
"victimized": "VBN",
"schnabelian": "JJ",
"brooding": "JJ",
"userfriendly": "JJ",
"abridged": "JJ",
"abridges": "VBZ",
"broke": "VBD",
"browned": "VBN",
"underwrites": "VBZ",
"hurry": "VB",
"freudian": "JJ",
"subtends": "VBZ",
"pushes": "VBZ",
"lacks": "VBZ",
"ratified": "JJ",
"foreseen": "VBN",
"foresees": "VBZ",
"ratifies": "VBZ",
"unearthly": "JJ",
"fy": "VBP",
"dwarfed": "VBN",
"co-authored": "VBN",
"lesser-rank": "JJR",
"auburn": "JJ",
"staunch": "JJ",
"atrun": "JJ",
"intranasal": "JJ",
"pamper": "VB",
"thirteenth": "CD",
"bickering": "JJ",
"inert": "JJ",
"dirt": "JJ",
"uprooted": "VBN",
"elder": "JJR",
"airborne": "JJ",
"flatters": "VBZ",
"kindly": "JJ",
"kindle": "VB",
"quote": "VB",
"exempted": "VBN",
"eaten": "VBN",
"hallucinatory": "JJ",
"luckily": "RB",
"central": "JJ",
"believeth": "VBZ",
"upstanding": "JJ",
"meanwhile": "RB",
"undergoes": "VBZ",
"plough": "VB",
"reminisces": "VBZ",
"wop": "VB",
"piss": "VB",
"poorer": "JJR",
"adores": "VBZ",
"satisfied": "JJ",
"adored": "JJ",
"unrelenting": "JJ",
"fixedrate": "JJ",
"melancholy": "JJ",
"victimizes": "VBZ",
"wait": "VB",
"overran": "VBD",
"herein": "RB",
"anymore": "RB",
"belong": "VB",
"unfenced": "JJ",
"shackle": "VB",
"haunting": "JJ",
"jogs": "VBZ",
"underlies": "VBZ",
"chronicles": "VBZ",
"clears": "VBZ",
"throaty": "JJ",
"evaluate": "VB",
"tiring": "JJ",
"co-chaired": "VBN",
"tinkered": "VBN",
"moire": "JJ",
"resorted": "VBN",
"minced": "VBN",
"outnumber": "VBP",
"dialyzed": "VBN",
"outgoing": "JJ",
"rebated": "VBN",
"shipshape": "JJ",
"ensue": "VB",
"their": "PRP",
"besieged": "JJ",
"severe": "JJ",
"chromed": "JJ",
"seethe": "VB",
"oxidized": "JJ",
"calculating": "JJ",
"forge": "VB",
"revamped": "VBN",
"clenched": "JJ",
"heats": "VBZ",
"clenches": "VBZ",
"arid": "JJ",
"relocated": "JJ",
"fly": "VB",
"enslaved": "VBN",
"multipleuser": "JJ",
"unexciting": "JJ",
"dilute": "VB",
"vilified": "VBN",
";": ";",
"saps": "VBZ",
"greek": "JJ",
"utopian": "JJ",
"filde": "VBN",
"n-no": "UH",
"reregulate": "VB",
"imprisons": "VBZ",
"arched": "JJ",
"infinitesimal": "JJ",
"deplore": "VB",
"colonnaded": "JJ",
"brittle": "JJ",
"e-in": "IN",
"aaa-ee": "UH",
"engraves": "VBZ",
"paid-for": "IN",
"prorated": "VBN",
"inverted": "JJ",
"underpinned": "VBN",
"influent": "JJ",
"reacts": "VBZ",
"diminished": "JJ",
"keen": "JJ",
"diminishes": "VBZ",
"incarnate": "JJ",
"succeeds": "VBZ",
"forego": "VB",
"filigree": "JJ",
"prouder": "JJR",
"circulate": "VB",
"earmarked": "VBN",
"herself": "PRP",
"spurn": "VBP",
"beefs": "VBZ",
"thereto": "RB",
"p.m": "RB",
"beefy": "JJ",
"sprinkles": "VBZ",
"unadulterated": "JJ",
"sprinkled": "VBN",
"gunned": "VBN",
"unamused": "VBN",
"disgorge": "VB",
"resplendent": "JJ",
"expects": "VBZ",
"propels": "VBZ",
"hadd": "VBN",
"re-evaluate": "VB",
"slows": "VBZ",
"desecrated": "JJ",
"uncontrolled": "JJ",
"preach": "JJ",
"driving": "JJ",
"forgo": "VB",
"unearth": "VB",
"lug": "VB",
"foreshadow": "VB",
"disobeyed": "VBN",
"habitual": "JJ",
"betrayed": "VBN",
"temperamental": "JJ",
"cohere": "VB",
"crystalline": "JJ",
"alternates": "VBZ",
"disintegrate": "VB",
"darkling": "JJ",
"kicks": "VBZ",
"novel": "JJ",
"wth": "IN",
"resident": "JJ",
"melamine": "JJ",
"absorb": "VB",
"i": "PRP",
"modeled": "VBN",
"energizes": "VBZ",
"accurate": "JJ",
"extends": "VBZ",
"cognate": "JJ",
"liking": "JJ",
"sinister": "JJ",
"recognized": "VBN",
"recognizes": "VBZ",
"enacts": "VBZ",
"squarefoot": "JJ",
"congregate": "VB",
"rejoice": "JJ",
"canting": "JJ",
"unexamined": "JJ",
"mucked": "VBN",
"offstage": "JJ",
"twise": "RB",
"affectionate": "JJ",
"redeems": "VBZ",
"shall": "MD",
"crummy": "JJ",
"fledgling": "JJ",
"curbed": "VBN",
"nourishes": "VBZ",
"downstream": "RB",
"nourished": "JJ",
"lavender": "JJ",
"neo": "JJ",
"unasked": "JJ",
"filbert": "JJ",
"interpret": "VB",
"ratty": "JJ",
"recommend": "VB",
"sizzles": "VBZ",
"skindive": "VB",
"reconciled": "JJ",
"reconciles": "VBZ",
"citrated": "VBN",
"ensnare": "VB",
"bankroll": "VB",
"aborted": "JJ",
"indulge": "VB",
"faraway": "JJ",
"escrowed": "VBN",
"telescoped": "VBN",
"bestow": "VB",
"monicker": "JJR",
"dilated": "VBN",
"dramatized": "VBN",
"dramatizes": "VBZ",
"dilates": "VBZ",
"soonest": "RB",
"threadbare": "JJ",
"impotent": "JJ",
"algerian": "JJ",
"exonerate": "VB",
"philippine": "JJ",
"unmated": "VBN",
"digress": "VB",
"pointy": "JJ",
"judged": "VBN",
"third*": "JJS",
"attest": "VB",
"zoned": "VBN",
"dumber": "JJR",
"excavate": "VB",
"mayhap": "RB",
"vex": "VBP",
"tightest-fitting": "JJS",
"brassy": "JJ",
"formalizes": "VBZ",
"glamorized": "VBN",
"formalized": "JJ",
"homebound": "JJ",
"chilling": "JJ",
"metropolitan": "JJ",
"encamped": "VBN",
"sequined": "JJ",
"cools": "VBZ",
"sidelined": "VBN",
"discriminatory": "JJ",
"designate": "VB",
"opt": "VB",
"unfitting": "JJ",
"depicts": "VBZ",
"assimilating": "JJ",
"swab": "VB",
"tracked": "VBN",
"undisturbed": "JJ",
"flounder": "VB",
"beget": "VB",
"pupates": "VBZ",
"astir": "JJ",
"denuded": "JJ",
"azure": "JJ",
"gloss": "VB",
"unseal": "VB",
"unseat": "VB",
"assume": "VB",
"fore": "RB",
"penned": "VBN",
"delete": "VB",
"shim": "VB",
"romanian": "JJ",
"hangin": "VBG",
"alleviates": "VBZ",
"felt": "VBD",
"exported": "VBN",
"blushing": "JJ",
"aftertax": "JJ",
"primed": "VBN",
"targeted": "VBN",
"misread": "VBD",
"unruffled": "JJ",
"shave": "VB",
"growls": "VBZ",
"detest": "VBP",
"rediscover": "VB",
"effectinge": "VBG",
"outweighs": "VBZ",
"rigid": "JJ",
"processed": "JJ",
"walled": "JJ",
"transferral": "JJ",
"incarcerated": "VBN",
"grained": "JJ",
"crazy": "JJ",
"wheezing": "JJ",
"inundated": "JJ",
"agonizing": "JJ",
"swore": "VBD",
"sworn": "JJ",
"grok": "VB",
"misrepresented": "JJ",
"praiseworthy": "JJ",
"relinquish": "VB",
"facile": "JJ",
"ionized": "VBN",
"pointed": "JJ",
"encompassed": "VBN",
"mismatched": "JJ",
"shh": "UH",
"helmeted": "JJ",
"intermarket": "JJ",
"unifying": "JJ",
"hefty": "JJ",
"carry": "VB",
"oohs": "UH",
"posh": "JJ",
"infiltrate": "VB",
"camouflaged": "VBN",
"reaccelerate": "VB",
"metalized": "VBN",
"paie": "VB",
"re-create": "VB",
"communicated": "VBN",
"blurred": "JJ",
"whooosh": "JJ",
"patronized": "VBN",
"pump": "VB",
"lopes": "VBZ",
"multicolor": "JJ",
"dated": "JJ",
"rehabilitated": "VBN",
"cancel": "VB",
"certify": "VB",
"unconsolidated": "JJ",
"yearling": "JJ",
"compile": "VB",
"sincere": "JJ",
"afflicts": "VBZ",
"plank": "VB",
"amazed": "JJ",
"eviscerate": "VB",
"dissected": "JJ",
"faulknerian": "JJ",
"ups": "VBZ",
"dole": "VB",
"unitized": "VBN",
"lunar": "JJ",
"refers": "VBZ",
"jee-sus": "UH",
"meaning": "JJ",
"decimated": "VBN",
"handcuffed": "VBN",
"sorrel": "JJ",
"hybrid": "JJ",
"privatized": "JJ",
"roams": "VBZ",
"carefree": "JJ",
"alien": "JJ",
"dispel": "VB",
"windy": "JJ",
"romping": "JJ",
"only": "JJ",
"misrepresent": "JJ",
"stood": "VBD",
"stoop": "VB",
"ingratiate": "VB",
"operating": "JJ",
"narrow": "JJ",
"milks": "VBZ",
"controlling": "JJ",
"dey": "PRP",
"der": "JJR",
"def": "JJ",
"dandy": "JJ",
"purchased": "VBN",
"drained": "JJ",
"unclothed": "JJ",
"blacker": "JJR",
"disquieting": "JJ",
"foretell": "VB",
"remade": "VBN",
"handheld": "JJ",
"waiting": "JJ",
"co-operates": "VBZ",
"waged": "VBN",
"lithe": "JJ",
"gripping": "JJ",
"obligatory": "JJ",
"defused": "VBN",
"bohemian": "JJ",
"u.s.-dominated": "JJ",
"confirms": "VBZ",
"assails": "VBZ",
"inexact": "JJ",
"consistent": "JJ",
"cramped": "JJ",
"founds": "VBZ",
"worthy": "JJ",
"sepulchred": "VBN",
"hereabout": "JJ",
"restart": "VB",
"supercede": "VBP",
"improvisatory": "JJ",
"animized": "VBN",
"arouse": "VB",
"rubbin": "VBG",
"endows": "VBZ",
"tightens": "VBZ",
"dwindle": "VB",
"smother": "VB",
"newborn": "JJ",
"dovetail": "VBP",
"navigate": "VB",
"priced": "VBN",
"fun": "JJ",
"irised": "VBN",
"larger": "JJR",
"encountered": "VBN",
"sapiens": "JJ",
"exerts": "VBZ",
"aggregate": "JJ",
"shaded": "JJ",
"rearm": "VB",
"halve": "VB",
"unannounced": "JJ",
"howe": "WRB",
"rears": "VBZ",
"spend": "VB",
"untrammeled": "VBN",
"regimented": "JJ",
"impoverished": "JJ",
"hates": "VBZ",
"luxury": "JJ",
"bogus": "JJ",
"invade": "JJ",
"pared": "VBN",
"bored": "JJ",
"dimmed": "VBN",
"dimmer": "JJR",
"golfed": "VBN",
"graver": "JJR",
"graven": "JJ",
"furloughed": "VBN",
"reverberate": "VB",
"midterm": "JJ",
"mottled": "VBN",
"choppy": "JJ",
"unshelled": "VBN",
"remark": "JJ",
"birthed": "VBN",
"staple": "JJ",
"manufactures": "VBZ",
"themselves": "PRP",
"oily": "JJ",
"assailed": "VBN",
"extrapolated": "VBN",
"crocked": "JJ",
"unreal": "JJ",
"praise": "JJ",
"unread": "JJ",
"reconstructed": "JJ",
"daring": "JJ",
"bothered": "JJ",
"nullify": "VB",
"unmasks": "VBZ",
"ignite": "VB",
"resurgent": "JJ",
"revived": "JJ",
"unfriendly": "JJ",
"revives": "VBZ",
"muddle": "JJ",
"strive": "VB",
"restructured": "VBN",
"shriveled": "JJ",
"attend": "VB",
"announces": "VBZ",
"insolvent": "JJ",
"hedged": "JJ",
"bleed": "VB",
"deprived": "JJ",
"poorer-quality": "JJR",
"overweening": "JJ",
"retain": "VB",
"deprives": "VBZ",
"wakes": "VBZ",
"bisexual": "JJ",
"tidy": "JJ",
"keener": "JJR",
"regenerates": "VBZ",
"provokes": "VBZ",
"unsettled": "JJ",
"provoked": "JJ",
"gargantuan": "JJ",
"supported": "JJ",
"postdoctoral": "JJ",
"misclassified": "VBN",
"ossify": "VB",
"aforementioned": "JJ",
"pertains": "VBZ",
"conform": "VB",
"hurrah": "UH",
"literate": "JJ",
"overestimates": "VBZ",
"fulfilled": "VBN",
"assure": "VB",
"busted": "JJ",
"longhaired": "JJ",
"overstaff": "VB",
"teasing": "JJ",
"muddy": "JJ",
"unstrung": "JJ",
"german": "JJ",
"self-destroyed": "VBN",
"permeate": "VB",
"uniform": "JJ",
"respected": "JJ",
"volstead": "JJ",
"fusiform": "JJ",
"exceeds": "VBZ",
"hearest": "VBP",
"retard": "VB",
"fetal": "JJ",
"impugned": "VBN",
"corroborate": "VB",
"infiltrated": "VBN",
"discorporate": "JJ",
"simpler": "JJR",
"reincarcerated": "VBN",
"submits": "VBZ",
"oughta": "MD",
"wish": "VB",
"penetrating": "JJ",
"enlists": "VBZ",
"unpicturesque": "JJ",
"colombian": "JJ",
"redder": "JJR",
"shrank": "VBD",
"inboard": "RB",
"baked": "JJ",
"continental": "JJ",
"slogs": "VBZ",
"hate": "VBP",
"iliac": "JJ",
"enjoy": "VB",
"ransack": "VB",
"behooves": "VBZ",
"abides": "VBZ",
"corralled": "VBN",
"ridiculed": "VBN",
"resurrected": "VBN",
"circular": "JJ",
"spread-eagled": "VBN",
"sobered": "VBN",
"outdated": "JJ",
"clubby": "JJ",
"entertained": "VBN",
"warn": "VB",
"loosen": "VB",
"looser": "JJR",
"collude": "VB",
"mess": "JJ",
"demanding": "JJ",
"sparkles": "VBZ",
"gentlemanly": "JJ",
"unglued": "JJ",
"comprehend": "VB",
"notified": "VBN",
"unlinked": "JJ",
"notifies": "VBZ",
"damped": "VBN",
"overcame": "VBD",
"stringed": "JJ",
"washed": "JJ",
"unspectacular": "JJ",
"underwrite": "VB",
"slivered": "VBN",
"streamline": "VB",
"afghan": "JJ",
"staphylococcal": "JJ",
"regulate": "VB",
"leafy": "JJ",
"unceasing": "JJ",
"oriented": "VBN",
"cleft": "JJ",
"one-thirty": "RB",
"interjects": "VBZ",
"unorthodox": "JJ",
"soupy": "JJ",
"treats": "VBZ",
"orderly": "JJ",
"flog": "VB",
"untapped": "JJ",
"inspire": "VB",
"unassisted": "JJ",
"interrogated": "VBN",
"double-glaze": "VB",
"slotted": "VBN",
"handwritten": "JJ",
"bahamian": "JJ",
"nonfat": "JJ",
"indistinct": "JJ",
"participating": "JJ",
"elfin": "JJ",
"intimal": "JJ",
"maudlin": "JJ",
"coalesced": "VBN",
"fallow": "JJ",
"unchristian": "JJ",
"decanted": "VBN",
"unservile": "JJ",
"shadowed": "VBN",
"higher-margin": "JJR",
"u.s.-japan": "JJ",
"turquoise": "JJ",
"sanitary": "JJ",
"amok": "JJ",
"clawed": "JJ",
"surround": "VBP",
"misleading": "JJ",
"accommodate": "VB",
"emigrate": "VB",
"rely": "VB",
"unaware": "JJ",
"scamper": "VBP",
"drowsed": "VBN",
"realer": "JJR",
"rankled": "VBN",
"bide": "VB",
"boobify": "VB",
"outstretched": "JJ",
"na": "TO",
"nd": "CC",
"criminalized": "JJ",
"impounded": "VBN",
"dappled": "JJ",
"unregulated": "JJ",
"scrawny": "JJ",
"reassemble": "VB",
"flanged": "VBN",
"sloppy": "JJ",
"hairy": "JJ",
"twentieth": "CD",
"sees": "VBZ",
"decadelong": "JJ",
"united": "JJ",
"seen": "VBN",
"shelled": "JJ",
"sevenfold": "RB",
"concoct": "VB",
"demonized": "VBN",
"prefectural": "JJ",
"inhabit": "VBP",
"coral": "JJ",
"mccarthyite": "JJ",
"harmed": "VBN",
"flavored": "JJ",
"unawares": "RB",
"over-produce": "VB",
"varicolored": "JJ",
"countrywide": "JJ",
"dabs": "VBZ",
"worry": "VB",
"easily": "JJ",
"approximates": "VBZ",
"begun": "VBN",
"approximated": "VBN",
"splashy": "JJ",
"infuriated": "JJ",
"profit": "JJ",
"dehydrated": "JJ",
"subzero": "JJ",
"marries": "VBZ",
"unborn": "JJ",
"simplifies": "VBZ",
"simplified": "JJ",
"anesthetized": "JJ",
"taketh": "VB",
"and": "CC",
"mated": "JJ",
"ani": "JJ",
"pry": "JJ",
"goldang": "UH",
"perpetrated": "VBN",
"overage": "JJ",
"outguess": "VB",
"microchannel": "JJ",
"reveals": "VBZ",
"pummeled": "VBN",
"underpaid": "JJ",
"detect": "VB",
"flop": "JJ",
"belittled": "JJ",
"invokes": "VBZ",
"grieved": "VBN",
"deported": "VBN",
"archrival": "JJ",
"robbed": "VBN",
"crusaded": "VBN",
"agitated": "JJ",
"applaud": "VBP",
"retrograde": "JJ",
"devoid": "JJ",
"prospered": "VBN",
"arose": "VBD",
"softwood": "JJ",
"stiffnecked": "JJ",
"engulfed": "VBN",
"poised": "JJ",
"predetermined": "JJ",
"standstill": "JJ",
"upside": "RB",
"unhocked": "VBN",
"colloidal": "JJ",
"provides": "VBZ",
"terrifies": "VBZ",
"speculates": "VBZ",
"unpolished": "JJ",
"illuminated": "JJ",
"illuminates": "VBZ",
"swathed": "VBN",
"assign": "VB",
"preside": "VB",
"tubercular": "JJ",
"idiot": "JJ",
"kerchiefed": "JJ",
"bounded": "VBN",
"includee": "VBP",
"bilateral": "JJ",
"invest": "VB",
"curvy": "JJ",
"confers": "VBZ",
"remedied": "VBN",
"voids": "VBZ",
"subjected": "VBN",
"bubbled": "VBN",
"jacketed": "JJ",
"nonperforming": "JJ",
"undone": "JJ",
"offsets": "VBZ",
"ovarian": "JJ",
"midrange": "JJ",
"eventuate": "VBP",
"absurdist": "JJ",
"snug": "JJ",
"snub": "JJ",
"thus": "RB",
"vaguer": "JJR",
"coerce": "VB",
"hourlong": "JJ",
"extinguished": "JJ",
"pertained": "VBP",
"preoccupy": "VBP",
"flounce": "VBP",
"co-ordinate": "VB",
"unreasoning": "JJ",
"formulate": "VB",
"recapitulate": "VB",
"braided": "JJ",
"discrete": "JJ",
"generate": "VB",
"thrown": "JJ",
"scratchy": "JJ",
"throws": "VBZ",
"longtime": "JJ",
"blank": "JJ",
"swart": "JJ",
"imprinted": "VBN",
"uncut": "JJ",
"dispensed": "VBN",
"strengthen": "VB",
"febrile": "JJ",
"beribboned": "JJ",
"enduring": "JJ",
"mineral": "JJ",
"devalue": "VB",
"awakens": "VBZ",
"abiding": "JJ",
"transcendental": "JJ",
"stiff": "JJ",
"plays": "VBZ",
"rooseveltian": "JJ",
"more-established": "JJR",
"rarer": "JJR",
"bronze": "JJ",
"breakin": "VBG",
"ritualized": "VBN",
"flies": "VBZ",
"dug": "VBD",
"coerced": "VBN",
"aged": "JJ",
"coerces": "VBZ",
"reasserts": "VBZ",
"unspoken": "JJ",
"earmark": "VB",
"riffle": "VB",
"steeled": "VBN",
"front": "JJ",
"build": "VB",
"lovin": "JJ",
"within": "RB",
"understood": "JJ",
"unreimbursed": "VBN",
"tends": "VBZ",
"tinker": "VB",
"unhusked": "VBN",
"stricken": "JJ",
"mingles": "VBZ",
"malaysian": "JJ",
"forbidding": "JJ",
"interventionist": "JJ",
"fried": "JJ",
"scrutinized": "VBN",
"scrutinizes": "VBZ",
"vaulting": "JJ",
"sufferd": "VBN",
"issued": "VBN",
"flaunts": "VBZ",
"protrude": "VB",
"refilled": "VBN",
"desired": "JJ",
"bugeyed": "JJ",
"sexy": "JJ",
"chaste": "JJ",
"&": "CC",
"fer": "JJR",
"keerist": "UH",
"augment": "VB",
"impedes": "VBZ",
"proprietary": "JJ",
"dripping": "RB",
"carries": "VBZ",
"americans": "NNPS",
"desecrates": "VBZ",
"swearinge": "VBG",
"orthodox": "JJ",
"aztec": "JJ",
"negligent": "JJ",
"emerald": "JJ",
"all-over": "IN",
"rumanian": "JJ",
"tabloid": "JJ",
"integrates": "VBZ",
"brechtian": "JJ",
"thrifty": "JJ",
"performs": "VBZ",
"integrated": "JJ",
"despairing": "JJ",
"rewrote": "VBD",
"overtake": "VB",
"uproot": "VB",
"phrased": "VBN",
"salutary": "JJ",
"regards": "VBZ",
"beamed": "VBN",
"grander": "JJR",
"levelled": "VBN",
"olfactory": "JJ",
"discourage": "VB",
"refreshing": "JJ",
"undimmed": "VBN",
"brutalized": "VBN",
"spun": "VBN",
"prosecute": "JJ",
"inheres": "VBZ",
"spur": "VB",
"fossilized": "JJ",
"govern": "VB",
"torpedo": "VB",
"disenfranchised": "VBN",
"subscribe": "VB",
"coddle": "VBP",
"intimidating": "JJ",
"trim-your-own-franks": "VB",
"kneaded": "VBN",
"cross": "JJ",
"brandishes": "VBZ",
"moral": "JJ",
"unbridled": "JJ",
"replenish": "VB",
"argentine": "JJ",
"clock-stopped": "VBN",
"presume": "JJ",
"underwrote": "VBD",
"stodgy": "JJ",
"bossed": "VBN",
"urges": "VBZ",
"kinda": "RB",
"negate": "VB",
"groomed": "VBN",
"preapproved": "VBN",
"triggered": "VBN",
"tinged": "VBN",
"thievin": "VBG",
"humbling": "JJ",
"downtalking": "JJ",
"sloping": "JJ",
"earthly": "JJ",
"smaller-stock": "JJR",
"upwards": "RB",
"resublimed": "VBN",
"livery": "JJ",
"sputter": "VB",
"immature": "JJ",
"leisurely": "JJ",
"disturb": "VB",
"loathing": "JJ",
"enroute": "RB",
"jocular": "JJ",
"fossil": "JJ",
"resilient": "JJ",
"cull": "VB",
"kee-reist": "UH",
"smolders": "VBZ",
"unanswered": "JJ",
"shelve": "VB",
"dignifies": "VBZ",
"dignified": "JJ",
"minimized": "JJ",
"reassess": "VB",
"minimizes": "VBZ",
"infertile": "JJ",
"stockpiled": "VBN",
"heretofore": "RB",
"interrupt": "JJ",
"shrewder": "JJR",
"differentiates": "VBZ",
"crowned": "JJ",
"eared": "JJ",
"tempting": "JJ",
"procreate": "JJ",
"glassy": "JJ",
"unplowed": "JJ",
"rectified": "JJ",
"wod": "MD",
"hop-skipped": "VBN",
"constricted": "JJ",
"benighted": "JJ",
"soaked": "VBN",
"instructs": "VBZ",
"imprudent": "JJ",
"thrilled": "JJ",
"dummy": "JJ",
"incorporate": "VB",
"lethal": "JJ",
"abreast": "RB",
"crossways": "RB",
"remarry": "VB",
"hasten": "VB",
"peripheral": "JJ",
"flaxen": "JJ",
"avert": "VB",
"propagated": "VBN",
"nonregulated": "JJ",
"decompose": "VB",
"argue": "VBP",
"jog": "VB",
"subside": "VB",
"superhuman": "JJ",
"excorciate": "VB",
"contemplated": "VBN",
"contemplates": "VBZ",
"elicit": "VB",
"maximizing": "JJ",
"detracted": "VBN",
"backhanded": "JJ",
"sleeps": "VBZ",
"sleepy": "JJ",
"rotates": "VBZ",
"u.s.-about": "IN",
"obedient": "JJ",
"withing": "IN",
"creep": "VB",
"unfrozen": "JJ",
"chin-up": "IN",
"substituted": "VBN",
"underdeveloped": "JJ",
"c.i.f": "JJ",
"insincere": "JJ",
"cleaved": "VBN",
"entrust": "VB",
"withstands": "VBZ",
"clattery": "JJ",
"confectionery": "JJ",
"castor": "JJ",
"incurred": "VBN",
"activated": "JJ",
"retrofit": "VB",
"believe": "VBP",
"engrossing": "JJ",
"melt": "VB",
"meld": "VB",
"unshirted": "JJ",
"citywide": "JJ",
"incited": "VBN",
"oversupplied": "JJ",
"remitted": "VBN",
"re-establish": "VB",
"unanticipated": "JJ",
"optimal": "JJ",
"convoluted": "JJ",
"unclaimed": "JJ",
"improving": "JJ",
"natural": "JJ",
"correlate": "VB",
"nearsighted": "JJ",
"roleplayed": "VBN",
"more-selective": "JJR",
"crushing": "JJ",
"owing": "RB",
"propitiate": "VB",
"astray": "RB",
"astral": "JJ",
"uncommitted": "JJ",
"distal": "JJ",
"chekhovian": "JJ",
"bite": "VB",
"diehard": "JJ",
"stuffed": "JJ",
"southbound": "JJ",
"reclaims": "VBZ",
"slashed": "JJ",
"depressed": "JJ",
"damned": "JJ",
"buried": "JJ",
"peacekeeping": "JJ",
"inserted": "VBN",
"scarce": "JJ",
"punchy": "JJ",
"applied": "JJ",
"submerge": "VB",
"uncover": "VB",
"resiny": "JJ",
"aroused": "JJ",
"steroid": "JJ",
"matures": "VBZ",
"coolheaded": "JJ",
"puerile": "JJ",
"considers": "VBZ",
"fiveyear": "JJ",
"endures": "VBZ",
"mono": "JJ",
"cartelized": "VBN",
"spooked": "VBN",
"enrich": "VB",
"sterling": "JJ",
"rolled": "JJ",
"ebullient": "JJ",
"transmuted": "VBN",
"crusty": "JJ",
"snare": "VB",
"expository": "JJ",
"sharp": "JJ",
"crabbed": "JJ",
"pickled": "JJ",
"supplementary": "JJ",
"malposed": "JJ",
"refer": "VB",
"biased": "JJ",
"industrialized": "JJ",
"slatted": "JJ",
"extramarital": "JJ",
"betrays": "VBZ",
"masquerades": "VBZ",
"survives": "VBZ",
"follicular": "JJ",
"amplify": "VB",
"impute": "VBP",
"blinks": "VBZ",
"pinpointed": "VBN",
"straightens": "VBZ",
"catchup": "JJ",
"sanguine": "JJ",
"partitioned": "VBN",
"waived": "VBN",
"waives": "VBZ",
"restated": "VBN",
"squeal": "VB",
"th": "DT",
"joined": "JJ",
"drahve": "VB",
"assured": "JJ",
"whalesized": "JJ",
"befitting": "JJ",
"unbiased": "JJ",
"bided": "VBN",
"imminent": "JJ",
"cajole": "VB",
"unsound": "JJ",
"register": "VB",
"adorned": "VBN",
"nifty": "JJ",
"subtitled": "VBN",
"upstairs": "RB",
"finned": "VBN",
"calumniated": "VBN",
"sicker": "JJR",
"gnash": "VB",
"often": "RB",
"pre-registered": "VBN",
"spavined": "JJ",
"bimolecular": "JJ",
"caress": "VB",
"generalized": "JJ",
"wedded": "VBN",
"gold": "JJ",
"degraded": "JJ",
"standeth": "VBP",
"ordained": "JJ",
"unmeshed": "JJ",
"incident": "JJ",
"tramp": "JJ",
"dissuade": "VB",
"deport": "VB",
"inclement": "JJ",
"petrarchan": "JJ",
"comport": "VB",
"fetching": "JJ",
"rabid": "JJ",
"expend": "VB",
"surrogate": "JJ",
"eager": "JJ",
"semimonthly": "JJ",
"formal": "JJ",
"scape": "VB",
"beckon": "VBP",
"mighty": "JJ",
"re-legalization": "VB",
"anterior": "JJ",
"beefed": "VBN",
"muddleheaded": "JJ",
"awaited": "JJ",
"gleans": "VBZ",
"perplex": "VBP",
"presides": "VBZ",
"besiege": "VB",
"cerebrated": "VBN",
"nominated": "VBN",
"northwestern": "JJ",
"tibetan": "JJ",
"invented": "VBN",
"{": "(",
"altho": "IN",
"sienna": "JJ",
"explains": "VBZ",
"plain": "JJ",
"disarming": "JJ",
"governmentset": "VBN",
"clogs": "VBZ",
"occipital": "JJ",
"motivating": "JJ",
"mumbles": "VBZ",
"redeeming": "JJ",
"counter": "RB",
"re-supplied": "VBN",
"classy": "JJ",
"counted": "VBN",
"dispose": "VB",
"therefor": "RB",
"jagged": "JJ",
"borderline": "JJ",
"mediated": "VBN",
"regulatory": "JJ",
"dubbed": "VBN",
"hand-carried": "VBN",
"opportune": "JJ",
"evacuated": "VBN",
"gummy": "JJ",
"aerate": "VB",
"depressing": "JJ",
"crosswise": "JJ",
"unexpended": "VBN",
"unblushing": "JJ",
"accusing": "JJ",
"unbelieving": "JJ",
"correspond": "VB",
"therewith": "RB",
"souled": "JJ",
"lined": "JJ",
"screechy": "JJ",
"disbanded": "VBN",
"redirect": "VB",
"conciliate": "VB",
"handle": "VB",
"summon": "VB",
"anglian": "JJ",
"absentee": "JJ",
"rockbound": "JJ",
"hee": "UH",
"negotiates": "VBZ",
"unpaired": "VBN",
"overleveraged": "JJ",
"sits": "VBZ",
"burly": "JJ",
"fail": "JJ",
"roomy": "JJ",
"extempore": "RB",
"snitched": "VBN",
"imprison": "VB",
"misperceives": "VBZ",
"bargain-hunt": "VB",
"anguished": "JJ",
"activate": "VBP",
"restricts": "VBZ",
"disengaged": "VBN",
"more-detailed": "JJR",
"interwar": "JJ",
"convince": "VB",
"agreed-upon": "IN",
"oviform": "JJ",
"extrapolates": "VBZ",
"spew": "VBP",
"excoriate": "VB",
"regal": "JJ",
"whack": "VB",
"waterlogged": "JJ",
"pinch": "JJ",
"reinvent": "VB",
"chew": "VB",
"preaches": "VBZ",
"unsurpassed": "JJ",
"deliberate": "JJ",
"consequent": "JJ",
"faced": "JJ",
"thrombosed": "VBN",
"nourishing": "JJ",
"underrepresented": "VBN",
"reappraise": "VB",
"glittering": "JJ",
"hunkered": "VBN",
"zeroed": "VBN",
"wellplaced": "JJ",
"developed": "JJ",
"unshackled": "JJ",
"overvaulting": "JJ",
"antislavery": "JJ",
"unsubordinated": "JJ",
"coined": "VBN",
"austere": "JJ",
"befallen": "VBN",
"discomfited": "JJ",
"noncash": "JJ",
"homemaster": "JJ",
"toot-toot": "UH",
"profusely": "RB",
"mangled": "JJ",
"meshed": "JJ",
"unblinking": "JJ",
"latter": "JJ",
"unhook": "VB",
"insulated": "VBN",
"demoralizes": "VBZ",
"intergroup": "JJ",
"calculated": "JJ",
"judgmental": "JJ",
"demoralized": "VBN",
"unattached": "JJ",
"painfully": "RB",
"pierced": "VBN",
"headlong": "JJ",
"unfilled": "JJ",
"unmet": "JJ",
"afloat": "JJ",
"contraband": "JJ",
"uncataloged": "VBN",
"germinated": "JJ",
"refile": "VB",
"accentuate": "VB",
"thoughtprovoking": "JJ",
"poring": "JJ",
"harms": "VBZ",
"applies": "VBZ",
"unproved": "JJ",
"grandiose": "JJ",
"perform": "VB",
"sheltered": "JJ",
"burbles": "VBZ",
"macaque": "JJ",
"stringent": "JJ",
"invalidate": "VB",
"unifies": "VBZ",
"bismarckian": "JJ",
"exalt": "VBP",
"boxed": "JJ",
"ginnin": "VBG",
"aimed": "VBN",
"denies": "VBZ",
"pose": "VB",
"confer": "VB",
"chafe": "VBP",
"rearrange": "VB",
"rallying": "JJ",
"accepts": "VBZ",
"incur": "VB",
"float": "VB",
"wan": "JJ",
"truncated": "JJ",
"becoming": "JJ",
"sundry": "JJ",
"attuned": "VBN",
"emit": "VB",
"muscular": "JJ",
"necessitates": "VBZ",
"necessitated": "VBN",
"gotham": "VB",
"compensate": "VB",
"presented": "VBN",
"self-insure": "VBP",
"enticing": "JJ",
"wherefore": "RB",
"dental": "JJ",
"frothing": "JJ",
"re-examine": "VB",
"fundamentalist": "JJ",
"selects": "VBZ",
"f": "RB",
"attribute": "VBP",
"heare": "VBP",
"unwritten": "JJ",
"over-magazined": "VBN",
"nonstop": "JJ",
"post-fray": "RB",
"accelerates": "VBZ",
"worsens": "VBZ",
"exacerbates": "VBZ",
"unlovely": "JJ",
"pruned": "VBN",
"enacted": "VBN",
"whitewalled": "JJ",
"zig-zag": "VBP",
"profess": "JJ",
"deadlocked": "JJ",
"weds": "VBZ",
"slaked": "VBN",
"collimated": "VBN",
"prepared": "JJ",
"surfeited": "VBN",
"slap": "VB",
"garpian": "JJ",
"underemployed": "JJ",
"upgrade": "VB",
"scatterbrained": "JJ",
"phased": "VBN",
"rehear": "VB",
"loath": "JJ",
"cannot": "MD",
"celebrate": "VB",
"preempt": "VB",
"keyed": "VBN",
"overworked": "JJ",
"afoul": "RB",
"disppointed": "JJ",
"burmese": "JJ",
"re-educate": "VB",
"reinterpreted": "VBN",
"maladroit": "JJ",
"informer": "JJ",
"patriarchal": "JJ",
"accommodating": "JJ",
"crumbly": "JJ",
"heigh-ho": "UH",
"canceled": "VBN",
"short-sell": "VB",
"closest": "RB",
"avoided": "VBN",
"alfresco": "JJ",
"shouts": "VBZ",
"mirrored": "VBN",
"spectacular": "JJ",
"overlooks": "VBZ",
"recipient": "JJ",
"lilliputian": "JJ",
"unplumbed": "JJ",
"stranger": "JJR",
"equivalent": "JJ",
"leftover": "JJ",
"sabers-along": "IN",
"escalating": "JJ",
"lob": "VB",
"lop": "JJ",
"lot": "RB",
"slovenian": "JJ",
"ragged": "JJ",
"stale": "JJ",
"bellows": "VBZ",
"williamsesque": "JJ",
"trickled": "VBN",
"corporatewide": "JJ",
"intense": "JJ",
"assert": "VB",
"publish": "VB",
"copyrighted": "VBN",
"fizzles": "VBZ",
"glitzy": "JJ",
"foster": "VB",
"erects": "VBZ",
"appealing": "JJ",
"deficient": "JJ",
"libeled": "VBN",
"vulpine": "JJ",
"unheard": "JJ",
"decriminalized": "VBN",
"promotes": "VBZ",
"gether": "VB",
"dolledup": "JJ",
"vegetarian": "JJ",
"threemonth": "JJ",
"takes": "VBZ",
"relegated": "VBN",
"slants": "VBZ",
"taken": "JJ",
"overbuilt": "JJ",
"slouchy": "JJ",
"gauche": "JJ",
"stinging": "JJ",
"magenta": "JJ",
"carpeted": "VBN",
"undedicated": "VBN",
"averts": "VBZ",
"finite": "JJ",
"rots": "VBZ",
"intervene": "VB",
"nonbinding": "JJ",
"historicized": "VBN",
"sketched": "VBN",
"unnatural": "JJ",
"preserve": "VB",
"outrun": "VB",
"curtailed": "VBN",
"maht": "MD",
"transparent": "JJ",
"less-ambitious": "JJR",
"most-livable": "JJS",
"anticipate": "VB",
"obfuscate": "VB",
"towardes": "IN",
"unfocussed": "VBN",
"expansionist": "JJ",
"plunder": "JJ",
"exempts": "VBZ",
"reground": "JJ",
"humid": "JJ",
"renegotiate": "VB",
"grandiloquent": "JJ",
"imparted": "VBN",
"speckled": "JJ",
"noted": "JJ",
"catches": "VBZ",
"catchee": "VB",
"overtaxed": "JJ",
"lynched": "VBN",
"plush": "JJ",
"dally": "VB",
"hardline": "JJ",
"prepubescent": "JJ",
"undigested": "JJ",
"longerterm": "JJ",
"persecuted": "JJ",
"regroup": "VB",
"wherever": "WRB",
"solarheated": "JJ",
"jackbooted": "JJ",
"herewith": "RB",
"older": "JJ",
"docked": "VBN",
"reclaim": "VB",
"olden": "JJ",
"remaining": "JJ",
"coplandesque": "JJ",
"reptilian": "JJ",
"copernican": "JJ",
"wiser": "JJR",
"stimulatory": "JJ",
"skimpy": "JJ",
"taboo": "JJ",
"uppon": "IN",
"misspent": "VBN",
"whittled": "VBN",
"dangle": "VB",
"smelly": "JJ",
"smells": "JJ",
"rummage": "VB",
"branchline": "JJ",
"hairyknuckled": "JJ",
"properly": "RB",
"intermodal": "JJ",
"viennese": "JJ",
"unwise": "JJ",
"upended": "JJ",
"spartan": "JJ",
"nabbed": "VBN",
"jesting": "JJ",
"hyaline": "JJ",
"stave": "VB",
"excluded": "JJ",
"cluttered": "JJ",
"jinxed": "JJ",
"muzzled": "VBN",
"brokered": "JJ",
"redrawn": "JJ",
"likewise": "JJ",
"reestablish": "VB",
"lordly": "JJ",
"outer": "JJ",
"enshrouds": "VBZ",
"dissect": "VB",
"documented": "VBN",
"handy": "JJ",
"uncaring": "JJ",
"illuminate": "VB",
"remiss": "JJ",
"humiliating": "JJ",
"unliterary": "JJ",
"intoxicated": "JJ",
"swapped": "VBN",
"disembodied": "JJ",
"stultifying": "JJ",
"paves": "VBZ",
"perfectly": "RB",
"precursory": "JJ",
"saintly": "JJ",
"arrogate": "VB",
"ephemeral": "JJ",
"circumvents": "VBZ",
"gray": "JJ",
"quarantine": "VB",
"overflowing": "JJ",
"trilateral": "JJ",
"humane": "JJ",
"allotted": "VBN",
"stygian": "JJ",
"admit": "VB",
"re-instated": "VBN",
"pap-pap-pap-hey": "UH",
"distinguish": "VB",
"speakin": "VBG",
"dwarfs": "VBZ",
"encircles": "VBZ",
"uncertified": "JJ",
"intimidate": "JJ",
"coddled": "VBN",
"capture": "VB",
"suborbital": "JJ",
"endearing": "JJ",
"mistaken": "JJ",
"dost": "VBP",
"clouded": "JJ",
"livid": "JJ",
"district-by-district": "RB",
"uttermost": "JJ",
"peter": "VB",
"hinder": "JJR",
"coated": "JJ",
"repaired": "VBN",
"presupposed": "VBN",
"articulate": "JJ",
"withholds": "VBZ",
"globalized": "JJ",
"invent": "VB",
"collected": "JJ",
"strengthens": "VBZ",
"flecked": "VBN",
"onwards": "RB",
"talkin": "VBG",
"wouldbe": "JJ",
"astounding": "JJ",
"dragoon": "VBP",
"undelivered": "JJ",
"theretofore": "RB",
"powdery": "JJ",
"smack": "RB",
"panelized": "VBN",
"implemented": "VBN",
"yooee": "UH",
"harass": "VB",
"diagrammed": "VBN",
"reckoned": "VBN",
"jumbo": "JJ",
"wiry": "JJ",
"multipronged": "VBN",
"moored": "VBN",
"lunge": "VB",
"full-length": "RB",
"ostrich": "JJ",
"faulty": "JJ",
"richer": "JJR",
"predominates": "VBZ",
"natch": "UH",
"ancient": "JJ",
"befall": "VB",
"underenforces": "VBZ",
"unexercised": "JJ",
"persist": "VB",
"marital": "JJ",
"typecast": "VB",
"unconditioned": "JJ",
"scrounge": "VBP",
"naughty": "JJ",
"reassure": "VB",
"radiate": "JJ",
"neuromuscular": "JJ",
"dumbfounded": "JJ",
"halted": "VBN",
"dwell": "VBP",
"bouncing": "JJ",
"gambled": "VBN",
"exorcise": "VB",
"seep": "VB",
"quench": "JJ",
"rechristens": "VBZ",
"seem": "CP",
"rangy": "JJ",
"floppy": "JJ",
"re-scheduled": "VBN",
"mashed": "VBN",
"don": "VB",
"planetary": "JJ",
"sows": "VBZ",
"sown": "VBN",
"hollers": "VBZ",
"rejoicing": "JJ",
"tiled": "JJ",
"internationalized": "VBN",
"rival": "JJ",
"inspects": "VBZ",
"laze": "VB",
"syrian": "JJ",
"though": "RB",
"paralyze": "VB",
"replicate": "VB",
"chug": "VBP",
"unfortunate": "JJ",
"filtered": "VBN",
"sodden": "JJ",
"harbored": "VBN",
"butted": "VBN",
"transforms": "VBZ",
"tattooed": "VBN",
"impending": "JJ",
"legion": "JJ",
"reuse": "VB",
"perfunctory": "JJ",
"dreamy": "JJ",
"dreamt": "VBD",
"ungratified": "JJ",
"conceal": "VB",
"lathered": "VBN",
"restate": "VB",
"inspected": "VBN",
"lampoon": "VB",
"readmit": "VB",
"lingers": "VBZ",
"bloodstained": "JJ",
"discriminate": "VB",
"clingy": "JJ",
"offputting": "JJ",
"clings": "VBZ",
"matriarchal": "JJ",
"delivered": "VBN",
"glossy": "JJ",
"manages": "VBZ",
"depend": "VB",
"forked": "JJ",
"jettison": "VB",
"freemarket": "JJ",
"whiz-bang": "UH",
"sacral": "JJ",
"reunite": "VB",
"sixfold": "RB",
"promissory": "JJ",
"unobserved": "JJ",
"first-ever": "RB",
"equipped": "JJ",
"reappear": "VBP",
"concocted": "VBN",
"battered": "JJ",
"traipse": "VB",
"rarified": "JJ",
"antifundamentalist": "JJ",
"imbedded": "VBN",
"sensitized": "VBN",
"undisclosed": "JJ",
"unlock": "VB",
"befell": "VBD",
"emerges": "VBZ",
"bamboo": "JJ",
"whittle": "VBP",
"orwellian": "JJ",
"brynge": "VBP",
"tailor-make": "VB",
"participates": "VBZ",
"modernist": "JJ",
"ambulatory": "JJ",
"booted": "JJ",
"overenforced": "VBN",
"efficient": "JJ",
"isolate": "JJ",
"endangered": "JJ",
"frolicked": "VBN",
"vitiate": "VB",
"befouled": "JJ",
"enclosed": "JJ",
"navigated": "VBN",
"untold": "JJ",
"longest-standing": "JJS",
"re-emerge": "VB",
"ruptured": "VBN",
"bedraggled": "JJ",
"tuck": "VBP",
"catbird": "JJ",
"paddle": "VB",
"unassuming": "JJ",
"slenderer": "JJR",
"jaunty": "JJ",
"educated": "JJ",
"angolan": "JJ",
"incubate": "VB",
"finagled": "VBN",
"solve": "VB",
"proximal": "JJ",
"outranks": "VBZ",
"fifteenfold": "RB",
"twin": "JJ",
"tooke": "VBD",
"erase": "VB",
"matching": "JJ",
"confirm": "VB",
"untamed": "JJ",
"u.s.-produced": "JJ",
"pretends": "VBZ",
"hated": "JJ",
"keynote": "VBP",
"repent": "VB",
"hemorrhaged": "VBN",
"forbidden": "JJ",
"slung": "VBD",
"sung": "VBN",
"tartar": "JJ",
"pinioned": "JJ",
"nonwhite": "JJ",
"kill": "VB",
"becometh": "VBZ",
"embodies": "VBZ",
"ruminate": "VB",
"scanty": "JJ",
"cowardly": "JJ",
"unapproved": "JJ",
"lebanese": "JJ",
"annunciated": "VBN",
"culinary": "JJ",
"abroade": "RB",
"brasil": "JJ",
"unnumbered": "JJ",
"overhand": "JJ",
"hessian": "JJ",
"awkward": "JJ",
"thout": "VBD",
"intones": "VBZ",
"blunder": "JJ",
"deserted": "JJ",
"graunt": "VB",
"heartstopping": "JJ",
"deteriorates": "VBZ",
"excruciating": "JJ",
"ashen": "JJ",
"deteriorated": "VBN",
"forthright": "JJ",
"hark": "VBP",
"discouraging": "JJ",
"firstround": "JJ",
"trusteth": "VBP",
"crouches": "VBZ",
"ruined": "JJ",
"reinforces": "VBZ",
"reinforced": "VBN",
"inhibits": "VBZ",
"neglects": "VBZ",
"disown": "VB",
"referred": "VBN",
"ungodly": "JJ",
"supposed": "JJ",
"sedate": "JJ",
"ordere": "VBN",
"categorized": "VBN",
"creased": "VBN",
"clearer": "JJR",
"fundamantal": "JJ",
"corrupts": "VBZ",
"whetted": "VBN",
"contorted": "JJ",
"roughshod": "JJ",
"override": "VB",
"distributes": "VBZ",
"infuse": "VB",
"urinary": "JJ",
"unfettered": "JJ",
"forthcoming": "JJ",
"de-iodinate": "VB",
"krist": "UH",
"burned": "JJ",
"transfered": "VBN",
"windswept": "JJ",
"seeded": "JJ",
"alarmist": "JJ",
"reverse": "VB",
"tapered": "JJ",
"longsuffering": "JJ",
"taxfree": "JJ",
"presale": "JJ",
"misunderstands": "VBZ",
"rat": "JJ",
"vulcanized": "VBN",
"unaffected": "JJ",
"timid": "JJ",
"covets": "VBZ",
"distracting": "JJ",
"openly": "JJ",
"re-used": "VBN",
"stirrin": "VBG",
"squawk": "VB",
"married": "JJ",
"whatever": "JJ",
"einsteinian": "JJ",
"whoa": "UH",
"aflame": "JJ",
"patient": "JJ",
"crap": "JJ",
"constrains": "VBZ",
"goody": "UH",
"frenzied": "JJ",
"impure": "JJ",
"cram": "JJ",
"mealynosed": "JJ",
"single": "JJ",
"assassinate": "VB",
"prepares": "VBZ",
"its": "PP",
"dispassionate": "JJ",
"asian": "JJ",
"commoner": "JJR",
"fecund": "JJ",
"huddled": "JJ",
"aromatick": "JJ",
"prototyped": "VBN",
"restates": "VBZ",
"pomaded": "VBN",
"outlying": "JJ",
"implicit": "JJ",
"chinese": "JJ",
"existent": "JJ",
"formulated": "JJ",
"formulates": "VBZ",
"bested": "VBN",
"nauseated": "JJ",
"upcoming": "JJ",
"dupes": "VBZ",
"apprenticed": "VBN",
"unforgiving": "JJ",
"duped": "VBN",
"misfired": "VBN",
"exclaims": "VBZ",
"curving": "JJ",
"revs": "VBZ",
"bluff": "JJ",
"trifling": "JJ",
"counterbalanced": "VBN",
"confiscatory": "JJ",
"test-drive": "VB",
"poaches": "VBZ",
"re-open": "VB",
"widowed": "VBN",
"negro": "JJ",
"outbid": "VB",
"scalding": "JJ",
"sprawled": "VBN",
"multilayered": "JJ",
"pedigreed": "VBN",
"unspecified": "JJ",
"abolished": "VBN",
"newfangled": "JJ",
"mid": "JJ",
"propagate": "VB",
"sally": "VB",
"skinny": "JJ",
"sidetrack": "VB",
"interpeople": "JJ",
"inferior": "JJ",
"re-assumed": "VBN",
"filleted": "VBN",
"enhances": "VBZ",
"embezzle": "VB",
"enhanced": "JJ",
"awaits": "VBZ",
"consentual": "JJ",
"exclaim": "VB",
"devour": "VB",
"elects": "VBZ",
"spellbound": "JJ",
"divvied": "VBN",
"stationed": "VBN",
"an": "DT",
"wellknown": "JJ",
"deloused": "VBN",
"aw": "UH",
"almost": "RB",
"pluck": "VB",
"glycerinated": "JJ",
"infer": "VB",
"numbered": "JJ",
"bluesy": "JJ",
"ratify": "VB",
"miasmal": "JJ",
"add": "VB",
"match": "VB",
"more-than-average": "RB",
"honeycombed": "JJ",
"propel": "VB",
"masked": "JJ",
"bustling": "JJ",
"lessens": "VBZ",
"stellar": "JJ",
"fleshy": "JJ",
"unreleased": "JJ",
"unwind": "VB",
"gleaned": "VBN",
"dizzying": "JJ",
"tilled": "JJ",
"multicolored": "JJ",
"violent": "JJ",
"wallow": "VB",
"goin": "VBG",
"entreat": "VB",
"heelsthe": "DT",
"ceartaine": "JJ",
"violate": "VB",
"rightist": "JJ",
"jack": "VB",
"solemn": "JJ",
"parched": "JJ",
"aural": "JJ",
"ciceronian": "JJ",
"stray": "JJ",
"strap": "VB",
"swingy": "JJ",
"undisciplined": "JJ",
"unwrinkled": "JJ",
"intermeshed": "JJ",
"optioned": "VBN",
"wobbling": "JJ",
"maintain": "VB",
"shadowy": "JJ",
"depress": "VB",
"collaborates": "VBZ",
"pre-fund": "VB",
"east-to-west": "RB",
"awoke": "VBD",
"inconvenient": "JJ",
"leach": "VB",
"murder": "JJ",
"indiscreet": "JJ",
"pyramidal": "JJ",
"separatist": "JJ",
"prone": "JJ",
"overstrained": "VBN",
"inured": "VBN",
"mammary": "JJ",
"preset": "JJ",
"plenty": "JJ",
"disarmed": "JJ",
"interject": "VBP",
"prevails": "VBZ",
"devastating": "JJ",
"prevaile": "VB",
"announce": "VB",
"aaa": "JJ",
"aah": "UH",
"reinstall": "VB",
"overbearing": "JJ",
"unlatch": "VB",
"erupt": "VB",
"predates": "VBZ",
"irregular": "JJ",
"subnormal": "JJ",
"exterior": "JJ",
"upholds": "VBZ",
"pivotal": "JJ",
"bewhiskered": "JJ",
"arbitrary": "JJ",
"reinsured": "VBN",
"reinsurer": "JJR",
"buildin": "VBG",
"enunciate": "VB",
"permitted": "JJ",
"trustworthy": "JJ",
"naturalized": "JJ",
"transform": "VB",
"gim": "VB",
"steers": "VBZ",
"underclass": "JJ",
"attempted": "JJ",
"illuminating": "JJ",
"most-polluted": "JJS",
"quicksilver": "JJ",
"decorate": "VBP",
"acclaimed": "JJ",
"shines": "VBZ",
"longrun": "JJ",
"patterned": "VBN",
"discern": "VB",
"outmoded": "JJ",
"beseiged": "VBN",
"couched": "VBN",
"invades": "VBZ",
"unmaterialized": "VBN",
"looted": "VBN",
"channeled": "VBN",
"overrides": "VBZ",
"guilty": "JJ",
"paralyzes": "VBZ",
"erudite": "JJ",
"paralyzed": "JJ",
"sporty": "JJ",
"noncombat": "JJ",
"baser": "JJR",
"tinplated": "VBN",
"neglected": "JJ",
"moonlit": "JJ",
"unarmed": "JJ",
"provoke": "VB",
"disliked": "JJ",
"coiled": "JJ",
"paide": "VBN",
"paramount": "JJ",
"execute": "VB",
"arteriolar": "JJ",
"plain-out": "RB",
"depersonalized": "VBN",
"cancels": "VBZ",
"kidnaped": "VBN",
"limps": "VBZ",
"uniformed": "JJ",
"broached": "VBN",
"knoweth": "VBP",
"petered": "VBN",
"cooling": "JJ",
"portend": "VBP",
"straddles": "VBZ",
"resifted": "VBN",
"adopt": "VB",
"rebalanced": "VBN",
"partake": "VB",
"hedge": "VB",
"sabotage": "JJ",
"obliterate": "JJ",
"imposing": "JJ",
"disarranged": "JJ",
"unoccupied": "JJ",
"topgrade": "JJ",
"co-edits": "VBZ",
"pronto": "RB",
"jammed": "JJ",
"together": "RB",
"myself": "PRP",
"slippery": "JJ",
"hunts": "VBZ",
"pre-try": "VB",
"hevin": "VBG",
"excavated": "VBN",
"reward": "VB",
"burglarproof": "JJ",
"dulls": "VBZ",
"impound": "VB",
"painteresque": "JJ",
"wainscoted": "JJ",
"overheated": "JJ",
"ours": "PRP",
"oftener": "RBR",
"europeanized": "VBN",
"undreamt": "VBN",
"attests": "VBZ",
"disorganized": "JJ",
"obeys": "VBZ",
"overstaffed": "JJ",
"dislocated": "JJ",
"forbade": "VBD",
"lapidary": "JJ",
"promote": "VB",
"heave": "VB",
"compel": "VB",
"brash": "JJ",
"gator": "JJ",
"variegated": "JJ",
"eschewed": "VBN",
"unlined": "JJ",
"becase": "IN",
"sparked": "VBN",
"infringe": "VB",
"pulmonary": "JJ",
"elongated": "VBN",
"proceed": "VB",
"irritate": "VB",
"widens": "VBZ",
"underprivileged": "JJ",
"quarterly": "JJ",
"mellow": "JJ",
"wrestles": "VBZ",
"co-host": "VBP",
"swung": "VBD",
"allege": "VBP",
"expedient": "JJ",
"earlier-the": "IN",
"ever-greater": "JJR",
"underplayed": "VBN",
"misspelled": "VBN",
"overused": "VBN",
"characterizes": "VBZ",
"characterized": "VBN",
"say-because": "IN",
"organised": "JJ",
"monotone": "JJ",
"seizin": "VBG",
"notify": "VB",
"pleasin": "VBG",
"conventionalized": "VBN",
"flimsy": "JJ",
"inaugurated": "VBN",
"nagging": "JJ",
"outdoors": "RB",
"breakeven": "JJ",
"comforting": "JJ",
"engulf": "VB",
"stigmatizes": "VBZ",
"germans": "NNPS",
"biggest-ever": "RB",
"behynde": "IN",
"gilded": "JJ",
"delinquent": "JJ",
"mosey": "VB",
"deader": "JJR",
"frumpy": "JJ",
"determines": "VBZ",
"unaddressed": "JJ",
"investigate": "VB",
"achieved": "VBN",
"achieves": "VBZ",
"degrading": "JJ",
"pinch-hit": "VB",
"tumbledown": "JJ",
"bludgeoned": "VBN",
"blissfully": "RB",
"rave": "JJ",
"deprecatory": "JJ",
"out-trade": "VB",
"fatiegued": "JJ",
"orchestral": "JJ",
"rocking": "JJ",
"longer-range": "JJR",
"rosy": "JJ",
"advise": "VB",
"selle": "VB",
"flown": "VBN",
"unrestrained": "JJ",
"underreported": "VBN",
"polled": "VBN",
"bestubbled": "JJ",
"be-that": "VB",
"tabled": "VBN",
"amended": "JJ",
"secondary": "JJ",
"awaken": "VB",
"digitalized": "JJ",
"entice": "VB",
"sprightly": "JJ",
"understanded": "VBN",
"raided": "VBN",
"divest": "VB",
"square": "JJ",
"baggy": "JJ",
"usurp": "VB",
"junior": "JJ",
"elide": "VBP",
"freak": "JJ",
"allayed": "VBN",
"rainy": "JJ",
"mock": "JJ",
"muddled": "JJ",
"generates": "VBZ",
"generated": "VBN",
"buries": "VBZ",
"onct": "IN",
"epitomizes": "VBZ",
"resistance": "JJ",
"epitomized": "VBN",
"acclimatized": "VBN",
"breathing": "JJ",
"seized": "VBN",
"relives": "VBZ",
"inaccurate": "JJ",
"appeased": "VBN",
"capital": "JJ",
"incriminating": "JJ",
"wil": "MD",
"stabilized": "JJ",
"undecorated": "JJ",
"stabilizes": "VBZ",
"counterfeit": "JJ",
"tamper": "VB",
"blustery": "JJ",
"demonstrates": "VBZ",
"improvised": "JJ",
"stamped": "JJ",
"restrain": "VB",
"underpin": "VB",
"testifies": "VBZ",
"re-enter": "VB",
"relates": "VBZ",
"maintains": "VBZ",
"via": "IN",
"scattershot": "JJ",
"instituted": "VBN",
"baptized": "VBN",
"congenital": "JJ",
"limiting": "JJ",
"elongate": "VB",
"after": "RB",
"outward": "RB",
"vernacular": "JJ",
"politicized": "VBN",
"enthrones": "VBZ",
"clothbound": "JJ",
"queried": "VBN",
"artsy": "JJ",
"pitted": "VBN",
"acquires": "VBZ",
"broach": "VB",
"refurnished": "VBN",
"swift": "JJ",
"unlamented": "JJ",
"bewildering": "JJ",
"counterchallenge": "VB",
"abandoned": "JJ",
"rename": "VB",
"apprehend": "VB",
"disapprove": "VBP",
"coached": "VBN",
"lopsided": "JJ",
"antsy": "JJ",
"plowed": "VBN",
"banded": "JJ",
"console": "VB",
"superstrong": "JJ",
"ablaze": "JJ",
"u.s.-owned": "JJ",
"swear": "VB",
"*": "SYM",
"stymied": "VBN",
"baffling": "JJ",
"mutter": "VB",
"mailed": "VBN",
"ruling": "JJ",
"fulllength": "JJ",
"fortunate": "JJ",
"myn": "PRP",
"overdeveloped": "JJ",
"u.s.-south": "JJ",
"threetranche": "JJ",
"alienated": "JJ",
"cambodian": "JJ",
"alienates": "VBZ",
"sopping": "JJ",
"woo": "VB",
"mossberg": "JJ",
"kennedyesque": "JJ",
"auctioned": "VBN",
"precise": "JJ",
"reactivated": "VBN",
"catalyzed": "VBN",
"secluded": "JJ",
"exhort": "VB",
"occupying": "JJ",
"untie": "VB",
"icebound": "JJ",
"suffocated": "VBN",
"downward": "JJ",
"brings": "VBZ",
"canonized": "JJ",
"sweeten": "VB",
"sweeter": "JJR",
"denyin": "VBG",
"promulgated": "JJ",
"vitiated": "JJ",
"revisit": "VB",
"retooled": "VBN",
"outlawed": "JJ",
"scoffs": "VBZ",
"tranquilizing": "JJ",
"conned": "VBN",
"undercut": "VB",
"programed": "VBN",
"braised": "VBN",
"clumsy": "JJ",
"addicted": "VBN",
"obdurate": "JJ",
"ate": "VBD",
"no-o": "UH",
"earthy": "JJ",
"playfully": "RB",
"tangy": "JJ",
"unguided": "JJ",
"readjusted": "VBN",
"zounds": "UH",
"unintended": "JJ",
"relaunched": "VBN",
"kayo": "VB",
"unperformed": "JJ",
"figger": "VB",
"unsuspecting": "JJ",
"blackmailed": "VBN",
"shalt": "VB",
"quality": "JJ",
"comprise": "VBP",
"prim": "JJ",
"sexist": "JJ",
"undue": "JJ",
"pastoral": "JJ",
"plagued": "VBN",
"thees": "DT",
"pilloried": "VBN",
"symbolizes": "VBZ",
"closed": "JJ",
"trucked": "VBN",
"sauterne": "JJ",
"roofed": "VBN",
"vows": "VBZ",
"morever": "RB",
"shipwrecked": "JJ",
"disseminated": "VBN",
"disseminates": "VBZ",
"distribute": "VB",
"deters": "VBZ",
"unimpassioned": "JJ",
"remind": "VB",
"cavin": "VBG",
"further": "JJR",
"animate": "JJ",
"whitens": "VBZ",
"prefund": "VB",
"ruffles": "VBZ",
"summoned": "VBN",
"bowing": "JJ",
"emits": "VBZ",
"first": "JJ",
"instructed": "VBN",
"recollect": "VBP",
"frazzled": "JJ",
"unfree": "JJ",
"followthrough": "JJ",
"sighs": "VBZ",
"bateau": "JJ",
"momentary": "JJ",
"front-loads": "VBZ",
"shimmy": "VB",
"smalltime": "JJ",
"fatigued": "JJ",
"most-remarkable": "JJS",
"bulldozed": "VBN",
"coppery": "JJ",
"bi": "IN",
"contemplate": "VB",
"fourfold": "JJ",
"loving": "JJ",
"refrain": "VB",
"militated": "VBN",
"jewel-bright": "RB",
"privy": "JJ",
"unequalled": "JJ",
"uncomforted": "JJ",
"immune": "JJ",
"advancing": "JJ",
"burgundian": "JJ",
"cardiac": "JJ",
"lighter": "JJR",
"stampeded": "VBN",
"derive": "VBP",
"haughty": "JJ",
"paraded": "VBN",
"decreased": "JJ",
"bipartisan": "JJ",
"retails": "VBZ",
"withdrew": "VBD",
"suspends": "VBZ",
"fluted": "JJ",
"topnotch": "JJ",
"exploding": "JJ",
"complimented": "VBN",
"quits": "VBZ",
"sin-ned": "VB",
"unlicensed": "JJ",
"punk": "JJ",
"isolated": "JJ",
"reopen": "VB",
"structured": "JJ",
"plies": "VBZ",
"veers": "VBZ",
"sag": "VB",
"sap": "VB",
"aside": "RB",
"transcribed": "VBN",
"destroy": "VB",
"knew": "VBD",
"butchered": "VBN",
"accented": "JJ",
"homespun": "JJ",
"foward": "JJ",
"uppermost": "RB",
"dissimilar": "JJ",
"ghastly": "JJ",
"plummet": "VB",
"churchgoing": "JJ",
"forsake": "VB",
"lettin": "VBG",
"facilitatory": "JJ",
"adept": "JJ",
"madcap": "JJ",
"overland": "RB",
"originates": "VBZ",
"rekindles": "VBZ",
"observe": "VB",
"spanking": "JJ",
"coextrude": "VBP",
"twisty": "JJ",
"maximal": "JJ",
"redeemin": "VBG",
"thinkin": "VBG",
"colorblind": "JJ",
"manifold": "JJ",
"west-to-east": "RB",
"disperse": "VB",
"nymphomaniac": "JJ",
"ghostly": "JJ",
"coded": "JJ",
"warped": "JJ",
"indeed": "RB",
"stationary": "JJ",
"pushy": "JJ",
"tote": "VB",
"side": "JJ",
"jordanian": "JJ",
"stony": "JJ",
"sneering": "JJ",
"wade": "VB",
"mourns": "VBZ",
"unveils": "VBZ",
"flirt": "VBP",
"laminated": "VBN",
"noninflationary": "JJ",
"preppy": "JJ",
"overlying": "JJ",
"bilked": "VBN",
"instigate": "VB",
"ninetieth": "CD",
"forestall": "VB",
"discolors": "VBZ",
"introductory": "JJ",
"brutal": "JJ",
"unsatisfactory": "JJ",
"whammo": "UH",
"wavering": "JJ",
"russian": "JJ",
"teen": "JJ",
"u.s.-canadian": "JJ",
"foregone": "JJ",
"unanalyzed": "JJ",
"rowdy": "JJ",
"denude": "VB",
"licks": "VBZ",
"pre-signed": "VBN",
"motley": "JJ",
"imperil": "VB",
"thereof": "RB",
"featured": "JJ",
"reappointed": "VBN",
"flyaway": "JJ",
"dwelt": "VBD",
"disadvantaged": "JJ",
"bargen": "VBP",
"thespian": "JJ",
"forwards": "RB",
"sidle": "VB",
"molecular": "JJ",
"vocal": "JJ",
"multipurpose": "JJ",
"disenchanted": "JJ",
"ancillary": "JJ",
"nasal": "JJ",
"despise": "VBP",
"stepwise": "JJ",
"scuff": "VB",
"resent": "VBP",
"belled": "JJ",
"#": "#",
"diluted": "VBN",
"dilutes": "VBZ",
"kneel": "VB",
"milder": "JJR",
"disallow": "VB",
"enables": "VBZ",
"harpy": "JJ",
"jowly": "JJ",
"modern": "JJ",
"hind": "JJ",
"arching": "JJ",
"sounding": "JJ",
"favorites": "NNPS",
"displeased": "JJ",
"unlabeled": "JJ",
"rammin": "VBG",
"unto": "IN",
"expansionary": "JJ",
"dictated": "VBN",
"irked": "JJ",
"appropriate": "JJ",
"deduct": "VB",
"traduce": "VB",
"consumed": "VBN",
"reconcile": "JJ",
"raging": "JJ",
"surpassing": "JJ",
"nondiscriminatory": "JJ",
"overconfident": "JJ",
"labelled": "JJ",
"illustrates": "VBZ",
"unmatched": "JJ",
"manipulates": "VBZ",
"gather": "VB",
"jettisoned": "VBN",
"pledge": "JJ",
"gettin": "VBG",
"overshadows": "VBZ",
"deduces": "VBZ",
"subgross": "JJ",
"deduced": "VBN",
"involves": "VBZ",
"counsels": "VBZ",
"illegal": "JJ",
"afforded": "VBN",
"zim": "UH",
"indpendent": "JJ",
"pour": "VB",
"rubberized": "VBN",
"fulfill": "VB",
"pieced": "VBN",
"purposed": "VBN",
"puckered": "VBN",
"overridden": "VBN",
"hitched": "VBN",
"crabby": "JJ",
"derelict": "JJ",
"archival": "JJ",
"hindering": "JJ",
"fascinating": "JJ",
"behaves": "VBZ",
"courted": "VBN",
"fluffy": "JJ",
"elite": "JJ",
"stricter": "JJR",
"amble": "VB",
"particular": "JJ",
"fervent": "JJ",
"more-distinctive": "JJR",
"touching": "JJ",
"spiffy": "JJ",
"familiar": "JJ",
"lazy": "JJ",
"tripled": "VBN",
"staved": "VBN",
"homosexual": "JJ",
"lumbar": "JJ",
"intradepartmental": "JJ",
"loathes": "VBZ",
"prefabricated": "VBN",
"eventshahleh": "RB",
"glaring": "JJ",
"conflicting": "JJ",
"cutsie": "JJ",
"expand": "VB",
"extradited": "VBN",
"overcast": "JJ",
"prospering": "JJ",
"off-line": "RB",
"howda": "WRB",
"predicts": "VBZ",
"commandeered": "VBN",
"mannered": "JJ",
"rectilinear": "JJ",
"overdosed": "VBN",
"persecuting": "JJ",
"portly": "JJ",
"shone": "VBD",
"legato": "RB",
"briefly-illumed": "VBN",
"afoot": "RB",
"mere": "JJ",
"alreadeh": "RB",
"misguided": "JJ",
"de-leverage": "VB",
"bunched": "VBN",
"grecian": "JJ",
"mercenary": "JJ",
"suicidal": "JJ",
"admixed": "VBN",
"bludgeon": "VB",
"closeup": "JJ",
"viral": "JJ",
"zairean": "JJ",
"prolong": "VB",
"jamaican": "JJ",
"sparkling": "JJ",
"lighted": "JJ",
"flng": "VB",
"tolerated": "VBN",
"hereditary": "JJ",
"tolerates": "VBZ",
"overrun": "VBN",
"blooming": "JJ",
"overheard": "VBN",
"betide": "VB",
"cites": "VBZ",
"as-it-were": "RB",
"subpenaed": "VBN",
"lax": "JJ",
"egged": "VBN",
"stimulate": "VB",
"counseled": "VBN",
"deducted": "VBN",
"satisfies": "VBZ",
"dapper": "JJ",
"insolently": "RB",
"unacknowledged": "JJ",
"pastdue": "JJ",
"entitled": "JJ",
"overpopulated": "VBN",
"churchillian": "JJ",
"gridded": "JJ",
"unkempt": "JJ",
"coldhearted": "JJ",
"delves": "VBZ",
"licked": "JJ",
"delved": "VBN",
"guatemalan": "JJ",
"reimbursed": "VBN",
"vibrate": "VB",
"tackled": "VBN",
"overlays": "VBZ",
"pleural": "JJ",
"confabulated": "VBN",
"swims": "VBZ",
"fitted": "VBN",
"respectfully": "RB",
"versed": "VBN",
"blighted": "JJ",
"herded": "VBN",
"obsoleted": "VBN",
"mexican": "JJ",
"a-reflects": "VBZ",
"bestows": "VBZ",
"dimwitted": "JJ",
"untarnished": "JJ",
"refurbished": "VBN",
"repelled": "VBN",
"relaxing": "JJ",
"millionth": "JJ",
"hoist": "VB",
"spelled": "VBN",
"inhibit": "VB",
"thenceforth": "RB",
"pungent": "JJ",
"entertains": "VBZ",
"crowning": "JJ",
"outclassed": "JJ",
"grapple": "VB",
"unlaundered": "VBN",
"nil": "JJ",
"swell": "VB",
"outmaneuvered": "VBN",
"wispy": "JJ",
"figural": "JJ",
"mingle": "VB",
"quoted": "VBN",
"chides": "VBZ",
"demolished": "JJ",
"slouches": "VBZ",
"soar": "VB",
"rile": "VBP",
"unrivaled": "JJ",
"cede": "VB",
"disillusioned": "JJ",
"honoured": "VBN",
"ply": "VBP",
"tropho": "JJ",
"emulated": "VBN",
"snowy": "JJ",
"astonished": "JJ",
"overrules": "VBZ",
"conserves": "VBZ",
"howling": "JJ",
"conserved": "VBN",
"wintry": "JJ",
"shrink": "VB",
"bestowed": "VBN",
"gyrate": "VB",
"hovers": "VBZ",
"disapproves": "VBZ",
"released": "VBN",
"devotes": "VBZ",
"bilinear": "JJ",
"unblemished": "JJ",
"unbundled": "VBN",
"hypophysectomised": "VBN",
"disqualify": "VB",
"upper": "JJ",
"tempts": "VBZ",
"discover": "VB",
"penetrated": "VBN",
"hops": "VBZ",
"tippling": "JJ",
"homeward": "RB",
"marked": "JJ",
"immunized": "VBN",
"uncountered": "JJ",
"menstrual": "JJ",
"intrapulmonary": "JJ",
"nomenclatural": "JJ",
"infantile": "JJ",
"amputated": "VBN",
"bartered": "VBN",
"unuttered": "JJ",
"disparate": "JJ",
"lumbering": "JJ",
"discuss": "VB",
"expedite": "VB",
"commercialized": "VBN",
"prospers": "VBZ",
"supplant": "VB",
"counteract": "VB",
"accomplish": "VB",
"yourself": "PRP",
"dawns": "VBZ",
"thar": "RB",
"reconvenes": "VBZ",
"lumpy": "JJ",
"nervy": "JJ",
"similiar": "JJ",
"erred": "VBN",
"concurs": "VBZ",
"reorganized": "VBN",
"reorganizes": "VBZ",
"derogatory": "JJ",
"examinin": "VBG",
"analyzes": "VBZ",
"analyzed": "VBN",
"segmental": "JJ",
"pulverized": "VBN",
"invert": "VB",
"wolde": "MD",
"avian": "JJ",
"homely": "JJ",
"foggy": "JJ",
"grevouselye": "RB",
"outmaneuver": "VB",
"coordinate": "VB",
"defers": "VBZ",
"nazi": "JJ",
"charged": "JJ",
"thinking": "JJ",
"congeal": "VB",
"seamy": "JJ",
"allocates": "VBZ",
"dumpy": "JJ",
"hoa-whup": "UH",
"uncorrected": "JJ",
"sniffs": "VBZ",
"sniffy": "JJ",
"vacillate": "VB",
"hampers": "VBZ",
"unbounded": "JJ",
"color-coded": "VBN",
"garrisoned": "VBN",
"forwarded": "VBN",
"exonerated": "JJ",
"mellowed": "VBN",
"reintegrated": "VBN",
"posterior": "JJ",
"u.s.-backed": "JJ",
"overpay": "VB",
"restores": "VBZ",
"midweek": "JJ",
"godamit": "VB",
"semiarid": "JJ",
"authoritarian": "JJ",
"repay": "VB",
"renege": "VB",
"messy": "JJ",
"revoke": "VB",
"egad": "UH",
"amatory": "JJ",
"edited": "VBN",
"modular": "JJ",
"multipartisan": "JJ",
"creepy": "JJ",
"locates": "VBZ",
"ripe": "JJ",
"ejected": "VBN",
"woodsy": "JJ",
"headquartered": "VBN",
"malnourished": "JJ",
"contrived": "JJ",
"unfertilized": "VBN",
"lateral": "JJ",
"followeth": "VBZ",
"relate": "VBP",
"motivates": "VBZ",
"dulled": "JJ",
"duller": "JJR",
"tode": "VBN",
"bald": "JJ",
"resettle": "VB",
"earliest": "RB",
"revolutionary": "JJ",
"corrupting": "JJ",
"financed": "VBN",
"lament": "JJ",
"sentenced": "VBN",
"impressively": "RB",
"multilateral": "JJ",
"grafted": "JJ",
"flighty": "JJ",
"albeit": "IN",
"intensify": "VB",
"gels": "VBZ",
"vanquish": "VB",
"hobbles": "VBZ",
"hobbled": "VBN",
"cautions": "VBZ",
"delimit": "VB",
"vaster": "JJR",
"breakneck": "JJ",
"steely": "JJ",
"deter": "VB",
"tactual": "JJ",
"animates": "VBZ",
"fleet": "JJ",
"flees": "VBZ",
"gala": "JJ",
"clobbers": "VBZ",
"simian": "JJ",
"fairer": "JJR",
"autopsied": "VBN",
"unpromising": "JJ",
"shoe-horned": "VBN",
"savvy": "JJ",
"abstain": "VB",
"fabulously": "RB",
"defies": "VBZ",
"overthrown": "VBN",
"ingratiating": "JJ",
"saddled": "JJ",
"stagger": "VB",
"slapstick": "JJ",
"dehydrate": "VB",
"raspberry": "JJ",
"react": "JJ",
"encircling": "JJ",
"revealing": "JJ",
"innate": "JJ",
"bantering": "JJ",
"newsworthy": "JJ",
"reiterates": "VBZ",
"restarted": "VBN",
"overweighted": "VBN",
"deconstructed": "JJ",
"aa": "JJ",
"drab": "JJ",
"moribund": "JJ",
"homicidal": "JJ",
"ribald": "JJ",
"pristine": "JJ",
"ventilates": "VBZ",
"adulterate": "JJ",
"addressed": "VBN",
"recused": "VBN",
"whisks": "VBZ",
"retried": "VBN",
"stemmed": "JJ",
"re-use": "VB",
"immoral": "JJ",
"hafta": "VB",
"alaskan": "JJ",
"hid": "VBD",
"soggy": "JJ",
"surrounds": "VBZ",
"refuel": "VB",
"depreciating": "JJ",
"joins": "VBZ",
"undo": "VB",
"lanced": "VBN",
"strapping": "JJ",
"overestimate": "VB",
"unequivocal": "JJ",
"punish": "VB",
"recessed": "VBN",
"cosmopolitan": "JJ",
"pursued": "VBN",
"aftermarket": "JJ",
"goddamned": "JJ",
"connected": "JJ",
"scrambled": "JJ",
"shakespearean": "JJ",
"creamed": "VBN",
"cavort": "VBP",
"outflank": "VB",
"gratify": "VB",
"improvident": "JJ",
"trammel": "VB",
"computed": "VBN",
"realign": "VB",
"juggle": "VB",
"castoff": "JJ",
"publicized": "VBN",
"undermined": "VBN",
"bearing": "JJ",
"undermines": "VBZ",
"harder": "JJR",
"harden": "VB",
"midpriced": "JJ",
"riddled": "VBN",
"prophesies": "VBZ",
"evenhanded": "JJ",
"clashing": "JJ",
"lures": "VBZ",
"barefooted": "JJ",
"lured": "VBN",
"pooh-poohed": "VB",
"crushed": "JJ",
"tarnish": "VB",
"thatcherite": "JJ",
"warmer": "JJR",
"solicits": "VBZ",
"rewarding": "JJ",
"weighs": "VBZ",
"offset": "VB",
"cleans": "VBZ",
"persuaded": "VBN",
"overlook": "VB",
"legitimizes": "VBZ",
"legitimized": "VBN",
"second-guess": "VB",
"tapers": "VBZ",
"converted": "VBN",
"pumped": "VBN",
"u.s.-mexico": "JJ",
"leathery": "JJ",
"unroll": "VBP",
"extenuate": "VB",
"updated": "JJ",
"overcomes": "VBZ",
"accentual": "JJ",
"sunder": "VB",
"taper": "VB",
"chaperoned": "JJ",
"tabulated": "VBN",
"defer": "VB",
"blistering": "JJ",
"degenerate": "JJ",
"cursory": "JJ",
"prohibits": "VBZ",
"neutered": "VBN",
"accusatory": "JJ",
"overcome": "VB",
"mamalian": "JJ",
"unregistered": "JJ",
"sulphured": "VBN",
"upstaged": "VBN",
"mandated": "VBN",
"linear": "JJ",
"subtended": "JJ",
"lineal": "JJ",
"warmhearted": "JJ",
"lacerated": "JJ",
"deplete": "VB",
"silly": "JJ",
"deserving": "JJ",
"spoiled": "JJ",
"closeted": "JJ",
"desist": "VB",
"nighttime": "JJ",
"chartered": "JJ",
"acquit": "VB",
"establishes": "VBZ",
"compounded": "JJ",
"perceive": "VB",
"sallow": "JJ",
"thyself": "PRP",
"shaven": "JJ",
"sail": "VB",
"shaved": "VBN",
"reassigned": "VBN",
"shaves": "VBZ",
"disinfected": "VBN",
"hardworking": "JJ",
"lowly": "JJ",
"recut": "JJ",
"recur": "VB",
"distorts": "VBZ",
"spawn": "VB",
"nae": "UH",
"grown": "JJ",
"yongst": "JJS",
"alludes": "VBZ",
"downtrodden": "JJ",
"afire": "RB",
"uncivil": "JJ",
"intercollegiate": "JJ",
"repudiate": "VB",
"bold": "JJ",
"errs": "VBZ",
"approximate": "JJ",
"impassioned": "JJ",
"chekovian": "JJ",
"multiscreen": "JJ",
"secondhand": "JJ",
"overburden": "VB",
"attached": "JJ",
"hypertrophied": "VBN",
"covert": "JJ",
"covers": "VBZ",
"vacate": "VB",
"unholy": "JJ",
"worcestershire": "JJ",
"excel": "JJ",
"misinterpreted": "VBN",
"overdue": "JJ",
"deputized": "VBN",
"peruse": "VB",
"agleam": "JJ",
"disgusting": "JJ",
"amaze": "VB",
"overproduce": "VB",
"encircle": "VB",
"shod": "JJ",
"overlaid": "VBN",
"faustian": "JJ",
"dishonored": "VBN",
"validate": "VB",
"breathtaking": "JJ",
"weeklong": "JJ",
"intensively": "RB",
"perk": "JJ",
"creamy": "JJ",
"pert": "JJ",
"cremate": "VB",
"beholden": "JJ",
"recites": "VBZ",
"gassy": "JJ",
"deformed": "JJ",
"claim": "VB",
"marbleized": "VBN",
"accessory": "JJ",
"instills": "VBZ",
"downsized": "VBN",
"longhand": "JJ",
"technophiliac": "JJ",
"frittered": "VBN",
"sculpts": "VBZ",
"irresolute": "JJ",
"bein": "VBG",
"unvisited": "VBN",
"discourages": "VBZ",
"slaughters": "VBZ",
"many-fold": "RB",
"dominate": "VB",
"bootlegged": "VBN",
"mortared": "VBN",
"musing": "JJ",
"forbids": "VBZ",
"standby": "JJ",
"inflight": "JJ",
"exclusionary": "JJ",
"occupies": "VBZ",
"greet": "VB",
"occupied": "JJ",
"clung": "VBD",
"astounds": "VBZ",
"enumerated": "VBN",
"pained": "JJ",
"typify": "VBP",
"dedicate": "VB",
"arcaded": "JJ",
"terse": "JJ",
"maintained": "VBN",
"disciplinary": "JJ",
"undertake": "VB",
"referrin": "VBG",
"outspends": "VBZ",
"sprained": "VBN",
"underweighted": "VBN",
"everyday": "JJ",
"pat": "JJ",
"mortgaged": "VBN",
"haint": "VBZ",
"doctoral": "JJ",
"recopied": "VBN",
"safeguarded": "VBN",
"mor": "JJR",
"mop": "VB",
"mow": "VB",
"intracompany": "JJ",
"disappointed": "JJ",
"gossipy": "JJ",
"laughing": "JJ",
"undifferentiated": "JJ",
"receave": "VBP",
"unissued": "JJ",
"classifies": "VBZ",
"unclassified": "JJ",
"preoccupies": "VBZ",
"solidify": "VB",
"roam": "VB",
"uptown": "RB",
"amassed": "VBN",
"suject": "JJ",
"gory": "JJ",
"gore": "VB",
"grudging": "JJ",
"unturned": "JJ",
"princesse": "JJ",
"prudent": "JJ",
"casts": "VBZ",
"corporeal": "JJ",
"forges": "VBZ",
"goofy": "JJ",
"forged": "JJ",
"worded": "VBN",
"invigorate": "VB",
"disused": "JJ",
"preordained": "VBN",
"overshot": "VBD",
"face-to-wall": "RB",
"faded": "JJ",
"doting": "JJ",
"chipper": "JJ",
"distinct": "JJ",
"promazine": "JJ",
"staggering": "JJ",
"unindicted": "JJ",
"taut": "JJ",
"prods": "VBZ",
"siren": "JJ",
"sired": "VBN",
"uninspired": "JJ",
"bathed": "VBN",
"chopped": "JJ",
"minincomputer": "JJR",
"forthwith": "RB",
"oks": "VBZ",
"declamatory": "JJ",
"conspires": "VBZ",
"bah": "JJ",
"obtaine": "VB",
"effete": "JJ",
"byinge": "VBG",
"hosted": "VBN",
"wanting": "JJ",
"slithers": "VBZ",
"weave": "VB",
"gotten": "VBN",
"cross-pollinated": "VBN",
"damaging": "JJ",
"sole": "JJ",
"totter": "VB",
"outta": "IN",
"dismember": "VB",
"appellate": "JJ",
"fluctuate": "VBP",
"poach": "VB",
"a-stoopin": "VBG",
"socalled": "JJ",
"multichannel": "JJ",
"dividing": "JJ",
"omani": "JJ",
"relocate": "VB",
"elapse": "VB",
"brooken": "VBN",
"glottal": "JJ",
"noninstitutionalized": "JJ",
"glorifies": "VBZ",
"feasted": "VBN",
"donate": "VB",
"declaratory": "JJ",
"renews": "VBZ",
"alters": "VBZ",
"cubed": "VBN",
"consume": "VBP",
"unremitting": "JJ",
"u.s.-european": "JJ",
"foreshadowed": "VBN",
"adjusts": "VBZ",
"uhhu": "UH",
"embarks": "VBZ",
"inspect": "VB",
"unregisterd": "JJ",
"plinking": "JJ",
"snap": "VB",
"redeem": "JJ",
"pollinate": "VB",
"keeeerist": "UH",
"extremist": "JJ",
"accelerate": "VB",
"ourselves": "PRP",
"scald": "VB",
"costumed": "VBN",
"downhill": "RB",
"multilayer": "JJ",
"bong": "UH",
"overpower": "VB",
"quiescent": "JJ",
"unstimulated": "JJ",
"calico": "JJ",
"intricate": "JJ",
"mowed": "VBN",
"annoy": "VB",
"populist": "JJ",
"grooved": "VBN",
"replicated": "VBN",
"lower-priced": "JJR",
"transplanted": "VBN",
"advertised": "VBN",
"sink": "VB",
"irritating": "JJ",
"tat": "VB",
"appended": "VBN",
"clockwise": "RB",
"matinee": "JJ",
"airlifted": "VBN",
"higher-technology": "JJR",
"stock": "JJ",
"subpoenaed": "VBN",
"envisage": "VB",
"negotiated": "VBN",
"whereof": "RB",
"<": "SYM",
"infrequent": "JJ",
"serpentine": "JJ",
"slacken": "VB",
"verifying": "JJ",
"unstuck": "JJ",
"labile": "JJ",
"postpone": "VB",
"chased": "VBN",
"tbond": "JJ",
"natty": "JJ",
"retrench": "VBP",
"unending": "JJ",
"loved": "JJ",
"halcyon": "JJ",
"sublunary": "JJ",
"builtin": "JJ",
"replanted": "VBN",
"rediscovered": "VBN",
"trundles": "VBZ",
"yeeech": "UH",
"gulled": "VBN",
"shrugs": "VBZ",
"circumpolar": "JJ",
"resubmit": "VB",
"bogartian": "JJ",
"accrue": "VB",
"striped": "JJ",
"cleaned": "VBN",
"dislodge": "VB",
"packaged": "VBN",
"fester": "VB",
"most-indebted": "JJS",
"upbeat": "JJ",
"plaid": "JJ",
"deem": "VBP",
"promoted": "VBN",
"preconference": "JJ",
"persianesque": "JJ",
"injured": "JJ",
"tighten": "VB",
"injures": "VBZ",
"tighter": "JJR",
"terrorized": "VBN",
"inviting": "JJ",
"stuffy": "JJ",
"regain": "VB",
"maronite": "JJ",
"expire": "VB",
"buckle": "VB",
"awarded": "JJ",
"reminds": "VBZ",
"annoying": "JJ",
"backfires": "VBZ",
"misstated": "VBN",
"individuate": "VB",
"surreal": "JJ",
"misstates": "VBZ",
"handcrafted": "VBN",
"misgauged": "VBN",
"prevalent": "JJ",
"oral": "JJ",
"assembles": "VBZ",
"sleek": "JJ",
"assembled": "VBN",
"vile": "JJ",
"incurs": "VBZ",
"lurk": "VB",
"sunk": "VBN",
"razed": "JJ",
"frizzled": "JJ",
"omits": "VBZ",
"slaughtered": "VBN",
"ensnared": "VBN",
"brushy": "JJ",
"adjourn": "VB",
"quick-fired": "VBN",
"thoriated": "VBN",
"adjacent": "JJ",
"nonsingular": "JJ",
"predicated": "VBN",
"oooo": "UH",
"transcultural": "JJ",
"reorient": "VB",
"digest": "VB",
"edits": "VBZ",
"tantalized": "VBN",
"appoint": "VB",
"explode": "VB",
"holdin": "VBG",
"unscrew": "VB",
"reused": "VBN",
"rail": "JJ",
"whereupon": "IN",
"superimpose": "VB",
"decorticated": "VBN",
"blunts": "VBZ",
"withheld": "VBN",
"staminate": "JJ",
"kinder": "JJR",
"meanders": "VBZ",
"centered": "VBN",
"cross-fertilized": "VBN",
"injected": "VBN",
"kept": "VBD",
"nominate": "VB",
"isolates": "VBZ",
"genital": "JJ",
"pops": "VBZ",
"queer": "JJ",
"curricular": "JJ",
"commence": "VB",
"enslave": "VBP",
"sectionalized": "JJ",
"startle": "VB",
"cajun": "JJ",
"yearago": "JJ",
"rightward": "RB",
"confide": "VB",
"dabbles": "VBZ",
"affixed": "VBN",
"catch": "VB",
"subjugate": "VB",
"cracked": "JJ",
"precede": "VB",
"outface": "VB",
"lockian": "JJ",
"hearty": "JJ",
"detained": "VBN",
"accede": "VB",
"toadying": "JJ",
"spawns": "VBZ",
"gifted": "JJ",
"tristate": "JJ",
"arbitrated": "VBN",
"jejune": "JJ",
"reassign": "VB",
"arbitrates": "VBZ",
"puzzle": "JJ",
"forbad": "VBD",
"dank": "JJ",
"plumps": "VBZ",
"wipes": "VBZ",
"radioed": "JJ",
"vanishes": "VBZ",
"scandanavian": "JJ",
"stinkin": "JJ",
"obviate": "VB",
"mistook": "VBD",
"abhorrent": "JJ",
"overwrought": "JJ",
"leathered": "JJ",
"svelte": "JJ",
"f-includes": "VBZ",
"shulde": "MD",
"crippled": "JJ",
"hoarse": "JJ",
"snubbed": "VBN",
"rededicate": "VB",
"chaired": "VBN",
"graduated": "JJ",
"confounded": "JJ",
"bengali": "JJ",
"contradicts": "VBZ",
"modified": "JJ",
"resembles": "VBZ",
"modifies": "VBZ",
"tinted": "VBN",
"inclosed": "VBN",
"bleary": "JJ",
"heartbreaking": "JJ",
"typewritten": "JJ",
"doggone": "JJ",
"branched": "JJ",
"redheaded": "JJ",
"duplex": "JJ",
"devastated": "JJ",
"flaccid": "JJ",
"keno": "JJ",
"electrified": "VBN",
"delude": "VB",
"discontinued": "JJ",
"sonuvabitch": "UH",
"dynamited": "VBN",
"hyperfine": "JJ",
"boiling": "JJ",
"moldy": "JJ",
"readjust": "VB",
"crimped": "JJ",
"fickle": "JJ",
"subjugated": "JJ",
"lighten": "JJ",
"athenian": "JJ",
"veiled": "JJ",
"impolite": "JJ",
"ignored": "JJ",
"encourages": "VBZ",
"emote": "VB",
"ignores": "VBZ",
"professed": "JJ",
"visceral": "JJ",
"addled": "JJ",
"thunderstruck": "JJ",
"deposited": "VBN",
"allnight": "JJ",
"followin": "VBG",
"circulatory": "JJ",
"muffled": "JJ",
"barged": "VBN",
"longing": "JJ",
"sed": "VBD",
"tweedy": "JJ",
"desolate": "JJ",
"captures": "VBZ",
"mugged": "VBN",
"styled": "VBN",
"loudest": "RB",
"fabled": "JJ",
"baffled": "JJ",
"inadvertent": "JJ",
"backwater": "JJR",
"disposed": "JJ",
"ferris": "JJ",
"expatriate": "JJ",
"vested": "VBN",
"fabricate": "VB",
"tiptoe": "JJ",
"surly": "JJ",
"contributory": "JJ",
"ingeniously": "RB",
"spends": "VBZ",
"whiskery": "JJ",
"booked": "VBN",
"exhausting": "JJ",
"propagandizes": "VBZ",
"grinds": "VBZ",
"ultraviolet": "JJ",
"corp.-toyota": "JJ",
"resettled": "VBN",
"oncoming": "JJ",
"disbursed": "VBN",
"frightens": "VBZ",
"somewheres": "RB",
"allows": "VBZ",
"vertebral": "JJ",
"wield": "VB",
"demeaned": "VBN",
"re-elected": "VBN",
"undreamed": "VBN",
"shielded": "VBN",
"infests": "VBZ",
"cross-react": "VBP",
"brahmsian": "JJ",
"mould": "VB",
"reflect": "JJ",
"replete": "JJ",
"forgiving": "JJ",
"inward": "JJ",
"pirated": "VBN",
"mildewy": "JJ",
"gimbaled": "JJ",
"unredeemed": "JJ",
"abrogated": "VBN",
"interact": "VBP",
"imperfect": "JJ",
"dethroned": "VBN",
"exploded": "JJ",
"litigated": "VBN",
"convinces": "VBZ",
"explodes": "VBZ",
"stalk": "VBP",
"dang": "JJ",
"cleaner": "JJR",
"depletes": "VBZ",
"decadent": "JJ",
"needs": "VBZ",
"oaken": "JJ",
"depleted": "VBN",
"unperturbed": "JJ",
"doggie": "JJ",
"unheralded": "JJ",
"antilock": "JJ",
"reconnoiter": "VBP",
"better-off": "JJR",
"citybred": "JJ",
"dump": "VB",
"unsure": "JJ",
"unpaved": "JJ",
"drooping": "JJ",
"enchained": "VBN",
"unsigned": "JJ",
"incandescent": "JJ",
"untracked": "JJ",
"pursue": "VB",
"acrid": "JJ",
"sever": "VB",
"debasing": "JJ",
"misbehaving": "JJ",
"heighten": "VB",
"churchly": "JJ",
"rip": "VB",
"lengthy": "JJ",
"minin": "VBG",
"time-&-motion": "JJ",
"fastens": "VBZ",
"castigates": "VBZ",
"thermostated": "VBN",
"castigated": "VBN",
"starved": "JJ",
"nope": "UH",
"pithy": "JJ",
"recond": "VBD",
"incidental": "JJ",
"prop": "VB",
"prod": "VB",
"red-handed": "RB",
"firebombed": "VBN",
"subvert": "VB",
"greets": "VBZ",
"modal": "JJ",
"hoodle": "UH",
"resigns": "VBZ",
"unstructured": "JJ",
"pallid": "JJ",
"signifies": "VBZ",
"unadorned": "JJ",
"perplexing": "JJ",
"crank": "VB",
"bluechip": "JJ",
"inflame": "VB",
"reproaches": "VBZ",
"wagnerian": "JJ",
"fenced": "JJ",
"snipes": "VBZ",
"lynch": "VB",
"wishes": "VBZ",
"descend": "VB",
"quintuple": "JJ",
"outdo": "JJ",
"astounded": "JJ",
"tarred": "VBN",
"jeweled": "JJ",
"spiced": "JJ",
"offends": "VBZ",
"unhappy": "JJ",
"motor": "JJ",
"apply": "VB",
"discerns": "VBZ",
"iced": "JJ",
"weeping": "JJ",
"cooperate": "VB",
"paralleled": "VBN",
"slaps": "VBZ",
"sweetens": "VBZ",
"unjustified": "JJ",
"underwater": "JJ",
"commended": "VBN",
"entrench": "VB",
"tallied": "VBN",
"eloquent": "JJ",
"unenunciated": "JJ",
"bedazzled": "VBN",
"segregated": "JJ",
"substantiate": "VB",
"cain": "MD",
"hitherto": "RB",
"droop": "VBP",
"resurrects": "VBZ",
"italianate": "JJ",
"woebegone": "JJ",
"outstrip": "JJ",
"florid": "JJ",
"oozing": "JJ",
"divert": "VB",
"divers": "JJ",
"standup": "JJ",
"offend": "JJ",
"deny": "VB",
"inane": "JJ",
"upright": "JJ",
"wry": "JJ",
"inaugurates": "VBZ",
"humanitarian": "JJ",
"workin": "VBG",
"merchandised": "VBN",
"penetrate": "VB",
"wordy": "JJ",
"scoured": "VBN",
"complementary": "JJ",
"audiovisual": "JJ",
"broadside": "JJ",
"withdraws": "VBZ",
"ricoed": "JJ",
"zapotec": "JJ",
"withdrawn": "JJ",
"validating": "JJ",
"merrily": "RB",
"saner": "JJR",
"readied": "VBN",
"irate": "JJ",
"shylockian": "JJ",
"vintage": "JJ",
"appropriated": "VBN",
"appropriates": "VBZ",
"outgrow": "VB",
"superconcentrated": "JJ",
"knoe": "VB",
"tawny": "JJ",
"jocund": "JJ",
"starred": "JJ",
"shabby": "JJ",
"holler": "VB",
"leaden": "JJ",
"leaded": "JJ",
"outrageously": "RB",
"codetermines": "VBZ",
"leased": "VBN",
"dispossessed": "JJ",
"contradictory": "JJ",
"lubricated": "VBN",
"immobilized": "VBN",
"roars": "VBZ",
"shown": "VBN",
"contends": "VBZ",
"supple": "JJ",
"outslugged": "VBN",
"footloose": "JJ",
"of course": "RB",
"at least": "RB",
"for example": "RB",
"in order": "JJ",
"more than": "RB",
"no longer": "RB",
"a little": "RB",
"for instance": "RB",
"in particular": "RB",
"a bit": "RB",
"sort of": "RB",
"all right": "JJ",
"no doubt": "RB",
"and so on": "RB",
"at first": "RB",
"alright": "JJ",
"o'clock": "RB",
"in addition": "RB",
"at last": "RB",
"that is": "RB",
"at once": "RB",
"once again": "RB",
"at present": "RB",
"less than": "RB",
"up to": "RB",
"once more": "RB",
"by now": "RB",
"eg": "RB",
"so as": "RB",
"from time to time": "RB",
"in part": "RB",
"by no means": "RB",
"all but": "RB",
"in short": "RB",
"ie": "RB",
"even so": "RB",
"just about": "RB",
"as yet": "RB",
"for long": "RB",
"far from": "RB",
"for ever": "RB",
"fucking": "RB",
"on board": "RB",
"in common": "RB",
"all the same": "RB",
"pm": "RB",
"in public": "RB",
"as good as": "RB",
"as it were": "RB",
"a lot": "RB",
"by far": "RB",
"over here": "RB",
"per annum": "RB",
"as a whole": "RB",
"at best": "RB",
"for once": "RB",
"downwards": "RB",
"at large": "RB",
"any longer": "RB",
"for the time being": "RB",
"for good": "RB",
"for the most part": "RB",
"gmt": "RB",
"vice versa": "RB",
"none the less": "RB",
"for certain": "RB",
"kind of": "RB",
"anything but": "RB",
"in between": "RB",
"a little bit": "RB",
"ever so": "RB",
"bc": "RB",
"so much as": "RB",
"and so forth": "RB",
"en route": "RB",
"in private": "RB",
"from now on": "RB",
"in vain": "RB",
"by and large": "RB",
"at length": "RB",
"outwards": "RB",
"at random": "RB",
"for sure": "RB",
"upside down": "JJ",
"all of a sudden": "RB",
"at most": "RB",
"per se": "RB",
"as a matter of fact": "RB",
"per capita": "JJ",
"up front": "RB",
"in situ": "RB",
"in the main": "RB",
"inwards": "RB",
"inter alia": "RB",
"ex parte": "RB",
"in vitro": "RB",
"to and fro": "RB",
"in vivo": "RB",
"in brief": "RB",
"ibid": "RB",
"at worst": "RB",
"northwards": "RB",
"time and again": "RB",
"eastwards": "RB",
"approx": "RB",
"southwards": "RB",
"every so often": "RB",
"westwards": "RB",
"prima facie": "RB",
"'ere": "RB",
"bst": "RB",
"lots": "RB",
"upwards of": "RB",
"in case": "RB",
"en masse": "RB",
"ultra vires": "RB",
"upside-down": "RB",
"offline": "RB",
"so-and-so": "RB",
"forte": "JJ",
"a priori": "JJ",
"ad hoc": "RB",
"viz": "RB",
"offside": "JJ",
"example": "RB",
"leeward": "JJ",
"get-together": "RB",
"astern": "RB",
"none the": "RB",
"i.e": "RB",
"hereto": "RB",
"et cetera": "RB",
"yonder": "RB",
"de facto": "RB",
"getting on for": "RB",
"lengthways": "RB",
"henceforward": "RB",
"tv-am": "RB",
"off guard": "RB",
"in the order of": "RB",
"spot on": "JJ",
"one-handed": "RB",
"ipso facto": "RB",
"ceteris paribus": "RB",
"unbeknown": "RB",
"ad infinitum": "RB",
"'ome": "RB",
"pinafore": "RB",
"in absentia": "RB",
"skywards": "RB",
"en bloc": "RB",
"aright": "RB",
"in camera": "RB",
"point blank": "RB",
"upfront": "RB",
"pro-am": "RB",
"a fortiori": "RB",
"hereof": "RB",
"ex officio": "RB",
"seawards": "RB",
"incognito": "RB",
"upstage": "JJ",
"overmuch": "JJ",
"nigh on": "RB",
"best-ever": "RB",
"ad nauseam": "RB",
"through thick and thin": "RB",
"heavenwards": "RB",
"ne'er": "RB",
"leftwards": "RB",
"inside out": "RB",
"à la carte": "RB",
"sotto voce": "RB",
"blindfold": "RB",
"esp": "RB",
"anon": "RB",
"underhand": "RB",
"pro rata": "RB",
"ff": "RB",
"siward": "RB",
"in memoriam": "RB",
"in extremis": "RB",
"not withstanding": "RB",
"to-night": "RB",
"seaward": "RB",
"say-so": "RB",
"in toto": "RB",
"head-first": "RB",
"a-side": "RB",
"up-river": "RB",
"rightwards": "RB",
"instance": "RB",
"amidships": "RB",
"'course": "RB",
"the most part": "RB",
"never-never": "RB",
"netwise": "RB",
"for keeps": "RB",
"evermore": "RB",
"al fresco": "RB",
"ab initio": "RB",
"de jure": "RB",
"anticlockwise": "RB",
"a la carte": "RB",
"sub judice": "RB",
"streetwise": "JJ",
"op. cit": "RB",
"fit-again": "RB",
"hereward": "RB",
"headfirst": "JJ",
"thenceforward": "RB",
"pan-am": "RB",
"career-best": "RB",
"post hoc": "RB",
"polewards": "RB",
"in loco parentis": "RB",
"contrariwise": "RB",
"all-too": "RB",
"short-handed": "RB",
"shorewards": "RB",
"off-stage": "RB",
"en passant": "RB",
"woodwards": "RB",
"two-handed": "RB",
"fain": "RB",
"den": "RB",
"addition": "RB",
"'alf": "RB",
"quite a": "RB",
"north-westwards": "RB",
"north-eastwards": "RB",
"landward": "RB",
"jus": "RB",
"here-and-now": "RB",
"go-as-you-please": "RB",
"al dente": "RB",
"south-eastwards": "RB",
"pro tem": "RB",
"lemarchand": "RB",
"fuckin'": "RB",
"de profundis": "RB",
"basinwards": "RB",
"bareback": "RB",
"aslant": "RB",
"ad lib": "RB",
"à la mode": "RB",
"youngest-ever": "RB",
"worst-ever": "RB",
"south-westwards": "RB",
"sidewards": "RB",
"parrot-fashion": "RB",
"once-over": "RB",
"none-the-less": "RB",
"midstream": "JJ",
"highest-ever": "RB",
"foreward": "RB",
"en famille": "RB",
"a hell of a lot": "RB",
"'ard": "RB",
"straight-ahead": "RB",
"so on": "RB",
"sine die": "RB",
"righto": "RB",
"period": "RB",
"off-side": "RB",
"no-where": "RB",
"greatest-ever": "RB",
"forehand": "RB",
"crabwise": "JJ",
"coming-together": "RB",
"quasi": "RB",
"op cit": "RB",
"oneish": "RB",
"ofttimes": "RB",
"windward": "RB",
"well of": "RB",
"weatherwise": "RB",
"viz-a-viz": "RB",
"upward of": "RB",
"underarm": "RB",
"same-again": "RB",
"never-the-less": "RB",
"lower-ranking": "JJR"
}
exports.multiples = #adverbs
"of course": true
"at least": true
"for example": true
"in order": true
"more than": true
"no longer": true
"a little": true
"for instance": true
"in particular": true
"a bit": true
"sort of": true
"all right": true
"no doubt": true
"and so on": true
"at first": true
"in addition": true
"at last": true
"that is": true
"at once": true
"once again": true
"at present": true
"less than": true
"up to": true
"once more": true
"by now": true
"so as": true
"in part": true
"all but": true
"in short": true
"even so": true
"just about": true
"as yet": true
"for long": true
"far from": true
"for ever": true
"on board": true
"a lot": true
"by far": true
"over here": true
"per annum": true
"as usual": true
"at best": true
"for once": true
"at large": true
"any longer": true
"for good": true
"vice versa": true
"for certain": true
"kind of": true
"anything but": true
"in between": true
"en route": true
"in private": true
"in vain": true
"at length": true
"at random": true
"for sure": true
"upside down": true
"at most": true
"per se": true
"per capita": true
"up front": true
"in situ": true
"in the main": true
"inter alia": true
"ex parte": true
"in vitro": true
"to and fro": true
"in vivo": true
"in brief": true
"at worst": true
"prima facie": true
"upwards of": true
"something like": true
"in case": true
"en masse": true
"ultra vires": true
"a priori": true
"ad hoc": true
"none the": true
"et cetera": true
"de facto": true
"off guard": true
"spot on": true
"ipso facto": true
"ceteris paribus": true
"ad infinitum": true
"op. cit.": true
"in absentia": true
"en bloc": true
"in camera": true
"point blank": true
"a fortiori": true
"ex officio": true
"nigh on": true
"ad nauseam": true
"inside out": true
"sotto voce": true
"pro rata": true
"in memoriam": true
"in extremis": true
"not withstanding": true
"in toto": true
"the most part": true
"for keeps": true
"al fresco": true
"ab initio": true
"de jure": true
"a la carte": true
"sub judice": true
"op. cit": true
"post hoc": true
"so on": true
"sine die": true
"op cit": true
"just in": true
"ex gratia": true
"au contraire": true
"ad hominem": true
"a posteriori": true
#adjectives
"fed up": true
"brand new": true
"ad hoc": true
"so called": true
"out of date": true
"old fashioned": true
"per capita": true
"de facto": true
"grown up": true
"bona fide": true
"ex parte": true
"well off": true
"prima facie": true
"far off": true
"a priori": true
"in between": true
"par excellence": true
"a la carte": true
"ultra vires": true
"straight forward": true
"hard up": true
"de luxe": true
"post mortem": true
"ex gratia": true
"upside down": true
"up front": true
"au fait": true
"sui generis": true
"pro rata": true
"post hoc": true
"ex officio": true
"ab initio": true
"inside out": true
"point blank": true
"en suite": true
"spot on": true
"all right": true
"ad hominem": true
"de jure": true
"tout court": true
"avant garde": true
"viva voce": true
"sub judice": true
"al fresco": true
"sans serif": true
"gung ho": true
"compos mentis": true
"super duper": true
"such like": true
"de trop": true
#mine
"will be": true
exports.parts_of_speech =
VB:
description: "verb, base form"
example: "eat"
parent: "verb"
tag: "VB"
CP:
description: "copula"
example: "is, was, were"
parent: "verb"
tag: "CP"
VBD:
description: "verb, past tense"
example: "ate"
parent: "verb"
tense: "past"
tag: "VBD"
VBN:
description: "verb, past part"
example: "eaten"
parent: "verb"
tense: "past"
tag: "VBN"
VBP:
description: "Verb, present"
example: "eat"
parent: "verb"
tense: "present"
tag: "VBP"
VBZ:
description: "Verb, present"
example: "eats, swims"
tense: "present"
parent: "verb"
tag: "VBZ"
MD:
description: "Modal"
example: "can,should"
parent: "glue"
tag: "MD"
RB:
description: "Adverb"
example: "quickly, softly"
parent: "glue"
tag: "RB"
JJ:
description: "Adjective"
example: "big, nice"
parent: "adjective"
tag: "JJ"
JJR:
description: "Adj., comparative"
example: "bigger, cooler"
parent: "adjective"
tag: "JJR"
JJS:
description: "Adj., superlative"
example: "biggest, fattest"
parent: "adjective"
tag: "JJS"
RBR:
description: "Adverb, comparative"
example: "faster, cooler"
parent: "adjective"
tag: "RBR"
RBS:
description: "Adverb, superlative"
example: "fastest (driving), coolest (looking)"
parent: "adjective"
tag: "RBS"
NN:
description: "Noun, sing. or mass"
example: "dog, rain"
parent: "noun"
tag: "NN"
NNP:
description: "Proper noun, sing."
example: "Edinburgh, skateboard"
parent: "noun"
tag: "NNP"
NNPS:
description: "Proper noun, plural"
example: "<NAME>s"
parent: "noun"
tag: "NNPS"
NNS:
description: "Noun, plural"
example: "dogs, foxes"
parent: "noun"
tag: "NNS"
NNO:
description: "Noun, possessive"
example: "spencer's, sam's"
parent: "noun"
tag: "NNO"
PP:
description: "Possessive pronoun"
example: "my,one's"
parent: "glue"
tag: "PP"
FW:
description: "foreign word"
example: "mon dieu, voila"
parent: "noun"
tag: "FW"
CD:
description: "Cardinal number"
example: "one,two"
parent: "glue" #may want to change this
tag: "CD"
VBG:
description: "verb, gerund"
example: "eating,winning"
parent: "verb"
tag: "VBG"
NG:
description: "noun, gerund"
example: "eating,winning - but used grammatically as a noun"
parent: "noun"
tag: "VBG"
IN:
description: "Preposition"
example: "of,in,by"
parent: "glue"
tag: "IN"
UP:
description: "dependent preposition"
example: "up, down"
parent: "glue"
tag: "UP"
CC:
description: "Coord Conjuncn"
example: "and,but,or"
parent: "glue"
tag: "CC"
PRP:
description: "Personal pronoun"
example: "I,you,she"
parent: "glue"
tag: "PRP"
DT:
description: "Determiner"
example: "the,some"
parent: "title"
tag: "DT"
example:
description: "Existential there"
example: "there"
parent: "glue"
tag: "EX"
POS:
description: "Possessive ending"
example: "s"
parent: "glue"
tag: "POS"
PDT:
description: "Predeterminer"
example: "all, both"
parent: "glue"
tag: "PDT"
RP:
description: "Particle"
example: "up,off"
parent: "glue"
tag: "RP"
TO:
description: "to"
example: "to"
parent: "glue"
tag: "TO"
UH:
description: "Interjection"
example: "oh, oops"
parent: "glue"
tag: "UH"
WDT:
description: "Wh-determiner"
example: "which,that"
parent: "glue"
tag: "WDT"
WP:
description: "Wh pronoun"
example: "who,what"
parent: "glue"
tag: "WP"
WRB:
description: "Wh-adverb"
example: "how,where"
parent: "glue"
tag: "WRB"
LS:
description: "List item marker"
example: "1,One"
parent: "glue"
tag: "LS"
SYM:
description: "Symbol"
example: "+,%,&"
parent: "glue"
tag: "SYM"
exports.notends =
the: true
los: true
les: true
san: true
dr: true
they: true
he: true
she: true
a: true
his: true
an: true
their: true
its: true
"it's": true
my: true
your: true
or: true
if: true
therefor: true
therefore: true
exports.dateword = ["july", "august", "september", "october", "november", "december", "january", "february", "march", "april", "may", "june", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]
exports.silly =[
"a-z",
"able",
"accessibility",
"according",
"accordingly",
"actor",
"actress",
"actually",
"adjustment",
"advertising",
"aha",
"ain't",
"album",
"amoungst",
"amount",
"amplitude",
"anybody",
"anyone",
"anything",
"area",
"aren't",
"article",
"as to",
"asking",
"available",
"awfully",
"being",
"best",
"bill",
"brother",
"building",
"c'mon",
"c's",
"can't",
"cant",
"capacity",
"caption",
"cause",
"causes",
"century",
"certainly",
"change",
"changes",
"children",
"citizens",
"clearly",
"co.",
"color",
"colour",
"com",
"comments",
"computer",
"con",
"concerning",
"consequently",
"containing",
"contestant",
"could",
"couldn't",
"couldnt",
"cover",
"cry",
"currently",
"daren't",
"day",
"decade",
"definitely",
"density",
"depth",
"detail",
"didn't",
"directly",
"distance",
"doesn't",
"doing",
"don't",
"doughter",
"due to",
"edu",
"end",
"ending",
"entirely",
"episode",
"especially",
"everybody",
"everyone",
"everything",
"exactly",
"fairly",
"fify",
"fire",
"folk",
"followed",
"follower",
"food",
"formerly",
"full",
"getting",
"girl",
"going",
"goodbye",
"greetings",
"guy",
"hadn't",
"hardly",
"hasn't",
"hasnt",
"haven't",
"having",
"he'd",
"he'll",
"he's",
"height",
"here's",
"hereupon",
"house",
"how's",
"howbeit",
"hue",
"i'd",
"i'll",
"i'm",
"i've",
"inc",
"inc.",
"including",
"indicated",
"interest",
"isn't",
"it'd",
"it'll",
"it's",
"lady",
"lastnight",
"lastweek",
"lately",
"latterly",
"league",
"length",
"les",
"less",
"let's",
"like",
"los",
"ltd",
"magnitude",
"mainly",
"man",
"mayn't",
"member",
"merely",
"mhm",
"mightn't",
"mill",
"month",
"mrs",
"mustn't",
"name",
"namely",
"nearly",
"need",
"needn't",
"neverf",
"neverless",
"no-one",
"nobody",
"non",
"none",
"noone",
"normally",
"nothing",
"obviously",
"on to",
"one's",
"ones",
"ooh",
"others",
"oughtn't",
"out of",
"people",
"person",
"pitch",
"policy",
"possible",
"president",
"presumably",
"printable",
"privacy",
"probably",
"program",
"quantity",
"que",
"really",
"reasonably",
"recently",
"record",
"regarding",
"relatively",
"report",
"respectively",
"review",
"room",
"san",
"saying",
"season",
"secondly",
"seeing",
"self",
"selves",
"sensible",
"serious",
"seriously",
"service",
"shade",
"shan't",
"shape",
"she'd",
"she'll",
"she's",
"should",
"shouldn't",
"show",
"singer",
"size",
"some",
"somebody",
"someone",
"something",
"son",
"specifying",
"speed",
"staff",
"sub",
"such as",
"system",
"taking",
"team",
"terms",
"text",
"texture",
"thanks",
"thanx",
"that'll",
"that's",
"that've",
"thats",
"there'd",
"there'll",
"there're",
"there's",
"there've",
"theres",
"they'd",
"they'll",
"they're",
"they've",
"thing",
"things",
"thoroughly",
"thru",
"time",
"timing",
"today",
"tommorrow",
"towards",
"truly",
"undoing",
"unfortunately",
"unit",
"unlike",
"use",
"useful",
"uses",
"using",
"usually",
"uucp",
"value",
"various",
"version",
"volume",
"waiter",
"waitress",
"wasn't",
"way",
"we'd",
"we'll",
"we're",
"we've",
"week",
"weight",
"welcome",
"weren't",
"what'll",
"what's",
"what've",
"when's",
"where's",
"whereafter",
"whilst",
"whither",
"who'd",
"who'll",
"who's",
"whomever",
"why's",
"width",
"wife",
"won't",
"wonder",
"would",
"wouldn't",
"year",
"yep",
"yesterday",
"you",
"you'd",
"you'll",
"you're",
"you've",
"zero",
"n't",
"years",
"erm",
"world",
"work",
"life",
"number",
"case",
"social",
"group",
"party",
"important",
"place",
"information",
"men",
"per cent",
"school",
"national",
"fact",
"night",
"company",
"family",
"hand",
"business",
"days",
"john",
"development",
"state",
"council",
"power",
"political",
"members",
"eyes",
"public",
"problem",
"problems",
"a few",
"face",
"times",
"office",
"door",
"form",
"services",
"months",
"health",
"words",
"making",
"market",
"economic",
"areas",
"position",
"process",
"effect",
"line",
"moment",
"community",
"action",
"special",
"international",
"father",
"age",
"management",
"idea",
"so that",
"evidence",
"minister",
"view",
"sense",
"table",
"death",
"industry",
"control",
"sort",
"range",
"word",
"history",
"road",
"centre",
"study",
"programme",
"result",
"air",
"hour",
"committee",
"experience",
"handshome",
"rate",
"section",
"trade",
"minutes",
"reason",
"authority",
"cases",
"role",
"data",
"class",
"because of",
"companies",
"rather than",
"simply",
"department",
"personal",
"paper",
"land",
"systems",
"TRUE",
"support",
"act",
"type",
"city",
"friend",
"countries",
"care",
"decision",
"financial",
"price",
"stage",
"matter",
"parent",
"club",
"practice",
"based",
"as well as",
"cos",
"town",
"situation",
"bed",
"according to",
"<NAME>",
"as if",
"conditions",
"at all",
"ground",
"weeks",
"tax",
"production",
"friends",
"musicanyone",
"game",
"ways",
"schools",
"issue",
"mr.",
"workers",
"student",
"knowledge",
"art",
"basis",
"subject",
"series",
"bank",
"feet",
"south",
"west",
"rest",
"security",
"manager",
"cost",
"heart",
"structure",
"attention",
"story",
"&",
"means",
"letter",
"question",
"chapter",
"field",
"studies",
"movement",
"union",
"success",
"figure",
"analysis",
"news",
"chance",
"evening",
"population",
"boy",
"theory",
"approach",
"final",
"performance",
"authorities",
"rights",
"relationship",
"growth",
"agreement",
"parties",
"account",
"space",
"property",
"project",
"meeting",
"quickly",
"behaviour",
"previous",
"energy",
"sir",
"term",
"director",
"significant",
"income",
"as well",
"levels",
"treatment",
"model",
"suddenly",
"pounds",
"choice",
"away from",
"results",
"scheme",
"details",
"design",
"list",
"defence",
"parts",
"points",
"loss",
"industrial",
"activities",
"floor",
"generally",
"issues",
"activity",
"<NAME>",
"talking",
"difference",
"labour",
"specific",
"numbers",
"lord",
"relations",
"contract",
"product",
"ideas",
"george",
"material",
"wall",
"arms",
"basic",
"reasons",
"technology",
"each other",
"effects",
"figures",
"style",
"date",
"window",
"forces",
"showed",
"resources",
"sea",
"events",
"advice",
"circumstance",
"plan",
"event",
"hon.",
"training",
"picture",
"sales",
"village",
"original",
"investment",
"cup",
"lines",
"<NAME>ames",
"goods",
"blood",
"opportunity",
"prices",
"professional",
"conference",
"extent",
"interests",
"application",
"page",
"operation",
"film",
"<NAME>",
"in terms of",
"response",
"majority",
"rules",
"shop",
"effective",
"press",
"york",
"degree",
"statement",
"risk",
"force",
"miles",
"traditional",
"site",
"glass",
"died",
"street",
"costs",
"earlier",
"playing",
"scottish",
"importance",
"test",
"jobs",
"immediately",
"standards",
"talk",
"considerable",
"girls",
"physical",
"species",
"title",
"<NAME>",
"eye",
"access",
"employment",
"daughter",
"responsible",
"competition",
"plans",
"medical",
"purpose",
"mouth",
"piece",
"answer",
"leaving",
"task",
"responsibility",
"arm",
"eventually",
"ability",
"highly",
"hotel",
"pattern",
"method",
"source",
"election",
"charles",
"region",
"methods",
"campaign",
"equipment",
"fully",
"disease",
"machine",
"slightly",
"software",
"peace",
"charge",
"types",
"policies",
"houses",
"even if",
"windows",
"teacher",
"forms",
"provision",
"factors",
"direction",
"trouble",
"beautiful",
"leader",
"officer",
"status",
"character",
"variety",
"safety",
"completely",
"box",
"sector",
"animal",
"oxford",
"culture",
"obvious",
"increase",
"context",
"station",
"sale",
"william",
"positive",
"king",
"essential",
"live",
"condition",
"families",
"works",
"appeal",
"trees",
"argument",
"demand",
"principle",
"run",
"pupils",
"chairman",
"cash",
"states",
"hope",
"sun",
"duty",
"countyrule",
"presence",
"truth",
"dog",
"board",
"courses",
"media",
"exchange",
"relevant",
"balance",
"<NAME>",
"slowly",
"players",
"discussion",
"letters",
"budget",
"protection",
"collection",
"speech",
"<NAME>",
"effort",
"attempt",
"survey",
"failure",
"absence",
"accident",
"accommodation",
"<NAME>",
"address",
"administration",
"advance",
"advantage",
"agency",
"agent",
"aid",
"aircraft",
"<NAME>",
"<NAME>",
"<NAME>",
"appearance",
"appointment",
"approval",
"<NAME>",
"arrival",
"artist",
"aspect",
"assembly",
"assessment",
"assistance",
"association",
"attack",
"attitude",
"audience",
"author",
"award",
"awareness",
"background",
"bag",
"ball",
"band",
"<NAME>",
"base",
"battle",
"beauty",
"belief",
"benefit",
"birth",
"block",
"<NAME>",
"body",
"book",
"border",
"bottle",
"branch",
"breath",
"<NAME>",
"bridge",
"cabinet",
"candidate",
"<NAME>",
"card",
"career",
"chain",
"chair",
"challenge",
"chest",
"child",
"<NAME>",
"client",
"co-operation",
"coast",
"code",
"combination",
"commission",
"commitment",
"communication",
"concept",
"conclusion",
"confidence",
"conflict",
"connection",
"consequence",
"consideration",
"constitution",
"construction",
"consumer",
"contact",
"contrast",
"contribution",
"convention",
"conversation",
"copy",
"corner",
"corporation",
"country",
"countryside",
"county",
"court",
"creation",
"credit",
"crime",
"crisis",
"criticism",
"crowd",
"curriculum",
"customer",
"dad",
"damage",
"danger",
"<NAME>lington",
"database",
"deal",
"debate",
"debt",
"decline",
"definition",
"delivery",
"deputy",
"description",
"desire",
"desk",
"diet",
"difficulty",
"dinner",
"display",
"distinction",
"distribution",
"district",
"division",
"doctor",
"document",
"dream",
"dress",
"drink",
"drive",
"driver",
"drug",
"edge",
"editor",
"education",
"edward",
"efficiency",
"element",
"elizabeth",
"emphasis",
"enemy",
"engine",
"engineering",
"enterprise",
"entry",
"environment",
"error",
"establishment",
"estate",
"examination",
"executive",
"exercise",
"exhibition",
"existence",
"expansion",
"expenditure",
"explanation",
"expression",
"extension",
"factor",
"factory",
"fall",
"farm",
"fault",
"fear",
"feature",
"feeling",
"fig.",
"finance",
"flight",
"flow",
"focus",
"foot",
"formation",
"foundation",
"framework",
"fuel",
"function",
"fund",
"garden",
"gas",
"generation",
"gentleman",
"goal",
"graham",
"guide",
"hair",
"hall",
"harry",
"heat",
"henry",
"hill",
"hole",
"holiday",
"horse",
"hospital",
"household",
"housing",
"husband",
"ian",
"identity",
"image",
"impact",
"impression",
"improvement",
"independence",
"index",
"influence",
"initiative",
"injury",
"inquiry",
"institute",
"insurance",
"intention",
"interpretation",
"interview",
"introduction",
"investigation",
"involvement",
"island",
"item",
"jane",
"jim",
"job",
"joe",
"<NAME>ones",
"journey",
"judge",
"kingdom",
"language",
"law",
"leadership",
"lee",
"leeds",
"leg",
"legislation",
"lewis",
"liability",
"licence",
"lifespan",
"link",
"literature",
"location",
"<NAME>",
"magazine",
"maintenance",
"manner",
"map",
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"meal",
"measure",
"membership",
"memory",
"message",
"<NAME>",
"ministry",
"minority",
"mother",
"motion",
"mountain",
"nation",
"network",
"<NAME>",
"note",
"notice",
"notion",
"object",
"occasion",
"offence",
"opinion",
"opposition",
"option",
"organisation",
"organization",
"outcome",
"output",
"owner",
"package",
"pair",
"panel",
"parish",
"park",
"partner",
"passage",
"path",
"payment",
"percent",
"phase",
"philip",
"phone",
"plane",
"planning",
"plant",
"player",
"possibility",
"post",
"pound",
"procedure",
"proportion",
"proposal",
"publication",
"quarter",
"race",
"railway",
"reaction",
"reader",
"reality",
"recession",
"recognition",
"recovery",
"reduction",
"ref",
"reference",
"reform",
"regime",
"release",
"relief",
"representation",
"reputation",
"request",
"research",
"resolution",
"respect",
"restaurant",
"return",
"revenue",
"ring",
"rise",
"river",
"signal",
"replay",
"rock",
"roof",
"route",
"row",
"rule",
"sample",
"sarah",
"scale",
"scene",
"scope",
"screen",
"seat",
"selection",
"sentence",
"sequence",
"session",
"settlement",
"share",
"sheet",
"ship",
"shock",
"sight",
"sign",
"significance",
"silence",
"<NAME>",
"skin",
"sky",
"smile",
"solution",
"song",
"spain",
"speaker",
"spirit",
"<NAME>",
"sport",
"spot",
"spring",
"star",
"step",
"<NAME>",
"<NAME>",
"stone",
"store",
"strategy",
"strength",
"struggle",
"studio",
"stuff",
"sum",
"summer",
"supply",
"surprise",
"tape",
"target",
"taste",
"taylor",
"technique",
"temperature",
"theme",
"thomas",
"threat",
"tim",
"tom",
"tone",
"tony",
"touch",
"tour",
"track",
"tradition",
"traffic",
"train",
"transfer",
"transport",
"treaty",
"tree",
"trial",
"trip",
"trust",
"understanding",
"unemployment",
"university",
"user",
"vehicle",
"victim",
"victory",
"video",
"violence",
"vision",
"visit",
"voice",
"vote",
"wealth",
"weather",
"weekend",
"welfare",
"<NAME>",
"wind",
"wood",
"worker",
"writer",
"writing",
"youth",
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday",
"jan",
"feb",
"apr",
"june",
"july",
"aug",
"sept",
"oct",
"nov",
"dec",
"january",
"february",
"march",
"april",
"september",
"october",
"novermber",
"december"
]
| true | require("sugar")
exports.lexicon= {
"one": "JJ",
"two": "CD",
"three": "JJ",
"four": "JJ",
"five": "CD",
"six": "CD",
"seven": "CD",
"eight": "CD",
"nine": "CD",
"ten": "CD",
"eleven": "JJ",
"twelve": "CD",
"thirteen": "CD",
"fourteen": "CD",
"fifteen": "CD",
"sixteen": "CD",
"seventeen": "CD",
"eighteen": "CD",
"nineteen": "CD",
"twenty": "CD",
"thirty": "CD",
"forty": "CD",
"fifty": "CD",
"sixty": "CD",
"seventy": "CD",
"eighty": "CD",
"ninety": "CD",
"hundred": "CD",
"thousand": "CD",
"million": "CD",
"billion": "JJ",
"trillion": "JJ",
"clotted": "JJ",
"localized": "JJ",
"spidery": "JJ",
"western": "JJ",
"famed": "JJ",
"wooded": "JJ",
"grueling": "JJ",
"shocked": "JJ",
"inanimate": "JJ",
"pawed": "VBN",
"confronts": "VBZ",
"uplifting": "JJ",
"stern": "JJ",
"darling": "JJ",
"nondiscretionary": "JJ",
"exposited": "VBN",
"assimilated": "VBN",
"stipulate": "VBP",
"sprawling": "JJ",
"gay-ess": "VBP",
"his": "PP",
"hit": "VBD",
"fit": "JJ",
"screaming": "JJ",
"him": "PRP",
"effecte": "VB",
"plebian": "JJ",
"specialized": "JJ",
"wooden": "JJ",
"combine": "VB",
"uninfluenced": "VBN",
"announced": "JJ",
"adapt": "VB",
"underfoot": "RB",
"elsewhere": "RB",
"silent": "JJ",
"signed": "JJ",
"disturbed": "JJ",
"renovated": "VBN",
"needed": "JJ",
"master": "JJ",
"yield": "VB",
"mutilated": "JJ",
"brawny": "JJ",
"recapitalized": "VBN",
"then": "JJ",
"them": "PRP",
"thee": "PRP",
"they": "PRP",
"diminishing": "JJ",
"resonates": "VBZ",
"transverse": "JJ",
"semicircular": "JJ",
"willinge": "JJ",
"civilized": "JJ",
"purged": "VBN",
"ffreind": "VB",
"padded": "JJ",
"apace": "RB",
"teach": "VBP",
"affronted": "VBN",
"nicely": "RB",
"succumb": "VB",
"extend": "VB",
"brainwashed": "VBN",
"unhealed": "JJ",
"fondled": "VBN",
"fro": "RB",
"much": "JJ",
"dehumanised": "JJ",
"fry": "VB",
"spit": "VB",
"spin": "VB",
"wildcat": "JJ",
"misconstrued": "VBN",
"prostrate": "JJ",
"conditioned": "JJ",
"hone": "VB",
"mummified": "VBN",
"honk": "VBP",
"tahitian": "JJ",
"conformed": "VBN",
"maybe": "RB",
"torpedoed": "VBN",
"spotty": "JJ",
"peremptory": "JJ",
"corporate": "JJ",
"golden": "JJ",
"has": "VBZ",
"fiduciary": "JJ",
"perchance": "RB",
"bottom": "JJ",
"inhuman": "JJ",
"calls": "VBZ",
"considerin": "VBG",
"starring": "JJ",
"catchy": "JJ",
"sticle": "VB",
"concerned": "JJ",
"shoots": "VBZ",
"despised": "JJ",
"raped": "VBN",
"grasping": "JJ",
"perfumed": "JJ",
"nineteenth": "CD",
"whom": "WP",
"soldering": "JJ",
"young": "JJ",
"thoroughgoing": "JJ",
"smelling": "JJ",
"whoever": "WP",
"grapples": "VBZ",
"freelance": "JJ",
"balled": "VBN",
"jerk": "JJ",
"enflamed": "VBN",
"barred": "JJ",
"gloomy": "JJ",
"locked": "JJ",
"exact": "JJ",
"minute": "JJ",
"skewed": "VBN",
"reimpose": "VB",
"hindered": "VBN",
"ogles": "VBZ",
"celebrated": "JJ",
"celebrates": "VBZ",
"me": "PRP",
"climbs": "VBZ",
"dwindling": "JJ",
"my": "PRP",
"impacted": "VBN",
"sprouted": "JJ",
"unjust": "JJ",
"those": "DT",
"perishes": "VBZ",
"laotian": "JJ",
"following": "JJ",
"renew": "VB",
"want": "VBP",
"dumb": "JJ",
"fueled": "VBN",
"shirked": "VBN",
"disconnect": "VB",
"shacked": "VBN",
"overpowering": "JJ",
"henpecked": "JJ",
"sorted": "JJ",
"bedevil": "VB",
"didn": "VBD",
"yellow": "JJ",
"growthy": "JJ",
"presages": "VBZ",
"calming": "JJ",
"spoken": "JJ",
"affords": "VBZ",
"lingering": "JJ",
"raised": "JJ",
"snatch": "VB",
"absorbs": "VBZ",
"so-so": "RB",
"turned": "JJ",
"uninterrupted": "JJ",
"pistachio": "JJ",
"opposite": "JJ",
"discerning": "JJ",
"touchy": "JJ",
"jittery": "JJ",
"scavanged": "VBN",
"imagines": "VBZ",
"inconsistent": "JJ",
"imagined": "JJ",
"reconciling": "JJ",
"transact": "VB",
"surprising": "JJ",
"rejoices": "VBZ",
"etcetera": "RB",
"unlocks": "VBZ",
"welcomes": "VBZ",
"menacing": "JJ",
"fix": "VB",
"offshore": "RB",
"abject": "JJ",
"adjusted": "JJ",
"bankrupts": "VBZ",
"graphed": "VBN",
"ingrained": "JJ",
"assigns": "VBZ",
"anywhere": "RB",
"clean": "JJ",
"wane": "VB",
"may": "MD",
"nonunionized": "JJ",
"completed": "JJ",
"adroit": "JJ",
"plumed": "JJ",
"completes": "VBZ",
"unerring": "JJ",
"rejoin": "VB",
"decomposed": "JJ",
"conpired": "VBN",
"obstruct": "JJ",
"satisfactory": "JJ",
"expressed": "JJ",
"averse": "JJ",
"disparaging": "JJ",
"knows": "VBZ",
"exasperating": "JJ",
"perturbed": "JJ",
"commingled": "VBN",
"revivified": "VBN",
"lively": "JJ",
"pivot": "JJ",
"bubbly": "JJ",
"glean": "VB",
"sealed": "JJ",
"secreted": "VBN",
"societal": "JJ",
"with": "IN",
"abused": "JJ",
"rage": "JJ",
"chomped": "VBN",
"tremble": "VB",
"unparalleled": "JJ",
"refunded": "VBN",
"hairsplitting": "JJ",
"henh": "UH",
"accreted": "VBN",
"caused": "VBN",
"beware": "VB",
"about": "IN",
"predawn": "JJ",
"overexpose": "VB",
"wilkes": "VBZ",
"insufficiently": "RB",
"sane": "JJ",
"semifinished": "VBN",
"sank": "VBD",
"abbreviated": "JJ",
"ultravehement": "JJ",
"thrice": "RB",
"straggle": "VBP",
"pays": "VBZ",
"dwells": "VBZ",
"obtrudes": "VBZ",
"daunted": "JJ",
"unrewarding": "JJ",
"hast": "VBP",
"dehumanized": "JJ",
"depart": "VB",
"reclaimed": "VBN",
"initiated": "VBN",
"corrected": "JJ",
"initiates": "VBZ",
"grope": "VB",
"scramble": "VBP",
"bogs": "VBZ",
"meaner": "JJR",
"called": "VBN",
"somali": "JJ",
"bonded": "VBN",
"huge": "JJ",
"hugh": "JJ",
"dismissed": "JJ",
"disgraced": "JJ",
"malevolent": "JJ",
"resemble": "VB",
"accuse": "VB",
"peppy": "JJ",
"installed": "VBN",
"bummed": "VBN",
"parental": "JJ",
"bypass": "VB",
"reintroduced": "VBN",
"abandons": "VBZ",
"shocking": "JJ",
"scoops": "VBZ",
"precautionary": "JJ",
"stifle": "VB",
"de-emphasized": "VBN",
"mutilates": "VBZ",
"blond": "JJ",
"fermented": "VBN",
"peridontal": "JJ",
"understands": "VBZ",
"proliferated": "VBN",
"administrate": "VB",
"indirect": "JJ",
"exterminate": "VB",
"deadly": "JJ",
"affix": "VB",
"behold": "VB",
"overwhelmed": "VBN",
"gooey": "JJ",
"dire": "JJ",
"uncontested": "JJ",
"pleasure": "JJ",
"cooked": "VBN",
"remedy": "JJ",
"damnit": "UH",
"incapacitated": "JJ",
"tanked": "VBN",
"improper": "JJ",
"rumored": "VBN",
"insane": "JJ",
"semidrying": "JJ",
"dipole": "JJ",
"ablated": "JJ",
"thrive": "VBP",
"condoned": "VBN",
"retarded": "JJ",
"nimbler": "JJR",
"longs": "VBZ",
"complements": "VBZ",
"awake": "JJ",
"pressed": "VBN",
"binding": "JJ",
"spencerian": "JJ",
"copes": "VBZ",
"uncouth": "JJ",
"on": "IN",
"ol": "JJ",
"oh": "JJ",
"of": "IN",
"couple": "JJ",
"oneyear": "JJ",
"or": "CC",
"ok": "JJ",
"bounce": "VB",
"bouncy": "JJ",
"greener": "JJR",
"sorbed": "VBN",
"hello": "UH",
"browny": "JJ",
"disjointed": "JJ",
"scraggly": "JJ",
"rican": "JJ",
"discoid": "JJ",
"fragmented": "JJ",
"principal": "JJ",
"consolidated": "JJ",
"paired": "JJ",
"retaliatory": "JJ",
"purges": "VBZ",
"haunt": "VB",
"unsaturated": "JJ",
"intrepid": "JJ",
"puzzling": "JJ",
"last": "RB",
"interfaith": "JJ",
"transient": "JJ",
"doubt": "RB",
"unforseen": "JJ",
"dicker": "VB",
"intercity": "JJ",
"vouchsafes": "VBZ",
"begins": "VBZ",
"tempted": "VBN",
"waning": "JJ",
"sweaty": "JJ",
"ould": "JJ",
"makes": "VBZ",
"panicked": "JJ",
"solo": "JJ",
"hears": "VBZ",
"incertain": "JJ",
"sold": "VBN",
"neutral": "JJ",
"rich": "JJ",
"undeclared": "JJ",
"growing": "JJ",
"retell": "VBP",
"rode": "VBD",
"bolstered": "VBN",
"evolutionary": "JJ",
"altogether": "RB",
"reconsider": "VB",
"prosper": "VBP",
"fortified": "JJ",
"creedal": "JJ",
"concave": "JJ",
"dropping": "JJ",
"witness": "VB",
"frowns": "VBZ",
"unwieldy": "JJ",
"greedy": "JJ",
"underinvestigated": "JJ",
"receding": "JJ",
"imprecates": "VBZ",
"erstwhile": "RB",
"existing": "JJ",
"false": "JJ",
"shrinks": "VBZ",
"tonight": "RB",
"secret": "JJ",
"mustachioed": "JJ",
"depict": "VB",
"cipher": "VB",
"bred": "VBN",
"unstained": "JJ",
"replaster": "VB",
"taps": "VBZ",
"trying": "JJ",
"irk": "JJ",
"undivided": "JJ",
"hooked": "VBN",
"unbundle": "VB",
"wring": "VB",
"taxed": "VBN",
"deathward": "RB",
"nuclear": "JJ",
"roiled": "JJ",
"stubbed": "VBN",
"staring": "JJ",
"indict": "VB",
"willing": "JJ",
"entitle": "VB",
"commuted": "VBN",
"banish": "VB",
"westerly": "JJ",
"greater": "JJR",
"regular": "JJ",
"off": "JJ",
"oft": "RB",
"resuspended": "VBN",
"neoliberal": "JJ",
"falters": "VBZ",
"become": "VB",
"imaginary": "JJ",
"grayer": "JJR",
"replace": "VB",
"grayed": "JJ",
"swimming": "JJ",
"cultivates": "VBZ",
"somewhere": "RB",
"unstanched": "VBN",
"cultivated": "JJ",
"bothers": "VBZ",
"nonfarm": "JJ",
"splintered": "JJ",
"faster-growing": "JJR",
"terminates": "VBZ",
"evident": "JJ",
"shrunk": "VBN",
"obese": "JJ",
"nonetheless": "RB",
"tubular": "JJ",
"druse": "JJ",
"compete": "VB",
"agile": "JJ",
"stinks": "JJ",
"immediate": "JJ",
"worth": "JJ",
"aaawww": "UH",
"summarized": "VBN",
"blanche": "JJ",
"debunked": "VBN",
"superlunary": "JJ",
"troubled": "JJ",
"no-o-o": "UH",
"equals": "VBZ",
"bilevel": "JJ",
"stressed": "JJ",
"absolute": "JJ",
"shootin": "VBG",
"fulfull": "VB",
"unrehearsed": "JJ",
"spearhead": "VB",
"exacts": "VBZ",
"competes": "VBZ",
"ascribe": "VBP",
"overstretch": "VB",
"divorced": "VBN",
"cuddly": "JJ",
"rationed": "VBN",
"nuts": "JJ",
"misleads": "VBZ",
"call": "VB",
"slimmed": "VBN",
"undetected": "JJ",
"slimmer": "JJR",
"coiling": "JJ",
"counter-drill": "VB",
"understates": "VBZ",
"understated": "JJ",
"underperform": "VB",
"sizenine": "JJ",
"volatile": "JJ",
"feeds": "VBZ",
"unfocused": "JJ",
"disputed": "JJ",
"certifies": "VBZ",
"certified": "JJ",
"ugh": "UH",
"affluent": "JJ",
"chortles": "VBZ",
"re-enact": "VB",
"hamstring": "VB",
"another": "DT",
"illustrate": "VB",
"rare": "JJ",
"offhand": "JJ",
"enmeshed": "JJ",
"impelled": "VBN",
"convenient": "JJ",
"confiscated": "VBN",
"thundering": "JJ",
"witnessed": "VBN",
"enshrined": "VBN",
"mid-flight": "RB",
"facaded": "VBN",
"haitian": "JJ",
"haunted": "JJ",
"roundabout": "JJ",
"runs": "VBZ",
"rung": "VBN",
"freshwater": "JJR",
"shoe-horn": "VB",
"pastel": "JJ",
"draws": "VBZ",
"smoggy": "JJ",
"pasted": "VBN",
"fifteenth": "CD",
"drawn": "JJ",
"succumbs": "VBZ",
"bring": "VB",
"had": "VBD",
"engulfs": "VBZ",
"anticipatory": "JJ",
"infirm": "JJ",
"plebeian": "JJ",
"excite": "VB",
"reciprocal": "JJ",
"thrash": "VB",
"dizzy": "JJ",
"municipal": "JJ",
"smug": "JJ",
"wider-body": "JJR",
"fuss": "VB",
"unready": "JJ",
"rasping": "JJ",
"wops": "VBZ",
"doubtless": "RB",
"nilpotent": "JJ",
"eighth": "JJ",
"eroded": "VBN",
"cool": "JJ",
"bemused": "JJ",
"contaminating": "JJ",
"architectural": "JJ",
"gentler": "JJR",
"overblown": "JJ",
"garaged": "VBN",
"largely": "JJ",
"faze": "VB",
"}": ")",
"headstrong": "JJ",
"extols": "VBZ",
"turns": "VBZ",
"reaganite": "JJ",
"detonated": "VBN",
"hand-woven": "VBN",
"foregoing": "JJ",
"peels": "VBZ",
"wonduh": "VB",
"juvenile": "JJ",
"plotted": "VBN",
"regardless": "RB",
"extra": "JJ",
"uphill": "JJ",
"puffed": "JJ",
"coalesce": "VB",
"fell": "VBD",
"unreinforced": "JJ",
"slough": "VB",
"require": "VB",
"prepay": "VB",
"deteriorate": "VB",
"escalate": "VB",
"elaborate": "JJ",
"opts": "VBZ",
"still": "JJ",
"placate": "JJ",
"drop": "VB",
"extradite": "VB",
"grouse": "VBP",
"challenged": "JJ",
"yeah": "UH",
"challenges": "NNPS",
"becalmed": "JJ",
"norwegian": "JJ",
"indochinese": "JJ",
"tangled": "JJ",
"nonprofit": "JJ",
"suffice": "VB",
"flipping": "RB",
"travels": "VBZ",
"tomorrow": "RB",
"brainy": "JJ",
"uninformed": "JJ",
"transferred": "VBN",
"diktat": "JJ",
"overcollateralized": "VBN",
"extinguish": "VB",
"unsubstantiated": "JJ",
"outside": "JJ",
"deep": "JJ",
"custom-built": "VBN",
"chauffeured": "VBN",
"wet": "JJ",
"jeepers": "UH",
"embittered": "JJ",
"paneled": "JJ",
"humbled": "JJ",
"bannnnnng": "VB",
"burst": "VBD",
"anchored": "VBN",
"westbound": "JJ",
"broil": "VB",
"wins": "VBZ",
"outcuss": "VBZ",
"botched": "JJ",
"exploit": "VB",
"amino": "JJ",
"muzzling": "JJ",
"paid": "JJ",
"involved": "JJ",
"offbeat": "JJ",
"performed": "VBN",
"moody": "JJ",
"bickered": "VBN",
"insurgent": "JJ",
"better": "JJ",
"unwilling": "JJ",
"develop": "VB",
"pester": "VB",
"preisolated": "VBN",
"peruvian": "JJ",
"tarpapered": "JJ",
"overbought": "VBN",
"thatcherian": "JJ",
"disproportionate": "JJ",
"propped": "VBN",
"unrequited": "JJ",
"conducts": "VBZ",
"unspoiled": "JJ",
"verbal": "JJ",
"exposed": "JJ",
"intend": "JJ",
"chilean": "JJ",
"fractured": "VBN",
"backup": "JJ",
"curtail": "VB",
"embedded": "JJ",
"balks": "VBZ",
"finishes": "VBZ",
"poor": "JJ",
"titillating": "JJ",
"overseas": "JJ",
"unknown": "JJ",
"unblock": "VB",
"take": "VB",
"coloured": "JJ",
"startin": "VBG",
"coudn": "MD",
"lurch": "JJ",
"excess": "JJ",
"inspires": "VBZ",
"seventeenth": "CD",
"climb": "VB",
"so": "RB",
"macho": "JJ",
"bitten": "VBN",
"persists": "VBZ",
"cubist": "JJ",
"unconcealed": "VBN",
"innocent": "JJ",
"stymie": "VB",
"surpassed": "VBN",
"reject": "JJ",
"lower": "JJR",
"compulsory": "JJ",
"embark": "VB",
"anytime": "RB",
"groundup": "JJ",
"definite": "JJ",
"sarcolemmal": "JJ",
"miter": "VB",
"slighter": "JJR",
"slighted": "JJ",
"liquefied": "JJ",
"obligates": "VBZ",
"blest": "VB",
"fairy": "JJ",
"obligated": "VBN",
"heavy": "JJ",
"transcribe": "VB",
"honest-to-betsy": "RB",
"jolly": "JJ",
"shrivel": "VB",
"earns": "VBZ",
"adds": "VBZ",
"trapped": "JJ",
"imperiled": "VBN",
"deflationary": "JJ",
"late": "JJ",
"adorns": "VBZ",
"adrift": "JJ",
"itemized": "VBN",
"lookit": "VB",
"chief": "JJ",
"ansuh": "VB",
"french": "JJ",
"competing": "JJ",
"boils": "VBZ",
"unburned": "JJ",
"hypo": "JJ",
"doctrinaire": "JJ",
"drafted": "VBN",
"falsify": "VB",
"freed": "VBN",
"hoisted": "VBN",
"memorized": "VBN",
"enroll": "VB",
"substantiates": "VBZ",
"embroidered": "VBN",
"masks": "VBZ",
"makeshift": "JJ",
"grand": "JJ",
"fatty": "JJ",
"seated": "VBN",
"calibrates": "VBZ",
"calibrated": "VBN",
"grenadian": "JJ",
"reviewed": "VBN",
"informal": "JJ",
"questioned": "VBN",
"reemphasizes": "VBZ",
"preparatory": "JJ",
"dilapidated": "JJ",
"undergone": "VBN",
"multivalent": "JJ",
"assists": "VBZ",
"lyophilized": "VBN",
"unimpaired": "JJ",
"opposed": "JJ",
"uncomplaining": "JJ",
"perpetual": "JJ",
"limpid": "JJ",
"purloined": "VBN",
"familar": "JJ",
"similar": "JJ",
"ordered": "JJ",
"dashed": "VBN",
"exterminatin": "VBG",
"assayed": "VBN",
"correlated": "JJ",
"perched": "VBN",
"compact": "JJ",
"insistent": "JJ",
"not": "RB",
"now": "RB",
"nor": "CC",
"unabridged": "JJ",
"yourselves": "PRP",
"curb": "VB",
"sedentary": "JJ",
"enforce": "VB",
"overfunded": "VBN",
"notwithstanding": "RB",
"upsetting": "JJ",
"conducted": "VBN",
"back": "RB",
"foresee": "VBP",
"manage": "VB",
"loyalist": "JJ",
"discontinue": "VB",
"salvages": "VBZ",
"salvaged": "VBN",
"laendler": "JJ",
"meek": "JJ",
"meet": "VB",
"israeli": "JJ",
"peelback": "JJ",
"deeper": "JJR",
"listens": "VBZ",
"embellished": "VBN",
"outdid": "VBD",
"roman": "JJ",
"allow": "VB",
"desensitized": "VBN",
"multiple": "JJ",
"multiply": "VB",
"loser": "JJ",
"constitute": "VBP",
"littered": "VBN",
"delegated": "VBN",
"resumes": "VBZ",
"timed": "VBN",
"confuse": "VB",
"unsupported": "JJ",
"bitch": "JJ",
"newtonian": "JJ",
"crackle": "JJ",
"innovate": "VB",
"enforced": "VBN",
"flying": "JJ",
"enforces": "VBZ",
"thunders": "VBZ",
"venereal": "JJ",
"swollen": "JJ",
"exceed": "VB",
"subtracted": "VBN",
"repeated": "JJ",
"fellow": "JJ",
"rusting": "JJ",
"loadin": "VBG",
"seclude": "VB",
"halting": "JJ",
"telling": "JJ",
"unfinished": "JJ",
"brighten": "VB",
"won": "VBP",
"inherited": "VBN",
"embody": "VBP",
"kinked": "JJ",
"maritime": "JJ",
"scintillating": "JJ",
"forget": "VB",
"canadian": "JJ",
"yearn": "VB",
"coaxed": "VBN",
"austrian": "JJ",
"canine": "JJ",
"intercorporate": "JJ",
"illusory": "JJ",
"southward": "RB",
"re-oriented": "VBN",
"hurrying": "JJ",
"indiscriminate": "JJ",
"hooray": "UH",
"key": "JJ",
"outrank": "VBP",
"heavenward": "RB",
"red-flag": "VB",
"paranormal": "JJ",
"immense": "JJ",
"bolivian": "JJ",
"spook": "VBP",
"controlled": "JJ",
"unamusing": "JJ",
"examines": "VBZ",
"surface": "JJ",
"pretty": "JJ",
"cometh": "VBZ",
"arabist": "JJ",
"proscribe": "VBP",
"stumped": "VBN",
"steals": "VBZ",
"increasingly": "RB",
"liked": "JJ",
"propelled": "VBN",
"skips": "VBZ",
"unthaw": "VB",
"revisits": "VBZ",
"avoid": "VB",
"moderated": "VBN",
"demonstrated": "JJ",
"to-and-fro": "RB",
"forgit": "VB",
"straight": "JJ",
"up": "IN",
"us": "PRP",
"berserk": "JJ",
"unhinged": "VBN",
"unaided": "JJ",
"interlobular": "JJ",
"lagged": "VBN",
"squirmy": "JJ",
"highest": "RB",
"beats": "VBZ",
"leftist": "JJ",
"stormbound": "JJ",
"middlebrow": "JJ",
"backstage": "JJ",
"endure": "VB",
"shuns": "VBZ",
"soak": "VB",
"trodden": "JJ",
"swam": "VBD",
"recycle": "VB",
"sorry": "JJ",
"sway": "VB",
"collaborate": "VB",
"unrelated": "JJ",
"enhance": "VB",
"hibernate": "VBP",
"kidnap": "VB",
"uptempo": "JJ",
"mee": "PRP",
"met": "RB",
"biconcave": "JJ",
"systematized": "VBN",
"sliced": "JJ",
"rationalist": "JJ",
"lobbies": "VBZ",
"overlooked": "VBN",
"grabbin": "VBG",
"defecated": "VBN",
"elicited": "VBN",
"disassemble": "VB",
"defaces": "VBZ",
"neglect": "JJ",
"pasteurized": "VBN",
"determinate": "JJ",
"budding": "JJ",
"deathly": "JJ",
"drops": "VBZ",
"rebutted": "VBN",
"madly": "JJ",
"driftin": "VBG",
"glazed": "JJ",
"nonchurchgoing": "JJ",
"trading": "JJ",
"forgot": "VBN",
"unbound": "JJ",
"join": "VB",
"abate": "VB",
"resew": "VB",
"sudden": "JJ",
"enraged": "JJ",
"acquaint": "VB",
"excellent": "JJ",
"estimated": "JJ",
"homogenized": "JJ",
"exhausted": "JJ",
"conforms": "VBZ",
"recommence": "VB",
"prerecorded": "VBN",
"egyptian": "JJ",
"yearlong": "JJ",
"unleashed": "VBN",
"mineralized": "JJ",
"flouted": "VBN",
"dampening": "JJ",
"nyet": "UH",
"yesiree": "UH",
"indexed": "VBN",
"narrated": "VBN",
"billed": "VBN",
"otherwise": "RB",
"precut": "JJ",
"puts": "VBZ",
"regenerate": "JJ",
"lovely": "JJ",
"capitalist": "JJ",
"recuperate": "VB",
"evolve": "VB",
"opulent": "JJ",
"impelling": "JJ",
"presto": "JJ",
"failing": "JJ",
"yours": "PRP",
"unclenched": "VBN",
"assigned": "VBN",
"salivary": "JJ",
"pecuniary": "JJ",
"involuntary": "JJ",
"paramilitary": "JJ",
"repossessed": "JJ",
"are": "CP",
"deaf": "JJ",
"been": "VBN",
"dear": "JJ",
"codifies": "VBZ",
"codified": "JJ",
"blithe": "JJ",
"second-guessed": "VBN",
"down": "IN",
"refined": "JJ",
"feminine": "JJ",
"evinced": "VBN",
"helps": "VBZ",
"awhile": "RB",
"marinated": "VBN",
"brightens": "VBZ",
"pseudo": "JJ",
"restored": "VBN",
"winning": "JJ",
"redouble": "VB",
"hijacked": "VBN",
"turgid": "JJ",
"stiffer": "JJR",
"onrushing": "JJ",
"targets": "VBZ",
"define": "VB",
"encrusted": "VBN",
"comend": "VB",
"suspect": "JJ",
"noconfidence": "JJ",
"founded": "VBN",
"diagnosed": "VBN",
"bog": "VB",
"teenage": "JJ",
"passthrough": "JJ",
"cooperates": "VBZ",
"cooperated": "VBN",
"forswears": "VBZ",
"drags": "VBZ",
"romanticized": "VBN",
"fuck": "VB",
"irreverent": "JJ",
"nondairy": "JJ",
"reseller": "JJR",
"nicaraguan": "JJ",
"solder": "VB",
"blooded": "VBN",
"reinvested": "VBN",
"tucked": "VBN",
"routine": "JJ",
"disappointing": "JJ",
"carrion": "JJ",
"publicsector": "JJ",
"ajar": "RB",
"contented": "JJ",
"frequent": "JJ",
"enthralled": "JJ",
"black": "JJ",
"intrastate": "JJ",
"speaking": "JJ",
"inefficient": "JJ",
"doddering": "JJ",
"himself": "PRP",
"nondefeatist": "JJ",
"squat": "JJ",
"reacquainted": "VBN",
"ultimate": "JJ",
"flattered": "VBN",
"cosponsors": "VBZ",
"we": "PRP",
"detached": "JJ",
"wo": "MD",
"travesty": "JJ",
"pegged": "VBN",
"seekin": "VBG",
"gee": "UH",
"unaltered": "JJ",
"enjoys": "VBZ",
"right": "JJ",
"declared": "JJ",
"provide": "VB",
"sear": "VB",
"held": "VBN",
"declares": "VBZ",
"indicted": "VBN",
"illiterate": "JJ",
"permeated": "VBN",
"across": "RB",
"satiate": "VB",
"august": "JJ",
"for": "IN",
"each": "RB",
"fulminate": "VB",
"sketchy": "JJ",
"taught": "JJ",
"tout": "VB",
"carved": "VBN",
"considering": "RB",
"wobble": "VB",
"wobbly": "JJ",
"assemble": "VB",
"wake": "VB",
"hardcore": "JJ",
"revise": "VB",
"falsified": "VBN",
"blackballed": "VBN",
"intermediate": "JJ",
"woodland": "JJ",
"extended": "JJ",
"expended": "VBN",
"shopworn": "JJ",
"stunted": "VBN",
"bit": "RB",
"admonishing": "JJ",
"englishy": "JJ",
"liberal": "JJ",
"acquainted": "VBN",
"moreover": "RB",
"passionate": "JJ",
"pronounce": "VB",
"illustrated": "VBN",
"glomerular": "JJ",
"purported": "JJ",
"fertile": "JJ",
"distracted": "VBN",
"practised": "JJ",
"spicy": "JJ",
"wholehearted": "JJ",
"undiminished": "JJ",
"examine": "VB",
"spat": "VBD",
"weeded": "VBN",
"somewhat": "RB",
"itches": "VBZ",
"wanta": "VB",
"u": "PRP",
"double-bolt": "VB",
"prime": "JJ",
"puffs": "VBZ",
"righted": "VBN",
"puffy": "JJ",
"yon": "RB",
"clench": "VB",
"alma": "JJ",
"outworn": "JJ",
"clinch": "VB",
"arithmetized": "VBN",
"straighten": "VB",
"squeezes": "VBZ",
"repeals": "VBZ",
"mull": "VB",
"calculates": "VBZ",
"witchy": "JJ",
"wrangle": "VB",
"collated": "VBN",
"splashes": "VBZ",
"pigmented": "VBN",
"coming": "JJ",
"engaged": "JJ",
"recall": "VB",
"remain": "VB",
"reaps": "VBZ",
"stubborn": "JJ",
"synchronized": "JJ",
"rejuvenated": "VBN",
"minimum": "JJ",
"rejuvenates": "VBZ",
"stir": "VB",
"uninfected": "JJ",
"accorded": "VBN",
"verified": "JJ",
"undecided": "JJ",
"co-exist": "VB",
"heartfelt": "JJ",
"hundredth": "JJ",
"emaciated": "JJ",
"compound": "JJ",
"polished": "JJ",
"evade": "VB",
"micro": "JJ",
"engaging": "JJ",
"edged": "JJ",
"bandaged": "JJ",
"extraordinary": "JJ",
"deflate": "VB",
"backed": "JJ",
"constraining": "JJ",
"puritan": "JJ",
"environmental": "JJ",
"catapult": "VB",
"differentiate": "VB",
"unbroken": "JJ",
"once": "RB",
"swerve": "VBP",
"amusing": "JJ",
"ukrainian": "JJ",
"lifts": "VBZ",
"chary": "JJ",
"serene": "JJ",
"serviced": "VBN",
"fresh": "JJ",
"teems": "VBZ",
"watch": "VB",
"seething": "JJ",
"swelling": "JJ",
"confident": "JJ",
"thruways": "RB",
"u.n.-monitored": "JJ",
"favorite": "JJ",
"rotted": "JJ",
"lucullan": "JJ",
"spiked": "JJ",
"female": "JJ",
"semisecret": "JJ",
"internationalist": "JJ",
"get": "VB",
"defunct": "JJ",
"slower": "JJR",
"yea": "JJ",
"foreign": "JJ",
"focused": "JJ",
"yet": "RB",
"subpar": "JJ",
"surrounded": "VBN",
"fused": "VBN",
"appall": "VBP",
"peppery": "JJ",
"assorted": "JJ",
"resisted": "VBN",
"deferred": "JJ",
"radiosterilized": "VBN",
"confining": "JJ",
"ahm": "PRP",
"bristle": "VBP",
"unveil": "VB",
"iffy": "JJ",
"criss-cross": "VBP",
"segregate": "VB",
"propose": "VB",
"knock": "JJ",
"borrows": "VBZ",
"happens": "VBZ",
"balmy": "JJ",
"retailed": "VBN",
"u.s.-style": "JJ",
"underused": "JJ",
"underlines": "VBZ",
"exterminated": "VBN",
"curt": "JJ",
"scarlet": "JJ",
"curl": "VB",
"commissioned": "JJ",
"confine": "VB",
"endocrine": "JJ",
"cater": "VBP",
"implies": "VBZ",
"implied": "VBN",
"determine": "VB",
"conjugal": "JJ",
"masculine": "JJ",
"pleasing": "JJ",
"uttuh": "VB",
"entire": "JJ",
"fast": "JJ",
"repurchased": "VBN",
"fat": "JJ",
"employerpaid": "JJ",
"healing": "JJ",
"safer": "JJR",
"implement": "VB",
"hammered": "VBN",
"year-ago": "RB",
"prized": "JJ",
"silvery": "JJ",
"closing": "JJ",
"fetch": "VB",
"blabs": "VBZ",
"varied": "JJ",
"nonworking": "JJ",
"trembling": "JJ",
"rutted": "JJ",
"disarm": "VB",
"flattering": "JJ",
"twirls": "VBZ",
"twirly": "JJ",
"accredited": "JJ",
"disrupts": "VBZ",
"bolder": "JJR",
"frayed": "JJ",
"blindfolded": "VBN",
"theatergoing": "JJ",
"recoated": "VBN",
"sexual": "JJ",
"trappist": "JJ",
"fluctuates": "VBZ",
"picks": "VBZ",
"braced": "JJ",
"reaches": "VBZ",
"reached": "VBN",
"pershare": "JJ",
"demythologized": "VBN",
"bulldog": "JJ",
"unsubtle": "JJ",
"inapt": "JJ",
"stirs": "VBZ",
"have": "VBP",
"misrelated": "VBN",
"squeegee": "VBP",
"submachine": "JJ",
"hypophyseal": "JJ",
"discreet": "JJ",
"wean": "VB",
"dirty": "JJ",
"weak": "JJ",
"revoked": "VBN",
"joke": "JJ",
"equal": "JJ",
"magnetized": "VBN",
"welcoming": "JJ",
"general": "JJ",
"ensuing": "JJ",
"frustrating": "JJ",
"prevents": "VBZ",
"aims": "VBZ",
"unfetter": "VB",
"disoriented": "JJ",
"multibilliondollar": "JJ",
"interim": "JJ",
"reformer": "JJ",
"onward": "RB",
"reformed": "JJ",
"resolved": "VBN",
"thread": "VB",
"resolves": "VBZ",
"inflammatory": "JJ",
"elephantine": "JJ",
"indemnify": "VB",
"unalluring": "JJ",
"racks": "VBZ",
"uptight": "JJ",
"introduces": "VBZ",
"befogged": "JJ",
"introduced": "VBN",
"iraqi": "JJ",
"rushes": "VBZ",
"onepage": "JJ",
"touted": "VBN",
"insures": "VBZ",
"insured": "VBN",
"flit": "JJ",
"flip": "JJ",
"omnibus": "JJ",
"dressed": "JJ",
"interdepartmental": "JJ",
"detain": "VB",
"stirred": "JJ",
"ramble": "VB",
"grimmer": "JJR",
"gratified": "VBN",
"communist": "JJ",
"inexpert": "JJ",
"glides": "VBZ",
"@": "IN",
"prowls": "VBZ",
"shook": "VBD",
"harried": "JJ",
"annual": "JJ",
"feathery": "JJ",
"direct": "JJ",
"revolves": "VBZ",
"mmm": "JJ",
"ebbs": "VBZ",
"overplanted": "VBN",
"leaves": "VBZ",
"purifying": "JJ",
"henceforth": "RB",
"meaty": "JJ",
"overstored": "JJ",
"accrued": "JJ",
"supplemental": "JJ",
"salvage": "VB",
"overhears": "VBZ",
"keep": "VB",
"attract": "VB",
"insecure": "JJ",
"befoh": "RB",
"parallel": "JJ",
"healthy": "JJ",
"amid": "IN",
"highpriced": "JJ",
"rough": "JJ",
"resounds": "VBZ",
"sportin": "VBG",
"howdy": "UH",
"sob": "VB",
"convinced": "JJ",
"blistered": "VBN",
"preconceived": "JJ",
"diseased": "JJ",
"exhilarated": "JJ",
"foolishly": "RB",
"unwraps": "VBZ",
"mononuclear": "JJ",
"x-rayed": "VBN",
"interviewed": "VBN",
"automated": "VBN",
"embellish": "VB",
"twice": "RB",
"overinvested": "VBN",
"unpopular": "JJ",
"thorough": "JJ",
"dermal": "JJ",
"impels": "VBZ",
"rancid": "JJ",
"pardoned": "VBN",
"overpriced": "JJ",
"peddle": "VB",
"gouty": "JJ",
"liquified": "JJ",
"borrowed": "VBN",
"considerate": "JJ",
"angers": "VBZ",
"sharpens": "VBZ",
"mus": "MD",
"hopefully": "RB",
"mum": "JJ",
"deposed": "VBN",
"portrays": "VBZ",
"overcooks": "VBZ",
"consonantal": "JJ",
"interoffice": "JJ",
"antisony": "JJ",
"inactivate": "VB",
"pre-selected": "VBN",
"unchanged": "JJ",
"persecutory": "JJ",
"dazzled": "VBN",
"dazzles": "VBZ",
"tell": "VB",
"prior": "JJ",
"beside": "RB",
"descending": "JJ",
"unyielding": "JJ",
"darned": "RB",
"multistage": "JJ",
"estonian": "JJ",
"gave": "VBD",
"b-includes": "VBZ",
"renames": "VBZ",
"unmarried": "JJ",
"renamed": "VBN",
"majored": "VBN",
"envision": "VBP",
"experienced": "JJ",
"mystified": "VBN",
"khaki": "JJ",
"shuck": "VB",
"disaffiliate": "VBP",
"unsalted": "JJ",
"ahs": "UH",
"abed": "RB",
"stuck": "JJ",
"automate": "VB",
"pricked": "VBN",
"overcollected": "JJ",
"forborne": "VB",
"u.n.-backed": "JJ",
"nerdy": "JJ",
"more": "RB",
"cobbled": "VBN",
"sometime": "RB",
"inborn": "JJ",
"eerie": "JJ",
"outgrew": "VBD",
"papery": "JJ",
"flushes": "VBZ",
"flushed": "JJ",
"agayne": "RB",
"faster": "JJR",
"unchallenged": "JJ",
"fasten": "VB",
"tsk": "UH",
"rob": "VB",
"gets": "VBZ",
"inverse": "JJ",
"emphasizes": "VBZ",
"creepers": "UH",
"emphasized": "JJ",
"irritates": "VBZ",
"savory": "JJ",
"irritated": "JJ",
"goes": "VBZ",
"jilted": "VBN",
"learn": "VB",
"boast": "VB",
"rethink": "VB",
"visiting": "JJ",
"wreak": "VB",
"prep": "JJ",
"cased": "JJ",
"inveterate": "JJ",
"dthat": "IN",
"adherent": "JJ",
"unloads": "VBZ",
"fourth": "CD",
"cathodoluminescent": "JJ",
"everywhere": "RB",
"pervade": "VBP",
"leggy": "JJ",
"invents": "VBZ",
"ordain": "VB",
"intended": "JJ",
"concur": "VBP",
"precooked": "VBN",
"sha": "MD",
"throw": "VB",
"minted": "VBN",
"drilled": "VBN",
"ah-ah": "UH",
"handled": "VBN",
"squashed": "JJ",
"spurned": "VBN",
"arousing": "JJ",
"stylized": "JJ",
"grunt": "VB",
"overfill": "VB",
"commonplace": "JJ",
"good": "JJ",
"proud": "JJ",
"antitakeover": "JJR",
"cheat": "JJ",
"inshore": "RB",
"cautionary": "JJ",
"burlesque": "JJ",
"gouldoid": "JJ",
"loose": "JJ",
"saucy": "JJ",
"harshly": "RB",
"quiet": "JJ",
"insist": "JJ",
"subscribed": "JJ",
"lower-value": "JJR",
"subscribes": "VBZ",
"exasperate": "VB",
"fiercer": "JJR",
"cast": "VBN",
"abducted": "VBN",
"dionysian": "JJ",
"impaled": "VBN",
"manila": "JJ",
"even-handed": "RB",
"bodied": "JJ",
"pure": "JJ",
"justify": "VB",
"pink": "JJ",
"splices": "VBZ",
"spliced": "VBN",
"cease": "VB",
"feminist": "JJ",
"co-ordinates": "VBZ",
"accompanied": "JJ",
"acute": "JJ",
"coursed": "VBN",
"old": "JJ",
"struggling": "JJ",
"animalcare": "JJ",
"whence": "WRB",
"nods": "VBZ",
"engendered": "VBN",
"rising": "JJ",
"cultured": "JJ",
"permit": "VB",
"competitve": "JJ",
"incise": "VB",
"autoimmune": "JJ",
"outgrip": "VB",
"deserve": "VBP",
"dark": "JJ",
"darn": "JJ",
"dare": "VB",
"releasing": "JJ",
"cuban": "JJ",
"numbing": "JJ",
"crumpled": "JJ",
"tarry": "VB",
"subsides": "VBZ",
"nahce": "JJ",
"occurs": "VBZ",
"stitched": "VBN",
"uh-huh": "UH",
"ease": "VB",
"easy": "JJ",
"east": "JJ",
"sue": "VB",
"sup": "VB",
"underhanded": "JJ",
"theodosian": "JJ",
"libyan": "JJ",
"ineffectual": "JJ",
"apropos": "JJ",
"indefinite": "JJ",
"captured": "VBN",
"liveried": "JJ",
"irrigate": "VB",
"untied": "JJ",
"antebellum": "JJ",
"armed": "JJ",
"same": "JJ",
"unitary": "JJ",
"err": "VBP",
"u.s.-grown": "JJ",
"accommodates": "VBZ",
"ready": "JJ",
"accommodated": "VBN",
"oppressed": "JJ",
"loopy": "JJ",
"telltale": "JJ",
"bland": "JJ",
"ponder": "JJ",
"seeming": "JJ",
"vellum": "JJ",
"indian": "JJ",
"scathing": "JJ",
"leading": "JJ",
"bevel": "VB",
"shrunken": "JJ",
"kind": "JJ",
"weatherproof": "JJ",
"multibillion": "JJ",
"shrewd": "JJ",
"tongued": "JJ",
"conforming": "JJ",
"establshed": "VBN",
"gild": "VB",
"rarefied": "JJ",
"acclaims": "VBZ",
"lying": "JJ",
"vaunted": "JJ",
"lacking": "JJ",
"suburbanized": "VBN",
"incapacitating": "JJ",
"invoke": "VB",
"knighted": "VBN",
"reprint": "VB",
"engraved": "VBN",
"wrote": "VBD",
"mmmm": "UH",
"manual": "JJ",
"franchised": "VBN",
"oversee": "VB",
"shorthanded": "JJ",
"apollonian": "JJ",
"nettled": "JJ",
"lovie": "UH",
"institutionalized": "JJ",
"unswagged": "JJ",
"kick": "JJ",
"unaccompanied": "JJ",
"laundered": "VBN",
"shirk": "VB",
"higher": "JJR",
"sell": "VB",
"demarcated": "VBN",
"restrains": "VBZ",
"try": "VB",
"magnified": "VBN",
"magnifies": "VBZ",
"prorate": "VB",
"jostle": "VBP",
"thou": "PRP",
"bemoan": "VB",
"macromolecular": "JJ",
"confront": "VB",
"disinclined": "VBN",
"perpendicular": "JJ",
"defrost": "VB",
"calloused": "JJ",
"flagellated": "VBN",
"impressed": "JJ",
"acquiesce": "VB",
"lone": "JJ",
"handles": "VBZ",
"long": "JJ",
"etch": "VB",
"authored": "VBN",
"nice": "JJ",
"smitten": "VBN",
"relaunch": "VB",
"safekeep": "VB",
"uphold": "VB",
"repackage": "VB",
"blended": "JJ",
"include": "VB",
"acid": "JJ",
"disentangle": "VB",
"chose": "VBD",
"wraps": "VBZ",
"explore": "VB",
"insubordinate": "JJ",
"suggests": "VBZ",
"pale": "JJ",
"hardy": "JJ",
"from": "IN",
"procrastinate": "JJ",
"accrues": "VBZ",
"recessionary": "JJ",
"thirsty": "JJ",
"nonverbal": "JJ",
"re-set": "VB",
"australian": "JJ",
"concocts": "VBZ",
"secular": "JJ",
"cliched": "JJ",
"detests": "VBZ",
"outdoor": "JJ",
"budge": "VB",
"sanctioned": "JJ",
"interpreted": "JJ",
"strove": "VBD",
"dismaying": "JJ",
"neighborly": "JJ",
"measly": "JJ",
"edit": "VB",
"treads": "VBZ",
"whipsawed": "JJ",
"delivre": "VB",
"m.i.t.-trained": "JJ",
"unique": "JJ",
"pours": "VBZ",
"stupid": "JJ",
"footnoted": "VBN",
"hence": "RB",
"eleventh": "JJ",
"misunderstood": "JJ",
"mixtec": "JJ",
"househld": "JJ",
"co-written": "VBN",
"delineated": "VBN",
"declasse": "JJ",
"why": "JJ",
"ensues": "VBZ",
"whose": "WP",
"balding": "JJ",
"utter": "JJ",
"pleased": "JJ",
"he": "PRP",
"widegrip": "JJ",
"skimp": "VB",
"skims": "VBZ",
"spinning": "JJ",
"multipart": "JJ",
"despoiled": "VBN",
"credentialized": "JJ",
"multifaceted": "JJ",
"limit": "JJ",
"machiavellian": "JJ",
"postwar": "JJ",
"decent": "JJ",
"responds": "VBZ",
"stunning": "JJ",
"draining": "JJ",
"lonely": "JJ",
"lightweight": "JJ",
"disinterred": "VBN",
"over-price": "VB",
"maddening": "JJ",
"disagree": "VBP",
"overcrowded": "JJ",
"picayune": "JJ",
"enamored": "JJ",
"conquer": "VB",
"re-incorporated": "VBN",
"feigned": "JJ",
"pasty": "JJ",
"carried": "VBN",
"crave": "VBP",
"spiral": "JJ",
"leveraged": "VBN",
"greasy": "JJ",
"automates": "VBZ",
"defamed": "VBN",
"unasterisked": "JJ",
"bewail": "VB",
"overhauled": "VBN",
"maroon": "JJ",
"overprotected": "VBN",
"auxiliary": "JJ",
"surviving": "JJ",
"impersonalized": "JJ",
"thriving": "JJ",
"taints": "VBZ",
"antianemia": "JJ",
"tensile": "JJ",
"disburden": "VB",
"milled": "JJ",
"admire": "VB",
"unlisted": "JJ",
"dangles": "VBZ",
"negated": "VBN",
"increasing": "JJ",
"longer": "JJR",
"foremost": "JJ",
"besets": "VBZ",
"spoke": "VBD",
"overshadow": "VBP",
"anticipated": "JJ",
"heralded": "VBN",
"sassy": "JJ",
"mired": "VBN",
"hurt": "JJ",
"goddammit": "UH",
"straddle": "VB",
"unstuffy": "VB",
"insulate": "VB",
"reprove": "VB",
"complaining": "JJ",
"atop": "IN",
"killing": "JJ",
"attracts": "VBZ",
"keeps": "VBZ",
"handcuff": "VBP",
"affect": "VB",
"commemorate": "VB",
"represents": "VBZ",
"dumps": "VBZ",
"clothed": "JJ",
"queued": "JJ",
"typifies": "VBZ",
"precedes": "VBZ",
"urbane": "JJ",
"rented": "VBN",
"sensory": "JJ",
"assures": "VBZ",
"typified": "VBN",
"obsolescent": "JJ",
"waddles": "VBZ",
"human": "JJ",
"please": "RB",
"shopped": "VBN",
"postulate": "VB",
"persecute": "JJ",
"snooty": "JJ",
"named": "VBN",
"recheck": "VBP",
"overregulated": "JJ",
"crotale": "JJ",
"looming": "JJ",
"alas": "UH",
"braying": "JJ",
"bomb": "VB",
"undefined": "JJ",
"buxom": "JJ",
"mend": "JJ",
"belated": "JJ",
"requalify": "VB",
"purified": "JJ",
"traverse": "VB",
"stealthy": "JJ",
"planoconcave": "JJ",
"conceptual": "JJ",
"screwball": "JJ",
"demented": "JJ",
"adapted": "VBN",
"polycrystalline": "JJ",
"breakoff": "JJ",
"quadripartite": "JJ",
"incompetent": "JJ",
"hospitalized": "VBN",
"concrete": "JJ",
"lift": "VB",
"unsold": "JJ",
"actuated": "JJ",
"swarthy": "JJ",
"wholewheat": "JJ",
"taped": "JJ",
"misrepresents": "VBZ",
"halfhearted": "JJ",
"forsaken": "VBN",
"forsakes": "VBZ",
"irradiated": "VBN",
"articulated": "JJ",
"tapering": "JJ",
"de-listed": "VBN",
"behind": "RB",
"warring": "JJ",
"germinate": "VBP",
"pinched": "JJ",
"shifting": "JJ",
"think": "VBP",
"rebuffed": "VBN",
"repellent": "JJ",
"spins": "VBZ",
"shake": "VB",
"happy": "JJ",
"completing": "JJ",
"anticommunist": "JJ",
"pontificate": "VB",
"exist": "VB",
"accounting": "JJ",
"dotted": "VBN",
"dissimiliar": "JJ",
"invested": "VBN",
"stirring": "JJ",
"plump": "JJ",
"rousing": "JJ",
"indolent": "JJ",
"behave": "VB",
"prepaid": "JJ",
"refinance": "VB",
"mourn": "JJ",
"experimental": "JJ",
"solves": "VBZ",
"northeastern": "JJ",
"officiate": "VB",
"current": "JJ",
"drewe": "VBD",
"studied": "VBN",
"therein": "RB",
"monaural": "JJ",
"fresher": "JJR",
"kafkaesque": "JJ",
"afford": "VB",
"apparent": "JJ",
"overloaded": "JJ",
"believes": "VBZ",
"intransigent": "JJ",
"deserves": "VBZ",
"belongs": "VBZ",
"snaps": "VBZ",
"rehabilitate": "JJ",
"yielding": "JJ",
"catching": "JJ",
"ungentlemanly": "JJ",
"solitary": "JJ",
"lackluster": "JJ",
"unlimited": "JJ",
"into": "IN",
"matches": "VBZ",
"socialist": "JJ",
"matched": "JJ",
"revert": "VB",
"whosoever": "WP",
"bovine": "JJ",
"giddy": "JJ",
"aye-yah-ah-ah": "UH",
"toned": "VBN",
"nested": "VBN",
"intermolecular": "JJ",
"redoubled": "VBN",
"embarrassed": "JJ",
"future": "JJ",
"opens": "VBZ",
"undercover": "JJ",
"altered": "JJ",
"settled": "JJ",
"portuguese": "JJ",
"occidental": "JJ",
"hereby": "RB",
"surplus": "JJ",
"mince": "VB",
"unkind": "JJ",
"robs": "VBZ",
"allowed": "JJ",
"charmed": "VBN",
"assimilate": "VB",
"neutralist": "JJ",
"disparage": "VB",
"rages": "VBZ",
"demonetized": "VBN",
"anti": "IN",
"combines": "VBZ",
"combined": "JJ",
"lowincome": "JJ",
"distressed": "JJ",
"disbelieve": "VB",
"jolt": "JJ",
"brok": "VBD",
"shuts": "VBZ",
"spiraling": "JJ",
"unemployed": "JJ",
"cheere": "VBP",
"glycerolized": "VBN",
"cheery": "JJ",
"escorts": "VBZ",
"coste": "VB",
"slay": "VBP",
"barbecued": "JJ",
"hereabouts": "RB",
"lengthens": "VBZ",
"unquiet": "JJ",
"clad": "JJ",
"overhyped": "JJ",
"endeavor": "VB",
"riveting": "JJ",
"oblige": "VB",
"contingent": "JJ",
"sprung": "VBN",
"confides": "VBZ",
"joyfully": "JJ",
"fightin": "VBG",
"somnolent": "JJ",
"pakistani": "JJ",
"recommends": "VBZ",
"cloned": "VBN",
"close": "RB",
"agree": "VBP",
"detailed": "JJ",
"gone": "JJ",
"carves": "VBZ",
"ah": "UH",
"am": "RB",
"as": "RB",
"at": "IN",
"carven": "VBN",
"jell": "VB",
"unrefrigerated": "JJ",
"fluorinated": "VBN",
"middling": "RB",
"absorbing": "JJ",
"overeager": "JJ",
"revolting": "JJ",
"piddling": "JJ",
"compromising": "JJ",
"delayed": "VBN",
"re-examines": "VBZ",
"squashy": "JJ",
"interconnected": "JJ",
"unbleached": "JJ",
"contrive": "VB",
"slick": "JJ",
"evolves": "VBZ",
"evolved": "JJ",
"compelled": "VBN",
"stated": "JJ",
"rustled": "VBN",
"dislikes": "VBZ",
"moon": "JJ",
"accept": "VB",
"venezuelan": "JJ",
"cling": "VBP",
"alter": "VB",
"debilitated": "VBN",
"consign": "VB",
"iridescent": "JJ",
"fewer": "JJR",
"catalogued": "VBN",
"disheveled": "JJ",
"imagine": "VB",
"redeemded": "VBN",
"corrugated": "JJ",
"protectionist": "JJ",
"thereafter": "RB",
"small": "JJ",
"unexplained": "JJ",
"crisscrossed": "VBN",
"consult": "VB",
"inhouse": "JJ",
"lovelorn": "JJ",
"adverse": "JJ",
"more-senior": "JJR",
"unequal": "JJ",
"covet": "VB",
"aghast": "JJ",
"undying": "JJ",
"alloted": "VBN",
"gratis": "RB",
"dustin": "VBG",
"obscure": "JJ",
"sew": "VB",
"dryin": "VBG",
"overwhelm": "JJ",
"see": "VB",
"unsheltered": "JJ",
"umm": "UH",
"topmost": "JJ",
"avuncular": "JJ",
"serves": "VBZ",
"shortlived": "JJ",
"served": "VBN",
"pagan": "JJ",
"embargoed": "JJ",
"repainted": "VBN",
"drunk": "JJ",
"underwent": "VBD",
"hollow": "JJ",
"underlay": "VBP",
"flounced": "VBN",
"redounds": "VBZ",
"owed": "VBN",
"owes": "VBZ",
"doan": "VBP",
"expands": "VBZ",
"upland": "JJ",
"hypothesized": "VBN",
"damp": "JJ",
"damn": "JJ",
"u.s.-soviet": "JJ",
"scarify": "VB",
"next": "JJ",
"textual": "JJ",
"occupy": "VB",
"impudent": "JJ",
"redeemed": "JJ",
"indoor": "JJ",
"mature": "JJ",
"frothy": "JJ",
"wove": "VBD",
"leftward": "JJ",
"overshoots": "VBZ",
"pockmarked": "JJ",
"unionized": "VBN",
"dedicates": "VBZ",
"send": "VB",
"sent": "VBN",
"languished": "VBN",
"languishes": "VBZ",
"related": "JJ",
"bemoans": "VBZ",
"agrarian": "JJ",
"shivery": "JJ",
"engage": "VB",
"alleged": "JJ",
"distrusted": "VBN",
"ha": "UH",
"outright": "JJ",
"insists": "VBZ",
"instinctual": "JJ",
"subtle": "JJ",
"wed": "VBN",
"several": "JJ",
"stand": "VB",
"excretory": "JJ",
"shudder": "VB",
"merge": "VB",
"most-favored": "PI:NAME:<NAME>END_PI",
"wander": "VB",
"exults": "VBZ",
"aided": "JJ",
"shuld": "MD",
"mesmerized": "VBN",
"owned": "VBN",
"naturally": "JJ",
"upstate": "JJ",
"midlevel": "JJ",
"applauds": "VBZ",
"meanwile": "RB",
"delimits": "VBZ",
"punctured": "JJ",
"steep": "JJ",
"steer": "VB",
"seaborne": "JJ",
"remember": "VB",
"snuff": "VB",
"hold": "VB",
"thirdquarter": "JJ",
"reignite": "VB",
"endrocrine": "JJ",
"dissociate": "VB",
"understate": "VBP",
"illumine": "VB",
"championed": "VBN",
"emancipate": "VB",
"planted": "VBN",
"matronly": "JJ",
"maggoty": "JJ",
"multiyear": "JJ",
"dishearten": "VB",
"nise": "JJ",
"streamlined": "JJ",
"creationist": "JJ",
"partisan": "JJ",
"drum": "VB",
"unflinching": "JJ",
"sevenday": "JJ",
"ethiopian": "JJ",
"sugared": "JJ",
"ca": "MD",
"allocated": "VBN",
"equips": "VBZ",
"dazzling": "JJ",
"stalled": "VBN",
"rigged": "JJ",
"maul": "VB",
"rethought": "JJ",
"delaying": "JJ",
"lush": "JJ",
"maligned": "VBN",
"highlighted": "VBN",
"glares": "VBZ",
"inlaid": "VBN",
"balk": "VB",
"heaped": "VBN",
"glum": "JJ",
"fluctuating": "JJ",
"crisp": "JJ",
"quit": "VB",
"snappy": "JJ",
"forgiven": "VBN",
"haulage": "JJ",
"toward": "IN",
"ingest": "VBP",
"seedy": "JJ",
"strode": "VBD",
"unbent": "JJ",
"beeped": "VBN",
"suppose": "VBP",
"delivers": "VBZ",
"straightaway": "JJ",
"harvested": "VBN",
"unguaranteed": "JJ",
"denote": "VB",
"wanes": "VBZ",
"penciled": "VBN",
"felled": "VBN",
"unswerving": "JJ",
"pacify": "JJ",
"soaring": "JJ",
"buoy": "VB",
"consolidates": "VBZ",
"metropolitian": "JJ",
"hell-for-leather": "RB",
"litle": "JJ",
"distort": "VB",
"disobedient": "JJ",
"uninviting": "JJ",
"surrounding": "JJ",
"ambiguan": "JJ",
"dwindles": "VBZ",
"established": "JJ",
"+": "SYM",
"yeller": "JJ",
"textured": "JJ",
"secure": "JJ",
"modulated": "JJ",
"fragmentary": "JJ",
"sunbleached": "VBN",
"unfailing": "JJ",
"grovel": "VB",
"unsatisfying": "JJ",
"indifferent": "JJ",
"envenomed": "VBN",
"morbid": "JJ",
"if": "IN",
"extruded": "VBN",
"unmiked": "VBN",
"repeats": "VBZ",
"nascent": "JJ",
"tricked": "VBN",
"inner": "JJ",
"soothing": "JJ",
"classified": "JJ",
"naysay": "VB",
"softer": "JJR",
"wary": "JJ",
"warm": "JJ",
"understaffs": "VBZ",
"forth": "RB",
"eastern": "JJ",
"unenticing": "JJ",
"toconsolidated": "VBN",
"stalinist": "JJ",
"protracted": "JJ",
"totted": "VBN",
"extracurricular": "JJ",
"encumbered": "JJ",
"correct": "JJ",
"unsophisticated": "JJ",
"fussy": "JJ",
"infrared": "JJ",
"dredges": "VBZ",
"wrung": "VB",
"latent": "JJ",
"custom-fit": "VB",
"frowning": "JJ",
"soviet": "JJ",
"pull": "VB",
"seeks": "VBZ",
"preoccupied": "JJ",
"leads": "VBZ",
"beastly": "JJ",
"jeopardized": "VBN",
"coherent": "JJ",
"jeopardizes": "VBZ",
"soundproof": "JJ",
"accused": "JJ",
"abrupt": "JJ",
"dried": "JJ",
"thence": "RB",
"falling": "JJ",
"rococo": "JJ",
"skyjacked": "VBN",
"unharmed": "JJ",
"blames": "VBZ",
"blamed": "VBN",
"bodes": "VBZ",
"proper": "JJ",
"starboard": "VB",
"transformed": "JJ",
"zambian": "JJ",
"lapsed": "JJ",
"sends": "VBZ",
"divided": "JJ",
"seasoned": "JJ",
"led": "VBN",
"let": "VB",
"scribbles": "VBZ",
"unswaggering": "JJ",
"blander": "JJR",
"swine": "JJ",
"dines": "VBZ",
"theirs": "JJ",
"cherish": "VB",
"make": "VB",
"delighted": "JJ",
"balanced": "JJ",
"lewd": "JJ",
"liquidated": "VBN",
"unstressed": "JJ",
"encoded": "VBN",
"filigreed": "JJ",
"hotter": "JJR",
"subsist": "VB",
"blunt": "JJ",
"jacobean": "JJ",
"weaned": "VBN",
"handmade": "JJ",
"liberalized": "VBN",
"cheated": "VBN",
"situated": "VBN",
"global": "JJ",
"quite": "JJ",
"hums": "VBZ",
"dispelled": "VBN",
"floodlighted": "JJ",
"fragile": "JJ",
"during": "IN",
"supporting": "JJ",
"burn": "VB",
"rubbery": "JJ",
"appears": "VBZ",
"detonate": "VB",
"retires": "VBZ",
"jam": "JJ",
"re-insure": "VB",
"concise": "JJ",
"gathers": "VBZ",
"dedicated": "JJ",
"saith": "VBZ",
"expanding": "JJ",
"crepe": "JJ",
"truley": "RB",
"crept": "VBD",
"tagged": "VBN",
"cold": "JJ",
"enny": "JJ",
"wielded": "VBN",
"appoints": "VBZ",
"em": "PRP",
"eh": "UH",
"except": "IN",
"er": "UH",
"showy": "JJ",
"ghanaian": "JJ",
"eluted": "VBN",
"bavarian": "JJ",
"domed": "JJ",
"even": "JJ",
"ever": "RB",
"sheer": "JJ",
"calmer": "JJR",
"shampooed": "VBN",
"pelting": "JJ",
"peck": "VBP",
"rugged": "JJ",
"shady": "JJ",
"sublime": "JJ",
"saute": "VB",
"calm": "JJ",
"sterilized": "JJ",
"hamstrung": "JJ",
"dispersed": "VBN",
"higher-caliber": "JJR",
"fifth": "CD",
"gnaw": "VB",
"unedifying": "JJ",
"solar": "JJ",
"underfunded": "JJ",
"prides": "VBZ",
"remoter": "JJR",
"seldom": "RB",
"herbal": "JJ",
"transluscent": "JJ",
"swamped": "VBN",
"diocesan": "JJ",
"unfrosted": "VBN",
"rebuild": "VB",
"rebuilt": "VBN",
"embrace": "VB",
"mediocre": "JJ",
"finish": "VB",
"videotaped": "VBN",
"woulda": "MD",
"wintered": "VBN",
"conclude": "VB",
"real": "JJ",
"preliterate": "JJ",
"detoxify": "VB",
"leapfrog": "VB",
"detract": "VB",
"reap": "VBP",
"rear": "JJ",
"servile": "JJ",
"recorded": "JJ",
"southeast": "RB",
"heated": "JJ",
"gungho": "JJ",
"prepare": "VB",
"displayed": "VBN",
"faulted": "VBN",
"appareled": "VBN",
"condemnatory": "JJ",
"subdue": "VB",
"reassumed": "VBN",
"thither": "RB",
"adsorbed": "VBN",
"bequeath": "VB",
"brown": "JJ",
"recovering": "JJ",
"very": "RB",
"apologizes": "VBZ",
"probing": "JJ",
"recruits": "VBZ",
"rudimentary": "JJ",
"answers": "VBZ",
"yummy": "JJ",
"interposed": "VBN",
"ahead": "JJ",
"agonized": "JJ",
"injure": "VB",
"girds": "VBZ",
"erode": "VB",
"exclude": "VB",
"cloying": "JJ",
"pass": "VB",
"gasp": "JJ",
"overnight": "RB",
"file": "VB",
"fill": "VB",
"uncensored": "JJ",
"dine": "VB",
"tousled": "VBN",
"painstaking": "JJ",
"prenatal": "JJ",
"unachieved": "VBN",
"cemented": "VBN",
"starve": "VB",
"since": "RB",
"temporary": "JJ",
"flaunt": "VB",
"ast": "JJ",
"ask": "VB",
"perceptual": "JJ",
"six-fold": "RB",
"liquefies": "VBZ",
"hardbound": "JJ",
"inducted": "VBN",
"prejudged": "VBN",
"squeaks": "VBZ",
"saudis": "NNPS",
"substantiated": "JJ",
"juicy": "JJ",
"bridled": "VBN",
"sensual": "JJ",
"outbound": "JJ",
"retracted": "VBN",
"flaming": "JJ",
"repossesed": "JJ",
"thy": "JJ",
"hothouse": "JJ",
"the": "DT",
"flounders": "VBZ",
"begets": "VBZ",
"spackle": "VB",
"gloved": "JJ",
"sacrificed": "VBN",
"crams": "VBZ",
"re-rated": "VBN",
"yeeeeeech": "UH",
"horrid": "JJ",
"unknowing": "JJ",
"hard": "JJ",
"likee": "VB",
"likes": "VBZ",
"described": "VBN",
"most": "JJ",
"describes": "VBZ",
"budgeted": "VBN",
"append": "VB",
"else": "RB",
"utmost": "JJ",
"straggling": "JJ",
"furthermore": "RB",
"shuttered": "JJ",
"shag": "JJ",
"overweight": "JJ",
"unrolls": "VBZ",
"wedged": "VBN",
"grind": "VBP",
"segmented": "JJ",
"mislaid": "JJ",
"unhedged": "VBN",
"moist": "JJ",
"guaranteed": "JJ",
"finished": "JJ",
"havin": "VBG",
"overriding": "JJ",
"learning": "JJ",
"shu-tt": "VB",
"verbatim": "RB",
"slash": "VB",
"chargin": "VBG",
"ochre": "JJ",
"sourdough": "JJ",
"nonequivalent": "JJ",
"lowprofile": "JJ",
"u.n.-sponsored": "JJ",
"thought": "VBD",
"required": "VBN",
"humiliated": "JJ",
"humiliates": "VBZ",
"requires": "VBZ",
"eradicated": "VBN",
"unalloyed": "JJ",
"go": "VB",
"earthbound": "JJ",
"transacted": "VBN",
"attired": "JJ",
"defamatory": "JJ",
"oddball": "JJ",
"opaque": "JJ",
"rotten": "JJ",
"stanch": "VB",
"colder": "JJR",
"repel": "VB",
"horticultural": "JJ",
"manipulate": "JJ",
"strapped": "VBN",
"benchmark": "JJ",
"nurture": "VB",
"hesitate": "VB",
"reoriented": "VBN",
"digested": "VBN",
"your": "PRP",
"compiled": "VBN",
"fostered": "VBN",
"foment": "VB",
"adjectival": "JJ",
"unsolved": "JJ",
"denuclearized": "VBN",
"aggravates": "VBZ",
"aggravated": "JJ",
"sandy": "JJ",
"lukewarm": "JJ",
"fathom": "VB",
"towering": "JJ",
"amendatory": "JJ",
"terminated": "VBN",
"fundamental": "JJ",
"managing": "JJ",
"fella": "UH",
"adjoins": "VBZ",
"chintz": "VBP",
"attach": "VB",
"overwhelming": "JJ",
"choreographed": "VBN",
"distinguishes": "VBZ",
"beg": "VBP",
"snazzy": "JJ",
"distinguished": "JJ",
"constrained": "JJ",
"floundered": "JJ",
"bloodthirsty": "JJ",
"anyway": "RB",
"farfetched": "JJ",
"parked": "VBN",
"unenvied": "JJ",
"counterterror": "JJ",
"remunerated": "JJ",
"quantified": "VBN",
"shy": "JJ",
"she": "PRP",
"sho": "UH",
"differs": "VBZ",
"horribly": "JJ",
"neither": "RB",
"wipe": "VB",
"seemed": "CP",
"spared": "VBN",
"undetermined": "JJ",
"conjoined": "VBN",
"pretend": "JJ",
"owne": "JJ",
"tired": "JJ",
"ripen": "VBP",
"owns": "VBZ",
"interrogate": "VB",
"plundered": "VBN",
"orbital": "JJ",
"incumbent": "JJ",
"compared": "VBN",
"taller": "JJR",
"spells": "VBZ",
"fine-tune": "VB",
"wooed": "VBN",
"worthwile": "VB",
"hydrolyzed": "VBN",
"lends": "VBZ",
"seizes": "VBZ",
"medieval": "JJ",
"choked": "JJ",
"citron": "JJ",
"agin": "IN",
"apiece": "RB",
"gagged": "VBN",
"torrid": "JJ",
"depicted": "VBN",
"savage": "JJ",
"intermingle": "VBP",
"onstage": "RB",
"bimonthly": "JJ",
"evaluated": "VBN",
"affected": "JJ",
"unskilled": "JJ",
"evolving": "JJ",
"never": "RB",
"piercing": "JJ",
"astute": "JJ",
"elaborated": "JJ",
"elaborates": "VBZ",
"drowned": "VBN",
"corresponding": "JJ",
"removed": "VBN",
"expose": "VB",
"loony": "JJ",
"inhabited": "VBN",
"endow": "VB",
"summarizes": "VBZ",
"give": "VB",
"crystallized": "JJ",
"peopled": "VBN",
"prickly": "JJ",
"ambivalent": "JJ",
"soaking": "RB",
"underscore": "VBP",
"weakens": "VBZ",
"wow": "JJ",
"conjectured": "VBN",
"prodigal": "JJ",
"perforated": "JJ",
"loud": "JJ",
"mutate": "VB",
"nondefense": "JJ",
"depraved": "JJ",
"espouse": "VBP",
"replenished": "VBN",
"repatriate": "VB",
"government-set": "VBN",
"unleashes": "VBZ",
"folded": "VBN",
"integrate": "VB",
"somnambulates": "VBZ",
"stop": "VB",
"comply": "VB",
"briefer": "JJR",
"briefed": "VBN",
"tantamount": "JJ",
"juxtapose": "VBP",
"were": "CP",
"abnormal": "JJ",
"devoted": "JJ",
"unsloped": "JJ",
"recognised": "JJ",
"obtained": "VBN",
"sunshiny": "JJ",
"misquoted": "VBN",
"near": "JJ",
"apocryphal": "JJ",
"neat": "JJ",
"despite": "IN",
"is": "CP",
"it": "PRP",
"in": "IN",
"sanitized": "VBN",
"overstated": "JJ",
"anoint": "VB",
"bottled": "VBN",
"overstates": "VBZ",
"astringent": "JJ",
"redevelop": "VB",
"practiced": "JJ",
"minicar": "JJ",
"sporting": "JJ",
"identify": "VB",
"supernormal": "JJ",
"regarded": "VBN",
"defray": "VB",
"beholds": "VBZ",
"targo": "JJ",
"unexplored": "JJ",
"daytime": "JJ",
"unmagnified": "JJ",
"untenured": "VBN",
"intellectual": "JJ",
"snorts": "VBZ",
"lurid": "JJ",
"unvarying": "JJ",
"separated": "JJ",
"sidestep": "VB",
"fashioned": "JJ",
"gowned": "JJ",
"nonpareil": "JJ",
"jeffersonian": "JJ",
"alerts": "VBZ",
"derail": "VB",
"sobering": "JJ",
"mobilized": "VBN",
"skip": "VB",
"skim": "JJ",
"explicit": "JJ",
"where": "WRB",
"banished": "VBN",
"miniaturized": "VBN",
"banishes": "VBZ",
"two-timed": "VBN",
"less-liquid": "JJR",
"ere": "IN",
"leatherbound": "JJ",
"unrestricted": "JJ",
"quack": "JJ",
"pollute": "JJ",
"satirizes": "VBZ",
"subsistent": "JJ",
"antismoking": "JJ",
"deceased": "JJ",
"caring": "JJ",
"coincident": "JJ",
"dutch": "JJ",
"strainin": "VBG",
"till": "IN",
"hubba": "UH",
"whodunnit": "UH",
"designed": "JJ",
"scalloped": "JJ",
"gaussian": "JJ",
"fluent": "JJ",
"thorny": "JJ",
"feared": "JJ",
"cute": "JJ",
"plagiarized": "JJ",
"serenaded": "VBN",
"extirpated": "VBN",
"nouveau": "JJ",
"captivated": "VBN",
"shatter": "VB",
"sooner": "RB",
"killed": "VBN",
"unwashed": "JJ",
"southwestern": "JJ",
"aloof": "JJ",
"socialized": "JJ",
"undulate": "VB",
"socializes": "VBZ",
"unless": "IN",
"already": "RB",
"rewrites": "VBZ",
"scandalizes": "VBZ",
"rivets": "VBZ",
"vermeil": "JJ",
"midsized": "JJ",
"massaged": "VBN",
"gotta": "VB",
"commends": "VBZ",
"personalized": "JJ",
"weakwilled": "JJ",
"fills": "VBZ",
"wreathed": "VBN",
"arrayed": "VBN",
"filed": "VBN",
"contemporary": "JJ",
"lieder": "JJ",
"underage": "JJ",
"ruddy": "JJ",
"unsecured": "JJ",
"steadfast": "JJ",
"forgive": "VB",
"oversized": "JJ",
"pillared": "JJ",
"indelicate": "JJ",
"elizabethan": "JJ",
"disconnected": "JJ",
"endowed": "JJ",
"middle": "JJ",
"insofar": "RB",
"devours": "VBZ",
"munch": "VB",
"intermittent": "JJ",
"imprint": "VB",
"vivify": "VB",
"liken": "VBP",
"dimensioning": "JJ",
"nosy": "JJ",
"specifies": "VBZ",
"specified": "JJ",
"new": "JJ",
"net": "JJ",
"gross": "JJ",
"buttressed": "VBN",
"broken": "JJ",
"highest-priced": "JJS",
"tease": "VB",
"othe": "JJ",
"arty": "JJ",
"many": "JJ",
"suffering": "JJ",
"collosal": "JJ",
"anemated": "VBN",
"undereducated": "JJ",
"leaked": "VBN",
"croons": "VBZ",
"unaccustomed": "JJ",
"tackle": "VB",
"revolve": "VB",
"remote": "JJ",
"restructure": "VB",
"nutrient": "JJ",
"starting": "JJ",
"suburban": "JJ",
"b-reflects": "VBZ",
"transcaucasian": "JJ",
"overdone": "JJ",
"scour": "VBP",
"benevolent": "JJ",
"titled": "VBN",
"knitted": "VBN",
"unreported": "JJ",
"pupated": "VBN",
"venerated": "VBN",
"biweekly": "JJ",
"drubbed": "VBN",
"fatter": "JJR",
"search": "VB",
"fatten": "VB",
"bathe": "VB",
"seceded": "VBN",
"debugged": "VBN",
"establish": "VB",
"our": "PRP",
"out": "JJ",
"both": "RB",
"federal": "JJ",
"brisk": "JJ",
"dammit": "UH",
"compare": "VB",
"buttress": "VB",
"socal": "JJ",
"petite": "JJ",
"coax": "VB",
"what": "WP",
"finalized": "VBN",
"wham": "UH",
"whah": "WRB",
"ranking": "JJ",
"render": "VB",
"clamor": "VBP",
"bereft": "JJ",
"detach": "VB",
"token": "JJ",
"clamp": "VB",
"implicated": "VBN",
"avenge": "VB",
"chin-use": "VB",
"squeezed": "VBN",
"omit": "JJ",
"convicts": "VBZ",
"bullies": "VBZ",
"smaller": "JJR",
"slight": "JJ",
"beardown": "JJ",
"plead": "JJ",
"collateralized": "JJ",
"schizoid": "JJ",
"extracted": "VBN",
"squelched": "VBN",
"encouraging": "JJ",
"squelch": "VBP",
"antisubmarine": "JJ",
"cumulate": "VB",
"individual": "JJ",
"tender": "JJ",
"enveloped": "VBN",
"manumitted": "VBN",
"overvalued": "JJ",
"trespassed": "VBN",
"create": "VB",
"understand": "VB",
"unify": "VB",
"enchanted": "JJ",
"bilk": "VB",
"defending": "JJ",
"incorrect": "JJ",
"shoddy": "JJ",
"cadge": "VBP",
"itch": "JJ",
"knowed": "VBN",
"zodiacal": "JJ",
"excites": "VBZ",
"bridal": "JJ",
"co-managed": "VBN",
"per": "IN",
"simplex": "JJ",
"peg": "VBP",
"defrayed": "VBN",
"engorged": "VBN",
"conciliatory": "JJ",
"uncaused": "JJ",
"forward": "JJ",
"doctored": "VBN",
"weaker": "JJR",
"nodular": "JJ",
"juxtaposed": "VBN",
"soon": "RB",
"fogged": "JJ",
"plugged": "JJ",
"fiberglas": "JJ",
"excrete": "VB",
"intercede": "VB",
"fished": "VBN",
"oceanthermal": "JJ",
"retranslated": "VBN",
"amused": "JJ",
"worldly": "JJ",
"dogged": "VBN",
"granular": "JJ",
"inject": "VB",
"subservient": "JJ",
"select": "JJ",
"tinny": "JJ",
"bloodshot": "JJ",
"nonexistent": "JJ",
"resurrect": "VB",
"ashamed": "JJ",
"grandmotherly": "JJ",
"nullified": "VBN",
"celiac": "JJ",
"shining": "JJ",
"whitehaired": "JJ",
"druther": "VB",
"fete": "VB",
"aft": "RB",
"resist": "VB",
"sic": "RB",
"repassed": "VBN",
"ahdawam": "UH",
"vivified": "VBN",
"thwart": "VB",
"transported": "VBN",
"programmed": "JJ",
"defend": "VB",
"red": "JJ",
"retrieved": "VBN",
"expect": "VB",
"cured": "JJ",
"rusticated": "VBN",
"afield": "RB",
"splotched": "JJ",
"rippled": "JJ",
"slack": "JJ",
"thyroidal": "JJ",
"flee": "VB",
"hazel": "JJ",
"heartening": "JJ",
"absurd": "JJ",
"rusted": "JJ",
"thrives": "VBZ",
"excreted": "VBN",
"pistol-whipping": "IN",
"oriental": "JJ",
"dissolves": "VBZ",
"heightens": "VBZ",
"boil": "VB",
"exploited": "JJ",
"grumble": "VBP",
"predispose": "VB",
"conquered": "JJ",
"passing": "JJ",
"unventilated": "VBN",
"laugh": "JJ",
"weird": "JJ",
"piecewise": "RB",
"lithuanian": "JJ",
"perplexed": "JJ",
"arisen": "VBN",
"prosy": "JJ",
"portray": "VB",
"untoward": "JJ",
"bullying": "JJ",
"flew": "VBD",
"besmirch": "VB",
"center": "JJ",
"roughhewn": "JJ",
"overshadowed": "VBN",
"retiring": "JJ",
"supercharged": "JJ",
"oops": "JJ",
"fixated": "VBN",
"surpass": "VB",
"anye": "JJ",
"raves": "VBZ",
"testy": "JJ",
"condescending": "JJ",
"mushroomed": "VBN",
"legislated": "VBN",
"obsessed": "JJ",
"lousy": "JJ",
"rendered": "VBN",
"varitinted": "JJ",
"again": "RB",
"buy": "VB",
"co-anchored": "VBN",
"but": "RB",
"shute": "VB",
"misty": "JJ",
"meantime": "RB",
"virtual": "JJ",
"annihilate": "VB",
"augmented": "VBN",
"represent": "VB",
"placated": "VBN",
"nonresident": "JJ",
"every": "DT",
"upstream": "RB",
"crocketed": "JJ",
"persuade": "JJ",
"freehand": "RB",
"sheeted": "JJ",
"transmits": "VBZ",
"bulks": "VBZ",
"proportioned": "JJ",
"housed": "VBN",
"quarrel": "JJ",
"smart": "JJ",
"arbitrate": "VB",
"imbued": "VBN",
"selected": "JJ",
"fade": "VBP",
"sturdy": "JJ",
"roost": "VB",
"skeletal": "JJ",
"woolgather": "VB",
"lasting": "JJ",
"co-produce": "VB",
"got": "VBD",
"periodontal": "JJ",
"labored": "JJ",
"working": "JJ",
"sober": "JJ",
"abates": "VBZ",
"took": "VBD",
"abated": "VBN",
"nonpartisan": "JJ",
"whereby": "WRB",
"unsentimental": "JJ",
"dying": "JJ",
"doughty": "JJ",
"absent": "JJ",
"romantick": "JJ",
"epistolatory": "JJ",
"blinking": "JJ",
"baffle": "VB",
"disabled": "JJ",
"interspersed": "VBN",
"discriminating": "JJ",
"amalgamated": "VBN",
"postride": "JJ",
"luminescent": "JJ",
"unificationist": "JJ",
"improve": "VB",
"layered": "VBN",
"unfurled": "VBN",
"trampled": "VBN",
"usurped": "VBN",
"lessen": "VB",
"lesser": "JJ",
"inexplicit": "JJ",
"complex": "JJ",
"vilifies": "VBZ",
"interprets": "VBZ",
"content": "JJ",
"reapportion": "VBP",
"apart": "JJ",
"intertwined": "VBN",
"clearheaded": "JJ",
"educate": "VB",
"reunifed": "VBN",
"untried": "JJ",
"embodied": "VBN",
"rattled": "JJ",
"reinvest": "VB",
"cooped": "JJ",
"implores": "VBZ",
"ironclad": "JJ",
"erodes": "VBZ",
"cooled": "VBN",
"froze": "VBD",
"taffy": "JJ",
"survive": "VB",
"lags": "VBZ",
"head": "JJ",
"medium": "JJ",
"heal": "VB",
"hear": "VB",
"adore": "VBP",
"co-opted": "VBN",
"southernmost": "JJ",
"adorn": "VB",
"withhold": "VB",
"backward": "JJ",
"flowered": "JJ",
"thawed": "JJ",
"indebted": "JJ",
"denounces": "VBZ",
"inland": "JJ",
"allout": "JJ",
"retroviral": "JJ",
"dissipates": "VBZ",
"dissipated": "JJ",
"unidentified": "JJ",
"pearly": "JJ",
"hungarian": "JJ",
"push": "VB",
"corrupted": "JJ",
"considered": "JJ",
"speaks": "VBZ",
"evoke": "VB",
"reposition": "VB",
"misbegotten": "JJ",
"asleep": "JJ",
"undervalued": "JJ",
"blocked": "JJ",
"coordinated": "JJ",
"sparing": "JJ",
"appraised": "VBN",
"warranted": "VBN",
"feathered": "JJ",
"slumps": "VBZ",
"lower-paid": "JJR",
"weighted": "JJ",
"pillaged": "JJ",
"blacked": "VBN",
"reckons": "VBZ",
"sustains": "VBZ",
"shakespearian": "JJ",
"someplace": "RB",
"sovereign": "JJ",
"disinterested": "JJ",
"circa": "RB",
"greatcoated": "JJ",
"huh": "UH",
"circulates": "VBZ",
"petrified": "JJ",
"tawdry": "JJ",
"armored": "JJ",
"underprepared": "JJ",
"stolid": "JJ",
"overjoyed": "JJ",
"exploratory": "JJ",
"vetted": "VBN",
"woolen": "JJ",
"crimp": "VB",
"hooting": "JJ",
"narrows": "VBZ",
"substitutionary": "JJ",
"tailor": "VB",
"ancestral": "JJ",
"violates": "VBZ",
"best-run": "JJS",
"darin": "JJ",
"smiling": "JJ",
"unleaded": "JJ",
"runaway": "JJ",
"gaited": "JJ",
"was": "CP",
"paying": "JJ",
"amend": "VB",
"straitjacketed": "JJ",
"someday": "RB",
"unrolled": "JJ",
"silver": "JJ",
"ninefold": "JJ",
"idle": "JJ",
"threaded": "VBN",
"tigrean": "JJ",
"guided": "JJ",
"overlapped": "VBN",
"scheduled": "JJ",
"loaned": "VBN",
"tall": "JJ",
"sheared": "JJ",
"unnerving": "JJ",
"revised": "JJ",
"finally": "JJ",
"recalls": "VBZ",
"boasts": "VBZ",
"outpaces": "VBZ",
"floured": "VBN",
"fusty": "JJ",
"nutty": "JJ",
"communicate": "VB",
"nudist": "JJ",
"subdues": "VBZ",
"amber": "JJ",
"garner": "VB",
"abrogate": "VB",
"strict": "JJ",
"racist": "JJ",
"condone": "VB",
"equated": "VBN",
"x-there": "EX",
"revamps": "VBZ",
"drawin": "VBG",
"unteach": "VB",
"unneeded": "JJ",
"dismayed": "JJ",
"suffers": "VBZ",
"fetid": "JJ",
"cromwellian": "JJ",
"multimegaton": "JJ",
"unscathed": "JJ",
"likely": "JJ",
"rimmed": "JJ",
"underutilized": "VBN",
"migrated": "VBN",
"faint": "JJ",
"migrates": "VBZ",
"unmoved": "JJ",
"longstrained": "VBN",
"assuage": "VB",
"depending": "JJ",
"equivocal": "JJ",
"induce": "VB",
"rebounds": "VBZ",
"sanctify": "VB",
"interlaced": "VBN",
"misinterpret": "VB",
"sculptural": "JJ",
"golly": "UH",
"drips": "VBZ",
"draughty": "JJ",
"recast": "VB",
"debated": "VBN",
"arise": "VBP",
"cultivate": "VB",
"cleansing": "JJ",
"emulate": "VB",
"rotund": "JJ",
"unhip": "JJ",
"interesting": "JJ",
"underwhelmed": "VBN",
"paunchy": "JJ",
"utilizes": "VBZ",
"glide": "VB",
"muddied": "JJ",
"evaded": "VBN",
"bigger": "JJR",
"utilized": "VBN",
"nab": "VB",
"modernized": "JJ",
"third": "CD",
"male": "JJ",
"turne": "VB",
"unhealthy": "JJ",
"rankles": "VBZ",
"pedal": "VB",
"overrode": "VBD",
"moan": "VB",
"prescient": "JJ",
"newer": "JJR",
"unchecked": "JJ",
"gangling": "JJ",
"asham": "JJ",
"outstanding": "JJ",
"delisted": "VBN",
"semiliterate": "JJ",
"interferes": "VBZ",
"reckon": "VB",
"pillage": "JJ",
"reunited": "VBN",
"measured": "JJ",
"dissolved": "JJ",
"zey": "PRP",
"perfect": "JJ",
"aggravate": "VBP",
"nevertheless": "RB",
"revered": "JJ",
"epicurean": "JJ",
"short": "JJ",
"nailed": "VBN",
"succeed": "VB",
"bolster": "VB",
"illumines": "VBZ",
"corrode": "VBP",
"leans": "VBZ",
"tradedistorting": "JJ",
"arrives": "VBZ",
"wallops": "VBZ",
"robust": "JJ",
"equalled": "VBN",
"bounces": "VBZ",
"unwomanly": "JJ",
"jots": "VBZ",
"flabbergasted": "JJ",
"streaming": "JJ",
"guar": "JJ",
"jumpy": "JJ",
"beleaguered": "JJ",
"procedural": "JJ",
"decries": "VBZ",
"mustached": "JJ",
"introverted": "JJ",
"deployed": "VBN",
"higher-profit": "JJR",
"beguiling": "JJ",
"saturate": "VB",
"associated": "JJ",
"underground": "JJ",
"elected": "JJ",
"develops": "VBZ",
"weigh": "VB",
"andean": "JJ",
"proximate": "JJ",
"panamanian": "JJ",
"jovian": "JJ",
"overlaps": "VBZ",
"reinterpret": "VB",
"incoherent": "JJ",
"light": "JJ",
"slated": "VBN",
"yalagaloo": "UH",
"elderly": "JJ",
"treat": "VB",
"redo": "VB",
"rackety": "JJ",
"intervenes": "VBZ",
"by-passed": "VBN",
"taiwanese": "JJ",
"amethystine": "JJ",
"purports": "VBZ",
"befits": "VBZ",
"unites": "VBZ",
"shows": "VBZ",
"cheaper": "JJR",
"ferret": "VB",
"spreads": "VBZ",
"saturated": "JJ",
"permanent": "JJ",
"orange": "JJ",
"eastward": "RB",
"bumbling": "JJ",
"impaired": "JJ",
"unpublicized": "JJ",
"profound": "JJ",
"pro": "JJ",
"mitral": "JJ",
"mothered": "VBN",
"which": "WDT",
"flustered": "JJ",
"wilsonian": "JJ",
"promptly": "JJ",
"usual": "JJ",
"manicures": "VBZ",
"illicit": "JJ",
"manicured": "VBN",
"lemme": "VB",
"steams": "VBZ",
"rousseauan": "JJ",
"postgraduate": "JJ",
"shallow": "JJ",
"boring": "JJ",
"westward": "RB",
"alienating": "JJ",
"=": "SYM",
"comest": "VBP",
"halved": "VBN",
"filmed": "VBN",
"interclass": "JJ",
"myriad": "JJ",
"spent": "JJ",
"trims": "VBZ",
"uneven": "JJ",
"expel": "VB",
"junks": "VBZ",
"freckled": "JJ",
"confused": "JJ",
"unlikely": "JJ",
"illiquid": "JJ",
"unconvincing": "JJ",
"narrower": "JJR",
"misapplied": "VBN",
"narrowed": "JJ",
"literal": "JJ",
"sidesteps": "VBZ",
"floats": "VBZ",
"sufficient": "JJ",
"jaded": "JJ",
"acknowledges": "VBZ",
"trumped": "VBN",
"dual": "JJ",
"snuck": "VBD",
"intelligent": "JJ",
"aftuh": "RB",
"wealthy": "JJ",
"reconsidered": "VBN",
"enact": "VB",
"captivating": "JJ",
"meager": "JJ",
"below": "RB",
"throughout": "RB",
"mined": "VBN",
"patiently": "JJ",
"obey": "JJ",
"analysed": "VBN",
"sectarian": "JJ",
"taxpaying": "JJ",
"own": "JJ",
"policed": "VBN",
"demonstrate": "VB",
"rickety": "JJ",
"recork": "VB",
"triphosphopyridine": "JJ",
"apportioned": "VBN",
"quicker": "JJR",
"pricey": "JJ",
"foul": "JJ",
"until": "IN",
"quadruple": "JJ",
"outwit": "JJ",
"demoted": "VBN",
"callin": "VBG",
"tantalizing": "JJ",
"lignite": "JJ",
"vast": "JJ",
"disunited": "JJ",
"tolerate": "VB",
"grovels": "VBZ",
"fissured": "VBN",
"unwanted": "JJ",
"reticulate": "JJ",
"standardized": "JJ",
"taffycolored": "VBN",
"grimed": "VBN",
"overextend": "VBP",
"unmasked": "VBN",
"despondent": "JJ",
"renowned": "JJ",
"monthly": "JJ",
"recruited": "VBN",
"wrought": "VBN",
"unforeseen": "JJ",
"lenient": "JJ",
"code-named": "VBN",
"unwary": "JJ",
"emulsified": "VBN",
"super": "JJ",
"written": "JJ",
"withered": "JJ",
"shipped": "VBN",
"speedy": "JJ",
"repealed": "VBN",
"caught": "VBN",
"due": "JJ",
"infused": "VBN",
"prepurchase": "JJ",
"bethought": "VB",
"lunges": "VBZ",
"expunged": "VBN",
"crawl": "VB",
"untrained": "JJ",
"gripe": "VBP",
"recommended": "JJ",
"debonair": "JJ",
"reverberated": "VBN",
"camp": "JJ",
"rotary": "JJ",
"came": "VBD",
"reschedule": "VB",
"participate": "VB",
"unmanaged": "JJ",
"quaint": "JJ",
"ballyhooed": "VBN",
"organizes": "VBZ",
"pre-empt": "VB",
"denounce": "VBP",
"encompassing": "JJ",
"resigned": "JJ",
"pressured": "JJ",
"oedipal": "JJ",
"wanted": "JJ",
"fullscale": "JJ",
"reconstitute": "VB",
"blessed": "JJ",
"planned": "JJ",
"alternate": "JJ",
"munches": "VBZ",
"hers": "PRP",
"gloats": "VBZ",
"doth": "VBZ",
"gritty": "JJ",
"excited": "JJ",
"overpowers": "VBZ",
"upscale": "JJ",
"damaged": "JJ",
"naw": "UH",
"verify": "VB",
"haggard": "JJ",
"simulates": "VBZ",
"beset": "VBN",
"simulated": "JJ",
"dissects": "VBZ",
"thank": "VB",
"that": "WP",
"subsequent": "JJ",
"than": "RB",
"brought": "VBN",
"ballooned": "VBN",
"polluted": "JJ",
"shakes": "VBZ",
"rejects": "VBZ",
"annualized": "VBN",
"hulking": "JJ",
"few": "JJ",
"sow": "VBP",
"latino": "JJ",
"authorizes": "VBZ",
"waits": "VBZ",
"inside": "JJ",
"faster-working": "JJR",
"buoyed": "VBN",
"centrifuged": "VBN",
"unused": "JJ",
"pet": "JJ",
"conferred": "VBN",
"skate": "VB",
"obsessively": "JJ",
"reverting": "JJ",
"persevere": "JJ",
"everytime": "RB",
"amoral": "JJ",
"alaouite": "JJ",
"cheek-to-jowl": "RB",
"morover": "JJR",
"convenes": "VBZ",
"fake": "JJ",
"flagging": "JJ",
"crammed": "VBN",
"angry": "JJ",
"enriched": "JJ",
"wicked": "JJ",
"sintered": "VBN",
"sanctified": "JJ",
"inflamed": "JJ",
"stole": "VBD",
"savor": "VB",
"undertook": "VBD",
"revealed": "JJ",
"opinionated": "JJ",
"sl": "UH",
"drunken": "JJ",
"augurs": "VBZ",
"wrappin": "VBG",
"flips": "VBZ",
"frequents": "VBZ",
"bulldoze": "VB",
"drunker": "JJR",
"sacrosanct": "JJ",
"tore": "VBD",
"avid": "JJ",
"how": "WRB",
"torn": "JJ",
"sylvan": "JJ",
"mideastern": "JJ",
"learned": "JJ",
"suhthuhn": "JJ",
"squared": "JJ",
"abide": "VB",
"bumpy": "JJ",
"scarred": "JJ",
"open": "JJ",
"partook": "VBP",
"hmpf": "UH",
"hmm": "JJ",
"deglycerolized": "VBN",
"convene": "VB",
"begotten": "VBN",
"infected": "JJ",
"homemade": "JJ",
"preprepared": "VBN",
"fooled": "VBN",
"favors": "VBZ",
"individualized": "JJ",
"unadited": "JJ",
"blinding": "JJ",
"staffed": "VBN",
"crochet": "VB",
"nonlethal": "JJ",
"scattered": "JJ",
"versa": "RB",
"murmurs": "VBZ",
"merit": "JJ",
"debunk": "VB",
"unplagued": "VBN",
"rephrase": "VB",
"freezing": "JJ",
"hinged": "VBN",
"anyways": "UH",
"securities": "NNPS",
"concentrate": "VB",
"mans": "VBZ",
"raddled": "JJ",
"unamortized": "JJ",
"hurts": "VBZ",
"swashbuckling": "JJ",
"recaptured": "VBN",
"concede": "VBP",
"enable": "VB",
"antiquarian": "JJ",
"nonqualified": "VBN",
"diffuse": "JJ",
"spiritual": "JJ",
"profane": "JJ",
"aerosolized": "VBN",
"binary": "JJ",
"prevail": "VB",
"licit": "JJ",
"barbed": "JJ",
"escape": "VB",
"recapture": "VB",
"customized": "JJ",
"clobber": "VB",
"starving": "JJ",
"around": "RB",
"scurrying": "JJ",
"danubian": "JJ",
"expanded": "VBN",
"undercuts": "VBZ",
"cozy": "JJ",
"away": "JJ",
"legged": "JJ",
"shies": "VBZ",
"hev": "VB",
"her": "PP",
"bristles": "VBZ",
"hey": "UH",
"u.s.japan": "JJ",
"underdressed": "JJ",
"browbeaten": "VBN",
"invigorating": "JJ",
"appalling": "JJ",
"solaced": "VBN",
"misplace": "VB",
"resell": "VB",
"mass": "JJ",
"evicted": "VBN",
"uncounted": "JJ",
"overpowered": "VBN",
"misrouted": "VBN",
"immiserated": "JJ",
"sentient": "JJ",
"latvian": "JJ",
"welded": "VBN",
"transposed": "VBN",
"reacquired": "VBN",
"expends": "VBZ",
"beheld": "VBD",
"pulls": "VBZ",
"prompt": "JJ",
"att": "IN",
"glowing": "JJ",
"relinquished": "JJ",
"sq": "JJ",
"waver": "VBP",
"decontaminated": "VBN",
"refuse": "JJ",
"inquire": "VB",
"m-m-m": "UH",
"stealin": "VBG",
"laced": "VBN",
"lacey": "JJ",
"transbay": "JJ",
"speculate": "VB",
"hereafter": "RB",
"unsprayed": "VBN",
"found": "VBD",
"dosed": "VBN",
"reduce": "VB",
"embattled": "JJ",
"launches": "VBZ",
"demure": "JJ",
"sublimed": "VBN",
"belies": "VBZ",
"qualify": "JJ",
"housebound": "JJ",
"longneck": "JJ",
"rooted": "JJ",
"belligerent": "JJ",
"unpleased": "VBN",
"rude": "JJ",
"omnipresent": "JJ",
"polarized": "VBN",
"teensy": "JJ",
"beforehand": "JJ",
"pedestrian": "JJ",
"majoritarian": "JJ",
"herniated": "VBN",
"honduran": "JJ",
"dragged": "VBN",
"drenched": "JJ",
"lengthwise": "RB",
"banned": "VBN",
"re-edited": "VBN",
"potent": "JJ",
"backfire": "VB",
"baritone": "JJ",
"weickerian": "JJ",
"frosty": "JJ",
"u.s.-mexican": "JJ",
"champion": "JJ",
"stung": "JJ",
"selfdamaging": "JJ",
"limited": "JJ",
"italicized": "VBN",
"equilibrated": "VBN",
"befuddled": "JJ",
"befuddles": "VBZ",
"entrenched": "JJ",
"squandered": "VBN",
"continue": "VB",
"aloft": "RB",
"digitizes": "VBZ",
"weatherbeaten": "JJ",
"striven": "VBN",
"strives": "VBZ",
"hoo-pig": "UH",
"uh": "UH",
"deviate": "VB",
"lucid": "JJ",
"holed": "VBN",
"melts": "VBZ",
"knotted": "JJ",
"tattered": "JJ",
"soften": "VB",
"longstanding": "JJ",
"edgewise": "RB",
"pestilent": "JJ",
"stocked": "VBN",
"creeps": "VBZ",
"racy": "JJ",
"licensed": "JJ",
"imply": "VB",
"aboveboard": "JJ",
"sixth": "CD",
"resulting": "JJ",
"buffered": "VBN",
"unmasculine": "JJ",
"causal": "JJ",
"exciting": "JJ",
"unplug": "VB",
"prompts": "VBZ",
"nonliterary": "JJ",
"slid": "VBD",
"slim": "JJ",
"slip": "VB",
"higher-fat": "JJR",
"fits": "VBZ",
"chosen": "JJ",
"mitigates": "VBZ",
"wholesale": "RB",
"outlined": "VBN",
"innermost": "JJ",
"launder": "VB",
"legendary": "JJ",
"regionalism": "JJ",
"minimalist": "JJ",
"castigate": "VB",
"antimissile": "JJ",
"delineate": "VB",
"graze": "VBP",
"point": "JJ",
"put": "VB",
"ultramodern": "JJ",
"yells": "VBZ",
"actual": "JJ",
"difficult": "JJ",
"disengage": "VB",
"meanin": "VBG",
"bother": "VB",
"trusting": "JJ",
"reassuring": "JJ",
"gentle": "JJ",
"fourteenth": "CD",
"awed": "JJ",
"astride": "RB",
"awes": "VBZ",
"midmonth": "RB",
"tramps": "VBZ",
"incarcerate": "VB",
"briny": "JJ",
"pitched": "JJ",
"burnished": "VBN",
"meant": "VBD",
"because": "IN",
"unexecuted": "VBN",
"meted": "VBN",
"packed": "JJ",
"rejoins": "VBZ",
"reappears": "VBZ",
"invited": "VBN",
"scribe": "VB",
"invites": "VBZ",
"inspiring": "JJ",
"distil": "VB",
"concerted": "JJ",
"whitewashed": "JJ",
"appalls": "VBZ",
"fitting": "JJ",
"askew": "RB",
"upmarket": "JJ",
"concealed": "JJ",
"grew": "VBD",
"pleasantly": "JJ",
"fascinate": "VB",
"renegotiated": "VBN",
"closer": "JJR",
"immortalized": "VBN",
"fuming": "JJ",
"clipped": "VBN",
"exempt": "JJ",
"supervise": "VB",
"whopping": "JJ",
"redound": "VB",
"inexperienced": "JJ",
"treks": "VBZ",
"out-compete": "VB",
"dependent": "JJ",
"broader": "JJR",
"centrist": "JJ",
"rectify": "JJ",
"assess": "VB",
"contrarian": "JJ",
"larval": "JJ",
"impeding": "JJ",
"insanely": "JJ",
"compute": "VB",
"tertian": "JJ",
"appraise": "VB",
"contribute": "VB",
"unsavory": "JJ",
"r-revised": "VBN",
"scholarly": "JJ",
"ticketed": "VBN",
"superefficient": "JJ",
"defraud": "VB",
"begrudge": "VB",
"pique": "JJ",
"bubbling": "JJ",
"frank": "JJ",
"kindred": "JJ",
"unveiled": "JJ",
"motivate": "JJ",
"hamiltonian": "JJ",
"hatted": "VBN",
"validated": "VBN",
"welsh": "JJ",
"witching": "JJ",
"hasty": "JJ",
"infested": "JJ",
"decide": "VB",
"highlights": "VBZ",
"bespeak": "VBP",
"versus": "IN",
"woken": "VBN",
"affianced": "VBN",
"absolve": "VBP",
"kneels": "VBZ",
"confess": "VB",
"transcends": "VBZ",
"motorized": "JJ",
"attested": "VBN",
"mourning": "JJ",
"lies": "VBZ",
"buys": "VBZ",
"created": "VBN",
"creates": "VBZ",
"regress": "VB",
"contrary": "JJ",
"vulgar": "JJ",
"daunting": "JJ",
"sparse": "JJ",
"guzzle": "VB",
"thick": "JJ",
"happily": "JJ",
"minus": "CC",
"effectuate": "VB",
"quieter": "JJR",
"laden": "JJ",
"hamper": "VB",
"transmit": "VB",
"frozen": "JJ",
"exercised": "VBN",
"went": "VBD",
"missed": "JJ",
"doped": "JJ",
"steadying": "JJ",
"european": "JJ",
"deepest": "RB",
"fiscal": "JJ",
"gored": "VBN",
"quick": "JJ",
"uninhabited": "JJ",
"indonesian": "JJ",
"warmed-over": "IN",
"ocular": "JJ",
"brag": "VB",
"condemned": "VBN",
"cleaning": "JJ",
"deterred": "VBN",
"aim": "VB",
"inspired": "JJ",
"launched": "VBN",
"prescribed": "JJ",
"prescribes": "VBZ",
"kali": "VBP",
"nondrying": "JJ",
"bandied": "VBN",
"re-activate": "VB",
"expelled": "VBN",
"vies": "VBZ",
"augur": "VBP",
"honored": "VBN",
"somersaulting": "JJ",
"mulls": "VBZ",
"goldbanded": "VBN",
"bound": "JJ",
"insider": "JJR",
"capped": "JJ",
"mutates": "VBZ",
"divertimento": "JJ",
"mutated": "VBN",
"converse": "VB",
"true": "JJ",
"left": "JJ",
"nationwide": "JJ",
"undefeated": "JJ",
"anew": "RB",
"inquiring": "JJ",
"lowering": "JJ",
"lumped": "VBN",
"write": "VB",
"topped": "JJ",
"concurrent": "JJ",
"governed": "JJ",
"outlive": "VB",
"collared": "VBN",
"loyal": "JJ",
"erased": "VBN",
"margined": "VBN",
"unmixed": "VBN",
"bowenized": "VBN",
"perceived": "JJ",
"just": "JJ",
"perceives": "VBZ",
"woven": "VBN",
"unsubsidized": "JJ",
"appear": "VBP",
"georgian": "JJ",
"sells": "VBZ",
"incoming": "JJ",
"impatiently": "JJ",
"penalizes": "VBZ",
"outfly": "VB",
"penalized": "VBN",
"stingy": "JJ",
"prove": "JJ",
"cuter": "JJR",
"pity": "JJ",
"hesitates": "VBZ",
"unsung": "JJ",
"undiversified": "JJ",
"hardest": "RB",
"renders": "VBZ",
"can": "MD",
"nonpaying": "JJ",
"o": "IN",
"repackaged": "VBN",
"unwavering": "JJ",
"bitter": "JJ",
"freezes": "VBZ",
"deviates": "VBZ",
"priestly": "JJ",
"deactivated": "VBN",
"deactivates": "VBZ",
"compress": "VB",
"scarcer": "JJR",
"intrigued": "JJ",
"hurried": "JJ",
"hurries": "VBZ",
"happen": "VB",
"antiwar": "JJ",
"worshiped": "VBN",
"side-by-side": "RB",
"carp": "VBP",
"counteracted": "VBN",
"beautify": "VBP",
"entrusted": "VBN",
"linked": "VBN",
"indecent": "JJ",
"untrue": "JJ",
"drove": "VBD",
"checked": "VBN",
"locking": "JJ",
"comfy": "JJ",
"distorted": "JJ",
"uncousinly": "JJ",
"]": ")",
"forever": "RB",
"unamended": "JJ",
"underestimates": "VBZ",
"thefin": "VBG",
"rambling": "JJ",
"u.s.-made": "JJ",
"southwest": "RB",
"overwritten": "JJ",
"peritoneal": "JJ",
"crotchety": "JJ",
"effectual": "JJ",
"incite": "VB",
"blame": "VB",
"pertain": "VBP",
"oh-the-pain-of-it": "UH",
"through": "JJ",
"newfound": "JJ",
"evict": "VB",
"stick": "VB",
"prurient": "JJ",
"confectionary": "JJ",
"pleads": "VBZ",
"petted": "VBN",
"bigoted": "JJ",
"anecdotal": "JJ",
"smelt": "VBD",
"enchanting": "JJ",
"comment": "VB",
"gimmee": "UH",
"fleeced": "VBN",
"warms": "VBZ",
"zany": "JJ",
"unfold": "VB",
"unaccounted": "JJ",
"commend": "VB",
"bespectacled": "JJ",
"fullyear": "JJ",
"uneasy": "JJ",
"wold": "MD",
"backbench": "JJ",
"seek": "VB",
"snuffed": "VBN",
"computerized": "JJ",
"suited": "JJ",
"fancy": "JJ",
"untidy": "JJ",
"refocus": "VB",
"equate": "VB",
"maladjusted": "JJ",
"concurring": "JJ",
"colossal": "JJ",
"overturns": "VBZ",
"staged": "JJ",
"modify": "VB",
"unproven": "JJ",
"disassociate": "VB",
"toys": "NNPS",
"entails": "VBZ",
"instrumental": "JJ",
"mounted": "VBN",
"offended": "JJ",
"decapitalized": "JJ",
"northernmost": "JJ",
"sneak": "VB",
"custom-make": "VB",
"crafty": "JJ",
"help": "VB",
"sooo": "RB",
"teeming": "JJ",
"acculturated": "VBN",
"nondollar": "JJ",
"ye": "PRP",
"vomit": "VBP",
"anticipates": "VBZ",
"ys": "VBZ",
"stopped": "JJ",
"positioned": "VBN",
"dominates": "VBZ",
"platter": "JJ",
"blossom": "VB",
"dominating": "JJ",
"bum": "JJ",
"transcendent": "JJ",
"ulcerated": "JJ",
"uncolored": "JJ",
"ousted": "VBN",
"parliamentary": "JJ",
"gon": "VBG",
"sidewise": "RB",
"aboveground": "JJ",
"languid": "JJ",
"bespeaks": "VBZ",
"scorched": "JJ",
"paranoid": "JJ",
"outlast": "VB",
"docile": "JJ",
"molten": "JJ",
"poisoned": "JJ",
"disapproving": "JJ",
"changed": "JJ",
"protecting": "JJ",
"disgruntled": "JJ",
"bifurcate": "JJ",
"quips": "VBZ",
"as-yet": "RB",
"woke": "VBD",
"weatherstrip": "VB",
"hewn": "JJ",
"complies": "VBZ",
"hews": "VBZ",
"complied": "VBN",
"alexandrine": "JJ",
"f.o.b": "JJ",
"overstate": "VB",
"allied": "JJ",
"reenact": "VB",
"loom": "VBZ",
"soiled": "JJ",
"look": "JJ",
"endanger": "VB",
"loot": "JJ",
"clientslose": "JJ",
"confound": "VB",
"reads": "VBZ",
"born": "VBN",
"repudiated": "VBN",
"discredit": "VB",
"prick": "VB",
"extortionate": "JJ",
"migratory": "JJ",
"decayed": "JJ",
"insert": "VB",
"resold": "VBN",
"paginated": "VBN",
"forgets": "VBZ",
"minimal": "JJ",
"berated": "VBN",
"stem": "VB",
"lasts": "VBZ",
"toppled": "VBN",
"shiny": "JJ",
"dietary": "JJ",
"paltry": "JJ",
"computes": "VBZ",
"legislates": "VBZ",
"nonsense": "JJ",
"unbeknownst": "RB",
"manufacture": "VB",
"inept": "JJ",
"bolsters": "VBZ",
"fishy": "JJ",
"accustomed": "JJ",
"chafed": "VBN",
"chafes": "VBZ",
"dammed-up": "VBN",
"sullen": "JJ",
"overlong": "JJ",
"sounder": "JJR",
"sales-of": "IN",
"aware": "JJ",
"backflips": "VBZ",
"shackled": "VBN",
"cellular": "JJ",
"facilitate": "VB",
"compensated": "JJ",
"among": "IN",
"compensates": "VBZ",
"intraocular": "JJ",
"marketed": "VBN",
"quell": "VB",
"overseen": "VBN",
"oversees": "VBZ",
"win": "JJ",
"remains": "VBZ",
"vivid": "JJ",
"four-for-one": "RB",
"ushers": "VBZ",
"cheapens": "VBZ",
"ferrets": "VBZ",
"intraparty": "JJ",
"advocated": "VBN",
"catty": "JJ",
"feels": "VBZ",
"emptied": "VBN",
"smarts": "VBZ",
"sing": "VB",
"placid": "JJ",
"grumbling": "JJ",
"divides": "VBZ",
"benedictine": "JJ",
"withering": "JJ",
"upset": "JJ",
"soldered": "VBN",
"reallocate": "VB",
"underperforms": "VBZ",
"breezy": "JJ",
"deploy": "VB",
"expires": "VBZ",
"passe": "JJ",
"must": "MD",
"(": "(",
"rash": "JJ",
"suckered": "VBN",
"popular": "JJ",
"course": "RB",
"gush": "VBP",
"counterprogram": "VB",
"spotted": "VBN",
"freeze": "VB",
"desperate": "JJ",
"reattached": "VBN",
"reconfirm": "VB",
"missing": "JJ",
"supernatural": "JJ",
"demur": "VBP",
"lamechian": "JJ",
"melds": "VBZ",
"diligent": "JJ",
"christen": "VB",
"budgetary": "JJ",
"low": "JJ",
"hoverin": "VBG",
"sizzling": "JJ",
"hytt": "PRP",
"outspread": "VBN",
"coincidental": "JJ",
"inhabits": "VBZ",
"swinging": "JJ",
"overrendered": "VBN",
"strange": "JJ",
"nightly": "JJ",
"fierce": "JJ",
"weld": "VB",
"well": "JJ",
"sovietized": "JJ",
"skill": "JJ",
"spenglerian": "JJ",
"imparts": "VBZ",
"accomodate": "VB",
"executed": "VBN",
"gephardtian": "JJ",
"drizzly": "JJ",
"seventh": "JJ",
"injects": "VBZ",
"unfleshed": "VBN",
"interlinked": "VBN",
"beige": "JJ",
"attains": "VBZ",
"synthesized": "VBN",
"synthesizes": "VBZ",
"f-as": "IN",
"threaten": "VB",
"storied": "JJ",
"empty": "JJ",
"stumpy": "JJ",
"heed": "VB",
"empowers": "VBZ",
"persistent": "JJ",
"uneducated": "JJ",
"sunburnt": "JJ",
"plenary": "JJ",
"calculate": "VB",
"syndciated": "VBN",
"embroider": "VBP",
"hath": "VBZ",
"horse-blanket": "RB",
"nepalese": "NNPS",
"winded": "JJ",
"hazy": "JJ",
"liberated": "JJ",
"rests": "VBZ",
"sombre": "JJ",
"exacting": "JJ",
"afraid": "JJ",
"rather": "JJ",
"includes": "VBZ",
"adult": "JJ",
"protozoan": "JJ",
"aligned": "JJ",
"somber": "JJ",
"akin": "JJ",
"divergent": "JJ",
"sinusoidal": "JJ",
"masterly": "JJ",
"lure": "JJ",
"construe": "VB",
"higher-paid": "JJR",
"overtaken": "VBN",
"foresaw": "VBD",
"decaffeinated": "VBN",
"bony": "JJ",
"mean": "JJ",
"improvise": "VB",
"awry": "RB",
"rebuts": "VBZ",
"quantify": "VB",
"bluntest": "RBS",
"rehearsed": "VBN",
"backlit": "JJ",
"allso": "RB",
"trichrome": "JJ",
"bioengineer": "VB",
"wronged": "JJ",
"thereon": "RB",
"buddhist": "JJ",
"comforted": "VBN",
"torpid": "JJ",
"annotated": "VBN",
"introduce": "VB",
"consider": "VB",
"stratified": "JJ",
"unthinking": "JJ",
"divulge": "VB",
"directed": "VBN",
"caricatured": "VBN",
"mitigate": "VB",
"mushy": "JJ",
"consumes": "VBZ",
"explain": "VB",
"free": "JJ",
"stabbing": "JJ",
"clobbered": "VBN",
"fret": "VBP",
"waylaid": "VBN",
"searching": "JJ",
"cower": "VBP",
"grilled": "JJ",
"decides": "VBZ",
"boost": "VB",
"smacks": "VBZ",
"overt": "JJ",
"staves": "VBZ",
"disorderly": "JJ",
"cutglass": "JJ",
"pollinated": "VBN",
"against": "IN",
"gushes": "VBZ",
"loaded": "JJ",
"riled": "JJ",
"erect": "VB",
"riles": "VBZ",
"suppress": "VB",
"prolonged": "JJ",
"decrepit": "JJ",
"censored": "JJ",
"say": "VB",
"melted": "JJ",
"mousy": "JJ",
"defeated": "JJ",
"faked": "VBN",
"entitles": "VBZ",
"contaminate": "VB",
"kid": "JJ",
"unconcerned": "JJ",
"virile": "JJ",
"heavenly": "JJ",
"erected": "VBN",
"unnecessary": "JJ",
"ridicules": "VBZ",
"broad": "JJ",
"unorganized": "JJ",
"compleated": "VBN",
"warrent": "JJ",
"frustrated": "JJ",
"gentrified": "VBN",
"idealized": "JJ",
"largest-ever": "RB",
"breathe": "VB",
"frowzy": "JJ",
"franciscan": "JJ",
"cushioned": "VBN",
"skirted": "VBN",
"prepupal": "JJ",
"decelerate": "VB",
"customary": "JJ",
"downplays": "VBZ",
"proletarian": "JJ",
"fancies": "VBZ",
"breathy": "JJ",
"skirting": "JJ",
"simmer": "VB",
"shoot": "VB",
"estranging": "JJ",
"trended": "VBN",
"zooms": "VBZ",
"dwelled": "VBN",
"tangent": "JJ",
"tuxedoed": "JJ",
"swipes": "VBZ",
"bruised": "JJ",
"elect": "VB",
"undepicted": "JJ",
"withal": "IN",
"surmount": "VB",
"aye": "RB",
"diversionary": "JJ",
"demolish": "VB",
"unimproved": "JJ",
"mar": "VB",
"mad": "JJ",
"mai": "MD",
"mah": "PRP",
"deceive": "VB",
"unleash": "VB",
"recoup": "VB",
"comes": "VBZ",
"less-perfectly": "RBR",
"bestselling": "JJ",
"simple": "JJ",
"scolded": "VBN",
"shorted": "VBN",
"swears": "VBZ",
"shorter": "JJR",
"startled": "JJ",
"fazed": "JJ",
"hemmed": "VBN",
"sideways": "JJ",
"infuriating": "JJ",
"normal": "JJ",
"thine": "JJ",
"sounds": "VBZ",
"cheesy": "JJ",
"tough": "JJ",
"interred": "JJ",
"cleanse": "VB",
"midtown": "JJ",
"reacquire": "VB",
"notched": "JJ",
"stubby": "JJ",
"monochrome": "JJ",
"center-punch": "VB",
"enter": "VB",
"coveted": "JJ",
"shot": "VBN",
"elevate": "VB",
"fend": "VB",
"rubenesquely": "JJ",
"reproduced": "VBN",
"plumb": "RB",
"worrying": "JJ",
"limber": "JJ",
"malted": "VBN",
"enthralling": "JJ",
"soars": "VBZ",
"continues": "VBZ",
"cornered": "VBN",
"slain": "VBN",
"u.s.-japanese": "JJ",
"here": "RB",
"intrude": "JJ",
"umber": "JJ",
"memorialized": "VBN",
"somehow": "RB",
"ongoing": "JJ",
"orginate": "VB",
"planar": "JJ",
"malformed": "JJ",
"baptismal": "JJ",
"worryin": "VBG",
"to": "TO",
"slanted": "VBN",
"grim": "JJ",
"thirsted": "VBN",
"ascend": "VB",
"amazing": "JJ",
"added": "JJ",
"pioneer": "JJ",
"highbrow": "JJ",
"dry": "JJ",
"annoys": "VBZ",
"unwarranted": "JJ",
"totalitarian": "JJ",
"sophisticated": "JJ",
"nonacid": "JJ",
"beneath": "RB",
"electrifying": "JJ",
"grasped": "VBN",
"carps": "VBZ",
"stilted": "JJ",
"decorated": "JJ",
"prewar": "JJ",
"inhibited": "JJ",
"wormy": "JJ",
"duplicates": "VBZ",
"dazed": "JJ",
"prolongs": "VBZ",
"duplicated": "JJ",
"unsuspected": "JJ",
"overtakin": "VBG",
"bankrolled": "VBN",
"chandelle": "VB",
"cultural": "JJ",
"everlasting": "JJ",
"disinflationary": "JJ",
"cleared": "JJ",
"empties": "VBZ",
"eyd": "VBN",
"dunks": "VBZ",
"atone": "VB",
"slovenly": "JJ",
"bravely": "JJ",
"traduced": "VBN",
"attain": "VB",
"stained": "JJ",
"hypnotized": "VBN",
"misplaced": "JJ",
"played": "VBN",
"winged": "JJ",
"hifalutin": "JJ",
"u.s.-endorsed": "JJ",
"rifled": "JJ",
"predisposed": "JJ",
"noncommissioned": "JJ",
"suffer": "VB",
"thrilling": "JJ",
"complain": "VBP",
"exquisite": "JJ",
"watered": "VBN",
"ironed": "JJ",
"beneficient": "JJ",
"manned": "JJ",
"dons": "VBZ",
"done": "VBN",
"rerouted": "VBN",
"revive": "VB",
"pare": "VB",
"draped": "JJ",
"rockin": "JJ",
"part": "RB",
"says": "VBZ",
"declare": "VB",
"idled": "VBN",
"custom": "JJ",
"trifled": "VBN",
"easygoing": "JJ",
"serve": "VBP",
"cosy": "JJ",
"defiles": "VBZ",
"devastate": "VB",
"common": "JJ",
"kuwaiti": "JJ",
"resolute": "JJ",
"electoral": "JJ",
"distraught": "JJ",
"scuttle": "VB",
"caked": "VBN",
"ensures": "VBZ",
"vertebrate": "JJ",
"kidnapped": "VBN",
"gay": "JJ",
"replaces": "VBZ",
"outperforms": "VBZ",
"consular": "JJ",
"aches": "JJ",
"engrossed": "JJ",
"wherein": "WRB",
"benign": "JJ",
"absolved": "JJ",
"craved": "VBN",
"redesigned": "VBN",
"craven": "JJ",
"craves": "VBZ",
"toil": "VBP",
"vague": "JJ",
"displace": "VB",
"coupled": "JJ",
"fond": "JJ",
"channelled": "VBN",
"obliged": "JJ",
"obliges": "VBZ",
"fivefold": "RB",
"metamorphosed": "VBN",
"connecting": "JJ",
"visionary": "JJ",
"wayward": "JJ",
"wilted": "JJ",
"harassed": "JJ",
"framed": "JJ",
"discomfit": "VB",
"perhaps": "JJ",
"notarized": "VBN",
"adjudicate": "VB",
"spurns": "VBZ",
"ascertained": "VBN",
"beckons": "VBZ",
"whosever": "WP",
"integral": "JJ",
"stupefying": "JJ",
"molal": "JJ",
"cassocked": "JJ",
"revisionist": "JJ",
"demoniac": "JJ",
"neater": "JJR",
"tack-solder": "VB",
"brazilian": "JJ",
"asteroid": "JJ",
"silted": "VBN",
"normalized": "VBN",
"encourage": "VB",
"pedaled": "VBN",
"unwitting": "JJ",
"inviolate": "JJ",
"sought": "JJ",
"lame": "JJ",
"factored": "VBN",
"bushwhackin": "JJ",
"nary": "JJ",
"picturesque": "JJ",
"sidelong": "JJ",
"burning": "JJ",
"stronghold": "JJ",
"spell": "VB",
"loves": "VBZ",
"virulent": "JJ",
"fed": "VBN",
"richterian": "JJ",
"plods": "VBZ",
"repress": "VB",
"fouled": "JJ",
"grieving": "JJ",
"unspent": "JJ",
"swept": "VBN",
"sixteenth": "CD",
"eavesdrop": "VB",
"smolder": "VBP",
"dreary": "JJ",
"perforce": "RB",
"discretionary": "JJ",
"o.k": "UH",
"circumspect": "JJ",
"flush": "RB",
"transitory": "JJ",
"fought": "VBD",
"prays": "VBZ",
"rubber-stamp": "VB",
"afresh": "RB",
"wherewith": "VB",
"stranded": "JJ",
"festooned": "VBN",
"underappreciated": "JJ",
"cycled": "VBN",
"emitted": "VBN",
"deliver": "VB",
"handpicked": "VBN",
"asunder": "RB",
"swallow": "VB",
"hoe": "VB",
"unearthed": "VBN",
"attends": "VBZ",
"certain": "JJ",
"phosphorescent": "JJ",
"protect": "VB",
"inherits": "VBZ",
"walks": "VBZ",
"unretouched": "JJ",
"oink": "UH",
"frontal": "JJ",
"ride": "VB",
"unruly": "JJ",
"pampered": "JJ",
"knotty": "JJ",
"necessitate": "VBP",
"wide": "JJ",
"offers": "VBZ",
"shrug": "VB",
"unfunny": "JJ",
"afterward": "RB",
"accosted": "VBN",
"oiled": "JJ",
"although": "IN",
"raiding": "JJ",
"ribbed": "JJ",
"comprised": "VBN",
"prevailing": "JJ",
"faltering": "JJ",
"obliterated": "JJ",
"imbibed": "VBN",
"glib": "JJ",
"snagged": "VBN",
"proposed": "JJ",
"uninhibited": "JJ",
"recounts": "VBZ",
"undiluted": "JJ",
"antiviral": "JJ",
"noriegan": "JJ",
"know": "VB",
"uncommon": "JJ",
"co-develop": "VB",
"sleep": "VB",
"many-times": "RB",
"hammers": "VBZ",
"poorly": "JJ",
"snipe": "VB",
"hampered": "VBN",
"maximized": "VBN",
"pooled": "VBN",
"undated": "JJ",
"redistributed": "VBN",
"worsen": "VB",
"insinuate": "VB",
"redistributes": "VBZ",
"endorse": "VB",
"balking": "JJ",
"feisty": "JJ",
"follow": "VB",
"represented": "VBN",
"stipulates": "VBZ",
"disclaims": "VBZ",
"stipulated": "JJ",
"sick": "JJ",
"express": "RB",
"mediate": "VB",
"interpenetrate": "VBP",
"eat": "VB",
"prearranged": "VBN",
"unilateral": "JJ",
"sneers": "VBZ",
"aching": "JJ",
"moisten": "VB",
"snarling": "JJ",
"decreasing": "JJ",
"aloud": "RB",
"nouvelle": "JJ",
"outshine": "JJ",
"utilitarian": "JJ",
"supervoting": "JJ",
"entranced": "VBN",
"compelling": "JJ",
"onleh": "RB",
"fraught": "JJ",
"adjust": "VB",
"aspire": "VB",
"onto": "IN",
"grassed": "VBN",
"rang": "VBD",
"rank": "JJ",
"bombard": "JJ",
"lulled": "VBN",
"geered": "VBN",
"rewritten": "VBN",
"indeterminate": "JJ",
"urban": "JJ",
"overdraw": "VB",
"wrapped": "JJ",
"bloated": "JJ",
"interrelated": "JJ",
"conceived": "VBN",
"yank": "VB",
"sage": "JJ",
"pickin": "VBG",
"delays": "VBZ",
"criticizes": "VBZ",
"fluid": "JJ",
"criticized": "VBN",
"congruent": "JJ",
"older-skewing": "JJR",
"wrest": "VB",
"proclaims": "VBZ",
"corrupt": "JJ",
"modulate": "VBP",
"wear": "VB",
"amortized": "VBN",
"subverts": "VBZ",
"interacts": "VBZ",
"uncharged": "JJ",
"lusty": "JJ",
"settle": "VB",
"deflect": "VB",
"trendy": "JJ",
"appease": "VB",
"bugged": "VBN",
"ought": "MD",
"dearer": "JJR",
"vie": "VBP",
"trashed": "VBN",
"spanned": "VBN",
"zoom": "VB",
"overrated": "JJ",
"hung": "VBD",
"smarmy": "JJ",
"wrenching": "JJ",
"totals": "VBZ",
"hastens": "VBZ",
"idolized": "JJ",
"plus": "JJ",
"over-stress": "VB",
"credited": "VBN",
"overbid": "VBD",
"unbalanced": "JJ",
"icy": "JJ",
"quash": "JJ",
"sours": "VBZ",
"little": "JJ",
"encroach": "VB",
"obsolete": "JJ",
"deluded": "JJ",
"transcontinental": "JJ",
"shove": "VB",
"ravaging": "JJ",
"floating": "JJ",
"emerge": "VB",
"hoppled": "VBN",
"brighter": "JJR",
"reorder": "VB",
"sheds": "VBZ",
"eighteenth": "CD",
"begs": "VBZ",
"leavin": "VBG",
"fascist": "JJ",
"scoff": "VBP",
"muggy": "JJ",
"liquid": "JJ",
"invests": "VBZ",
"furnished": "JJ",
"paternalist": "JJ",
"furnishes": "VBZ",
"white": "JJ",
"supplemented": "VBN",
"underneath": "RB",
"coaxes": "VBZ",
"populated": "VBN",
"inopportune": "JJ",
"tuned": "VBN",
"de-iodinated": "VBN",
"overmedicated": "VBN",
"accelerated": "VBN",
"unpaid": "JJ",
"start": "VB",
"peddles": "VBZ",
"terrifying": "JJ",
"peddled": "VBN",
"seduced": "VBN",
"cope": "VB",
"naked": "JJ",
"seduces": "VBZ",
"specify": "VB",
"schooled": "VBN",
"rend": "VB",
"unglazed": "VBN",
"ideal": "JJ",
"sculpted": "VBN",
"adhere": "VB",
"hustles": "VBZ",
"unshaven": "JJ",
"principled": "JJ",
"multimillion": "JJ",
"reveal": "VB",
"abler": "JJR",
"kitschy": "JJ",
"interfere": "JJ",
"wanders": "VBZ",
"recumbent": "JJ",
"pontificates": "VBZ",
"hunched": "VBN",
"swum": "VBN",
"bequeathed": "VBN",
"sniff": "VB",
"vary": "VBP",
"premature": "JJ",
"pre-date": "VB",
"enriches": "VBZ",
"unqualified": "JJ",
"synthesised": "VBN",
"shroud": "VBP",
"halfway": "JJ",
"rose": "VBD",
"disrupt": "VB",
"confined": "JJ",
"reduces": "VBZ",
"snort": "VB",
"substandard": "JJ",
"reduced": "JJ",
"resonate": "VB",
"unfertile": "JJ",
"infinite": "JJ",
"amongst": "IN",
"inscribed": "VBN",
"encompass": "VB",
"discerned": "VBN",
"hired": "JJ",
"heathen": "JJ",
"deafening": "JJ",
"internalized": "VBN",
"tanned": "JJ",
"amusement": "JJ",
"all": "DT",
"hmmm": "UH",
"wanton": "JJ",
"strut": "VB",
"sentimental": "JJ",
"nursing": "JJ",
"proscribed": "JJ",
"proscribes": "VBZ",
"immanent": "JJ",
"monodisperse": "JJ",
"frustrate": "VB",
"condensed": "JJ",
"exaggerated": "JJ",
"top": "JJ",
"too": "RB",
"denominated": "VBN",
"overall": "JJ",
"minor": "JJ",
"pinheaded": "JJ",
"nitpicking": "JJ",
"particularly": "JJ",
"influenced": "VBN",
"bawdy": "JJ",
"structural": "JJ",
"unsurprising": "JJ",
"prefers": "VBZ",
"stash": "VB",
"outraged": "JJ",
"reconnect": "VB",
"pray": "JJ",
"disagrees": "VBZ",
"prai": "VBP",
"flexural": "JJ",
"thoroughbred": "JJ",
"asean": "JJ",
"but-bulls": "IN",
"sedimentary": "JJ",
"inflates": "VBZ",
"buffetted": "VBN",
"inflated": "JJ",
"reverent": "JJ",
"clandestine": "JJ",
"induces": "VBZ",
"induced": "JJ",
"e.g": "RB",
"feed": "VB",
"feel": "VB",
"brisker": "JJR",
"hangs": "VBZ",
"grimy": "JJ",
"recovered": "JJ",
"korean": "JJ",
"chousin": "VBG",
"insulted": "JJ",
"rife": "JJ",
"contractual": "JJ",
"choral": "JJ",
"finds": "VBZ",
"relive": "VBP",
"amateur": "JJ",
"grotesque": "JJ",
"unsuited": "JJ",
"funded": "VBN",
"fastest": "RB",
"compiles": "VBZ",
"restudy": "VB",
"repulsed": "VBN",
"desegregated": "VBN",
"outfit": "JJ",
"gussied": "VBN",
"crispy": "JJ",
"scented": "JJ",
"re-explore": "VB",
"skyward": "RB",
"stagewhispers": "VBZ",
"evaluates": "VBZ",
"canvassed": "VBN",
"distrusts": "VBZ",
"stimulates": "VBZ",
"assuaged": "VBN",
"stimulated": "JJ",
"resuscitated": "VBN",
"throwaway": "JJ",
"lowers": "VBZ",
"canted": "JJ",
"governmental": "JJ",
"reinstate": "VB",
"complains": "VBZ",
"entangled": "JJ",
"rotate": "VB",
"baited": "VBN",
"upraised": "VBN",
"wanna": "VB",
"gouge": "VB",
"analyze": "VB",
"contrite": "JJ",
"tutored": "VBN",
"consist": "VB",
"shooed": "VBN",
"highlight": "VB",
"sublet": "VB",
"shallower": "JJR",
"garbed": "VBN",
"wrestle": "VB",
"uninspected": "JJ",
"veterinary": "JJ",
"unstapled": "JJ",
"interpenetrates": "VBZ",
"midocean": "JJ",
"posture": "JJ",
"super-imposed": "VBN",
"stratify": "VB",
"datelined": "VBN",
"brief": "JJ",
"galloped": "VBN",
"garbled": "JJ",
"recount": "VB",
"detects": "VBZ",
"dusted": "VBN",
"bittersweet": "JJ",
"sit": "VB",
"outclass": "VBP",
"immersed": "VBN",
"rifkinesque": "JJ",
"reauthorized": "VBN",
"pulsed": "VBN",
"demobilized": "VBN",
"statutory": "JJ",
"beguile": "VBP",
"hankered": "VBN",
"frightening": "JJ",
"liberian": "JJ",
"gassed": "VBN",
"restrict": "VB",
"beveled": "VBN",
"lilac": "JJ",
"tepid": "JJ",
"indulges": "VBZ",
"tabulate": "VB",
"unencumbered": "JJ",
"supports": "VBZ",
"engenders": "VBZ",
"north": "RB",
"misinformed": "VBN",
"docketed": "VBN",
"reflecting": "JJ",
"overreaches": "VBZ",
"blue": "JJ",
"leery": "JJ",
"rearranges": "VBZ",
"barrette": "JJ",
"alarmed": "JJ",
"neighboring": "JJ",
"bulging": "JJ",
"riiiing": "UH",
"squirms": "VBZ",
"deceives": "VBZ",
"allocate": "VB",
"deceived": "VBN",
"televised": "VBN",
"frustrates": "VBZ",
"underscores": "VBZ",
"sequenced": "VBN",
"walk": "VB",
"subsurface": "JJ",
"counterculture": "JJ",
"inbound": "JJ",
"interrupts": "VBZ",
"nicked": "VBN",
"walloping": "JJ",
"overturn": "VB",
"outspend": "VBP",
"improves": "VBZ",
"fantasized": "VBN",
"extramural": "JJ",
"re-paid": "VBD",
"gutted": "VBN",
"dismounts": "VBZ",
"riveted": "VBN",
"obtain": "VB",
"stowed": "VBN",
"rescind": "VB",
"incendiary": "JJ",
"sultry": "JJ",
"informed": "JJ",
"debuts": "VBZ",
"fluorescent": "JJ",
"dulcet": "JJ",
"incipient": "JJ",
"good-bye": "UH",
"made": "JJ",
"whether": "IN",
"atheist": "JJ",
"inadequate": "JJ",
"writes": "VBZ",
"mutual": "JJ",
"cutthroat": "JJ",
"strident": "JJ",
"nonbuilding": "JJ",
"metabolized": "VBN",
"twangy": "JJ",
"extort": "VB",
"ole": "JJ",
"consists": "VBZ",
"rusty": "JJ",
"weary": "JJ",
"wrong": "JJ",
"redelivered": "VBN",
"contributes": "VBZ",
"specialist": "JJ",
"misjudged": "JJ",
"brocaded": "JJ",
"reported": "VBN",
"rise-perhaps": "RB",
"sweltering": "JJ",
"holy": "JJ",
"detracts": "VBZ",
"menaced": "VBN",
"pardon": "VB",
"malign": "JJ",
"hot": "JJ",
"classify": "VB",
"a": "DT",
"infrastructural": "JJ",
"overexploited": "JJ",
"tasty": "JJ",
"smarter": "JJR",
"distinguishing": "JJ",
"nobler": "JJPI:NAME:<NAME>END_PI",
"superior": "JJ",
"c-translated": "VBN",
"borne": "VBN",
"whoosh": "VBP",
"piecemeal": "JJ",
"reprimanded": "VBN",
"beguiled": "JJ",
"fevered": "JJ",
"broody": "JJ",
"corny": "JJ",
"backpedal": "VB",
"known": "JJ",
"consummate": "JJ",
"incomplete": "JJ",
"marvel": "VB",
"chirpy": "JJ",
"heckled": "VBN",
"touches": "VBZ",
"busy": "JJ",
"particulate": "JJ",
"olympian": "JJ",
"patented": "VBN",
"mew": "VB",
"asked": "VBN",
"starstruck": "JJ",
"levied": "VBN",
"any": "DT",
"outsell": "VB",
"preachy": "JJ",
"spurred": "VBN",
"enters": "VBZ",
"falter": "VB",
"posed": "VBN",
"bushy": "JJ",
"rehearse": "VB",
"terraced": "VBN",
"manufacturing": "JJ",
"coexistent": "JJ",
"disqualified": "JJ",
"meddle": "VB",
"fiery": "JJ",
"precludes": "VBZ",
"knowing": "JJ",
"uncluttered": "JJ",
"underestimated": "VBN",
"offer": "VB",
"squalid": "JJ",
"unchlorinated": "VBN",
"highest-grossing": "JJS",
"differ": "VBP",
"virgin": "JJ",
"rolling": "JJ",
"annointed": "VBN",
"congested": "JJ",
"denationalized": "VBN",
"serialized": "VBN",
"lowdown": "JJ",
"unquenched": "VBN",
"doted": "VBN",
"fawned": "VBN",
"thermoformed": "VBN",
"muscat": "JJ",
"leering": "JJ",
"undismayed": "JJ",
"alone": "JJ",
"along": "RB",
"prefer": "VBP",
"coinciding": "JJ",
"unabsorbed": "JJ",
"unmarked": "JJ",
"homesick": "JJ",
"filmy": "JJ",
"unwounded": "JJ",
"retail": "JJ",
"coexist": "VB",
"explores": "VBZ",
"explored": "VBN",
"such": "JJ",
"suck": "VB",
"titular": "JJ",
"furiouser": "RBR",
"unsolicited": "JJ",
"noteworthy": "JJ",
"reaffirms": "VBZ",
"yawning": "JJ",
"singin": "VBG",
"retrain": "VB",
"olivefaced": "JJ",
"repaid": "VBN",
"undeterred": "JJ",
"willya": "MD",
"mapped": "VBN",
"plea": "JJ",
"longrange": "JJ",
"monogrammed": "JJ",
"silhouetted": "VBN",
"undisguised": "JJ",
"routed": "VBN",
"jumbled": "JJ",
"teaches": "VBZ",
"dissipate": "VB",
"betray": "VB",
"install": "VB",
"unprecedented": "JJ",
"dissenting": "JJ",
"cowed": "VBN",
"obliging": "JJ",
"descends": "VBZ",
"nott": "RB",
"twinned": "JJ",
"slow": "JJ",
"slog": "VB",
"infringes": "VBZ",
"borrow": "VB",
"wheare": "WRB",
"marred": "VBN",
"diddle": "UH",
"spare": "JJ",
"spark": "VB",
"suppressed": "JJ",
"czechoslovak": "JJ",
"extinct": "JJ",
"whenever": "WRB",
"play": "VB",
"chatty": "JJ",
"unclouded": "JJ",
"eschews": "VBZ",
"dressy": "JJ",
"airy": "JJ",
"threatens": "VBZ",
"underestimate": "VB",
"reverts": "VBZ",
"domineering": "JJ",
"culled": "VBN",
"distills": "VBZ",
"sprayed": "VBN",
"amalgamate": "VB",
"slimy": "JJ",
"boycotted": "VBN",
"expunge": "VB",
"discarded": "JJ",
"searing": "JJ",
"forecasted": "VBN",
"dissociates": "VBZ",
"intimate": "JJ",
"travelin": "VBG",
"slender": "JJ",
"lofty": "JJ",
"beaten": "JJ",
"accumulates": "VBZ",
"acting": "JJ",
"accumulated": "JJ",
"mollify": "VB",
"complete": "JJ",
"darken": "VBP",
"darker": "JJR",
"brotherly": "JJ",
"barbary": "JJ",
"abolish": "VB",
"predestined": "JJ",
"bullshit": "JJ",
"bombed": "JJ",
"disdained": "VBN",
"mocking": "JJ",
"fraudulent": "JJ",
"grows": "VBZ",
"evil": "JJ",
"tricolor": "JJ",
"destitute": "JJ",
"resume": "VB",
"succinct": "JJ",
"outdone": "VBN",
"reshaped": "VBN",
"reshapes": "VBZ",
"underrate": "VB",
"apprised": "VBN",
"maltreat": "VBP",
"classificatory": "JJ",
"salty": "JJ",
"condemn": "VB",
"trebled": "VBN",
"emancipated": "VBN",
"ungoverned": "JJ",
"functioning": "JJ",
"snotty": "JJ",
"manipulated": "VBN",
"re-enforces": "VBZ",
"behahn": "RB",
"fixed": "JJ",
"laddered": "JJ",
"reticent": "JJ",
"reassured": "VBN",
"shifty": "JJ",
"cratered": "VBN",
"marry": "VB",
"airconditioner": "JJR",
"terrify": "VB",
"midcontinent": "JJ",
"reared": "VBN",
"retained": "VBN",
"unmanned": "JJ",
"exhibited": "VBN",
"adduce": "VB",
"franked": "JJ",
"franker": "JJR",
"degassed": "VBN",
"nowadays": "RB",
"firsthand": "JJ",
"clog": "VB",
"post-tragedy": "RB",
"younguh": "JJR",
"adheres": "VBZ",
"adhered": "VBN",
"untreated": "JJ",
"riven": "VBN",
"tabby": "JJ",
"proclaim": "JJ",
"nibble": "VB",
"sacred": "JJ",
"futile": "JJ",
"offending": "JJ",
"unmcguanean": "JJ",
"approve": "VB",
"churns": "VBZ",
"nestled": "VBN",
"convicted": "VBN",
"silenced": "JJ",
"bitchy": "JJ",
"reinstalled": "VBN",
"folksy": "JJ",
"triple": "JJ",
"shorten": "VB",
"tells": "VBZ",
"x-includes": "VBZ",
"foments": "VBZ",
"unsatisfied": "JJ",
"imcomplete": "JJ",
"overbroad": "JJ",
"surprised": "JJ",
"worsening": "JJ",
"bedridden": "JJ",
"major": "JJ",
"repair": "JJ",
"recreate": "VB",
"sneaks": "VBZ",
"submit": "VB",
"behavioral": "JJ",
"discolored": "VBN",
"sunken": "JJ",
"invalid": "JJ",
"tart": "JJ",
"scrub": "VB",
"provided": "VBN",
"unpunctured": "JJ",
"bedeviled": "VBN",
"ago": "RB",
"furthest": "RB",
"reasoned": "JJ",
"scotch": "JJ",
"dainty": "JJ",
"oceanfront": "JJ",
"continued": "JJ",
"timely": "JJ",
"odd": "JJ",
"toughens": "VBZ",
"gathered": "VBN",
"octave": "JJ",
"gazes": "VBZ",
"great": "JJ",
"receive": "VB",
"overcommitted": "VBN",
"excludes": "VBZ",
"disobey": "VB",
"terrified": "JJ",
"extricate": "VB",
"duplicate": "JJ",
"subdued": "JJ",
"gladly": "JJ",
"this": "RB",
"thin": "JJ",
"overcooled": "JJ",
"reedy": "JJ",
"intramural": "JJ",
"hereinafter": "RB",
"weaken": "VB",
"singular": "JJ",
"buffeted": "JJ",
"produces": "VBZ",
"produced": "VBN",
"cracking": "JJ",
"silken": "JJ",
"popularized": "VBN",
"orphaned": "VBN",
"traced": "VBN",
"accompanies": "VBZ",
"sad": "JJ",
"saw": "VBD",
"sat": "VBD",
"overextended": "VBN",
"exacerbated": "VBN",
"snippy": "JJ",
"traversed": "VBN",
"alpine": "JJ",
"tied": "JJ",
"tempt": "VB",
"shun": "VBP",
"defining": "JJ",
"scary": "JJ",
"scare": "VB",
"equates": "VBZ",
"autographed": "JJ",
"imitate": "VB",
"travelled": "JJ",
"reproach": "VB",
"suburbanite": "JJ",
"rearmed": "JJ",
"fizzes": "VBZ",
"disciplined": "JJ",
"disband": "VB",
"aging": "JJ",
"viewed": "VBN",
"big": "JJ",
"embroiled": "JJ",
"noblesse": "JJ",
"better-known": "JJR",
"acquired": "JJ",
"u.s.-czech": "JJ",
"wounded": "JJ",
"terminate": "VB",
"centralized": "JJ",
"unconnected": "JJ",
"younger": "JJR",
"withstand": "VB",
"exerted": "VBN",
"unravel": "VB",
"harsher": "JJR",
"republican": "JJ",
"browbeat": "VB",
"developing": "JJ",
"more-volatile": "JJR",
"etc": "RB",
"puff": "JJ",
"unsanctioned": "JJ",
"powered": "VBN",
"crisscross": "VBP",
"freewheeling": "JJ",
"conserve": "VB",
"terrorist": "JJ",
"dilate": "VB",
"earthmoving": "JJ",
"nonsegregated": "JJ",
"increased": "JJ",
"pries": "VBZ",
"sinewy": "JJ",
"downside": "JJ",
"jalapeno": "JJ",
"does": "VBZ",
"blurry": "JJ",
"yuh": "PRP",
"slackjawed": "VBN",
"asks": "VBZ",
"courtly": "JJ",
"encamp": "VB",
"trigger": "VB",
"troubling": "JJ",
"be": "VB",
"fold": "VB",
"menstruation": "JJ",
"kowtow": "VB",
"gasconade": "VB",
"cosponsored": "VBN",
"abhor": "VB",
"iranian": "JJ",
"gobbles": "VBZ",
"furrowed": "JJ",
"scalar": "JJ",
"nondescript": "JJ",
"phoney": "JJ",
"shut": "VB",
"seven-thirty": "RB",
"deluged": "VBN",
"told": "VBN",
"unmotivated": "JJ",
"kindled": "VBN",
"walkin": "VBG",
"struck": "VBD",
"charred": "JJ",
"embarrass": "JJ",
"challenging": "JJ",
"worn": "JJ",
"resents": "VBZ",
"mammalian": "JJ",
"exhorts": "VBZ",
"hyphenated": "JJ",
"disappear": "VB",
"disappoint": "VB",
"will be": "CP",
"will": "MD",
"interlibrary": "JJ",
"wild": "JJ",
"shimmering": "JJ",
"foolhardy": "JJ",
"thickens": "VBZ",
"order": "RB",
"proportionate": "JJ",
"absorbed": "JJ",
"monetary": "JJ",
"stippled": "JJ",
"raising": "JJ",
"bolted": "VBN",
"doles": "VBZ",
"admits": "VBZ",
"undaunted": "JJ",
"australasian": "JJ",
"louse": "VB",
"palestinian": "JJ",
"comin": "VBG",
"hustle": "VB",
"provisioned": "VBN",
"rejected": "JJ",
"dissociated": "VBN",
"wrecks": "VBZ",
"rewrite": "VB",
"accompany": "VB",
"genuine": "JJ",
"overtook": "VBD",
"corded": "VBN",
"solidifies": "VBZ",
"knightly": "JJ",
"sewn": "VBN",
"elucidated": "VBN",
"so-far": "RB",
"sews": "VBZ",
"unsteady": "JJ",
"preferred": "JJ",
"humanist": "JJ",
"steal": "VB",
"observes": "VBZ",
"observed": "VBN",
"seeping": "JJ",
"mincing": "JJ",
"received": "JJ",
"ill": "JJ",
"receives": "VBZ",
"groans": "VBZ",
"wider": "JJR",
"speak": "VB",
"exhume": "VB",
"lahk": "IN",
"avoids": "VBZ",
"insulating": "JJ",
"impertinent": "JJ",
"dignify": "VB",
"supervisory": "JJ",
"photographed": "VBN",
"maye": "MD",
"nude": "JJ",
"lightheaded": "JJ",
"mennonite": "JJ",
"squander": "VB",
"mechanized": "JJ",
"dead": "JJ",
"wellrun": "JJ",
"czech": "JJ",
"foreknown": "VB",
"dovetails": "VBZ",
"fulfills": "VBZ",
"stronger": "JJR",
"spongy": "JJ",
"orate": "VB",
"dance": "JJ",
"desegregate": "VB",
"fabricated": "JJ",
"underworked": "JJ",
"present": "JJ",
"upriver": "RB",
"cochannel": "JJ",
"introjected": "VBN",
"governing": "JJ",
"legalized": "VBN",
"regret": "JJ",
"commensurate": "JJ",
"unescorted": "JJ",
"peeled": "VBN",
"lawmaking": "JJ",
"evenings": "RB",
"embarrassing": "JJ",
"sighted": "VBN",
"wept": "VBD",
"unflattering": "JJ",
"bowled": "VBN",
"vietnamese": "JJ",
"refine": "JJ",
"industrywide": "JJ",
"gaping": "JJ",
"superintend": "VB",
"southern": "JJ",
"novelized": "JJ",
"genteel": "JJ",
"appearin": "VBG",
"showered": "VBN",
"overreacted": "VBN",
"sugary": "JJ",
"reflects": "VBZ",
"virtuoso": "JJ",
"marine": "JJ",
"fonder": "JJR",
"ninth": "JJ",
"disable": "VB",
"mayst": "MD",
"there": "RB",
"angular": "JJ",
"corinthian": "JJ",
"hourly": "JJ",
"eliminates": "VBZ",
"disabuse": "VB",
"eliminated": "VBN",
"hurl": "VB",
"accessed": "VBN",
"invalidated": "VBN",
"recover": "JJ",
"online": "JJ",
"motivated": "JJ",
"accustoms": "VBZ",
"underserved": "JJ",
"threefold": "JJ",
"recharged": "VBN",
"pituitary": "JJ",
"whisked": "VBN",
"tranquil": "JJ",
"reputed": "JJ",
"fascinates": "VBZ",
"impromptu": "JJ",
"onetime": "JJ",
"cleave": "VB",
"binuclear": "JJ",
"skew": "VB",
"handicapped": "JJ",
"laggard": "JJ",
"absorbedthe": "VB",
"northward": "RB",
"officered": "VBN",
"angered": "VBN",
"investigated": "VBN",
"prefuh": "VB",
"bumpin": "VBG",
"investigates": "VBZ",
"belittle": "VBP",
"ribosomal": "JJ",
"refurbish": "VB",
"early": "JJ",
"nubile": "JJ",
"endorsed": "VBN",
"abetted": "VBN",
"premonitory": "JJ",
"strained": "JJ",
"inherent": "JJ",
"emasculate": "JJ",
"four-thirty": "RB",
"resuscitate": "VB",
"assumed": "VBN",
"unmodified": "JJ",
"drank": "VBD",
"assumes": "VBZ",
"reassume": "VB",
"happening": "JJ",
"unrecognized": "JJ",
"bamboozled": "VBN",
"unwelcome": "JJ",
"valid": "JJ",
"lay": "VBD",
"disbelieves": "VBZ",
"spruced": "VBN",
"relieve": "VB",
"casual": "JJ",
"said": "VB",
"partaker": "VB",
"partakes": "VBZ",
"outsells": "VBZ",
"cartesian": "JJ",
"iodinated": "VBN",
"countercultural": "JJ",
"transcend": "VBP",
"unjacketed": "JJ",
"interstate": "JJ",
"derived": "JJ",
"tries": "VBZ",
"derives": "VBZ",
"sweet": "JJ",
"grizzled": "JJ",
"preponderating": "JJ",
"chalked": "VBN",
"committed": "JJ",
"crossborder": "JJ",
"cardiovascular": "JJ",
"overexcited": "JJ",
"unheated": "JJ",
"disclosed": "VBN",
"tenfold": "RB",
"stiffen": "VB",
"pre-empted": "VBN",
"worried": "JJ",
"victorian": "JJ",
"lightens": "VBZ",
"decimal": "JJ",
"beyond": "RB",
"sustain": "VB",
"upon": "IN",
"ignore": "VB",
"litigate": "VB",
"diffused": "VBN",
"darwinian": "JJ",
"undergo": "VB",
"miss": "VB",
"inure": "VB",
"interwoven": "JJ",
"pinned": "VBN",
"bowed": "JJ",
"improved": "JJ",
"outgrown": "VBN",
"alongside": "RB",
"elemental": "JJ",
"lie": "JJ",
"empowered": "JJ",
"sordid": "JJ",
"lit": "JJ",
"aggravating": "JJ",
"sponsored": "VBN",
"clear": "JJ",
"nondoctrinaire": "JJ",
"lest": "IN",
"hyper": "JJ",
"surveyed": "VBN",
"grow": "VB",
"far-lower": "JJR",
"filled": "JJ",
"redefine": "VB",
"bakes": "VBZ",
"timeworn": "JJ",
"mega": "JJ",
"gaunt": "JJ",
"headed": "JJ",
"deemed": "VBN",
"reciprocate": "VB",
"coarse": "JJ",
"delights": "VBZ",
"compromised": "VBN",
"wrings": "VBZ",
"hobnob": "VB",
"while": "IN",
"uncompromising": "JJ",
"deworm": "VB",
"tendered": "JJ",
"declining": "JJ",
"boo": "VB",
"stashed": "VBN",
"appalled": "JJ",
"conjured": "VBN",
"fractionated": "VBN",
"translates": "VBZ",
"translated": "VBN",
"mauve": "JJ",
"urgent": "JJ",
"choose": "VB",
"foreclosed": "VBN",
"jazzy": "JJ",
"subtract": "VB",
"hinge": "VB",
"yemeni": "JJ",
"decertify": "VB",
"douse": "VB",
"governs": "VBZ",
"skulk": "VB",
"bewilders": "VBZ",
"elitist": "JJ",
"gushy": "JJ",
"spousal": "JJ",
"nap": "JJ",
"kills": "VBZ",
"nay": "RB",
"out-smart": "VB",
"resign": "VB",
"rested": "JJ",
"bleached": "JJ",
"tactile": "JJ",
"yes": "JJ",
"blobby": "JJ",
"wracked": "VBN",
"salaried": "JJ",
"fictionalized": "VBN",
"retold": "VBD",
"stoned": "VBN",
"ardent": "JJ",
"evokes": "VBZ",
"exacerbate": "VB",
"evoked": "VBN",
"prescribe": "VB",
"construct": "VB",
"danged": "VBN",
"subsidizes": "VBZ",
"snoop": "VB",
"subsidized": "JJ",
"varying": "JJ",
"pleated": "JJ",
"becomes": "VBZ",
"lacerate": "JJ",
"blindsided": "VBN",
"disrobe": "VB",
"becomed": "VBN",
"vesicular": "JJ",
"insufficient": "JJ",
"crazee": "JJ",
"crazed": "JJ",
"rove": "VB",
"craggy": "JJ",
"facilitated": "VBN",
"mentioned": "VBN",
"facilitates": "VBZ",
"stuggles": "VBZ",
"consensual": "JJ",
"puny": "JJ",
"unsurprised": "JJ",
"consigns": "VBZ",
"statist": "JJ",
"intruded": "VBN",
"draw": "VB",
"interplanetary": "JJ",
"intrudes": "VBZ",
"pedimented": "VBN",
"indisposed": "JJ",
"signify": "VB",
"animated": "JJ",
"jump-start": "VB",
"bears": "VBZ",
"swindled": "VBN",
"thwarted": "VBN",
"sings": "VBZ",
"pronouncing": "JJ",
"unsmiling": "JJ",
"dubs": "VBZ",
"forlorn": "JJ",
"emerging": "JJ",
"untimely": "JJ",
"employed": "JJ",
"dodge": "VBP",
"up-pp": "RP",
"italian": "JJ",
"contain": "VB",
"orphan": "JJ",
"ciliated": "JJ",
"reallocated": "VBN",
"pestered": "JJ",
"roil": "VB",
"tread": "VB",
"relax": "VB",
"adjourns": "VBZ",
"piqued": "VBN",
"reapportioned": "VBN",
"begat": "VBD",
"coastal": "JJ",
"reactionary": "JJ",
"trembles": "VBZ",
"discouraged": "JJ",
"steoreotyped": "JJ",
"draconian": "JJ",
"marauding": "JJ",
"germanized": "VBN",
"sputtering": "JJ",
"logged": "VBN",
"by": "IN",
"ample": "JJ",
"devised": "VBN",
"less-rigorous": "JJR",
"shed": "VB",
"redress": "VB",
"midwestern": "JJ",
"prohibited": "JJ",
"chancy": "JJ",
"co-authors": "VBZ",
"staked": "VBN",
"primal": "JJ",
"arrange": "VB",
"evacuate": "VB",
"uncurled": "JJ",
"sicilian": "JJ",
"cruel": "JJ",
"devise": "VB",
"scowls": "VBZ",
"palletized": "VBN",
"nigh": "JJ",
"scheming": "JJ",
"minuscule": "JJ",
"presente": "JJ",
"presents": "VBZ",
"saves": "VBZ",
"connects": "VBZ",
"warns": "VBZ",
"helluva": "JJ",
"saved": "VBN",
"untenanted": "JJ",
"maverick": "JJ",
"sometimes": "RB",
"carmelite": "JJ",
"expedited": "VBN",
"ornamental": "JJ",
"circumvent": "VB",
"overhear": "VB",
"overheat": "VB",
"barks": "VBZ",
"overhead": "JJ",
"name-drops": "VBZ",
"twirled": "JJ",
"composite": "JJ",
"laughs": "VBZ",
"honed": "VBN",
"involve": "VB",
"waldensian": "JJ",
"salivate": "VB",
"civil": "JJ",
"uninsured": "JJ",
"unfolds": "VBZ",
"eyewear": "JJ",
"fortify": "VB",
",": ",",
"cutting": "JJ",
"carve": "VB",
"leaner": "JJR",
"extract": "VB",
"hushed": "JJ",
"saggy": "JJ",
"shaggy": "JJ",
"starts": "VBZ",
"deems": "VBZ",
"curtails": "VBZ",
"peculiar": "JJ",
"congratulatory": "JJ",
"churn": "VB",
"dismantle": "VB",
"bye": "UH",
"clocked": "VBN",
"reprinted": "VBN",
"fungal": "JJ",
"retire": "VB",
"upfield": "RB",
"cripple": "VB",
"nodding": "JJ",
"unified": "JJ",
"illegitimate": "JJ",
"bam": "UH",
"unworthy": "JJ",
"emergent": "JJ",
"spattered": "VBN",
"mournfully": "JJ",
"inappropriate": "JJ",
"disprove": "VB",
"bronzed": "JJ",
"given": "JJ",
"exemplary": "JJ",
"threw": "VBD",
"aggrieved": "VBN",
"sly": "JJ",
"originate": "VB",
"redecorated": "VBN",
"vindicate": "VB",
"who": "WP",
"miswritten": "JJ",
"smokes": "VBZ",
"claims": "VBZ",
"smoked": "JJ",
"unfair": "JJ",
"nonchlorinated": "JJ",
"interior": "JJ",
"whichever": "WDT",
"natal": "JJ",
"fined": "VBN",
"revel": "VB",
"readmitted": "VBN",
"dense": "JJ",
"outspoken": "JJ",
"sift": "VB",
"impersonates": "VBZ",
"retired": "JJ",
"commie": "JJ",
"abstract": "JJ",
"impersonated": "VBN",
"commit": "VB",
"canny": "JJ",
"cascades": "VBZ",
"stay": "VB",
"effaces": "VBZ",
"mortgagebacked": "JJ",
"builds": "VBZ",
"diagnose": "VB",
"toss": "VB",
"oppose": "VB",
"tardy": "JJ",
"ba-a-a": "UH",
"stoke": "VB",
"themed": "VBN",
"hidebound": "JJ",
"polyunsaturated": "JJ",
"scribble": "VB",
"bordered": "JJ",
"sappy": "JJ",
"wore": "VBD",
"dim": "JJ",
"did": "VBD",
"die": "JJ",
"dig": "VB",
"dip": "VB",
"eclipse": "VB",
"takin": "VBG",
"monied": "JJ",
"signalizes": "VBZ",
"decipher": "VB",
"finer": "JJR",
"hither": "RB",
"careworn": "JJ",
"subverted": "VBN",
"ungainly": "JJ",
"sharper": "JJR",
"touched": "JJ",
"sharpen": "VB",
"unconfirmed": "JJ",
"cited": "VBN",
"downtown": "RB",
"sour": "JJ",
"ailing": "JJ",
"arrive": "VB",
"predict": "VBP",
"digital": "JJ",
"soft": "JJ",
"flat-out": "RB",
"gradual": "JJ",
"argues": "VBZ",
"main": "JJ",
"society-measured": "VBN",
"possess": "VBP",
"outweigh": "VBP",
"redraw": "VB",
"gird": "VB",
"giveth": "VBZ",
"living": "JJ",
"lak": "IN",
"fuller": "JJR",
"desultory": "JJ",
"unthreatening": "JJ",
"discharged": "JJ",
"slept": "VBD",
"daunt": "VB",
"blacklist": "VB",
"protected": "VBN",
"fluoresces": "VBZ",
"do": "VBP",
"mundane": "JJ",
"winding": "JJ",
"unheeding": "JJ",
"permeates": "VBZ",
"succumbed": "VBN",
"spirited": "JJ",
"satisfying": "JJ",
"gracefully": "JJ",
"disconcerting": "JJ",
"muni": "JJ",
"designated": "VBN",
"uninvolved": "JJ",
"designates": "VBZ",
"beseech": "VBP",
"median": "JJ",
"crushes": "VBZ",
"gratifying": "JJ",
"tacit": "JJ",
"signaled": "VBN",
"remake": "VB",
"stretched": "JJ",
"anyplace": "RB",
"unusual": "JJ",
"mars": "VBZ",
"second": "JJ",
"profiled": "VBN",
"different": "JJ",
"harsh": "JJ",
"skiddy": "JJ",
"scorned": "VBN",
"suffuse": "VB",
"adulterated": "JJ",
"tackles": "VBZ",
"implicate": "VB",
"amortizing": "JJ",
"spans": "VBZ",
"moderate": "JJ",
"shellshocked": "VBN",
"strangles": "VBZ",
"recraft": "VB",
"strangled": "VBN",
"arrested": "VBN",
"imitated": "VBN",
"heady": "JJ",
"imitates": "VBZ",
"gravid": "JJ",
"decode": "VB",
"chambered": "JJ",
"shortterm": "JJ",
"evaporate": "VB",
"retrained": "VBN",
"departs": "VBZ",
"unload": "VB",
"unsee": "VBN",
"weighty": "JJ",
"spectral": "JJ",
"undisrupted": "JJ",
"wants": "VBZ",
"straightforward": "JJ",
"subterranean": "JJ",
"veined": "JJ",
"dampen": "VB",
"unstilted": "JJ",
"hym": "PRP",
"hys": "PRP",
"nucleated": "VBN",
"ratchet": "VB",
"promising": "JJ",
"whole": "JJ",
"publishes": "VBZ",
"unconvinced": "JJ",
"published": "JJ",
"bused": "VBN",
"congratulated": "VBN",
"obstinate": "JJ",
"barbequed": "JJ",
"deplores": "VBZ",
"subminimum": "JJ",
"frilly": "JJ",
"inflationary": "JJ",
"bleak": "JJ",
"eats": "VBZ",
"re-enacted": "VBN",
"nonagricultural": "JJ",
"rounded": "JJ",
"oblique": "JJ",
"rounder": "JJR",
"lewdly": "JJ",
"detected": "JJ",
"scandalizing": "JJ",
"redistribute": "VB",
"neophyte": "JJ",
"grubby": "JJ",
"sprang": "VBD",
"bestirred": "VBN",
"exiled": "VBN",
"mental": "JJ",
"connect": "VB",
"simplify": "VB",
"squished": "VBN",
"commits": "VBZ",
"geared": "JJ",
"killin": "VBG",
"indulgent": "JJ",
"smoother": "JJR",
"bumble": "VB",
"excels": "VBZ",
"peaked": "JJ",
"quickwitted": "JJ",
"treated": "JJ",
"cometary": "JJ",
"unafraid": "JJ",
"fading": "JJ",
"built": "VBN",
"arab": "JJ",
"diphosphopyridine": "JJ",
"bustin": "VBG",
"prepackaged": "VBN",
"repels": "VBZ",
"fine": "JJ",
"find": "VB",
"relent": "JJ",
"dicate": "VBP",
"stumbling": "JJ",
"resolve": "JJ",
"overeat": "VBP",
"superseded": "VBN",
"supersedes": "VBZ",
"vindicated": "JJ",
"encapsulate": "VB",
"upgraded": "JJ",
"scairt": "VBN",
"denied": "VBN",
"raise": "VB",
"frets": "VBZ",
"solid": "JJ",
"confirming": "JJ",
"instead": "RB",
"seduce": "VB",
"supersede": "VB",
"dystopian": "JJ",
"forfeited": "VBN",
"alluring": "JJ",
"nowbankrupt": "JJ",
"ad": "RB",
"unite": "VB",
"profferred": "VBN",
"follows": "VBZ",
"miffed": "JJ",
"ai": "VBP",
"rheumatoid": "JJ",
"unilateralist": "JJ",
"pronounced": "VBN",
"affects": "VBZ",
"pronounces": "VBZ",
"tripping": "JJ",
"crass": "JJ",
"invading": "JJ",
"afflict": "VB",
"multilevel": "JJ",
"panglossian": "JJ",
"babylonian": "JJ",
"accidental": "JJ",
"lend": "VB",
"hansom": "JJ",
"liberating": "JJ",
"downcast": "JJ",
"enjoined": "VBN",
"fatal": "JJ",
"bleeding": "RB",
"bode": "VB",
"extreme": "JJ",
"dastardly": "JJ",
"former": "JJ",
"limp": "JJ",
"harrowing": "JJ",
"collonaded": "VBN",
"upheld": "VBD",
"uh-uh": "UH",
"impeded": "JJ",
"immoderate": "JJ",
"boned": "JJ",
"employs": "VBZ",
"reeking": "JJ",
"watery": "JJ",
"forswore": "VBD",
"furnish": "VB",
"unforethought": "JJ",
"noncommittal": "JJ",
"mention": "VB",
"estranged": "JJ",
"identified": "VBN",
"identifies": "VBZ",
"uninteresting": "JJ",
"thereupon": "RB",
"predominate": "VBP",
"instill": "VB",
"dehumidified": "VBN",
"reserved": "JJ",
"reaffirm": "VB",
"pay": "VB",
"dictate": "VB",
"curved": "JJ",
"preliminary": "JJ",
"rural": "JJ",
"starched": "VBN",
"quilted": "JJ",
"downbeat": "JJ",
"rebuke": "JJ",
"afferent": "JJ",
"restyled": "VBN",
"overgrown": "JJ",
"unauthorized": "JJ",
"bright": "JJ",
"exists": "VBZ",
"abstruse": "JJ",
"hottest-selling": "JJS",
"progress": "JJ",
"contaminated": "JJ",
"upcountry": "JJ",
"neutralized": "VBN",
"stentorian": "JJ",
"copied": "VBN",
"censor": "VBP",
"ridden": "VBN",
"homey": "JJ",
"crooked": "JJ",
"produce": "VB",
"dismal": "JJ",
"neutralizes": "VBZ",
"twelfth": "JJ",
"caters": "VBZ",
"fucken": "JJ",
"shamed": "VBN",
"insure": "VB",
"peacefully": "JJ",
"conjugated": "JJ",
"scrimp": "VB",
"rumpled": "JJ",
"epoxy": "JJ",
"awash": "JJ",
"convey": "VB",
"convex": "JJ",
"bifurcated": "JJ",
"buttoned": "VBN",
"noisy": "JJ",
"discard": "VB",
"perspiring": "JJ",
"adolescent": "JJ",
"earsplitting": "JJ",
"plague": "JJ",
"durn": "JJ",
"supreme": "JJ",
"pin": "VB",
"pip": "UH",
"motored": "JJ",
"that-a-way": "RB",
"private": "JJ",
"vehement": "JJ",
"whereever": "WRB",
"patched": "JJ",
"excused": "JJ",
"regrets": "VBZ",
"verie": "RB",
"flashy": "JJ",
"shockproof": "JJ",
"louder": "JJR",
"bronchiolar": "JJ",
"outpace": "VB",
"mistake": "JJ",
"petty": "JJ",
"perpetuated": "VBN",
"tend": "VBP",
"perpetuates": "VBZ",
"preserved": "JJ",
"phony": "JJ",
"daft": "JJ",
"pokes": "VBZ",
"pokey": "JJ",
"acknowledged": "JJ",
"unpunished": "JJ",
"deepens": "VBZ",
"salvadoran": "JJ",
"sprout": "VBP",
"over": "JJ",
"sickle": "JJ",
"sickly": "JJ",
"executes": "VBZ",
"outsized": "JJ",
"destroyed": "JJ",
"compensatory": "JJ",
"armenian": "JJ",
"however": "RB",
"antithyroid": "JJ",
"stinking": "JJ",
"prohibit": "JJ",
"independent": "JJ",
"stern-to": "RB",
"hanged": "VBN",
"clothe": "VB",
"ammoniac": "JJ",
"re-creates": "VBZ",
"recite": "VB",
"acidified": "VBN",
"re-acquire": "VB",
"classed": "VBN",
"strung": "VBN",
"ran": "VBD",
"ram": "VB",
"raw": "JJ",
"degenerates": "VBZ",
"glimpsed": "VBN",
"contacted": "VBN",
"thereby": "RB",
"whiteface": "JJ",
"reconstruct": "VB",
"pummel": "VB",
"upturned": "JJ",
"devout": "JJ",
"ventricular": "JJ",
"unheeded": "JJ",
"suggest": "VB",
"vexed": "JJ",
"reconstructs": "VBZ",
"vexes": "VBZ",
"hmong": "JJ",
"aback": "RB",
"fleeting": "JJ",
"evidenced": "VBN",
"unelected": "JJ",
"thousandth": "JJ",
"penultimate": "JJ",
"brewed": "VBN",
"mentions": "VBZ",
"uncoached": "JJ",
"furry": "JJ",
"explanatory": "JJ",
"rubicund": "JJ",
"willowy": "JJ",
"advertise": "VB",
"perfected": "VBN",
"hi": "UH",
"ho": "UH",
"homewards": "RB",
"curry": "VB",
"shaken": "VBN",
"unresolved": "JJ",
"abysmal": "JJ",
"removes": "VBZ",
"outfox": "VB",
"sustained": "JJ",
"fired": "JJ",
"muster": "VB",
"higher-salaried": "JJR",
"starchy": "JJ",
"trim": "JJ",
"boodleoo": "UH",
"constructed": "JJ",
"tie": "VB",
"portends": "VBZ",
"grisly": "JJ",
"premeditated": "JJ",
"unimpeded": "JJ",
"standard": "JJ",
"headquarter": "JJ",
"firmwide": "RB",
"registered": "JJ",
"sucks": "VB",
"stands": "VBZ",
"unripe": "JJ",
"alkaline": "JJ",
"gauged": "VBN",
"avenging": "JJ",
"bygone": "JJ",
"grounded": "JJ",
"mimicked": "VBN",
"unbidden": "JJ",
"swallowed": "VBN",
"unsheathe": "VB",
"smeared": "VBN",
"smudged": "JJ",
"mainline": "JJ",
"drown": "VB",
"nonunion": "JJ",
"secured": "JJ",
"unwire": "VB",
"unappreciated": "JJ",
"floral": "JJ",
"amuse": "VB",
"needy": "JJ",
"swank": "JJ",
"moving": "JJ",
"save": "VB",
"extrapolate": "VB",
"maneuver": "JJ",
"hobble": "VB",
"eject": "VB",
"retreating": "JJ",
"gusty": "JJ",
"suspend": "VB",
"undercapitalized": "JJ",
"fetches": "VBZ",
"molded": "VBN",
"haggle": "VB",
"senior": "JJ",
"supraventricular": "JJ",
"diverge": "VB",
"woos": "VBZ",
"continuing": "JJ",
"dreaded": "JJ",
"reoffered": "VBN",
"baroque": "JJ",
"braver": "JJR",
"fainter": "JJR",
"inhibitory": "JJ",
"rebuilds": "VBZ",
"multiplied": "VBN",
"multiplies": "VBZ",
"recentralized": "VBN",
"hereunto": "RB",
"destabilizes": "VBZ",
"herculean": "JJ",
"raring": "JJ",
"followup": "JJ",
"reimburse": "VB",
"implored": "VBN",
"rhymes": "VBZ",
"refractory": "JJ",
"contend": "VBP",
"dissident": "JJ",
"amomng": "JJ",
"supra": "RB",
"distilled": "VBN",
"barefoot": "RB",
"driven": "JJ",
"disloyal": "JJ",
"sampled": "VBN",
"embezzled": "JJ",
"replaced": "VBN",
"divested": "VBN",
"oddly": "JJ",
"deduce": "VB",
"intact": "JJ",
"renounce": "JJ",
"stops": "VBZ",
"unfunded": "JJ",
"severed": "VBN",
"later": "JJ",
"convincing": "JJ",
"prevented": "VBN",
"feudal": "JJ",
"thereabouts": "RB",
"deteriorating": "JJ",
"caraway": "JJ",
"sleazy": "JJ",
"russet": "JJ",
"frighten": "VB",
"slosh": "VB",
"nuf": "RB",
"redial": "VB",
"stalwart": "JJ",
"separate": "JJ",
"refinanced": "VBN",
"lack": "JJ",
"lacy": "JJ",
"defuse": "VB",
"far": "JJ",
"perseveres": "VBZ",
"shipboard": "JJ",
"align": "VB",
"fabricates": "VBZ",
"over-emphasized": "VBN",
"imported": "JJ",
"scowling": "JJ",
"whitecollar": "JJ",
"miniature": "JJ",
"spaceborn": "JJ",
"pervades": "VBZ",
"branded": "JJ",
"waxen": "JJ",
"crested": "JJ",
"confronted": "VBN",
"univalent": "JJ",
"protects": "VBZ",
"meditate": "VB",
"wither": "VB",
"shippin": "VB",
"retrofitted": "VBN",
"retaliate": "VB",
"microsomal": "JJ",
"gauges": "VBZ",
"eludes": "VBZ",
"dithers": "VBZ",
"conformist": "JJ",
"accumulate": "VB",
"subtler": "JJR",
"refresh": "JJ",
"succulent": "JJ",
"used": "JJ",
"inflict": "VB",
"lag": "VB",
"cremated": "VBN",
"booming": "JJ",
"brave": "JJ",
"passed": "VBN",
"penetrates": "VBZ",
"treasured": "JJ",
"relieved": "JJ",
"rawboned": "JJ",
"relieves": "VBZ",
"fence-sit": "VB",
"whiskered": "JJ",
"gilt": "JJ",
"perpetrate": "VB",
"sandwiched": "VBN",
"buff": "JJ",
"wheedled": "VBN",
"reach": "VB",
"miserly": "JJ",
"coincides": "VBZ",
"rationalized": "JJ",
"reassembled": "VBN",
"laments": "VBZ",
"unopposed": "JJ",
"hip": "JJ",
"hir": "PRP",
"longest": "RB",
"commiserate": "VB",
"joint": "JJ",
"outstrips": "VBZ",
"yassuhs": "UH",
"bare": "JJ",
"compacted": "JJ",
"learns": "VBZ",
"glistening": "JJ",
"rapid": "JJ",
"african": "JJ",
"japanese": "JJ",
"became": "VBD",
"unleveled": "VBN",
"whoe": "WP",
"stolen": "JJ",
"succeeding": "JJ",
"wireline": "JJ",
"underperformed": "VBN",
"lodged": "VBN",
"cite": "VBP",
"openended": "VBN",
"predigested": "VBN",
"twofold": "JJ",
"itchy": "JJ",
"negotiate": "VB",
"refute": "JJ",
"edgy": "JJ",
"unnourished": "JJ",
"dares": "VBZ",
"tamer": "JJR",
"unscheduled": "JJ",
"grazin": "VBG",
"unnoticed": "JJ",
"intraday": "JJ",
"amidst": "IN",
"fuzzy": "JJ",
"maoist": "JJ",
"unsealed": "JJ",
"worthwhile": "JJ",
"forestalled": "VBN",
"grouped": "VBN",
"ornamented": "VBN",
"mammoth": "JJ",
"liquefy": "VB",
"commanding": "JJ",
"systemwide": "JJ",
"engineered": "VBN",
"headlined": "VBN",
"dealt": "VBN",
"neanderthal": "JJ",
"narcotizes": "VBZ",
"reinsure": "VB",
"surefire": "JJ",
"noncontract": "JJ",
"end-tailed": "VBN",
"scrapped": "VBN",
"oversold": "VBN",
"u.s.-korean": "JJ",
"gossiped": "VBN",
"forbid": "VB",
"chipped": "VBN",
"threatening": "JJ",
"subsidary": "JJ",
"scaled": "VBN",
"adsorbs": "VBZ",
"shoves": "VBZ",
"grassy": "JJ",
"inclined": "JJ",
"entwined": "VBN",
"restaged": "VBN",
"extralegal": "JJ",
"abort": "VB",
"merged": "VBN",
"northern": "JJ",
"rapt": "JJ",
"undersized": "JJ",
"exemplify": "VBP",
"interrupted": "JJ",
"sculptured": "JJ",
"outsold": "VBD",
"complicate": "VB",
"choosy": "JJ",
"owe": "VBP",
"covered": "JJ",
"pending": "JJ",
"flout": "VB",
"lionized": "VBN",
"mollified": "VBN",
"decommissioned": "VBN",
"unavailing": "JJ",
"u.s.-built": "JJ",
"effloresce": "VB",
"unabated": "JJ",
"impart": "VB",
"sunbaked": "JJ",
"yore": "PRP",
"conscripted": "VBN",
"reweave": "VB",
"salient": "JJ",
"galled": "VBN",
"tootles": "VBZ",
"earthshaking": "JJ",
"doomed": "JJ",
"powdered": "JJ",
"simulate": "VB",
"frugal": "JJ",
"supplanted": "VBN",
"kiss": "JJ",
"siphon": "VB",
"delve": "VB",
"high": "JJ",
"intragovernment": "JJ",
"b-as": "IN",
"superimposed": "JJ",
"painted": "JJ",
"unpublished": "JJ",
"re-echo": "VB",
"sues": "VBZ",
"gosh": "UH",
"truer": "JJR",
"turbulent": "JJ",
"superb": "JJ",
"shunted": "VBN",
"neonatal": "JJ",
"spoil": "VB",
"clogged": "JJ",
"demurs": "VBZ",
"torments": "VBZ",
"intimidates": "VBZ",
"uncanny": "JJ",
"wily": "JJ",
"wilt": "MD",
"unaccommodating": "JJ",
"riche": "JJ",
"lobular": "JJ",
"privileged": "JJ",
"premiere": "JJ",
"marketwide": "JJ",
"proprietory": "JJ",
"looked": "CP",
"unpacked": "JJ",
"schmalma": "UH",
"miniscule": "JJ",
"ahem": "UH",
"repressed": "JJ",
"faithfully": "JJ",
"darkhaired": "JJ",
"lead": "JJ",
"lean": "JJ",
"locate": "VB",
"all-in-all": "RB",
"murdered": "VBN",
"tempered": "JJ",
"corneal": "JJ",
"goddamn": "JJ",
"insipid": "JJ",
"recede": "VBP",
"domesticates": "VBZ",
"ususal": "JJ",
"more-or-less": "RB",
"honorary": "JJ",
"withstood": "VBD",
"junk": "JJ",
"dollarette": "JJ",
"rotting": "JJ",
"northerly": "JJ",
"hardboiled": "JJ",
"scold": "VB",
"halfways": "RB",
"citrus": "JJ",
"broiled": "VBN",
"sooty": "JJ",
"tiered": "JJ",
"hallucinating": "JJ",
"nawt": "RB",
"farther": "JJR",
"lengthen": "VB",
"forbore": "VBD",
"laodicean": "JJ",
"therefore": "RB",
"primeval": "JJ",
"unpack": "VB",
"unreconstructed": "JJ",
"lo": "UH",
"sickening": "JJ",
"partnered": "VBN",
"rewarded": "VBN",
"secede": "VB",
"undeveloped": "JJ",
"glutted": "JJ",
"authenticated": "VBN",
"outgeneraled": "VBN",
"allay": "VB",
"touts": "VBZ",
"zap": "VB",
"reintroduces": "VBZ",
"arousal": "JJ",
"missionary": "JJ",
"concedes": "VBZ",
"vexing": "JJ",
"scream": "VB",
"zanzibar": "JJ",
"curly": "JJ",
"pioneering": "JJ",
"housewarming": "JJ",
"clarified": "VBN",
"overexercised": "VBN",
"mass-produce": "VB",
"clarifies": "VBZ",
"deadpan": "JJ",
"sinhalese": "JJ",
"croakin": "VBG",
"advanced": "JJ",
"unseemly": "JJ",
"flathead": "JJ",
"veer": "VB",
"eradicate": "VB",
"blonde": "JJ",
"relearns": "VBZ",
"participatory": "JJ",
"ugly": "JJ",
"employ": "VB",
"womanly": "JJ",
"split": "VBN",
"boiled": "VBN",
"outlived": "VBN",
"portrayed": "VBN",
"beloved": "JJ",
"otherworldly": "JJ",
"unprotected": "JJ",
"clustered": "JJ",
"retake": "VB",
"begin": "VB",
"between": "RB",
"plucked": "JJ",
"alligatored": "VBN",
"disdains": "VBZ",
"browse": "VB",
"stoked": "VBN",
"oversaw": "VBD",
"beinge": "VBG",
"administer": "VB",
"tame": "JJ",
"tamp": "VB",
"nonvoting": "JJ",
"safeguard": "VB",
"eventual": "JJ",
"comely": "JJ",
"intent": "JJ",
"rephrased": "VBN",
"filing": "JJ",
"overturned": "VBN",
"osf": "IN",
"timbered": "JJ",
"stays": "VBZ",
"tap": "VB",
"tan": "JJ",
"accomplishes": "VBZ",
"dusty": "JJ",
"accomplished": "JJ",
"shattered": "JJ",
"enough": "JJ",
"doubled": "JJ",
"unraveled": "VBN",
"admired": "JJ",
"mirrors": "VBZ",
"incremental": "JJ",
"admires": "VBZ",
"bore": "VBD",
"slams": "VBZ",
"temperate": "JJ",
"encouraged": "VBN",
"yeard": "VBN",
"civilian": "JJ",
"secularized": "VBN",
"u.s.backed": "JJ",
"materializes": "VBZ",
"retrieve": "VB",
"interned": "VBN",
"paroxysmal": "JJ",
"typed": "VBN",
"complicates": "VBZ",
"complicated": "JJ",
"initiate": "VB",
"aboard": "RB",
"saving": "JJ",
"stifles": "VBZ",
"oversimplified": "VBN",
"decommissoned": "JJ",
"plugugly": "JJ",
"nonsocialist": "JJ",
"unfit": "JJ",
"brews": "VBZ",
"intends": "VBZ",
"half": "JJ",
"printed": "JJ",
"redirected": "VBN",
"fascinated": "JJ",
"infuriate": "VB",
"fecal": "JJ",
"betrothal": "JJ",
"hindmost": "JJ",
"guarded": "JJ",
"multifiber": "JJR",
"morose": "JJ",
"intoxicating": "JJ",
"alarming": "JJ",
"refreshed": "JJ",
"concentrated": "JJ",
"concentrates": "VBZ",
"unsettling": "JJ",
"compels": "VBZ",
"radicalized": "VBN",
"stripped": "JJ",
"berber": "JJ",
"combatted": "VBN",
"formed": "VBN",
"geothermal": "JJ",
"runnin": "VBG",
"straighter": "JJR",
"u.s.-led": "JJ",
"reviled": "VBN",
"obtuse": "JJ",
"electrogalvanized": "JJ",
"eliminate": "JJ",
"debilitating": "JJ",
"deft": "JJ",
"defy": "VB",
"utl": "JJ",
"wired": "JJ",
"steamed": "JJ",
"recycles": "VBZ",
"disconcert": "VB",
"uncap": "VB",
"overthrow": "JJ",
"militate": "VB",
"goosey": "JJ",
"unshielded": "VBN",
"demeaning": "JJ",
"divine": "JJ",
"retains": "VBZ",
"puzzled": "JJ",
"shapely": "JJ",
"no": "JJ",
"lacquered": "VBN",
"rumbles": "VBZ",
"worsted": "JJ",
"dyed": "VBN",
"landlocked": "JJ",
"checkin": "VBG",
"healed": "JJ",
"past": "JJ",
"quicken": "JJ",
"corked": "JJ",
"a-includes": "VBZ",
"literary": "JJ",
"enliven": "VBP",
"tested": "JJ",
"nonviolent": "JJ",
"centrifugal": "JJ",
"enlargd": "VBN",
"enlarge": "VB",
"sprinkle": "VB",
"mended": "VBN",
"overcooked": "VBN",
"replies": "VBZ",
"revalued": "VBN",
"focussed": "VBN",
"unstated": "JJ",
"dull": "JJ",
"brunette": "JJ",
"denotes": "VBZ",
"denoted": "VBN",
"multihulled": "VBN",
"purport": "VBP",
"hallowed": "JJ",
"cradled": "VBN",
"surrealist": "JJ",
"waft": "VB",
"also": "RB",
"departmental": "JJ",
"balkanized": "JJ",
"barren": "JJ",
"haw": "UH",
"bulgarian": "JJ",
"sunny": "JJ",
"devoured": "VBN",
"adapts": "VBZ",
"overboard": "RB",
"unrealized": "JJ",
"agreed": "JJ",
"hostile": "JJ",
"untouched": "JJ",
"door-fronted": "VBN",
"lash": "VB",
"aforethought": "JJ",
"patrolled": "VBN",
"infect": "VB",
"caged": "VBN",
"cagey": "JJ",
"waivered": "VBN",
"disgusted": "JJ",
"eventshah-leh": "RB",
"flooded": "VBN",
"unimpressed": "JJ",
"crackles": "VBZ",
"abound": "VBP",
"obscures": "VBZ",
"obscured": "VBN",
"deserved": "JJ",
"epochal": "JJ",
"wrinkled": "JJ",
"harnessed": "VBN",
"nonrecourse": "JJ",
"inhumane": "JJ",
"unsafe": "JJ",
"char": "VB",
"diverse": "JJ",
"hove": "VBD",
"arthurian": "JJ",
"gawdamighty": "UH",
"electroplated": "VBN",
"toted": "VBN",
"broaden": "VB",
"amiss": "RB",
"quadruples": "VBZ",
"quadrupled": "VBN",
"whooping": "JJ",
"damning": "JJ",
"croon": "VB",
"thatt": "IN",
"suspected": "JJ",
"lock": "VB",
"nears": "VBZ",
"uncompensated": "JJ",
"procured": "VBN",
"bilingual": "JJ",
"pales": "VBZ",
"realized": "JJ",
"regains": "VBZ",
"realizes": "VBZ",
"presuppose": "VBP",
"good-by": "UH",
"holds": "VBZ",
"mute": "JJ",
"directs": "VBZ",
"varies": "VBZ",
"hungry": "JJ",
"blown-up": "VBN",
"bump": "VB",
"bicameral": "JJ",
"unprepared": "JJ",
"chilly": "JJ",
"manufactured": "JJ",
"untested": "JJ",
"starker": "JJR",
"backdoor": "JJ",
"burglarized": "VBN",
"pressurized": "VBN",
"u.s.-supplied": "JJ",
"seethes": "VBZ",
"ponders": "VBZ",
"prevayle": "VB",
"uncalled": "JJ",
"worldwide": "JJ",
"bleaker": "JJR",
"woolly": "JJ",
"wynne": "VB",
"lower-middle": "JJR",
"exude": "VBP",
"insulting": "JJ",
"thermonuclear": "JJ",
"faces": "VBZ",
"undergraduate": "JJ",
"rougher": "JJR",
">": "SYM",
"bioequivalent": "JJ",
"agonizes": "VBZ",
"adequate": "JJ",
"joking": "JJ",
"diversify": "VB",
"audio": "JJ",
"wee": "JJ",
"undulating": "JJ",
"nipponese": "JJ",
"tick": "VB",
"undid": "VBD",
"immortal": "JJ",
"scatters": "VBZ",
"contested": "JJ",
"recurring": "JJ",
"e-estimated": "VBN",
"pressure": "JJ",
"wields": "VBZ",
"outshines": "VBZ",
"indoctrinated": "VBN",
"nation-wide": "RB",
"placed": "VBN",
"reciprocates": "VBZ",
"effected": "VBN",
"compares": "VBZ",
"c-excludes": "VB",
"rekindle": "VB",
"manhandled": "VBN",
"sexualized": "JJ",
"military": "JJ",
"exaggerate": "VB",
"harrowed": "VBN",
"unfelt": "JJ",
"personifies": "VBZ",
"multifamily": "JJ",
"residual": "JJ",
"redeploy": "VB",
"personified": "VBN",
"postponed": "VBN",
"cloistered": "JJ",
"plot": "JJ",
"plod": "VB",
"bundled": "VBN",
"wavy": "JJ",
"separates": "VBZ",
"flunk": "VBP",
"flung": "VBD",
"impair": "VB",
"indicates": "VBZ",
"vehicular": "JJ",
"recovers": "VBZ",
"co-wrote": "VBD",
"complacent": "JJ",
"alienate": "VB",
"appreciate": "VB",
"rogue": "JJ",
"argentinian": "JJ",
"safe": "JJ",
"lifelong": "JJ",
"dingy": "JJ",
"engrave": "VB",
"ahah": "UH",
"dashing": "JJ",
"disembark": "VBP",
"wasted": "JJ",
"policymaking": "JJ",
"askance": "RB",
"off-shore": "RB",
"germane": "JJ",
"culminates": "VBZ",
"assessed": "VBN",
"grave": "JJ",
"topple": "VB",
"conjures": "VBZ",
"disturbs": "VBZ",
"papillary": "JJ",
"intergovernmental": "JJ",
"panned": "VBN",
"gutsy": "JJ",
"rotated": "VBN",
"overrule": "VB",
"scrubbed": "VBN",
"optimum": "JJ",
"bracing": "JJ",
"arcane": "JJ",
"shaped": "VBN",
"fermentation": "JJ",
"disappears": "VBZ",
"unchangedat": "JJ",
"katangan": "JJ",
"innoculated": "VBN",
"attacked": "VBN",
"collects": "VBZ",
"cont": "VBN",
"synce": "IN",
"tramples": "VBZ",
"taxing": "JJ",
"shout": "VB",
"unmolested": "JJ",
"unfounded": "JJ",
"cooler": "JJR",
"homing": "JJ",
"flatter": "JJR",
"flatten": "VB",
"confusing": "JJ",
"congratulate": "VBP",
"matriculate": "VB",
"booby": "JJ",
"peel": "VB",
"peed": "VBN",
"procure": "VB",
"gram": "JJ",
"asserts": "VBZ",
"grab": "VB",
"breaded": "VBN",
"shared": "JJ",
"negroid": "JJ",
"stumble": "VB",
"connote": "VB",
"romanesque": "JJ",
"maximum": "JJ",
"commences": "VBZ",
"falls": "VBZ",
"competent": "JJ",
"update": "VB",
"visualizes": "VBZ",
"dissatisfied": "JJ",
"unformed": "JJ",
"evades": "VBZ",
"agitate": "VBP",
"pretax": "JJ",
"thicker": "JJR",
"housebroken": "JJ",
"losing": "JJ",
"most-actives": "JJS",
"decked": "VBN",
"occur": "VB",
"ornery": "JJ",
"affirms": "VBZ",
"a.k.a": "JJ",
"factual": "JJ",
"unplanned": "JJ",
"agricultural": "JJ",
"unloaded": "JJ",
"consummated": "JJ",
"legal": "JJ",
"wrap": "VB",
"expected": "JJ",
"tried": "JJ",
"parceled": "VBN",
"blind": "JJ",
"blink": "VB",
"authorized": "JJ",
"appreciates": "VBZ",
"repossess": "VB",
"appreciated": "VBN",
"underwritten": "VBN",
"recruit": "VB",
"impinge": "VB",
"profuse": "JJ",
"approves": "VBZ",
"approved": "JJ",
"neatly": "JJ",
"steady": "JJ",
"discovered": "VBN",
"worse": "JJ",
"staid": "JJ",
"worst": "JJ",
"shrill": "JJ",
"charcoaled": "VBN",
"suspects": "VBZ",
"glaze": "VB",
"rollicking": "JJ",
"overcerebral": "JJ",
"orchestrate": "VB",
"moans": "VBZ",
"resides": "VBZ",
"interested": "JJ",
"impugn": "VB",
"stimulating": "JJ",
"aground": "RB",
"alleviate": "VB",
"uninjured": "JJ",
"might": "JJ",
"renewed": "JJ",
"swim": "VB",
"stunk": "VBD",
"onscreen": "RB",
"gonne": "VBN",
"gonna": "VBG",
"ramshackle": "JJ",
"semiannual": "JJ",
"sadder": "JJR",
"conceals": "VBZ",
"stare": "VB",
"shags": "VBZ",
"stark": "JJ",
"evens": "VBZ",
"appraising": "JJ",
"trample": "VB",
"nations": "NNPS",
"dabble": "VB",
"prying": "JJ",
"pledged": "JJ",
"uncollaborated": "JJ",
"resounding": "JJ",
"begot": "VBD",
"antagonised": "VBN",
"throbbing": "JJ",
"enjoin": "VB",
"befriends": "VBZ",
"envisions": "VBZ",
"gridlocked": "VBN",
"tracks": "VBZ",
"inflected": "JJ",
"implanted": "VBN",
"afterwards": "RB",
"rejuvenate": "VB",
"shrouds": "VBZ",
"horizontal": "JJ",
"misnamed": "VBN",
"thermal": "JJ",
"tumbles": "VBZ",
"siberian": "JJ",
"predatory": "JJ",
"exasperated": "JJ",
"deride": "VBP",
"nonvirulent": "JJ",
"splattered": "VBN",
"testify": "VB",
"counterrevolutionary": "JJ",
"favored": "JJ",
"unsightly": "JJ",
"brightest": "RB",
"incubated": "VBN",
"warty": "JJ",
"seafaring": "JJ",
"gret": "JJ",
"grey": "JJ",
"null": "JJ",
"aired": "VBN",
"hires": "VBZ",
"multilingual": "JJ",
"reawaken": "VB",
"raving": "JJ",
"bedfast": "JJ",
"unwed": "JJ",
"naively": "JJ",
"velvety": "JJ",
"distressing": "JJ",
"stored": "VBN",
"pictured": "VBN",
"forgotten": "JJ",
"wifely": "JJ",
"pick": "VB",
"intriguing": "JJ",
"pack": "VB",
"costly": "JJ",
"superfast": "JJ",
"multisided": "JJ",
"shivering": "JJ",
"disseminate": "VB",
"brushed": "JJ",
"keynesian": "JJ",
"equipotent": "JJ",
"looks": "CP",
"alpha": "JJ",
"done-and": "CC",
"woodward": "RB",
"surmise": "VB",
"goddamit": "UH",
"crippling": "JJ",
"amazonian": "JJ",
"underrated": "JJ",
"imprecise": "JJ",
"rekindled": "VBN",
"friendly": "JJ",
"rattling": "JJ",
"compassionate": "JJ",
"magnificent": "JJ",
"redone": "JJ",
"blanched": "VBN",
"enterprising": "JJ",
"convert": "VB",
"comminge": "VBG",
"soapy": "JJ",
"infest": "VB",
"traditionalized": "VBN",
"charming": "JJ",
"appointed": "JJ",
"wearin": "VBG",
"postmarked": "VBN",
"ensconced": "VBN",
"transmitted": "VBN",
"despairs": "VBZ",
"asinine": "JJ",
"unseated": "JJ",
"fare": "VBP",
"temporal": "JJ",
"instrumented": "JJ",
"stout": "JJ",
"respond": "VB",
"miniwelfare": "JJ",
"spoon-feed": "VB",
"overcharged": "VBN",
"chided": "VBN",
"random": "JJ",
"vacuolated": "VBN",
"refight": "VB",
"maximizes": "VBZ",
"re-emphasise": "VB",
"galling": "JJ",
"inasmuch": "RB",
"submitted": "VBN",
"other": "JJ",
"imperilled": "VBN",
"counterbalance": "VB",
"corrects": "VBZ",
"astonishing": "JJ",
"constrain": "VB",
"underpins": "VBZ",
"achieve": "VB",
"nevermind": "VB",
"failed": "JJ",
"slimed": "VBN",
"shrouded": "JJ",
"operates": "VBZ",
"operated": "VBN",
"unshaved": "JJ",
"merry": "JJ",
"unfired": "VBN",
"formosan": "JJ",
"revitalized": "VBN",
"scabbed": "VBN",
"constitutes": "VBZ",
"impress": "VB",
"ratiocinating": "JJ",
"tweezed": "VBN",
"abounds": "VBZ",
"non-god": "UH",
"drowns": "VBZ",
"pin-pointed": "VBN",
"necessary": "JJ",
"lost": "JJ",
"tipple": "VBP",
"lose": "JJ",
"mayan": "JJ",
"home": "JJ",
"pinpoint": "VB",
"octogenarian": "JJ",
"hurls": "VBZ",
"greening": "JJ",
"fettered": "VBN",
"multivalve": "JJ",
"triangular": "JJ",
"universal": "JJ",
"began": "VBD",
"discorporated": "VBN",
"forgone": "JJ",
"whoops": "JJ",
"knelt": "VBD",
"perverted": "JJ",
"subordinate": "JJ",
"upward": "JJ",
"snared": "VBN",
"either": "RB",
"tertiary": "JJ",
"highfalutin": "JJ",
"ostracized": "VBN",
"whereas": "IN",
"isothermal": "JJ",
"adventurist": "JJ",
"colde": "MD",
"vibratory": "JJ",
"operate": "VB",
"wus": "RB",
"unnamed": "JJ",
"ordinary": "JJ",
"wuh": "VBP",
"before": "RB",
"runny": "JJ",
"downright": "JJ",
"untrustworthy": "JJ",
"redressed": "VBN",
"lurks": "VBZ",
"punctuated": "VBN",
"chinked": "VBN",
"foreclose": "VB",
"digs": "VBZ",
"requisite": "JJ",
"unscented": "VBN",
"evaporates": "VBZ",
"reassert": "VB",
"floodlit": "JJ",
"overloud": "JJ",
"breathes": "VBZ",
"unadjusted": "JJ",
"annoyed": "JJ",
"flatulent": "JJ",
"jailed": "VBN",
"leave": "VB",
"earn": "VB",
"monumental": "JJ",
"enchant": "VB",
"roasted": "VBN",
"unmurmuring": "JJ",
"incorporating": "JJ",
"woozy": "JJ",
"adjudged": "VBN",
"wears": "VBZ",
"insinuates": "VBZ",
"suggested": "VBN",
"civilised": "JJ",
"jotted": "JJ",
"papal": "JJ",
"tint": "VBP",
"tiny": "JJ",
"detrimental": "JJ",
"dismiss": "VB",
"shattering": "JJ",
"tolled": "VBN",
"deepen": "VB",
"downplay": "VB",
"affirm": "VB",
"unshed": "JJ",
"settles": "VBZ",
"maryed": "VBN",
"bearded": "JJ",
"valued": "JJ",
"inherit": "VB",
"flops": "VBZ",
"nudge": "VB",
"royal": "JJ",
"bantered": "VBN",
"giving": "JJ",
"translucent": "JJ",
"sapped": "VBN",
"coincide": "VB",
"vaulted": "JJ",
"uncoated": "JJ",
"offcourse": "JJ",
"pressing": "JJ",
"thinner": "JJR",
"scalded": "VBN",
"thinned": "VBN",
"slipshod": "JJ",
"vacated": "VBN",
"unpadded": "JJ",
"tollways": "RB",
"horrifying": "JJ",
"average": "JJ",
"spotlighted": "VBN",
"erupts": "VBZ",
"pimpled": "JJ",
"tarnished": "JJ",
"bruising": "JJ",
"fosters": "VBZ",
"cut-and-paste": "VB",
"vermilion": "JJ",
"unrelieved": "JJ",
"advised": "JJ",
"unworn": "JJ",
"round": "JJ",
"unexpected": "JJ",
"exemplified": "VBN",
"exemplifies": "VBZ",
"insolent": "JJ",
"statewide": "JJ",
"spiffing": "JJ",
"disaffiliated": "JJ",
"unequaled": "JJ",
"reelected": "VBN",
"premarital": "JJ",
"nearest": "RB",
"frescoed": "JJ",
"burgeoning": "JJ",
"purify": "JJ",
"abuzz": "JJ",
"underpriced": "JJ",
"equip": "VB",
"monitor": "VB",
"repriced": "VBN",
"-ing": "JJ",
"rattles": "VBZ",
"condemns": "VBZ",
"brimming": "JJ",
"afternoon": "UH",
"lambaste": "VB",
"a[fj]": "SYM",
"gaudy": "JJ",
"looking": "JJ",
"centigrade": "JJ",
"strolls": "VBZ",
"lick": "VB",
"entombed": "VBN",
"tight": "JJ",
"recreated": "VBN",
"recreates": "VBZ",
"francophone": "JJ",
"bete": "JJ",
"hatched": "JJ",
"spaced": "JJ",
"scowl": "VBP",
"reek": "VBP",
"stormy": "JJ",
"rid": "JJ",
"large": "JJ",
"biosynthesized": "VBN",
"striking": "JJ",
"audited": "VBN",
"vital": "JJ",
"contains": "VBZ",
"radiates": "VBZ",
"rescued": "JJ",
"ascribed": "VBN",
"pacifies": "VBZ",
"ascribes": "VBZ",
"tilts": "VBZ",
"fiftieth": "CD",
"oust": "VB",
"come": "VB",
"sound": "JJ",
"cancelled": "VBN",
"sleeping": "JJ",
"belie": "VBP",
"clammy": "JJ",
"unperceived": "VBN",
"patrician": "JJ",
"assist": "VB",
"uncomplicated": "JJ",
"sputters": "VBZ",
"thudding": "JJ",
"git": "VB",
"gnarled": "JJ",
"hydrated": "JJ",
"bewitched": "VBN",
"imaged": "VBN",
"princely": "JJ",
"scared": "JJ",
"consolidate": "VB",
"skilled": "JJ",
"actuate": "VB",
"restrained": "JJ",
"disfavored": "JJ",
"oxidised": "VBN",
"motherly": "JJ",
"arranged": "JJ",
"arranges": "VBZ",
"eschew": "VB",
"frail": "JJ",
"goddam": "JJ",
"withdraw": "VB",
"collegiate": "JJ",
"commute": "VBP",
"preserves": "VBZ",
"byzantine": "JJ",
"crimson": "JJ",
"unabashed": "JJ",
"purrs": "VBZ",
"elated": "JJ",
"drugged": "VBN",
"blares": "VBZ",
"bypassed": "VBN",
"swampy": "JJ",
"leafhopper": "JJR",
"returning": "JJ",
"sofar": "RB",
"uncharted": "JJ",
"bizarre": "JJ",
"plastered": "JJ",
"subsumed": "VBN",
"constructs": "VBZ",
"american": "JJ",
"specializes": "VBZ",
"junked": "VBN",
"ensnarled": "VBN",
"questioning": "JJ",
"tangere": "JJ",
"aristotelian": "JJ",
"upholstered": "VBN",
"afrikaner": "JJR",
"forced": "JJ",
"researches": "VBZ",
"frigid": "JJ",
"prejudiced": "JJ",
"hails": "VBZ",
"winnow": "VB",
"uninvited": "JJ",
"pubescent": "JJ",
"impeached": "VBN",
"beginning": "JJ",
"embraces": "VBZ",
"embraced": "VBN",
"unacquainted": "JJ",
"bloodied": "JJ",
"obstructed": "JJ",
"dippy": "JJ",
"lilting": "JJ",
"recondite": "JJ",
"wows": "VBZ",
"loosens": "VBZ",
"inarticulate": "JJ",
"drifts": "VBZ",
"converge": "VB",
"chimes": "VBZ",
"merges": "VBZ",
"threehour": "JJ",
"biannual": "JJ",
"manly": "JJ",
"expert": "JJ",
"shatterproof": "JJ",
"punch": "JJ",
"vascular": "JJ",
"beetling": "JJ",
"intimidated": "JJ",
"re-run": "VBN",
"profligate": "JJ",
"asserted": "JJ",
"ravaged": "JJ",
"furthers": "VBZ",
"omniscient": "JJ",
"chiseled": "VBN",
"grainy": "JJ",
"reopens": "VBZ",
"unearned": "JJ",
"astound": "VB",
"disillusioning": "JJ",
"shortchanged": "VBN",
"irritably": "JJ",
"kenyan": "JJ",
"cut": "VB",
"undistinguished": "JJ",
"christian": "JJ",
"recycled": "VBN",
"unhindered": "JJ",
"absolutely": "RB",
"proficient": "JJ",
"delist": "VB",
"depose": "VB",
"translate": "VB",
"planed": "VBN",
"deprive": "VB",
"consulted": "VBN",
"revelatory": "JJ",
"appetizing": "JJ",
"overfeed": "VB",
"chrissake": "UH",
"adoring": "JJ",
"intensifying": "JJ",
"intensified": "VBN",
"entertaining": "JJ",
"overlooking": "JJ",
"amplifies": "VBZ",
"amplified": "JJ",
"compose": "VB",
"suave": "JJ",
"bottomed": "JJ",
"unhurt": "JJ",
"companywide": "JJ",
"dowdy": "JJ",
"assisted": "VBN",
"pleading": "JJ",
"agrees": "VBZ",
"composed": "JJ",
"decentralized": "JJ",
"corpuscular": "JJ",
"belittling": "JJ",
"engender": "VB",
"etruscan": "JJ",
"gruff": "JJ",
"syrupy": "JJ",
"circumscribed": "JJ",
"knocks": "VBZ",
"transborder": "JJ",
"iguana": "JJ",
"undressed": "JJ",
"pugh": "UH",
"denigrate": "VB",
"preschool": "JJ",
"hisself": "PRP",
"preclude": "VB",
"oversubscribed": "VBN",
"beady": "JJ",
"incensed": "JJ",
"scriptural": "JJ",
"clarify": "VB",
"pokerfaced": "JJ",
"backwards": "RB",
"mortal": "JJ",
"domiciled": "VBN",
"elegiac": "JJ",
"rubber": "JJ",
"nebular": "JJ",
"acquire": "VB",
"foamy": "JJ",
"nearby": "JJ",
"catapults": "VBZ",
"glad": "JJ",
"thicken": "VB",
"stumbles": "VBZ",
"pave": "VB",
"overinsistent": "JJ",
"dispell": "VB",
"racked": "VBN",
"groggy": "JJ",
"reiterate": "VB",
"jewelled": "JJ",
"reproduces": "VBZ",
"metered": "VBN",
"kosher": "JJ",
"reborn": "VBN",
"uninitiated": "JJ",
"migrate": "VB",
"drowsy": "JJ",
"iodinate": "VB",
"tense": "JJ",
"commmon": "JJ",
")": ")",
"coronary": "JJ",
"shoehorned": "VBN",
"discredited": "JJ",
"neural": "JJ",
"total": "JJ",
"reintroduce": "VBP",
"drafty": "JJ",
"inveigle": "VB",
"nicknamed": "PI:NAME:<NAME>END_PIBN",
"elapsed": "VBN",
"displaced": "JJ",
"displaces": "VBZ",
"straightway": "RB",
"screwed": "JJ",
"topiary": "JJ",
"urbanized": "JJ",
"condense": "VB",
"hankerin": "VBG",
"avowed": "JJ",
"unpartisan": "JJ",
"versatile": "JJ",
"indiscriminating": "JJ",
"transfused": "VBN",
"overpurchase": "VB",
"conveys": "VBZ",
"deregulated": "VBN",
"propsed": "VBN",
"reprocess": "VB",
"undisputed": "JJ",
"whipsaw": "JJ",
"whatsoever": "RB",
"nasty": "JJ",
"arboreal": "JJ",
"dispense": "VB",
"gluey": "JJ",
"conceive": "VB",
"glued": "VBN",
"ruffled": "JJ",
"construed": "VBN",
"hide": "VB",
"supplied": "VBN",
"democratized": "VBN",
"culminate": "VB",
"yehhh": "UH",
"grumbles": "VBZ",
"excommunicated": "VBN",
"defile": "VB",
"legislate": "VB",
"splendid": "JJ",
"howsomever": "RB",
"signatory": "JJ",
"mistreat": "VB",
"mobile": "JJ",
"ripens": "VBZ",
"rental": "JJ",
"tootley-toot-tootled": "VBN",
"herald": "VB",
"pounce": "VB",
"laid": "VBN",
"lain": "VBN",
"aforesaid": "JJ",
"longterm": "JJ",
"primary": "JJ",
"pre-paid": "VBD",
"researched": "VBN",
"leaking": "JJ",
"unsaid": "JJ",
"pre-tested": "VBN",
"alight": "JJ",
"bail": "VB",
"graded": "VBN",
"spits": "VBZ",
"unhurried": "JJ",
"anxiously": "RB",
"disturbing": "JJ",
"feline": "JJ",
"discovers": "VBZ",
"empower": "VBP",
"colored": "JJ",
"absorbent": "JJ",
"smuggled": "VBN",
"wretched": "JJ",
"seein": "VBG",
"moneymaking": "JJ",
"zingggg-o": "UH",
"javanese": "JJ",
"buyback": "JJ",
"possessed": "JJ",
"departed": "JJ",
"leagued": "VBN",
"enlighten": "VB",
"cherry": "JJ",
"burne": "VB",
"burnt": "JJ",
"peeved": "JJ",
"contradict": "VB",
"heard": "VBN",
"pursues": "VBZ",
"clucks": "VBZ",
"kayoed": "VBN",
"accepted": "JJ",
"deleted": "VBN",
"choke": "VB",
"ensure": "VB",
"inveigh": "VBP",
"ownself": "PRP",
"obscene": "JJ",
"pampers": "VBZ",
"amen": "UH",
"encumber": "VB",
"swissmade": "JJ",
"when": "WRB",
"liquidate": "VB",
"contrasted": "VBN",
"forgoes": "VBZ",
"tripartite": "JJ",
"sequestered": "VBN",
"widthwise": "RB",
"unfamiliar": "JJ",
"ritzy": "JJ",
"level": "JJ",
"posts": "VBZ",
"likens": "VBZ",
"tougher": "JJR",
"toughen": "VB",
"port": "JJ",
"stately": "JJ",
"entertain": "VB",
"crowded": "JJ",
"undersea": "JJ",
"druncke": "VBD",
"co-market": "VB",
"flattens": "VBZ",
"reaped": "VBN",
"inform": "VB",
"syndicated": "VBN",
"lamented": "JJ",
"hassled": "VBN",
"retools": "VBZ",
"donates": "VBZ",
"demeans": "VBZ",
"qualifies": "VBZ",
"refrigerated": "JJ",
"gushing": "JJ",
"donated": "VBN",
"lambastes": "VBZ",
"unsolder": "VB",
"widen": "VB",
"turn": "VB",
"toughest-ever": "JJS",
"break": "VB",
"phoenician": "JJ",
"reinforce": "VB",
"branch-by-branch": "RB",
"tory": "JJ",
"sure": "JJ",
"beaded": "VBN",
"prodded": "VBN",
"uninterested": "JJ",
"urge": "VB",
"reinvigorate": "VB",
"crimps": "VBZ",
"glandular": "JJ",
"outperform": "VB",
"voluntary": "JJ",
"illusionary": "JJ",
"yff": "IN",
"himalayan": "JJ",
"widespread": "JJ",
"opines": "VBZ",
"escalated": "VBN",
"fishin": "VBG",
"downwind": "JJ",
"repond": "VB",
"defunded": "VBN",
"granted": "VBN",
"eggshell": "JJ",
"careen": "VB",
"studentled": "VBN",
"weep": "VB",
"sinned": "VBN",
"maltreated": "JJ",
"without": "RB",
"deflated": "JJ",
"coaxing": "JJ",
"belgian": "JJ",
"wher": "WRB",
"lets": "VBZ",
"inordinate": "JJ",
"located": "VBN",
"developmental": "JJ",
"frees": "VBZ",
"freer": "JJR",
"imputed": "VBN",
"unpegged": "JJ",
"beached": "JJ",
"stereotyped": "JJ",
"discussed": "VBN",
"decelerated": "VBN",
"cursed": "JJ",
"alleges": "VBZ",
"rouse": "VB",
"creeping": "JJ",
"accentuated": "VBN",
"cockeyed": "JJ",
"accentuates": "VBZ",
"uncovered": "VBN",
"c-reflects": "VBZ",
"proliferate": "VBP",
"platted": "VBN",
"scrappy": "JJ",
"re-rescue": "VB",
"tethered": "VBN",
"beefore": "IN",
"abstracted": "JJ",
"risen": "VBN",
"nowhere": "RB",
"unquestioned": "JJ",
"ruffle": "VB",
"mayoral": "JJ",
"compressed": "JJ",
"bungled": "JJ",
"horrified": "JJ",
"flat": "JJ",
"flay": "VB",
"besides": "RB",
"salted": "JJ",
"libertarian": "JJ",
"exalted": "JJ",
"rebalance": "VB",
"guttural": "JJ",
"okay": "JJ",
"abdicate": "VBP",
"holored": "VBN",
"proclaimed": "VB",
"democrats": "NNPS",
"shorn": "VBN",
"oftentimes": "RB",
"hunted": "VBN",
"mastered": "VBN",
"cloudy": "JJ",
"foolproof": "JJ",
"fallen": "JJ",
"enlarges": "VBZ",
"enlarged": "JJ",
"abroad": "RB",
"unmentioned": "VBN",
"elementary": "JJ",
"amass": "VB",
"exert": "VB",
"zionist": "JJ",
"foamed": "JJ",
"populate": "VB",
"diversifed": "VBN",
"liberate": "VB",
"restore": "VB",
"witty": "JJ",
"cringe": "VBP",
"unflagging": "JJ",
"unincorporated": "JJ",
"reside": "VBP",
"regulates": "VBZ",
"regulated": "VBN",
"startling": "JJ",
"flinty": "JJ",
"dominated": "JJ",
"impede": "VB",
"bourgeois": "JJ",
"deflects": "VBZ",
"overemphasized": "VBN",
"awaye": "RB",
"unseen": "JJ",
"seems": "VBZ",
"arrowed": "JJ",
"u.n.-supervised": "JJ",
"tormented": "JJ",
"collect": "VB",
"retry": "VB",
"inoculate": "VB",
"retro": "JJ",
"contrasting": "JJ",
"complimentary": "JJ",
"paved": "JJ",
"raftered": "VBN",
"landscaped": "JJ",
"capitalized": "VBN",
"capitalizes": "VBZ",
"steeped": "VBN",
"sepia": "JJ",
"attracted": "VBN",
"teased": "VBN",
"steeper": "JJR",
"disappoints": "VBZ",
"these": "DT",
"fertilized": "VBN",
"impatient": "JJ",
"re-animates": "VBZ",
"thynke": "VBP",
"gloat": "VB",
"submerged": "JJ",
"lighthearted": "JJ",
"apt": "JJ",
"clever": "JJ",
"dissolve": "VB",
"persuades": "VBZ",
"hinders": "VBZ",
"monthlong": "JJ",
"restructures": "VBZ",
"latermaturing": "JJ",
"interstellar": "JJ",
"trimmer": "JJR",
"trimmed": "VBN",
"southerly": "JJ",
"cerebral": "JJ",
"disclose": "VB",
"informs": "VBZ",
"galvanized": "JJ",
"outstate": "JJ",
"m.d.-speak": "JJ",
"dickensian": "JJ",
"disheartening": "JJ",
"diminish": "VB",
"traded": "VBN",
"succeeded": "VBN",
"coalesces": "VBZ",
"ringed": "JJ",
"weekly": "JJ",
"nearer": "JJR",
"postulated": "VBN",
"studded": "VBN",
"local": "JJ",
"misbranded": "JJ",
"manye": "JJ",
"leviathan": "JJ",
"ascertain": "VB",
"bought": "VBD",
"hokey": "JJ",
"unclear": "JJ",
"connotes": "VBZ",
"unclean": "JJ",
"bedded": "JJ",
"concludes": "VBZ",
"thum": "PRP",
"subcontract": "VB",
"clamors": "VBZ",
"conceives": "VBZ",
"undertakes": "VBZ",
"undertaken": "VBN",
"reincorporated": "VBN",
"z-not": "RB",
"more-powerful": "JJR",
"envisages": "VBZ",
"countervailing": "JJ",
"synchotron": "JJ",
"energized": "VBN",
"remove": "VB",
"f-series": "NNPS",
"promise": "JJ",
"unrifled": "JJ",
"fawning": "JJ",
"egalitarian": "JJ",
"resists": "VBZ",
"prominent": "JJ",
"hilar": "JJ",
"assail": "VB",
"distract": "VB",
"carborundum": "JJ",
"curtained": "JJ",
"shredded": "JJ",
"ornate": "JJ",
"conjure": "VB",
"swivel": "JJ",
"test-fired": "VBN",
"preceeded": "VBN",
"uncertain": "JJ",
"differentiated": "JJ",
"stiffens": "VBZ",
"charted": "VBN",
"sterile": "JJ",
"decry": "VB",
"intentioned": "JJ",
"interdependent": "JJ",
"strewn": "VBN",
"divide": "VB",
"highflying": "JJ",
"relay": "VB",
"unaffiliated": "JJ",
"orney": "JJ",
"afar": "RB",
"organized": "JJ",
"cheetal": "JJ",
"shored": "VBN",
"destined": "JJ",
"repatriated": "VBN",
"squint": "VBP",
"offered": "VBN",
"bewteen": "IN",
"matured": "JJ",
"hidden": "JJ",
"glorify": "VB",
"blinded": "JJ",
"waive": "VB",
"alert": "JJ",
"knit": "VB",
"enlist": "VB",
"carolingian": "JJ",
"bated": "JJ",
"instruct": "VB",
"listed": "VBN",
"underlie": "VBP",
"listen": "VB",
"outlaw": "VB",
"entail": "VB",
"privvy": "JJ",
"wise": "JJ",
"doin": "VBG",
"undamaged": "JJ",
"infidel": "JJ",
"blew": "VBD",
"mandatory": "JJ",
"fair": "JJ",
"hunker": "VB",
"invigorated": "JJ",
"up-front": "RB",
"vain": "JJ",
"diverted": "VBN",
"biotech": "JJ",
"trusted": "JJ",
"topping": "JJ",
"haphazard": "JJ",
"tops": "JJ",
"hackneyed": "JJ",
"rescinded": "VBN",
"givin": "VBG",
"disguise": "VB",
"uncombed": "JJ",
"gooshey": "JJ",
"abashed": "JJ",
"firmer": "JJR",
"seaside": "JJ",
"prepositioning": "JJ",
"bruited": "VBN",
"bonkers": "JJ",
"macabre": "JJ",
"equestrian": "JJ",
"foh": "IN",
"unfixed": "JJ",
"rebut": "VB",
"therefrom": "RB",
"lays": "VBZ",
"looms": "VBZ",
"proved": "JJ",
"proven": "JJ",
"crumble": "VB",
"soothe": "VB",
"proves": "VBZ",
"maimed": "JJ",
"cheap": "JJ",
"trod": "VBN",
"tear": "VB",
"unscripted": "JJ",
"outdrew": "VBD",
"prevent": "VB",
"reminiscent": "JJ",
"reread": "VB",
"namibian": "JJ",
"crumbles": "VBZ",
"bunkered": "VBN",
"vitiates": "VBZ",
"thereunder": "RB",
"bloody": "JJ",
"qualified": "JJ",
"cherishes": "VBZ",
"cherished": "VBN",
"visual": "JJ",
"degrade": "VB",
"nether": "JJ",
"fatherly": "JJ",
"four-to-one": "RB",
"misshapen": "JJ",
"filthy": "JJ",
"inflate": "VB",
"subordinated": "JJ",
"brags": "VBZ",
"contained": "JJ",
"mixed": "JJ",
"disguised": "JJ",
"collapsing": "JJ",
"misused": "JJ",
"chubby": "JJ",
"potted": "JJ",
"indicate": "VB",
"blazon": "VB",
"simmered": "VBN",
"nicer": "JJR",
"indentured": "VBN",
"microwaved": "VBN",
"myne": "PRP",
"bade": "VBD",
"trained": "JJ",
"maniacal": "JJ",
"bootleg": "JJ",
"presage": "VB",
"unpremeditated": "JJ",
"reigns": "VBZ",
"undermine": "VB",
"twotiered": "JJ",
"throttled": "VBN",
"daylong": "JJ",
"perpetuate": "VB",
"decertified": "VBN",
"askin": "VBG",
"bulletproof": "JJ",
"fleisher": "VB",
"retrace": "VB",
"truculent": "JJ",
"snarled": "JJ",
"underline": "VB",
"retract": "VB",
"fringed": "JJ",
"glitters": "VBZ",
"thinke": "VBZ",
"playin": "VBG",
"thinks": "VBZ",
"authenticate": "VBP",
"destroys": "VBZ",
"spotlights": "VBZ",
"stunned": "JJ",
"flawed": "JJ",
"dour": "JJ",
"least": "RB",
"freaked": "VBN",
"reinvigorated": "JJ",
"harro": "UH",
"antiquated": "JJ",
"oversoft": "JJ",
"administers": "VBZ",
"enrolled": "VBN",
"near-by": "IN",
"gravitates": "VBZ",
"restricted": "JJ",
"undeserved": "JJ",
"crestfallen": "JJ",
"candid": "JJ",
"caesarean": "JJ",
"excitatory": "JJ",
"yellowed": "VBN",
"skyrocket": "VB",
"smuggle": "VB",
"indoors": "RB",
"implore": "VB",
"tightfisted": "JJ",
"nonbanking": "JJ",
"cunning": "JJ",
"apportion": "VB",
"dazzle": "VB",
"unattended": "JJ",
"aplenty": "JJ",
"swiss": "JJ",
"wrench": "VB",
"reshape": "VB",
"crouchin": "JJ",
"unimposing": "JJ",
"anyhow": "RB",
"nighted": "JJ",
"stewed": "JJ",
"always": "JJ",
"m&a": "JJ",
"throwin": "VBG",
"tipsy": "JJ",
"reformulated": "VBN",
"trite": "JJ",
"premediated": "JJ",
"well-nigh": "RB",
"prefab": "JJ",
"w": "IN",
"delicate": "JJ",
"emblazoned": "VBN",
"twisted": "JJ",
"ethereal": "JJ",
"numbed": "VBN",
"relies": "VBZ",
"determined": "JJ",
"remembers": "VBZ",
"projected": "VBN",
"crude": "JJ",
"stoneware": "JJ",
"commemorates": "VBZ",
"commemorated": "VBN",
"relied": "VBN",
"hipper": "JJR",
"rhyme": "VB",
"fugual": "JJ",
"rectangular": "JJ",
"niobe": "VB",
"stirling": "JJ",
"tottering": "JJ",
"overdrawn": "JJ",
"backstitch": "VB",
"muted": "JJ",
"shortsighted": "JJ",
"smashing": "JJ",
"corresponds": "VBZ",
"assassinated": "VBN",
"firm": "JJ",
"vanish": "VBP",
"funny": "JJ",
"elevated": "JJ",
"longer-run": "JJR",
"elevates": "VBZ",
"leapt": "VBD",
"focal": "JJ",
"recent": "JJ",
"canned": "JJ",
"whaddya": "WP",
"plagues": "VBZ",
"numb": "JJ",
"daily": "JJ",
"pertinent": "JJ",
"underway": "RB",
"unfazed": "VBN",
"indigent": "JJ",
"abandon": "VB",
"prosecuted": "VBN",
"tidal": "JJ",
"discontented": "JJ",
"forgave": "VBD",
"chide": "VB",
"relaxed": "JJ",
"buttery": "JJ",
"relaxes": "VBZ",
"horned": "JJ",
"nationalist": "JJ",
"defined": "VBN",
"defines": "VBZ",
"mealy": "JJ",
"bodily": "JJ",
"tailored": "JJ",
"guzzles": "VBZ",
"cares": "VBZ",
"moot": "JJ",
"jist": "RB",
"disordered": "JJ",
"umpteenth": "JJ",
"proffer": "VB",
"unmask": "VB",
"impressionist": "JJ",
"distributed": "JJ",
"boxy": "JJ",
"standing": "JJ",
"half-aloud": "RB",
"confiscate": "VB",
"queerer": "JJR",
"deregulate": "VB",
"reproduce": "VB",
"bent": "JJ",
"transpired": "VBN",
"aspiring": "JJ",
"await": "VB",
"acquitted": "VBN",
"allot": "VB",
"irks": "VBZ",
"hoodwinked": "VBN",
"scants": "VBZ",
"decays": "VBZ",
"bad": "JJ",
"reformist": "JJ",
"oblong": "JJ",
"dismantled": "JJ",
"latches": "VBZ",
"dismantles": "VBZ",
"shucks": "UH",
"latched": "VBN",
"blown": "VBN",
"blows": "VB",
"world-amid": "IN",
"adopts": "VBZ",
"opalescent": "JJ",
"subliterary": "JJ",
"tortured": "JJ",
"misunderstand": "VB",
"heeds": "VBZ",
"adjunct": "JJ",
"bloodsucking": "JJ",
"unscramble": "VB",
"self-reinsure": "VB",
"under": "JJ",
"resells": "VBZ",
"squirreled": "VBN",
"enamelled": "JJ",
"softens": "VBZ",
"flinch": "VB",
"exchanged": "JJ",
"move": "JJ",
"stomachwise": "RB",
"rein": "VB",
"c": "RB",
"aspires": "VBZ",
"grasp": "VB",
"revamp": "VB",
"crafted": "VBN",
"poured-in-place": "VBN",
"badly": "RB",
"sore": "JJ",
"imprisoned": "VBN",
"elicits": "VBZ",
"discounted": "JJ",
"disrupted": "VBN",
"rambles": "VBZ",
"afflicted": "JJ",
"u.s.-donated": "JJ",
"magnify": "VB",
"accelerating": "JJ",
"becomin": "VBG",
"unaudited": "JJ",
"apprehended": "VBN",
"gummed": "VBN",
"gives": "VBZ",
"disaffected": "JJ",
"imbibe": "VB",
"funnel": "VB",
"smooth": "JJ",
"coiffed": "JJ",
"changing": "JJ",
"restock": "VB",
"bewildered": "JJ",
"sufi": "JJ",
"occasioned": "VBN",
"above": "JJ",
"sinks": "VBZ",
"hush": "JJ",
"most-respected": "JJS",
"cheats": "VBZ",
"escapist": "JJ",
"continual": "JJ",
"permits": "VBZ",
"marxist": "JJ",
"bureaucraticized": "JJ",
"aerated": "JJ",
"photocopy": "VB",
"aerates": "VBZ",
"fudge": "VB",
"overdressed": "JJ",
"chilled": "JJ",
"green": "JJ",
"remonstrate": "VB",
"twelvefold": "JJ",
"devote": "VB",
"precipitate": "VB",
"thei": "PRP",
"clogging": "JJ",
"thet": "DT",
"ther": "RB",
"moneyed": "JJ",
"relishes": "VBZ",
"eritrean": "JJ",
"marketwise": "RB",
"incorporates": "VBZ",
"unfulfilled": "JJ",
"aborning": "RB",
"incorporated": "JJ",
"warded": "VBN",
"imposed": "JJ",
"exhilarating": "JJ",
"advisory": "JJ",
"set": "VBN",
"glorified": "JJ",
"binds": "VBZ",
"stooooomp": "VB",
"emasculated": "JJ",
"producin": "VBG",
"eminent": "JJ",
"musta": "MD",
"intersect": "VB",
"dd": "VBD",
"side-step": "VBP",
"depends": "VBZ",
"jocose": "JJ",
"tainted": "VBN",
"coy": "JJ",
"broadens": "VBZ",
"naval": "JJ",
"recurrent": "JJ",
"plated": "VBN",
"bifocal": "JJ",
"mind": "JJ",
"mine": "JJ",
"hilly": "JJ",
"mocked": "VBN",
"ashore": "RB",
"antique": "JJ",
"ransacked": "JJ",
"purple": "JJ",
"black-balled": "VBN",
"effeminate": "JJ",
"confluent": "JJ",
"unchanging": "JJ",
"pre-register": "VB",
"cuk": "JJ",
"stacked": "VBN",
"impose": "VB",
"presumes": "VBZ",
"running": "JJ",
"asteroidal": "JJ",
"polite": "JJ",
"mightily": "RB",
"atrophied": "VBN",
"presumed": "JJ",
"blase": "JJ",
"federalized": "JJ",
"niggardly": "JJ",
"generalpurpose": "JJ",
"satisfy": "VB",
"collateral": "JJ",
"eke": "VB",
"computerrelated": "JJ",
"senile": "JJ",
"conspire": "VBP",
"labeled": "VBN",
"underlying": "JJ",
"baddebt": "JJ",
"hull-first": "RB",
"bankrupt": "JJ",
"howsabout": "RB",
"averted": "VBN",
"brazen": "JJ",
"forfeit": "VB",
"acknowledge": "VBP",
"suffocate": "VB",
"centenary": "JJ",
"natured": "JJ",
"highyield": "JJ",
"wont": "JJ",
"handsomer": "JJR",
"proofread": "VBD",
"waxy": "JJ",
"rated": "VBN",
"omitted": "JJ",
"mostly": "RB",
"lunched": "VBN",
"fruity": "JJ",
"intrauterine": "JJ",
"veteran": "JJ",
"legitimate": "JJ",
"plainer": "JJPI:NAME:<NAME>END_PI",
"encased": "JJ",
"foaming": "JJ",
"a.m": "RB",
"sufficent": "JJ",
"inaugural": "JJ",
"nonstandard": "JJ",
"concern": "JJ",
"justifies": "VBZ",
"justified": "JJ",
"thirtieth": "CD",
"attaches": "VBZ",
"talented": "JJ",
"occluded": "JJ",
"punishes": "VBZ",
"punished": "VBN",
"diclosed": "VBN",
"reprice": "VB",
"stems": "VBZ",
"expropriated": "JJ",
"unfluoridated": "JJ",
"moth-eaten": "VBN",
"edifying": "JJ",
"hover": "VB",
"frown": "VBP",
"perverse": "JJ",
"meets": "VBZ",
"reexamine": "VB",
"chop": "VB",
"deranged": "JJ",
"renovate": "JJ",
"immaculate": "JJ",
"overpaid": "JJ",
"hire": "VB",
"describe": "VB",
"precrash": "JJ",
"administered": "VBN",
"intercontinental": "JJ",
"polar": "JJ",
"overreact": "VB",
"overreach": "VB",
"laudatory": "JJ",
"resealed": "VBN",
"dedifferentiated": "JJ",
"stringy": "JJ",
"solicit": "VB",
"clubbed": "JJ",
"parry": "VB",
"matriculated": "VBN",
"enciphered": "VBN",
"robed": "VBN",
"mild": "JJ",
"knead": "VB",
"latin": "JJ",
"flocculated": "VBN",
"strong": "JJ",
"ultra": "JJ",
"itself": "PRP",
"victimized": "VBN",
"schnabelian": "JJ",
"brooding": "JJ",
"userfriendly": "JJ",
"abridged": "JJ",
"abridges": "VBZ",
"broke": "VBD",
"browned": "VBN",
"underwrites": "VBZ",
"hurry": "VB",
"freudian": "JJ",
"subtends": "VBZ",
"pushes": "VBZ",
"lacks": "VBZ",
"ratified": "JJ",
"foreseen": "VBN",
"foresees": "VBZ",
"ratifies": "VBZ",
"unearthly": "JJ",
"fy": "VBP",
"dwarfed": "VBN",
"co-authored": "VBN",
"lesser-rank": "JJR",
"auburn": "JJ",
"staunch": "JJ",
"atrun": "JJ",
"intranasal": "JJ",
"pamper": "VB",
"thirteenth": "CD",
"bickering": "JJ",
"inert": "JJ",
"dirt": "JJ",
"uprooted": "VBN",
"elder": "JJR",
"airborne": "JJ",
"flatters": "VBZ",
"kindly": "JJ",
"kindle": "VB",
"quote": "VB",
"exempted": "VBN",
"eaten": "VBN",
"hallucinatory": "JJ",
"luckily": "RB",
"central": "JJ",
"believeth": "VBZ",
"upstanding": "JJ",
"meanwhile": "RB",
"undergoes": "VBZ",
"plough": "VB",
"reminisces": "VBZ",
"wop": "VB",
"piss": "VB",
"poorer": "JJR",
"adores": "VBZ",
"satisfied": "JJ",
"adored": "JJ",
"unrelenting": "JJ",
"fixedrate": "JJ",
"melancholy": "JJ",
"victimizes": "VBZ",
"wait": "VB",
"overran": "VBD",
"herein": "RB",
"anymore": "RB",
"belong": "VB",
"unfenced": "JJ",
"shackle": "VB",
"haunting": "JJ",
"jogs": "VBZ",
"underlies": "VBZ",
"chronicles": "VBZ",
"clears": "VBZ",
"throaty": "JJ",
"evaluate": "VB",
"tiring": "JJ",
"co-chaired": "VBN",
"tinkered": "VBN",
"moire": "JJ",
"resorted": "VBN",
"minced": "VBN",
"outnumber": "VBP",
"dialyzed": "VBN",
"outgoing": "JJ",
"rebated": "VBN",
"shipshape": "JJ",
"ensue": "VB",
"their": "PRP",
"besieged": "JJ",
"severe": "JJ",
"chromed": "JJ",
"seethe": "VB",
"oxidized": "JJ",
"calculating": "JJ",
"forge": "VB",
"revamped": "VBN",
"clenched": "JJ",
"heats": "VBZ",
"clenches": "VBZ",
"arid": "JJ",
"relocated": "JJ",
"fly": "VB",
"enslaved": "VBN",
"multipleuser": "JJ",
"unexciting": "JJ",
"dilute": "VB",
"vilified": "VBN",
";": ";",
"saps": "VBZ",
"greek": "JJ",
"utopian": "JJ",
"filde": "VBN",
"n-no": "UH",
"reregulate": "VB",
"imprisons": "VBZ",
"arched": "JJ",
"infinitesimal": "JJ",
"deplore": "VB",
"colonnaded": "JJ",
"brittle": "JJ",
"e-in": "IN",
"aaa-ee": "UH",
"engraves": "VBZ",
"paid-for": "IN",
"prorated": "VBN",
"inverted": "JJ",
"underpinned": "VBN",
"influent": "JJ",
"reacts": "VBZ",
"diminished": "JJ",
"keen": "JJ",
"diminishes": "VBZ",
"incarnate": "JJ",
"succeeds": "VBZ",
"forego": "VB",
"filigree": "JJ",
"prouder": "JJR",
"circulate": "VB",
"earmarked": "VBN",
"herself": "PRP",
"spurn": "VBP",
"beefs": "VBZ",
"thereto": "RB",
"p.m": "RB",
"beefy": "JJ",
"sprinkles": "VBZ",
"unadulterated": "JJ",
"sprinkled": "VBN",
"gunned": "VBN",
"unamused": "VBN",
"disgorge": "VB",
"resplendent": "JJ",
"expects": "VBZ",
"propels": "VBZ",
"hadd": "VBN",
"re-evaluate": "VB",
"slows": "VBZ",
"desecrated": "JJ",
"uncontrolled": "JJ",
"preach": "JJ",
"driving": "JJ",
"forgo": "VB",
"unearth": "VB",
"lug": "VB",
"foreshadow": "VB",
"disobeyed": "VBN",
"habitual": "JJ",
"betrayed": "VBN",
"temperamental": "JJ",
"cohere": "VB",
"crystalline": "JJ",
"alternates": "VBZ",
"disintegrate": "VB",
"darkling": "JJ",
"kicks": "VBZ",
"novel": "JJ",
"wth": "IN",
"resident": "JJ",
"melamine": "JJ",
"absorb": "VB",
"i": "PRP",
"modeled": "VBN",
"energizes": "VBZ",
"accurate": "JJ",
"extends": "VBZ",
"cognate": "JJ",
"liking": "JJ",
"sinister": "JJ",
"recognized": "VBN",
"recognizes": "VBZ",
"enacts": "VBZ",
"squarefoot": "JJ",
"congregate": "VB",
"rejoice": "JJ",
"canting": "JJ",
"unexamined": "JJ",
"mucked": "VBN",
"offstage": "JJ",
"twise": "RB",
"affectionate": "JJ",
"redeems": "VBZ",
"shall": "MD",
"crummy": "JJ",
"fledgling": "JJ",
"curbed": "VBN",
"nourishes": "VBZ",
"downstream": "RB",
"nourished": "JJ",
"lavender": "JJ",
"neo": "JJ",
"unasked": "JJ",
"filbert": "JJ",
"interpret": "VB",
"ratty": "JJ",
"recommend": "VB",
"sizzles": "VBZ",
"skindive": "VB",
"reconciled": "JJ",
"reconciles": "VBZ",
"citrated": "VBN",
"ensnare": "VB",
"bankroll": "VB",
"aborted": "JJ",
"indulge": "VB",
"faraway": "JJ",
"escrowed": "VBN",
"telescoped": "VBN",
"bestow": "VB",
"monicker": "JJR",
"dilated": "VBN",
"dramatized": "VBN",
"dramatizes": "VBZ",
"dilates": "VBZ",
"soonest": "RB",
"threadbare": "JJ",
"impotent": "JJ",
"algerian": "JJ",
"exonerate": "VB",
"philippine": "JJ",
"unmated": "VBN",
"digress": "VB",
"pointy": "JJ",
"judged": "VBN",
"third*": "JJS",
"attest": "VB",
"zoned": "VBN",
"dumber": "JJR",
"excavate": "VB",
"mayhap": "RB",
"vex": "VBP",
"tightest-fitting": "JJS",
"brassy": "JJ",
"formalizes": "VBZ",
"glamorized": "VBN",
"formalized": "JJ",
"homebound": "JJ",
"chilling": "JJ",
"metropolitan": "JJ",
"encamped": "VBN",
"sequined": "JJ",
"cools": "VBZ",
"sidelined": "VBN",
"discriminatory": "JJ",
"designate": "VB",
"opt": "VB",
"unfitting": "JJ",
"depicts": "VBZ",
"assimilating": "JJ",
"swab": "VB",
"tracked": "VBN",
"undisturbed": "JJ",
"flounder": "VB",
"beget": "VB",
"pupates": "VBZ",
"astir": "JJ",
"denuded": "JJ",
"azure": "JJ",
"gloss": "VB",
"unseal": "VB",
"unseat": "VB",
"assume": "VB",
"fore": "RB",
"penned": "VBN",
"delete": "VB",
"shim": "VB",
"romanian": "JJ",
"hangin": "VBG",
"alleviates": "VBZ",
"felt": "VBD",
"exported": "VBN",
"blushing": "JJ",
"aftertax": "JJ",
"primed": "VBN",
"targeted": "VBN",
"misread": "VBD",
"unruffled": "JJ",
"shave": "VB",
"growls": "VBZ",
"detest": "VBP",
"rediscover": "VB",
"effectinge": "VBG",
"outweighs": "VBZ",
"rigid": "JJ",
"processed": "JJ",
"walled": "JJ",
"transferral": "JJ",
"incarcerated": "VBN",
"grained": "JJ",
"crazy": "JJ",
"wheezing": "JJ",
"inundated": "JJ",
"agonizing": "JJ",
"swore": "VBD",
"sworn": "JJ",
"grok": "VB",
"misrepresented": "JJ",
"praiseworthy": "JJ",
"relinquish": "VB",
"facile": "JJ",
"ionized": "VBN",
"pointed": "JJ",
"encompassed": "VBN",
"mismatched": "JJ",
"shh": "UH",
"helmeted": "JJ",
"intermarket": "JJ",
"unifying": "JJ",
"hefty": "JJ",
"carry": "VB",
"oohs": "UH",
"posh": "JJ",
"infiltrate": "VB",
"camouflaged": "VBN",
"reaccelerate": "VB",
"metalized": "VBN",
"paie": "VB",
"re-create": "VB",
"communicated": "VBN",
"blurred": "JJ",
"whooosh": "JJ",
"patronized": "VBN",
"pump": "VB",
"lopes": "VBZ",
"multicolor": "JJ",
"dated": "JJ",
"rehabilitated": "VBN",
"cancel": "VB",
"certify": "VB",
"unconsolidated": "JJ",
"yearling": "JJ",
"compile": "VB",
"sincere": "JJ",
"afflicts": "VBZ",
"plank": "VB",
"amazed": "JJ",
"eviscerate": "VB",
"dissected": "JJ",
"faulknerian": "JJ",
"ups": "VBZ",
"dole": "VB",
"unitized": "VBN",
"lunar": "JJ",
"refers": "VBZ",
"jee-sus": "UH",
"meaning": "JJ",
"decimated": "VBN",
"handcuffed": "VBN",
"sorrel": "JJ",
"hybrid": "JJ",
"privatized": "JJ",
"roams": "VBZ",
"carefree": "JJ",
"alien": "JJ",
"dispel": "VB",
"windy": "JJ",
"romping": "JJ",
"only": "JJ",
"misrepresent": "JJ",
"stood": "VBD",
"stoop": "VB",
"ingratiate": "VB",
"operating": "JJ",
"narrow": "JJ",
"milks": "VBZ",
"controlling": "JJ",
"dey": "PRP",
"der": "JJR",
"def": "JJ",
"dandy": "JJ",
"purchased": "VBN",
"drained": "JJ",
"unclothed": "JJ",
"blacker": "JJR",
"disquieting": "JJ",
"foretell": "VB",
"remade": "VBN",
"handheld": "JJ",
"waiting": "JJ",
"co-operates": "VBZ",
"waged": "VBN",
"lithe": "JJ",
"gripping": "JJ",
"obligatory": "JJ",
"defused": "VBN",
"bohemian": "JJ",
"u.s.-dominated": "JJ",
"confirms": "VBZ",
"assails": "VBZ",
"inexact": "JJ",
"consistent": "JJ",
"cramped": "JJ",
"founds": "VBZ",
"worthy": "JJ",
"sepulchred": "VBN",
"hereabout": "JJ",
"restart": "VB",
"supercede": "VBP",
"improvisatory": "JJ",
"animized": "VBN",
"arouse": "VB",
"rubbin": "VBG",
"endows": "VBZ",
"tightens": "VBZ",
"dwindle": "VB",
"smother": "VB",
"newborn": "JJ",
"dovetail": "VBP",
"navigate": "VB",
"priced": "VBN",
"fun": "JJ",
"irised": "VBN",
"larger": "JJR",
"encountered": "VBN",
"sapiens": "JJ",
"exerts": "VBZ",
"aggregate": "JJ",
"shaded": "JJ",
"rearm": "VB",
"halve": "VB",
"unannounced": "JJ",
"howe": "WRB",
"rears": "VBZ",
"spend": "VB",
"untrammeled": "VBN",
"regimented": "JJ",
"impoverished": "JJ",
"hates": "VBZ",
"luxury": "JJ",
"bogus": "JJ",
"invade": "JJ",
"pared": "VBN",
"bored": "JJ",
"dimmed": "VBN",
"dimmer": "JJR",
"golfed": "VBN",
"graver": "JJR",
"graven": "JJ",
"furloughed": "VBN",
"reverberate": "VB",
"midterm": "JJ",
"mottled": "VBN",
"choppy": "JJ",
"unshelled": "VBN",
"remark": "JJ",
"birthed": "VBN",
"staple": "JJ",
"manufactures": "VBZ",
"themselves": "PRP",
"oily": "JJ",
"assailed": "VBN",
"extrapolated": "VBN",
"crocked": "JJ",
"unreal": "JJ",
"praise": "JJ",
"unread": "JJ",
"reconstructed": "JJ",
"daring": "JJ",
"bothered": "JJ",
"nullify": "VB",
"unmasks": "VBZ",
"ignite": "VB",
"resurgent": "JJ",
"revived": "JJ",
"unfriendly": "JJ",
"revives": "VBZ",
"muddle": "JJ",
"strive": "VB",
"restructured": "VBN",
"shriveled": "JJ",
"attend": "VB",
"announces": "VBZ",
"insolvent": "JJ",
"hedged": "JJ",
"bleed": "VB",
"deprived": "JJ",
"poorer-quality": "JJR",
"overweening": "JJ",
"retain": "VB",
"deprives": "VBZ",
"wakes": "VBZ",
"bisexual": "JJ",
"tidy": "JJ",
"keener": "JJR",
"regenerates": "VBZ",
"provokes": "VBZ",
"unsettled": "JJ",
"provoked": "JJ",
"gargantuan": "JJ",
"supported": "JJ",
"postdoctoral": "JJ",
"misclassified": "VBN",
"ossify": "VB",
"aforementioned": "JJ",
"pertains": "VBZ",
"conform": "VB",
"hurrah": "UH",
"literate": "JJ",
"overestimates": "VBZ",
"fulfilled": "VBN",
"assure": "VB",
"busted": "JJ",
"longhaired": "JJ",
"overstaff": "VB",
"teasing": "JJ",
"muddy": "JJ",
"unstrung": "JJ",
"german": "JJ",
"self-destroyed": "VBN",
"permeate": "VB",
"uniform": "JJ",
"respected": "JJ",
"volstead": "JJ",
"fusiform": "JJ",
"exceeds": "VBZ",
"hearest": "VBP",
"retard": "VB",
"fetal": "JJ",
"impugned": "VBN",
"corroborate": "VB",
"infiltrated": "VBN",
"discorporate": "JJ",
"simpler": "JJR",
"reincarcerated": "VBN",
"submits": "VBZ",
"oughta": "MD",
"wish": "VB",
"penetrating": "JJ",
"enlists": "VBZ",
"unpicturesque": "JJ",
"colombian": "JJ",
"redder": "JJR",
"shrank": "VBD",
"inboard": "RB",
"baked": "JJ",
"continental": "JJ",
"slogs": "VBZ",
"hate": "VBP",
"iliac": "JJ",
"enjoy": "VB",
"ransack": "VB",
"behooves": "VBZ",
"abides": "VBZ",
"corralled": "VBN",
"ridiculed": "VBN",
"resurrected": "VBN",
"circular": "JJ",
"spread-eagled": "VBN",
"sobered": "VBN",
"outdated": "JJ",
"clubby": "JJ",
"entertained": "VBN",
"warn": "VB",
"loosen": "VB",
"looser": "JJR",
"collude": "VB",
"mess": "JJ",
"demanding": "JJ",
"sparkles": "VBZ",
"gentlemanly": "JJ",
"unglued": "JJ",
"comprehend": "VB",
"notified": "VBN",
"unlinked": "JJ",
"notifies": "VBZ",
"damped": "VBN",
"overcame": "VBD",
"stringed": "JJ",
"washed": "JJ",
"unspectacular": "JJ",
"underwrite": "VB",
"slivered": "VBN",
"streamline": "VB",
"afghan": "JJ",
"staphylococcal": "JJ",
"regulate": "VB",
"leafy": "JJ",
"unceasing": "JJ",
"oriented": "VBN",
"cleft": "JJ",
"one-thirty": "RB",
"interjects": "VBZ",
"unorthodox": "JJ",
"soupy": "JJ",
"treats": "VBZ",
"orderly": "JJ",
"flog": "VB",
"untapped": "JJ",
"inspire": "VB",
"unassisted": "JJ",
"interrogated": "VBN",
"double-glaze": "VB",
"slotted": "VBN",
"handwritten": "JJ",
"bahamian": "JJ",
"nonfat": "JJ",
"indistinct": "JJ",
"participating": "JJ",
"elfin": "JJ",
"intimal": "JJ",
"maudlin": "JJ",
"coalesced": "VBN",
"fallow": "JJ",
"unchristian": "JJ",
"decanted": "VBN",
"unservile": "JJ",
"shadowed": "VBN",
"higher-margin": "JJR",
"u.s.-japan": "JJ",
"turquoise": "JJ",
"sanitary": "JJ",
"amok": "JJ",
"clawed": "JJ",
"surround": "VBP",
"misleading": "JJ",
"accommodate": "VB",
"emigrate": "VB",
"rely": "VB",
"unaware": "JJ",
"scamper": "VBP",
"drowsed": "VBN",
"realer": "JJR",
"rankled": "VBN",
"bide": "VB",
"boobify": "VB",
"outstretched": "JJ",
"na": "TO",
"nd": "CC",
"criminalized": "JJ",
"impounded": "VBN",
"dappled": "JJ",
"unregulated": "JJ",
"scrawny": "JJ",
"reassemble": "VB",
"flanged": "VBN",
"sloppy": "JJ",
"hairy": "JJ",
"twentieth": "CD",
"sees": "VBZ",
"decadelong": "JJ",
"united": "JJ",
"seen": "VBN",
"shelled": "JJ",
"sevenfold": "RB",
"concoct": "VB",
"demonized": "VBN",
"prefectural": "JJ",
"inhabit": "VBP",
"coral": "JJ",
"mccarthyite": "JJ",
"harmed": "VBN",
"flavored": "JJ",
"unawares": "RB",
"over-produce": "VB",
"varicolored": "JJ",
"countrywide": "JJ",
"dabs": "VBZ",
"worry": "VB",
"easily": "JJ",
"approximates": "VBZ",
"begun": "VBN",
"approximated": "VBN",
"splashy": "JJ",
"infuriated": "JJ",
"profit": "JJ",
"dehydrated": "JJ",
"subzero": "JJ",
"marries": "VBZ",
"unborn": "JJ",
"simplifies": "VBZ",
"simplified": "JJ",
"anesthetized": "JJ",
"taketh": "VB",
"and": "CC",
"mated": "JJ",
"ani": "JJ",
"pry": "JJ",
"goldang": "UH",
"perpetrated": "VBN",
"overage": "JJ",
"outguess": "VB",
"microchannel": "JJ",
"reveals": "VBZ",
"pummeled": "VBN",
"underpaid": "JJ",
"detect": "VB",
"flop": "JJ",
"belittled": "JJ",
"invokes": "VBZ",
"grieved": "VBN",
"deported": "VBN",
"archrival": "JJ",
"robbed": "VBN",
"crusaded": "VBN",
"agitated": "JJ",
"applaud": "VBP",
"retrograde": "JJ",
"devoid": "JJ",
"prospered": "VBN",
"arose": "VBD",
"softwood": "JJ",
"stiffnecked": "JJ",
"engulfed": "VBN",
"poised": "JJ",
"predetermined": "JJ",
"standstill": "JJ",
"upside": "RB",
"unhocked": "VBN",
"colloidal": "JJ",
"provides": "VBZ",
"terrifies": "VBZ",
"speculates": "VBZ",
"unpolished": "JJ",
"illuminated": "JJ",
"illuminates": "VBZ",
"swathed": "VBN",
"assign": "VB",
"preside": "VB",
"tubercular": "JJ",
"idiot": "JJ",
"kerchiefed": "JJ",
"bounded": "VBN",
"includee": "VBP",
"bilateral": "JJ",
"invest": "VB",
"curvy": "JJ",
"confers": "VBZ",
"remedied": "VBN",
"voids": "VBZ",
"subjected": "VBN",
"bubbled": "VBN",
"jacketed": "JJ",
"nonperforming": "JJ",
"undone": "JJ",
"offsets": "VBZ",
"ovarian": "JJ",
"midrange": "JJ",
"eventuate": "VBP",
"absurdist": "JJ",
"snug": "JJ",
"snub": "JJ",
"thus": "RB",
"vaguer": "JJR",
"coerce": "VB",
"hourlong": "JJ",
"extinguished": "JJ",
"pertained": "VBP",
"preoccupy": "VBP",
"flounce": "VBP",
"co-ordinate": "VB",
"unreasoning": "JJ",
"formulate": "VB",
"recapitulate": "VB",
"braided": "JJ",
"discrete": "JJ",
"generate": "VB",
"thrown": "JJ",
"scratchy": "JJ",
"throws": "VBZ",
"longtime": "JJ",
"blank": "JJ",
"swart": "JJ",
"imprinted": "VBN",
"uncut": "JJ",
"dispensed": "VBN",
"strengthen": "VB",
"febrile": "JJ",
"beribboned": "JJ",
"enduring": "JJ",
"mineral": "JJ",
"devalue": "VB",
"awakens": "VBZ",
"abiding": "JJ",
"transcendental": "JJ",
"stiff": "JJ",
"plays": "VBZ",
"rooseveltian": "JJ",
"more-established": "JJR",
"rarer": "JJR",
"bronze": "JJ",
"breakin": "VBG",
"ritualized": "VBN",
"flies": "VBZ",
"dug": "VBD",
"coerced": "VBN",
"aged": "JJ",
"coerces": "VBZ",
"reasserts": "VBZ",
"unspoken": "JJ",
"earmark": "VB",
"riffle": "VB",
"steeled": "VBN",
"front": "JJ",
"build": "VB",
"lovin": "JJ",
"within": "RB",
"understood": "JJ",
"unreimbursed": "VBN",
"tends": "VBZ",
"tinker": "VB",
"unhusked": "VBN",
"stricken": "JJ",
"mingles": "VBZ",
"malaysian": "JJ",
"forbidding": "JJ",
"interventionist": "JJ",
"fried": "JJ",
"scrutinized": "VBN",
"scrutinizes": "VBZ",
"vaulting": "JJ",
"sufferd": "VBN",
"issued": "VBN",
"flaunts": "VBZ",
"protrude": "VB",
"refilled": "VBN",
"desired": "JJ",
"bugeyed": "JJ",
"sexy": "JJ",
"chaste": "JJ",
"&": "CC",
"fer": "JJR",
"keerist": "UH",
"augment": "VB",
"impedes": "VBZ",
"proprietary": "JJ",
"dripping": "RB",
"carries": "VBZ",
"americans": "NNPS",
"desecrates": "VBZ",
"swearinge": "VBG",
"orthodox": "JJ",
"aztec": "JJ",
"negligent": "JJ",
"emerald": "JJ",
"all-over": "IN",
"rumanian": "JJ",
"tabloid": "JJ",
"integrates": "VBZ",
"brechtian": "JJ",
"thrifty": "JJ",
"performs": "VBZ",
"integrated": "JJ",
"despairing": "JJ",
"rewrote": "VBD",
"overtake": "VB",
"uproot": "VB",
"phrased": "VBN",
"salutary": "JJ",
"regards": "VBZ",
"beamed": "VBN",
"grander": "JJR",
"levelled": "VBN",
"olfactory": "JJ",
"discourage": "VB",
"refreshing": "JJ",
"undimmed": "VBN",
"brutalized": "VBN",
"spun": "VBN",
"prosecute": "JJ",
"inheres": "VBZ",
"spur": "VB",
"fossilized": "JJ",
"govern": "VB",
"torpedo": "VB",
"disenfranchised": "VBN",
"subscribe": "VB",
"coddle": "VBP",
"intimidating": "JJ",
"trim-your-own-franks": "VB",
"kneaded": "VBN",
"cross": "JJ",
"brandishes": "VBZ",
"moral": "JJ",
"unbridled": "JJ",
"replenish": "VB",
"argentine": "JJ",
"clock-stopped": "VBN",
"presume": "JJ",
"underwrote": "VBD",
"stodgy": "JJ",
"bossed": "VBN",
"urges": "VBZ",
"kinda": "RB",
"negate": "VB",
"groomed": "VBN",
"preapproved": "VBN",
"triggered": "VBN",
"tinged": "VBN",
"thievin": "VBG",
"humbling": "JJ",
"downtalking": "JJ",
"sloping": "JJ",
"earthly": "JJ",
"smaller-stock": "JJR",
"upwards": "RB",
"resublimed": "VBN",
"livery": "JJ",
"sputter": "VB",
"immature": "JJ",
"leisurely": "JJ",
"disturb": "VB",
"loathing": "JJ",
"enroute": "RB",
"jocular": "JJ",
"fossil": "JJ",
"resilient": "JJ",
"cull": "VB",
"kee-reist": "UH",
"smolders": "VBZ",
"unanswered": "JJ",
"shelve": "VB",
"dignifies": "VBZ",
"dignified": "JJ",
"minimized": "JJ",
"reassess": "VB",
"minimizes": "VBZ",
"infertile": "JJ",
"stockpiled": "VBN",
"heretofore": "RB",
"interrupt": "JJ",
"shrewder": "JJR",
"differentiates": "VBZ",
"crowned": "JJ",
"eared": "JJ",
"tempting": "JJ",
"procreate": "JJ",
"glassy": "JJ",
"unplowed": "JJ",
"rectified": "JJ",
"wod": "MD",
"hop-skipped": "VBN",
"constricted": "JJ",
"benighted": "JJ",
"soaked": "VBN",
"instructs": "VBZ",
"imprudent": "JJ",
"thrilled": "JJ",
"dummy": "JJ",
"incorporate": "VB",
"lethal": "JJ",
"abreast": "RB",
"crossways": "RB",
"remarry": "VB",
"hasten": "VB",
"peripheral": "JJ",
"flaxen": "JJ",
"avert": "VB",
"propagated": "VBN",
"nonregulated": "JJ",
"decompose": "VB",
"argue": "VBP",
"jog": "VB",
"subside": "VB",
"superhuman": "JJ",
"excorciate": "VB",
"contemplated": "VBN",
"contemplates": "VBZ",
"elicit": "VB",
"maximizing": "JJ",
"detracted": "VBN",
"backhanded": "JJ",
"sleeps": "VBZ",
"sleepy": "JJ",
"rotates": "VBZ",
"u.s.-about": "IN",
"obedient": "JJ",
"withing": "IN",
"creep": "VB",
"unfrozen": "JJ",
"chin-up": "IN",
"substituted": "VBN",
"underdeveloped": "JJ",
"c.i.f": "JJ",
"insincere": "JJ",
"cleaved": "VBN",
"entrust": "VB",
"withstands": "VBZ",
"clattery": "JJ",
"confectionery": "JJ",
"castor": "JJ",
"incurred": "VBN",
"activated": "JJ",
"retrofit": "VB",
"believe": "VBP",
"engrossing": "JJ",
"melt": "VB",
"meld": "VB",
"unshirted": "JJ",
"citywide": "JJ",
"incited": "VBN",
"oversupplied": "JJ",
"remitted": "VBN",
"re-establish": "VB",
"unanticipated": "JJ",
"optimal": "JJ",
"convoluted": "JJ",
"unclaimed": "JJ",
"improving": "JJ",
"natural": "JJ",
"correlate": "VB",
"nearsighted": "JJ",
"roleplayed": "VBN",
"more-selective": "JJR",
"crushing": "JJ",
"owing": "RB",
"propitiate": "VB",
"astray": "RB",
"astral": "JJ",
"uncommitted": "JJ",
"distal": "JJ",
"chekhovian": "JJ",
"bite": "VB",
"diehard": "JJ",
"stuffed": "JJ",
"southbound": "JJ",
"reclaims": "VBZ",
"slashed": "JJ",
"depressed": "JJ",
"damned": "JJ",
"buried": "JJ",
"peacekeeping": "JJ",
"inserted": "VBN",
"scarce": "JJ",
"punchy": "JJ",
"applied": "JJ",
"submerge": "VB",
"uncover": "VB",
"resiny": "JJ",
"aroused": "JJ",
"steroid": "JJ",
"matures": "VBZ",
"coolheaded": "JJ",
"puerile": "JJ",
"considers": "VBZ",
"fiveyear": "JJ",
"endures": "VBZ",
"mono": "JJ",
"cartelized": "VBN",
"spooked": "VBN",
"enrich": "VB",
"sterling": "JJ",
"rolled": "JJ",
"ebullient": "JJ",
"transmuted": "VBN",
"crusty": "JJ",
"snare": "VB",
"expository": "JJ",
"sharp": "JJ",
"crabbed": "JJ",
"pickled": "JJ",
"supplementary": "JJ",
"malposed": "JJ",
"refer": "VB",
"biased": "JJ",
"industrialized": "JJ",
"slatted": "JJ",
"extramarital": "JJ",
"betrays": "VBZ",
"masquerades": "VBZ",
"survives": "VBZ",
"follicular": "JJ",
"amplify": "VB",
"impute": "VBP",
"blinks": "VBZ",
"pinpointed": "VBN",
"straightens": "VBZ",
"catchup": "JJ",
"sanguine": "JJ",
"partitioned": "VBN",
"waived": "VBN",
"waives": "VBZ",
"restated": "VBN",
"squeal": "VB",
"th": "DT",
"joined": "JJ",
"drahve": "VB",
"assured": "JJ",
"whalesized": "JJ",
"befitting": "JJ",
"unbiased": "JJ",
"bided": "VBN",
"imminent": "JJ",
"cajole": "VB",
"unsound": "JJ",
"register": "VB",
"adorned": "VBN",
"nifty": "JJ",
"subtitled": "VBN",
"upstairs": "RB",
"finned": "VBN",
"calumniated": "VBN",
"sicker": "JJR",
"gnash": "VB",
"often": "RB",
"pre-registered": "VBN",
"spavined": "JJ",
"bimolecular": "JJ",
"caress": "VB",
"generalized": "JJ",
"wedded": "VBN",
"gold": "JJ",
"degraded": "JJ",
"standeth": "VBP",
"ordained": "JJ",
"unmeshed": "JJ",
"incident": "JJ",
"tramp": "JJ",
"dissuade": "VB",
"deport": "VB",
"inclement": "JJ",
"petrarchan": "JJ",
"comport": "VB",
"fetching": "JJ",
"rabid": "JJ",
"expend": "VB",
"surrogate": "JJ",
"eager": "JJ",
"semimonthly": "JJ",
"formal": "JJ",
"scape": "VB",
"beckon": "VBP",
"mighty": "JJ",
"re-legalization": "VB",
"anterior": "JJ",
"beefed": "VBN",
"muddleheaded": "JJ",
"awaited": "JJ",
"gleans": "VBZ",
"perplex": "VBP",
"presides": "VBZ",
"besiege": "VB",
"cerebrated": "VBN",
"nominated": "VBN",
"northwestern": "JJ",
"tibetan": "JJ",
"invented": "VBN",
"{": "(",
"altho": "IN",
"sienna": "JJ",
"explains": "VBZ",
"plain": "JJ",
"disarming": "JJ",
"governmentset": "VBN",
"clogs": "VBZ",
"occipital": "JJ",
"motivating": "JJ",
"mumbles": "VBZ",
"redeeming": "JJ",
"counter": "RB",
"re-supplied": "VBN",
"classy": "JJ",
"counted": "VBN",
"dispose": "VB",
"therefor": "RB",
"jagged": "JJ",
"borderline": "JJ",
"mediated": "VBN",
"regulatory": "JJ",
"dubbed": "VBN",
"hand-carried": "VBN",
"opportune": "JJ",
"evacuated": "VBN",
"gummy": "JJ",
"aerate": "VB",
"depressing": "JJ",
"crosswise": "JJ",
"unexpended": "VBN",
"unblushing": "JJ",
"accusing": "JJ",
"unbelieving": "JJ",
"correspond": "VB",
"therewith": "RB",
"souled": "JJ",
"lined": "JJ",
"screechy": "JJ",
"disbanded": "VBN",
"redirect": "VB",
"conciliate": "VB",
"handle": "VB",
"summon": "VB",
"anglian": "JJ",
"absentee": "JJ",
"rockbound": "JJ",
"hee": "UH",
"negotiates": "VBZ",
"unpaired": "VBN",
"overleveraged": "JJ",
"sits": "VBZ",
"burly": "JJ",
"fail": "JJ",
"roomy": "JJ",
"extempore": "RB",
"snitched": "VBN",
"imprison": "VB",
"misperceives": "VBZ",
"bargain-hunt": "VB",
"anguished": "JJ",
"activate": "VBP",
"restricts": "VBZ",
"disengaged": "VBN",
"more-detailed": "JJR",
"interwar": "JJ",
"convince": "VB",
"agreed-upon": "IN",
"oviform": "JJ",
"extrapolates": "VBZ",
"spew": "VBP",
"excoriate": "VB",
"regal": "JJ",
"whack": "VB",
"waterlogged": "JJ",
"pinch": "JJ",
"reinvent": "VB",
"chew": "VB",
"preaches": "VBZ",
"unsurpassed": "JJ",
"deliberate": "JJ",
"consequent": "JJ",
"faced": "JJ",
"thrombosed": "VBN",
"nourishing": "JJ",
"underrepresented": "VBN",
"reappraise": "VB",
"glittering": "JJ",
"hunkered": "VBN",
"zeroed": "VBN",
"wellplaced": "JJ",
"developed": "JJ",
"unshackled": "JJ",
"overvaulting": "JJ",
"antislavery": "JJ",
"unsubordinated": "JJ",
"coined": "VBN",
"austere": "JJ",
"befallen": "VBN",
"discomfited": "JJ",
"noncash": "JJ",
"homemaster": "JJ",
"toot-toot": "UH",
"profusely": "RB",
"mangled": "JJ",
"meshed": "JJ",
"unblinking": "JJ",
"latter": "JJ",
"unhook": "VB",
"insulated": "VBN",
"demoralizes": "VBZ",
"intergroup": "JJ",
"calculated": "JJ",
"judgmental": "JJ",
"demoralized": "VBN",
"unattached": "JJ",
"painfully": "RB",
"pierced": "VBN",
"headlong": "JJ",
"unfilled": "JJ",
"unmet": "JJ",
"afloat": "JJ",
"contraband": "JJ",
"uncataloged": "VBN",
"germinated": "JJ",
"refile": "VB",
"accentuate": "VB",
"thoughtprovoking": "JJ",
"poring": "JJ",
"harms": "VBZ",
"applies": "VBZ",
"unproved": "JJ",
"grandiose": "JJ",
"perform": "VB",
"sheltered": "JJ",
"burbles": "VBZ",
"macaque": "JJ",
"stringent": "JJ",
"invalidate": "VB",
"unifies": "VBZ",
"bismarckian": "JJ",
"exalt": "VBP",
"boxed": "JJ",
"ginnin": "VBG",
"aimed": "VBN",
"denies": "VBZ",
"pose": "VB",
"confer": "VB",
"chafe": "VBP",
"rearrange": "VB",
"rallying": "JJ",
"accepts": "VBZ",
"incur": "VB",
"float": "VB",
"wan": "JJ",
"truncated": "JJ",
"becoming": "JJ",
"sundry": "JJ",
"attuned": "VBN",
"emit": "VB",
"muscular": "JJ",
"necessitates": "VBZ",
"necessitated": "VBN",
"gotham": "VB",
"compensate": "VB",
"presented": "VBN",
"self-insure": "VBP",
"enticing": "JJ",
"wherefore": "RB",
"dental": "JJ",
"frothing": "JJ",
"re-examine": "VB",
"fundamentalist": "JJ",
"selects": "VBZ",
"f": "RB",
"attribute": "VBP",
"heare": "VBP",
"unwritten": "JJ",
"over-magazined": "VBN",
"nonstop": "JJ",
"post-fray": "RB",
"accelerates": "VBZ",
"worsens": "VBZ",
"exacerbates": "VBZ",
"unlovely": "JJ",
"pruned": "VBN",
"enacted": "VBN",
"whitewalled": "JJ",
"zig-zag": "VBP",
"profess": "JJ",
"deadlocked": "JJ",
"weds": "VBZ",
"slaked": "VBN",
"collimated": "VBN",
"prepared": "JJ",
"surfeited": "VBN",
"slap": "VB",
"garpian": "JJ",
"underemployed": "JJ",
"upgrade": "VB",
"scatterbrained": "JJ",
"phased": "VBN",
"rehear": "VB",
"loath": "JJ",
"cannot": "MD",
"celebrate": "VB",
"preempt": "VB",
"keyed": "VBN",
"overworked": "JJ",
"afoul": "RB",
"disppointed": "JJ",
"burmese": "JJ",
"re-educate": "VB",
"reinterpreted": "VBN",
"maladroit": "JJ",
"informer": "JJ",
"patriarchal": "JJ",
"accommodating": "JJ",
"crumbly": "JJ",
"heigh-ho": "UH",
"canceled": "VBN",
"short-sell": "VB",
"closest": "RB",
"avoided": "VBN",
"alfresco": "JJ",
"shouts": "VBZ",
"mirrored": "VBN",
"spectacular": "JJ",
"overlooks": "VBZ",
"recipient": "JJ",
"lilliputian": "JJ",
"unplumbed": "JJ",
"stranger": "JJR",
"equivalent": "JJ",
"leftover": "JJ",
"sabers-along": "IN",
"escalating": "JJ",
"lob": "VB",
"lop": "JJ",
"lot": "RB",
"slovenian": "JJ",
"ragged": "JJ",
"stale": "JJ",
"bellows": "VBZ",
"williamsesque": "JJ",
"trickled": "VBN",
"corporatewide": "JJ",
"intense": "JJ",
"assert": "VB",
"publish": "VB",
"copyrighted": "VBN",
"fizzles": "VBZ",
"glitzy": "JJ",
"foster": "VB",
"erects": "VBZ",
"appealing": "JJ",
"deficient": "JJ",
"libeled": "VBN",
"vulpine": "JJ",
"unheard": "JJ",
"decriminalized": "VBN",
"promotes": "VBZ",
"gether": "VB",
"dolledup": "JJ",
"vegetarian": "JJ",
"threemonth": "JJ",
"takes": "VBZ",
"relegated": "VBN",
"slants": "VBZ",
"taken": "JJ",
"overbuilt": "JJ",
"slouchy": "JJ",
"gauche": "JJ",
"stinging": "JJ",
"magenta": "JJ",
"carpeted": "VBN",
"undedicated": "VBN",
"averts": "VBZ",
"finite": "JJ",
"rots": "VBZ",
"intervene": "VB",
"nonbinding": "JJ",
"historicized": "VBN",
"sketched": "VBN",
"unnatural": "JJ",
"preserve": "VB",
"outrun": "VB",
"curtailed": "VBN",
"maht": "MD",
"transparent": "JJ",
"less-ambitious": "JJR",
"most-livable": "JJS",
"anticipate": "VB",
"obfuscate": "VB",
"towardes": "IN",
"unfocussed": "VBN",
"expansionist": "JJ",
"plunder": "JJ",
"exempts": "VBZ",
"reground": "JJ",
"humid": "JJ",
"renegotiate": "VB",
"grandiloquent": "JJ",
"imparted": "VBN",
"speckled": "JJ",
"noted": "JJ",
"catches": "VBZ",
"catchee": "VB",
"overtaxed": "JJ",
"lynched": "VBN",
"plush": "JJ",
"dally": "VB",
"hardline": "JJ",
"prepubescent": "JJ",
"undigested": "JJ",
"longerterm": "JJ",
"persecuted": "JJ",
"regroup": "VB",
"wherever": "WRB",
"solarheated": "JJ",
"jackbooted": "JJ",
"herewith": "RB",
"older": "JJ",
"docked": "VBN",
"reclaim": "VB",
"olden": "JJ",
"remaining": "JJ",
"coplandesque": "JJ",
"reptilian": "JJ",
"copernican": "JJ",
"wiser": "JJR",
"stimulatory": "JJ",
"skimpy": "JJ",
"taboo": "JJ",
"uppon": "IN",
"misspent": "VBN",
"whittled": "VBN",
"dangle": "VB",
"smelly": "JJ",
"smells": "JJ",
"rummage": "VB",
"branchline": "JJ",
"hairyknuckled": "JJ",
"properly": "RB",
"intermodal": "JJ",
"viennese": "JJ",
"unwise": "JJ",
"upended": "JJ",
"spartan": "JJ",
"nabbed": "VBN",
"jesting": "JJ",
"hyaline": "JJ",
"stave": "VB",
"excluded": "JJ",
"cluttered": "JJ",
"jinxed": "JJ",
"muzzled": "VBN",
"brokered": "JJ",
"redrawn": "JJ",
"likewise": "JJ",
"reestablish": "VB",
"lordly": "JJ",
"outer": "JJ",
"enshrouds": "VBZ",
"dissect": "VB",
"documented": "VBN",
"handy": "JJ",
"uncaring": "JJ",
"illuminate": "VB",
"remiss": "JJ",
"humiliating": "JJ",
"unliterary": "JJ",
"intoxicated": "JJ",
"swapped": "VBN",
"disembodied": "JJ",
"stultifying": "JJ",
"paves": "VBZ",
"perfectly": "RB",
"precursory": "JJ",
"saintly": "JJ",
"arrogate": "VB",
"ephemeral": "JJ",
"circumvents": "VBZ",
"gray": "JJ",
"quarantine": "VB",
"overflowing": "JJ",
"trilateral": "JJ",
"humane": "JJ",
"allotted": "VBN",
"stygian": "JJ",
"admit": "VB",
"re-instated": "VBN",
"pap-pap-pap-hey": "UH",
"distinguish": "VB",
"speakin": "VBG",
"dwarfs": "VBZ",
"encircles": "VBZ",
"uncertified": "JJ",
"intimidate": "JJ",
"coddled": "VBN",
"capture": "VB",
"suborbital": "JJ",
"endearing": "JJ",
"mistaken": "JJ",
"dost": "VBP",
"clouded": "JJ",
"livid": "JJ",
"district-by-district": "RB",
"uttermost": "JJ",
"peter": "VB",
"hinder": "JJR",
"coated": "JJ",
"repaired": "VBN",
"presupposed": "VBN",
"articulate": "JJ",
"withholds": "VBZ",
"globalized": "JJ",
"invent": "VB",
"collected": "JJ",
"strengthens": "VBZ",
"flecked": "VBN",
"onwards": "RB",
"talkin": "VBG",
"wouldbe": "JJ",
"astounding": "JJ",
"dragoon": "VBP",
"undelivered": "JJ",
"theretofore": "RB",
"powdery": "JJ",
"smack": "RB",
"panelized": "VBN",
"implemented": "VBN",
"yooee": "UH",
"harass": "VB",
"diagrammed": "VBN",
"reckoned": "VBN",
"jumbo": "JJ",
"wiry": "JJ",
"multipronged": "VBN",
"moored": "VBN",
"lunge": "VB",
"full-length": "RB",
"ostrich": "JJ",
"faulty": "JJ",
"richer": "JJR",
"predominates": "VBZ",
"natch": "UH",
"ancient": "JJ",
"befall": "VB",
"underenforces": "VBZ",
"unexercised": "JJ",
"persist": "VB",
"marital": "JJ",
"typecast": "VB",
"unconditioned": "JJ",
"scrounge": "VBP",
"naughty": "JJ",
"reassure": "VB",
"radiate": "JJ",
"neuromuscular": "JJ",
"dumbfounded": "JJ",
"halted": "VBN",
"dwell": "VBP",
"bouncing": "JJ",
"gambled": "VBN",
"exorcise": "VB",
"seep": "VB",
"quench": "JJ",
"rechristens": "VBZ",
"seem": "CP",
"rangy": "JJ",
"floppy": "JJ",
"re-scheduled": "VBN",
"mashed": "VBN",
"don": "VB",
"planetary": "JJ",
"sows": "VBZ",
"sown": "VBN",
"hollers": "VBZ",
"rejoicing": "JJ",
"tiled": "JJ",
"internationalized": "VBN",
"rival": "JJ",
"inspects": "VBZ",
"laze": "VB",
"syrian": "JJ",
"though": "RB",
"paralyze": "VB",
"replicate": "VB",
"chug": "VBP",
"unfortunate": "JJ",
"filtered": "VBN",
"sodden": "JJ",
"harbored": "VBN",
"butted": "VBN",
"transforms": "VBZ",
"tattooed": "VBN",
"impending": "JJ",
"legion": "JJ",
"reuse": "VB",
"perfunctory": "JJ",
"dreamy": "JJ",
"dreamt": "VBD",
"ungratified": "JJ",
"conceal": "VB",
"lathered": "VBN",
"restate": "VB",
"inspected": "VBN",
"lampoon": "VB",
"readmit": "VB",
"lingers": "VBZ",
"bloodstained": "JJ",
"discriminate": "VB",
"clingy": "JJ",
"offputting": "JJ",
"clings": "VBZ",
"matriarchal": "JJ",
"delivered": "VBN",
"glossy": "JJ",
"manages": "VBZ",
"depend": "VB",
"forked": "JJ",
"jettison": "VB",
"freemarket": "JJ",
"whiz-bang": "UH",
"sacral": "JJ",
"reunite": "VB",
"sixfold": "RB",
"promissory": "JJ",
"unobserved": "JJ",
"first-ever": "RB",
"equipped": "JJ",
"reappear": "VBP",
"concocted": "VBN",
"battered": "JJ",
"traipse": "VB",
"rarified": "JJ",
"antifundamentalist": "JJ",
"imbedded": "VBN",
"sensitized": "VBN",
"undisclosed": "JJ",
"unlock": "VB",
"befell": "VBD",
"emerges": "VBZ",
"bamboo": "JJ",
"whittle": "VBP",
"orwellian": "JJ",
"brynge": "VBP",
"tailor-make": "VB",
"participates": "VBZ",
"modernist": "JJ",
"ambulatory": "JJ",
"booted": "JJ",
"overenforced": "VBN",
"efficient": "JJ",
"isolate": "JJ",
"endangered": "JJ",
"frolicked": "VBN",
"vitiate": "VB",
"befouled": "JJ",
"enclosed": "JJ",
"navigated": "VBN",
"untold": "JJ",
"longest-standing": "JJS",
"re-emerge": "VB",
"ruptured": "VBN",
"bedraggled": "JJ",
"tuck": "VBP",
"catbird": "JJ",
"paddle": "VB",
"unassuming": "JJ",
"slenderer": "JJR",
"jaunty": "JJ",
"educated": "JJ",
"angolan": "JJ",
"incubate": "VB",
"finagled": "VBN",
"solve": "VB",
"proximal": "JJ",
"outranks": "VBZ",
"fifteenfold": "RB",
"twin": "JJ",
"tooke": "VBD",
"erase": "VB",
"matching": "JJ",
"confirm": "VB",
"untamed": "JJ",
"u.s.-produced": "JJ",
"pretends": "VBZ",
"hated": "JJ",
"keynote": "VBP",
"repent": "VB",
"hemorrhaged": "VBN",
"forbidden": "JJ",
"slung": "VBD",
"sung": "VBN",
"tartar": "JJ",
"pinioned": "JJ",
"nonwhite": "JJ",
"kill": "VB",
"becometh": "VBZ",
"embodies": "VBZ",
"ruminate": "VB",
"scanty": "JJ",
"cowardly": "JJ",
"unapproved": "JJ",
"lebanese": "JJ",
"annunciated": "VBN",
"culinary": "JJ",
"abroade": "RB",
"brasil": "JJ",
"unnumbered": "JJ",
"overhand": "JJ",
"hessian": "JJ",
"awkward": "JJ",
"thout": "VBD",
"intones": "VBZ",
"blunder": "JJ",
"deserted": "JJ",
"graunt": "VB",
"heartstopping": "JJ",
"deteriorates": "VBZ",
"excruciating": "JJ",
"ashen": "JJ",
"deteriorated": "VBN",
"forthright": "JJ",
"hark": "VBP",
"discouraging": "JJ",
"firstround": "JJ",
"trusteth": "VBP",
"crouches": "VBZ",
"ruined": "JJ",
"reinforces": "VBZ",
"reinforced": "VBN",
"inhibits": "VBZ",
"neglects": "VBZ",
"disown": "VB",
"referred": "VBN",
"ungodly": "JJ",
"supposed": "JJ",
"sedate": "JJ",
"ordere": "VBN",
"categorized": "VBN",
"creased": "VBN",
"clearer": "JJR",
"fundamantal": "JJ",
"corrupts": "VBZ",
"whetted": "VBN",
"contorted": "JJ",
"roughshod": "JJ",
"override": "VB",
"distributes": "VBZ",
"infuse": "VB",
"urinary": "JJ",
"unfettered": "JJ",
"forthcoming": "JJ",
"de-iodinate": "VB",
"krist": "UH",
"burned": "JJ",
"transfered": "VBN",
"windswept": "JJ",
"seeded": "JJ",
"alarmist": "JJ",
"reverse": "VB",
"tapered": "JJ",
"longsuffering": "JJ",
"taxfree": "JJ",
"presale": "JJ",
"misunderstands": "VBZ",
"rat": "JJ",
"vulcanized": "VBN",
"unaffected": "JJ",
"timid": "JJ",
"covets": "VBZ",
"distracting": "JJ",
"openly": "JJ",
"re-used": "VBN",
"stirrin": "VBG",
"squawk": "VB",
"married": "JJ",
"whatever": "JJ",
"einsteinian": "JJ",
"whoa": "UH",
"aflame": "JJ",
"patient": "JJ",
"crap": "JJ",
"constrains": "VBZ",
"goody": "UH",
"frenzied": "JJ",
"impure": "JJ",
"cram": "JJ",
"mealynosed": "JJ",
"single": "JJ",
"assassinate": "VB",
"prepares": "VBZ",
"its": "PP",
"dispassionate": "JJ",
"asian": "JJ",
"commoner": "JJR",
"fecund": "JJ",
"huddled": "JJ",
"aromatick": "JJ",
"prototyped": "VBN",
"restates": "VBZ",
"pomaded": "VBN",
"outlying": "JJ",
"implicit": "JJ",
"chinese": "JJ",
"existent": "JJ",
"formulated": "JJ",
"formulates": "VBZ",
"bested": "VBN",
"nauseated": "JJ",
"upcoming": "JJ",
"dupes": "VBZ",
"apprenticed": "VBN",
"unforgiving": "JJ",
"duped": "VBN",
"misfired": "VBN",
"exclaims": "VBZ",
"curving": "JJ",
"revs": "VBZ",
"bluff": "JJ",
"trifling": "JJ",
"counterbalanced": "VBN",
"confiscatory": "JJ",
"test-drive": "VB",
"poaches": "VBZ",
"re-open": "VB",
"widowed": "VBN",
"negro": "JJ",
"outbid": "VB",
"scalding": "JJ",
"sprawled": "VBN",
"multilayered": "JJ",
"pedigreed": "VBN",
"unspecified": "JJ",
"abolished": "VBN",
"newfangled": "JJ",
"mid": "JJ",
"propagate": "VB",
"sally": "VB",
"skinny": "JJ",
"sidetrack": "VB",
"interpeople": "JJ",
"inferior": "JJ",
"re-assumed": "VBN",
"filleted": "VBN",
"enhances": "VBZ",
"embezzle": "VB",
"enhanced": "JJ",
"awaits": "VBZ",
"consentual": "JJ",
"exclaim": "VB",
"devour": "VB",
"elects": "VBZ",
"spellbound": "JJ",
"divvied": "VBN",
"stationed": "VBN",
"an": "DT",
"wellknown": "JJ",
"deloused": "VBN",
"aw": "UH",
"almost": "RB",
"pluck": "VB",
"glycerinated": "JJ",
"infer": "VB",
"numbered": "JJ",
"bluesy": "JJ",
"ratify": "VB",
"miasmal": "JJ",
"add": "VB",
"match": "VB",
"more-than-average": "RB",
"honeycombed": "JJ",
"propel": "VB",
"masked": "JJ",
"bustling": "JJ",
"lessens": "VBZ",
"stellar": "JJ",
"fleshy": "JJ",
"unreleased": "JJ",
"unwind": "VB",
"gleaned": "VBN",
"dizzying": "JJ",
"tilled": "JJ",
"multicolored": "JJ",
"violent": "JJ",
"wallow": "VB",
"goin": "VBG",
"entreat": "VB",
"heelsthe": "DT",
"ceartaine": "JJ",
"violate": "VB",
"rightist": "JJ",
"jack": "VB",
"solemn": "JJ",
"parched": "JJ",
"aural": "JJ",
"ciceronian": "JJ",
"stray": "JJ",
"strap": "VB",
"swingy": "JJ",
"undisciplined": "JJ",
"unwrinkled": "JJ",
"intermeshed": "JJ",
"optioned": "VBN",
"wobbling": "JJ",
"maintain": "VB",
"shadowy": "JJ",
"depress": "VB",
"collaborates": "VBZ",
"pre-fund": "VB",
"east-to-west": "RB",
"awoke": "VBD",
"inconvenient": "JJ",
"leach": "VB",
"murder": "JJ",
"indiscreet": "JJ",
"pyramidal": "JJ",
"separatist": "JJ",
"prone": "JJ",
"overstrained": "VBN",
"inured": "VBN",
"mammary": "JJ",
"preset": "JJ",
"plenty": "JJ",
"disarmed": "JJ",
"interject": "VBP",
"prevails": "VBZ",
"devastating": "JJ",
"prevaile": "VB",
"announce": "VB",
"aaa": "JJ",
"aah": "UH",
"reinstall": "VB",
"overbearing": "JJ",
"unlatch": "VB",
"erupt": "VB",
"predates": "VBZ",
"irregular": "JJ",
"subnormal": "JJ",
"exterior": "JJ",
"upholds": "VBZ",
"pivotal": "JJ",
"bewhiskered": "JJ",
"arbitrary": "JJ",
"reinsured": "VBN",
"reinsurer": "JJR",
"buildin": "VBG",
"enunciate": "VB",
"permitted": "JJ",
"trustworthy": "JJ",
"naturalized": "JJ",
"transform": "VB",
"gim": "VB",
"steers": "VBZ",
"underclass": "JJ",
"attempted": "JJ",
"illuminating": "JJ",
"most-polluted": "JJS",
"quicksilver": "JJ",
"decorate": "VBP",
"acclaimed": "JJ",
"shines": "VBZ",
"longrun": "JJ",
"patterned": "VBN",
"discern": "VB",
"outmoded": "JJ",
"beseiged": "VBN",
"couched": "VBN",
"invades": "VBZ",
"unmaterialized": "VBN",
"looted": "VBN",
"channeled": "VBN",
"overrides": "VBZ",
"guilty": "JJ",
"paralyzes": "VBZ",
"erudite": "JJ",
"paralyzed": "JJ",
"sporty": "JJ",
"noncombat": "JJ",
"baser": "JJR",
"tinplated": "VBN",
"neglected": "JJ",
"moonlit": "JJ",
"unarmed": "JJ",
"provoke": "VB",
"disliked": "JJ",
"coiled": "JJ",
"paide": "VBN",
"paramount": "JJ",
"execute": "VB",
"arteriolar": "JJ",
"plain-out": "RB",
"depersonalized": "VBN",
"cancels": "VBZ",
"kidnaped": "VBN",
"limps": "VBZ",
"uniformed": "JJ",
"broached": "VBN",
"knoweth": "VBP",
"petered": "VBN",
"cooling": "JJ",
"portend": "VBP",
"straddles": "VBZ",
"resifted": "VBN",
"adopt": "VB",
"rebalanced": "VBN",
"partake": "VB",
"hedge": "VB",
"sabotage": "JJ",
"obliterate": "JJ",
"imposing": "JJ",
"disarranged": "JJ",
"unoccupied": "JJ",
"topgrade": "JJ",
"co-edits": "VBZ",
"pronto": "RB",
"jammed": "JJ",
"together": "RB",
"myself": "PRP",
"slippery": "JJ",
"hunts": "VBZ",
"pre-try": "VB",
"hevin": "VBG",
"excavated": "VBN",
"reward": "VB",
"burglarproof": "JJ",
"dulls": "VBZ",
"impound": "VB",
"painteresque": "JJ",
"wainscoted": "JJ",
"overheated": "JJ",
"ours": "PRP",
"oftener": "RBR",
"europeanized": "VBN",
"undreamt": "VBN",
"attests": "VBZ",
"disorganized": "JJ",
"obeys": "VBZ",
"overstaffed": "JJ",
"dislocated": "JJ",
"forbade": "VBD",
"lapidary": "JJ",
"promote": "VB",
"heave": "VB",
"compel": "VB",
"brash": "JJ",
"gator": "JJ",
"variegated": "JJ",
"eschewed": "VBN",
"unlined": "JJ",
"becase": "IN",
"sparked": "VBN",
"infringe": "VB",
"pulmonary": "JJ",
"elongated": "VBN",
"proceed": "VB",
"irritate": "VB",
"widens": "VBZ",
"underprivileged": "JJ",
"quarterly": "JJ",
"mellow": "JJ",
"wrestles": "VBZ",
"co-host": "VBP",
"swung": "VBD",
"allege": "VBP",
"expedient": "JJ",
"earlier-the": "IN",
"ever-greater": "JJR",
"underplayed": "VBN",
"misspelled": "VBN",
"overused": "VBN",
"characterizes": "VBZ",
"characterized": "VBN",
"say-because": "IN",
"organised": "JJ",
"monotone": "JJ",
"seizin": "VBG",
"notify": "VB",
"pleasin": "VBG",
"conventionalized": "VBN",
"flimsy": "JJ",
"inaugurated": "VBN",
"nagging": "JJ",
"outdoors": "RB",
"breakeven": "JJ",
"comforting": "JJ",
"engulf": "VB",
"stigmatizes": "VBZ",
"germans": "NNPS",
"biggest-ever": "RB",
"behynde": "IN",
"gilded": "JJ",
"delinquent": "JJ",
"mosey": "VB",
"deader": "JJR",
"frumpy": "JJ",
"determines": "VBZ",
"unaddressed": "JJ",
"investigate": "VB",
"achieved": "VBN",
"achieves": "VBZ",
"degrading": "JJ",
"pinch-hit": "VB",
"tumbledown": "JJ",
"bludgeoned": "VBN",
"blissfully": "RB",
"rave": "JJ",
"deprecatory": "JJ",
"out-trade": "VB",
"fatiegued": "JJ",
"orchestral": "JJ",
"rocking": "JJ",
"longer-range": "JJR",
"rosy": "JJ",
"advise": "VB",
"selle": "VB",
"flown": "VBN",
"unrestrained": "JJ",
"underreported": "VBN",
"polled": "VBN",
"bestubbled": "JJ",
"be-that": "VB",
"tabled": "VBN",
"amended": "JJ",
"secondary": "JJ",
"awaken": "VB",
"digitalized": "JJ",
"entice": "VB",
"sprightly": "JJ",
"understanded": "VBN",
"raided": "VBN",
"divest": "VB",
"square": "JJ",
"baggy": "JJ",
"usurp": "VB",
"junior": "JJ",
"elide": "VBP",
"freak": "JJ",
"allayed": "VBN",
"rainy": "JJ",
"mock": "JJ",
"muddled": "JJ",
"generates": "VBZ",
"generated": "VBN",
"buries": "VBZ",
"onct": "IN",
"epitomizes": "VBZ",
"resistance": "JJ",
"epitomized": "VBN",
"acclimatized": "VBN",
"breathing": "JJ",
"seized": "VBN",
"relives": "VBZ",
"inaccurate": "JJ",
"appeased": "VBN",
"capital": "JJ",
"incriminating": "JJ",
"wil": "MD",
"stabilized": "JJ",
"undecorated": "JJ",
"stabilizes": "VBZ",
"counterfeit": "JJ",
"tamper": "VB",
"blustery": "JJ",
"demonstrates": "VBZ",
"improvised": "JJ",
"stamped": "JJ",
"restrain": "VB",
"underpin": "VB",
"testifies": "VBZ",
"re-enter": "VB",
"relates": "VBZ",
"maintains": "VBZ",
"via": "IN",
"scattershot": "JJ",
"instituted": "VBN",
"baptized": "VBN",
"congenital": "JJ",
"limiting": "JJ",
"elongate": "VB",
"after": "RB",
"outward": "RB",
"vernacular": "JJ",
"politicized": "VBN",
"enthrones": "VBZ",
"clothbound": "JJ",
"queried": "VBN",
"artsy": "JJ",
"pitted": "VBN",
"acquires": "VBZ",
"broach": "VB",
"refurnished": "VBN",
"swift": "JJ",
"unlamented": "JJ",
"bewildering": "JJ",
"counterchallenge": "VB",
"abandoned": "JJ",
"rename": "VB",
"apprehend": "VB",
"disapprove": "VBP",
"coached": "VBN",
"lopsided": "JJ",
"antsy": "JJ",
"plowed": "VBN",
"banded": "JJ",
"console": "VB",
"superstrong": "JJ",
"ablaze": "JJ",
"u.s.-owned": "JJ",
"swear": "VB",
"*": "SYM",
"stymied": "VBN",
"baffling": "JJ",
"mutter": "VB",
"mailed": "VBN",
"ruling": "JJ",
"fulllength": "JJ",
"fortunate": "JJ",
"myn": "PRP",
"overdeveloped": "JJ",
"u.s.-south": "JJ",
"threetranche": "JJ",
"alienated": "JJ",
"cambodian": "JJ",
"alienates": "VBZ",
"sopping": "JJ",
"woo": "VB",
"mossberg": "JJ",
"kennedyesque": "JJ",
"auctioned": "VBN",
"precise": "JJ",
"reactivated": "VBN",
"catalyzed": "VBN",
"secluded": "JJ",
"exhort": "VB",
"occupying": "JJ",
"untie": "VB",
"icebound": "JJ",
"suffocated": "VBN",
"downward": "JJ",
"brings": "VBZ",
"canonized": "JJ",
"sweeten": "VB",
"sweeter": "JJR",
"denyin": "VBG",
"promulgated": "JJ",
"vitiated": "JJ",
"revisit": "VB",
"retooled": "VBN",
"outlawed": "JJ",
"scoffs": "VBZ",
"tranquilizing": "JJ",
"conned": "VBN",
"undercut": "VB",
"programed": "VBN",
"braised": "VBN",
"clumsy": "JJ",
"addicted": "VBN",
"obdurate": "JJ",
"ate": "VBD",
"no-o": "UH",
"earthy": "JJ",
"playfully": "RB",
"tangy": "JJ",
"unguided": "JJ",
"readjusted": "VBN",
"zounds": "UH",
"unintended": "JJ",
"relaunched": "VBN",
"kayo": "VB",
"unperformed": "JJ",
"figger": "VB",
"unsuspecting": "JJ",
"blackmailed": "VBN",
"shalt": "VB",
"quality": "JJ",
"comprise": "VBP",
"prim": "JJ",
"sexist": "JJ",
"undue": "JJ",
"pastoral": "JJ",
"plagued": "VBN",
"thees": "DT",
"pilloried": "VBN",
"symbolizes": "VBZ",
"closed": "JJ",
"trucked": "VBN",
"sauterne": "JJ",
"roofed": "VBN",
"vows": "VBZ",
"morever": "RB",
"shipwrecked": "JJ",
"disseminated": "VBN",
"disseminates": "VBZ",
"distribute": "VB",
"deters": "VBZ",
"unimpassioned": "JJ",
"remind": "VB",
"cavin": "VBG",
"further": "JJR",
"animate": "JJ",
"whitens": "VBZ",
"prefund": "VB",
"ruffles": "VBZ",
"summoned": "VBN",
"bowing": "JJ",
"emits": "VBZ",
"first": "JJ",
"instructed": "VBN",
"recollect": "VBP",
"frazzled": "JJ",
"unfree": "JJ",
"followthrough": "JJ",
"sighs": "VBZ",
"bateau": "JJ",
"momentary": "JJ",
"front-loads": "VBZ",
"shimmy": "VB",
"smalltime": "JJ",
"fatigued": "JJ",
"most-remarkable": "JJS",
"bulldozed": "VBN",
"coppery": "JJ",
"bi": "IN",
"contemplate": "VB",
"fourfold": "JJ",
"loving": "JJ",
"refrain": "VB",
"militated": "VBN",
"jewel-bright": "RB",
"privy": "JJ",
"unequalled": "JJ",
"uncomforted": "JJ",
"immune": "JJ",
"advancing": "JJ",
"burgundian": "JJ",
"cardiac": "JJ",
"lighter": "JJR",
"stampeded": "VBN",
"derive": "VBP",
"haughty": "JJ",
"paraded": "VBN",
"decreased": "JJ",
"bipartisan": "JJ",
"retails": "VBZ",
"withdrew": "VBD",
"suspends": "VBZ",
"fluted": "JJ",
"topnotch": "JJ",
"exploding": "JJ",
"complimented": "VBN",
"quits": "VBZ",
"sin-ned": "VB",
"unlicensed": "JJ",
"punk": "JJ",
"isolated": "JJ",
"reopen": "VB",
"structured": "JJ",
"plies": "VBZ",
"veers": "VBZ",
"sag": "VB",
"sap": "VB",
"aside": "RB",
"transcribed": "VBN",
"destroy": "VB",
"knew": "VBD",
"butchered": "VBN",
"accented": "JJ",
"homespun": "JJ",
"foward": "JJ",
"uppermost": "RB",
"dissimilar": "JJ",
"ghastly": "JJ",
"plummet": "VB",
"churchgoing": "JJ",
"forsake": "VB",
"lettin": "VBG",
"facilitatory": "JJ",
"adept": "JJ",
"madcap": "JJ",
"overland": "RB",
"originates": "VBZ",
"rekindles": "VBZ",
"observe": "VB",
"spanking": "JJ",
"coextrude": "VBP",
"twisty": "JJ",
"maximal": "JJ",
"redeemin": "VBG",
"thinkin": "VBG",
"colorblind": "JJ",
"manifold": "JJ",
"west-to-east": "RB",
"disperse": "VB",
"nymphomaniac": "JJ",
"ghostly": "JJ",
"coded": "JJ",
"warped": "JJ",
"indeed": "RB",
"stationary": "JJ",
"pushy": "JJ",
"tote": "VB",
"side": "JJ",
"jordanian": "JJ",
"stony": "JJ",
"sneering": "JJ",
"wade": "VB",
"mourns": "VBZ",
"unveils": "VBZ",
"flirt": "VBP",
"laminated": "VBN",
"noninflationary": "JJ",
"preppy": "JJ",
"overlying": "JJ",
"bilked": "VBN",
"instigate": "VB",
"ninetieth": "CD",
"forestall": "VB",
"discolors": "VBZ",
"introductory": "JJ",
"brutal": "JJ",
"unsatisfactory": "JJ",
"whammo": "UH",
"wavering": "JJ",
"russian": "JJ",
"teen": "JJ",
"u.s.-canadian": "JJ",
"foregone": "JJ",
"unanalyzed": "JJ",
"rowdy": "JJ",
"denude": "VB",
"licks": "VBZ",
"pre-signed": "VBN",
"motley": "JJ",
"imperil": "VB",
"thereof": "RB",
"featured": "JJ",
"reappointed": "VBN",
"flyaway": "JJ",
"dwelt": "VBD",
"disadvantaged": "JJ",
"bargen": "VBP",
"thespian": "JJ",
"forwards": "RB",
"sidle": "VB",
"molecular": "JJ",
"vocal": "JJ",
"multipurpose": "JJ",
"disenchanted": "JJ",
"ancillary": "JJ",
"nasal": "JJ",
"despise": "VBP",
"stepwise": "JJ",
"scuff": "VB",
"resent": "VBP",
"belled": "JJ",
"#": "#",
"diluted": "VBN",
"dilutes": "VBZ",
"kneel": "VB",
"milder": "JJR",
"disallow": "VB",
"enables": "VBZ",
"harpy": "JJ",
"jowly": "JJ",
"modern": "JJ",
"hind": "JJ",
"arching": "JJ",
"sounding": "JJ",
"favorites": "NNPS",
"displeased": "JJ",
"unlabeled": "JJ",
"rammin": "VBG",
"unto": "IN",
"expansionary": "JJ",
"dictated": "VBN",
"irked": "JJ",
"appropriate": "JJ",
"deduct": "VB",
"traduce": "VB",
"consumed": "VBN",
"reconcile": "JJ",
"raging": "JJ",
"surpassing": "JJ",
"nondiscriminatory": "JJ",
"overconfident": "JJ",
"labelled": "JJ",
"illustrates": "VBZ",
"unmatched": "JJ",
"manipulates": "VBZ",
"gather": "VB",
"jettisoned": "VBN",
"pledge": "JJ",
"gettin": "VBG",
"overshadows": "VBZ",
"deduces": "VBZ",
"subgross": "JJ",
"deduced": "VBN",
"involves": "VBZ",
"counsels": "VBZ",
"illegal": "JJ",
"afforded": "VBN",
"zim": "UH",
"indpendent": "JJ",
"pour": "VB",
"rubberized": "VBN",
"fulfill": "VB",
"pieced": "VBN",
"purposed": "VBN",
"puckered": "VBN",
"overridden": "VBN",
"hitched": "VBN",
"crabby": "JJ",
"derelict": "JJ",
"archival": "JJ",
"hindering": "JJ",
"fascinating": "JJ",
"behaves": "VBZ",
"courted": "VBN",
"fluffy": "JJ",
"elite": "JJ",
"stricter": "JJR",
"amble": "VB",
"particular": "JJ",
"fervent": "JJ",
"more-distinctive": "JJR",
"touching": "JJ",
"spiffy": "JJ",
"familiar": "JJ",
"lazy": "JJ",
"tripled": "VBN",
"staved": "VBN",
"homosexual": "JJ",
"lumbar": "JJ",
"intradepartmental": "JJ",
"loathes": "VBZ",
"prefabricated": "VBN",
"eventshahleh": "RB",
"glaring": "JJ",
"conflicting": "JJ",
"cutsie": "JJ",
"expand": "VB",
"extradited": "VBN",
"overcast": "JJ",
"prospering": "JJ",
"off-line": "RB",
"howda": "WRB",
"predicts": "VBZ",
"commandeered": "VBN",
"mannered": "JJ",
"rectilinear": "JJ",
"overdosed": "VBN",
"persecuting": "JJ",
"portly": "JJ",
"shone": "VBD",
"legato": "RB",
"briefly-illumed": "VBN",
"afoot": "RB",
"mere": "JJ",
"alreadeh": "RB",
"misguided": "JJ",
"de-leverage": "VB",
"bunched": "VBN",
"grecian": "JJ",
"mercenary": "JJ",
"suicidal": "JJ",
"admixed": "VBN",
"bludgeon": "VB",
"closeup": "JJ",
"viral": "JJ",
"zairean": "JJ",
"prolong": "VB",
"jamaican": "JJ",
"sparkling": "JJ",
"lighted": "JJ",
"flng": "VB",
"tolerated": "VBN",
"hereditary": "JJ",
"tolerates": "VBZ",
"overrun": "VBN",
"blooming": "JJ",
"overheard": "VBN",
"betide": "VB",
"cites": "VBZ",
"as-it-were": "RB",
"subpenaed": "VBN",
"lax": "JJ",
"egged": "VBN",
"stimulate": "VB",
"counseled": "VBN",
"deducted": "VBN",
"satisfies": "VBZ",
"dapper": "JJ",
"insolently": "RB",
"unacknowledged": "JJ",
"pastdue": "JJ",
"entitled": "JJ",
"overpopulated": "VBN",
"churchillian": "JJ",
"gridded": "JJ",
"unkempt": "JJ",
"coldhearted": "JJ",
"delves": "VBZ",
"licked": "JJ",
"delved": "VBN",
"guatemalan": "JJ",
"reimbursed": "VBN",
"vibrate": "VB",
"tackled": "VBN",
"overlays": "VBZ",
"pleural": "JJ",
"confabulated": "VBN",
"swims": "VBZ",
"fitted": "VBN",
"respectfully": "RB",
"versed": "VBN",
"blighted": "JJ",
"herded": "VBN",
"obsoleted": "VBN",
"mexican": "JJ",
"a-reflects": "VBZ",
"bestows": "VBZ",
"dimwitted": "JJ",
"untarnished": "JJ",
"refurbished": "VBN",
"repelled": "VBN",
"relaxing": "JJ",
"millionth": "JJ",
"hoist": "VB",
"spelled": "VBN",
"inhibit": "VB",
"thenceforth": "RB",
"pungent": "JJ",
"entertains": "VBZ",
"crowning": "JJ",
"outclassed": "JJ",
"grapple": "VB",
"unlaundered": "VBN",
"nil": "JJ",
"swell": "VB",
"outmaneuvered": "VBN",
"wispy": "JJ",
"figural": "JJ",
"mingle": "VB",
"quoted": "VBN",
"chides": "VBZ",
"demolished": "JJ",
"slouches": "VBZ",
"soar": "VB",
"rile": "VBP",
"unrivaled": "JJ",
"cede": "VB",
"disillusioned": "JJ",
"honoured": "VBN",
"ply": "VBP",
"tropho": "JJ",
"emulated": "VBN",
"snowy": "JJ",
"astonished": "JJ",
"overrules": "VBZ",
"conserves": "VBZ",
"howling": "JJ",
"conserved": "VBN",
"wintry": "JJ",
"shrink": "VB",
"bestowed": "VBN",
"gyrate": "VB",
"hovers": "VBZ",
"disapproves": "VBZ",
"released": "VBN",
"devotes": "VBZ",
"bilinear": "JJ",
"unblemished": "JJ",
"unbundled": "VBN",
"hypophysectomised": "VBN",
"disqualify": "VB",
"upper": "JJ",
"tempts": "VBZ",
"discover": "VB",
"penetrated": "VBN",
"hops": "VBZ",
"tippling": "JJ",
"homeward": "RB",
"marked": "JJ",
"immunized": "VBN",
"uncountered": "JJ",
"menstrual": "JJ",
"intrapulmonary": "JJ",
"nomenclatural": "JJ",
"infantile": "JJ",
"amputated": "VBN",
"bartered": "VBN",
"unuttered": "JJ",
"disparate": "JJ",
"lumbering": "JJ",
"discuss": "VB",
"expedite": "VB",
"commercialized": "VBN",
"prospers": "VBZ",
"supplant": "VB",
"counteract": "VB",
"accomplish": "VB",
"yourself": "PRP",
"dawns": "VBZ",
"thar": "RB",
"reconvenes": "VBZ",
"lumpy": "JJ",
"nervy": "JJ",
"similiar": "JJ",
"erred": "VBN",
"concurs": "VBZ",
"reorganized": "VBN",
"reorganizes": "VBZ",
"derogatory": "JJ",
"examinin": "VBG",
"analyzes": "VBZ",
"analyzed": "VBN",
"segmental": "JJ",
"pulverized": "VBN",
"invert": "VB",
"wolde": "MD",
"avian": "JJ",
"homely": "JJ",
"foggy": "JJ",
"grevouselye": "RB",
"outmaneuver": "VB",
"coordinate": "VB",
"defers": "VBZ",
"nazi": "JJ",
"charged": "JJ",
"thinking": "JJ",
"congeal": "VB",
"seamy": "JJ",
"allocates": "VBZ",
"dumpy": "JJ",
"hoa-whup": "UH",
"uncorrected": "JJ",
"sniffs": "VBZ",
"sniffy": "JJ",
"vacillate": "VB",
"hampers": "VBZ",
"unbounded": "JJ",
"color-coded": "VBN",
"garrisoned": "VBN",
"forwarded": "VBN",
"exonerated": "JJ",
"mellowed": "VBN",
"reintegrated": "VBN",
"posterior": "JJ",
"u.s.-backed": "JJ",
"overpay": "VB",
"restores": "VBZ",
"midweek": "JJ",
"godamit": "VB",
"semiarid": "JJ",
"authoritarian": "JJ",
"repay": "VB",
"renege": "VB",
"messy": "JJ",
"revoke": "VB",
"egad": "UH",
"amatory": "JJ",
"edited": "VBN",
"modular": "JJ",
"multipartisan": "JJ",
"creepy": "JJ",
"locates": "VBZ",
"ripe": "JJ",
"ejected": "VBN",
"woodsy": "JJ",
"headquartered": "VBN",
"malnourished": "JJ",
"contrived": "JJ",
"unfertilized": "VBN",
"lateral": "JJ",
"followeth": "VBZ",
"relate": "VBP",
"motivates": "VBZ",
"dulled": "JJ",
"duller": "JJR",
"tode": "VBN",
"bald": "JJ",
"resettle": "VB",
"earliest": "RB",
"revolutionary": "JJ",
"corrupting": "JJ",
"financed": "VBN",
"lament": "JJ",
"sentenced": "VBN",
"impressively": "RB",
"multilateral": "JJ",
"grafted": "JJ",
"flighty": "JJ",
"albeit": "IN",
"intensify": "VB",
"gels": "VBZ",
"vanquish": "VB",
"hobbles": "VBZ",
"hobbled": "VBN",
"cautions": "VBZ",
"delimit": "VB",
"vaster": "JJR",
"breakneck": "JJ",
"steely": "JJ",
"deter": "VB",
"tactual": "JJ",
"animates": "VBZ",
"fleet": "JJ",
"flees": "VBZ",
"gala": "JJ",
"clobbers": "VBZ",
"simian": "JJ",
"fairer": "JJR",
"autopsied": "VBN",
"unpromising": "JJ",
"shoe-horned": "VBN",
"savvy": "JJ",
"abstain": "VB",
"fabulously": "RB",
"defies": "VBZ",
"overthrown": "VBN",
"ingratiating": "JJ",
"saddled": "JJ",
"stagger": "VB",
"slapstick": "JJ",
"dehydrate": "VB",
"raspberry": "JJ",
"react": "JJ",
"encircling": "JJ",
"revealing": "JJ",
"innate": "JJ",
"bantering": "JJ",
"newsworthy": "JJ",
"reiterates": "VBZ",
"restarted": "VBN",
"overweighted": "VBN",
"deconstructed": "JJ",
"aa": "JJ",
"drab": "JJ",
"moribund": "JJ",
"homicidal": "JJ",
"ribald": "JJ",
"pristine": "JJ",
"ventilates": "VBZ",
"adulterate": "JJ",
"addressed": "VBN",
"recused": "VBN",
"whisks": "VBZ",
"retried": "VBN",
"stemmed": "JJ",
"re-use": "VB",
"immoral": "JJ",
"hafta": "VB",
"alaskan": "JJ",
"hid": "VBD",
"soggy": "JJ",
"surrounds": "VBZ",
"refuel": "VB",
"depreciating": "JJ",
"joins": "VBZ",
"undo": "VB",
"lanced": "VBN",
"strapping": "JJ",
"overestimate": "VB",
"unequivocal": "JJ",
"punish": "VB",
"recessed": "VBN",
"cosmopolitan": "JJ",
"pursued": "VBN",
"aftermarket": "JJ",
"goddamned": "JJ",
"connected": "JJ",
"scrambled": "JJ",
"shakespearean": "JJ",
"creamed": "VBN",
"cavort": "VBP",
"outflank": "VB",
"gratify": "VB",
"improvident": "JJ",
"trammel": "VB",
"computed": "VBN",
"realign": "VB",
"juggle": "VB",
"castoff": "JJ",
"publicized": "VBN",
"undermined": "VBN",
"bearing": "JJ",
"undermines": "VBZ",
"harder": "JJR",
"harden": "VB",
"midpriced": "JJ",
"riddled": "VBN",
"prophesies": "VBZ",
"evenhanded": "JJ",
"clashing": "JJ",
"lures": "VBZ",
"barefooted": "JJ",
"lured": "VBN",
"pooh-poohed": "VB",
"crushed": "JJ",
"tarnish": "VB",
"thatcherite": "JJ",
"warmer": "JJR",
"solicits": "VBZ",
"rewarding": "JJ",
"weighs": "VBZ",
"offset": "VB",
"cleans": "VBZ",
"persuaded": "VBN",
"overlook": "VB",
"legitimizes": "VBZ",
"legitimized": "VBN",
"second-guess": "VB",
"tapers": "VBZ",
"converted": "VBN",
"pumped": "VBN",
"u.s.-mexico": "JJ",
"leathery": "JJ",
"unroll": "VBP",
"extenuate": "VB",
"updated": "JJ",
"overcomes": "VBZ",
"accentual": "JJ",
"sunder": "VB",
"taper": "VB",
"chaperoned": "JJ",
"tabulated": "VBN",
"defer": "VB",
"blistering": "JJ",
"degenerate": "JJ",
"cursory": "JJ",
"prohibits": "VBZ",
"neutered": "VBN",
"accusatory": "JJ",
"overcome": "VB",
"mamalian": "JJ",
"unregistered": "JJ",
"sulphured": "VBN",
"upstaged": "VBN",
"mandated": "VBN",
"linear": "JJ",
"subtended": "JJ",
"lineal": "JJ",
"warmhearted": "JJ",
"lacerated": "JJ",
"deplete": "VB",
"silly": "JJ",
"deserving": "JJ",
"spoiled": "JJ",
"closeted": "JJ",
"desist": "VB",
"nighttime": "JJ",
"chartered": "JJ",
"acquit": "VB",
"establishes": "VBZ",
"compounded": "JJ",
"perceive": "VB",
"sallow": "JJ",
"thyself": "PRP",
"shaven": "JJ",
"sail": "VB",
"shaved": "VBN",
"reassigned": "VBN",
"shaves": "VBZ",
"disinfected": "VBN",
"hardworking": "JJ",
"lowly": "JJ",
"recut": "JJ",
"recur": "VB",
"distorts": "VBZ",
"spawn": "VB",
"nae": "UH",
"grown": "JJ",
"yongst": "JJS",
"alludes": "VBZ",
"downtrodden": "JJ",
"afire": "RB",
"uncivil": "JJ",
"intercollegiate": "JJ",
"repudiate": "VB",
"bold": "JJ",
"errs": "VBZ",
"approximate": "JJ",
"impassioned": "JJ",
"chekovian": "JJ",
"multiscreen": "JJ",
"secondhand": "JJ",
"overburden": "VB",
"attached": "JJ",
"hypertrophied": "VBN",
"covert": "JJ",
"covers": "VBZ",
"vacate": "VB",
"unholy": "JJ",
"worcestershire": "JJ",
"excel": "JJ",
"misinterpreted": "VBN",
"overdue": "JJ",
"deputized": "VBN",
"peruse": "VB",
"agleam": "JJ",
"disgusting": "JJ",
"amaze": "VB",
"overproduce": "VB",
"encircle": "VB",
"shod": "JJ",
"overlaid": "VBN",
"faustian": "JJ",
"dishonored": "VBN",
"validate": "VB",
"breathtaking": "JJ",
"weeklong": "JJ",
"intensively": "RB",
"perk": "JJ",
"creamy": "JJ",
"pert": "JJ",
"cremate": "VB",
"beholden": "JJ",
"recites": "VBZ",
"gassy": "JJ",
"deformed": "JJ",
"claim": "VB",
"marbleized": "VBN",
"accessory": "JJ",
"instills": "VBZ",
"downsized": "VBN",
"longhand": "JJ",
"technophiliac": "JJ",
"frittered": "VBN",
"sculpts": "VBZ",
"irresolute": "JJ",
"bein": "VBG",
"unvisited": "VBN",
"discourages": "VBZ",
"slaughters": "VBZ",
"many-fold": "RB",
"dominate": "VB",
"bootlegged": "VBN",
"mortared": "VBN",
"musing": "JJ",
"forbids": "VBZ",
"standby": "JJ",
"inflight": "JJ",
"exclusionary": "JJ",
"occupies": "VBZ",
"greet": "VB",
"occupied": "JJ",
"clung": "VBD",
"astounds": "VBZ",
"enumerated": "VBN",
"pained": "JJ",
"typify": "VBP",
"dedicate": "VB",
"arcaded": "JJ",
"terse": "JJ",
"maintained": "VBN",
"disciplinary": "JJ",
"undertake": "VB",
"referrin": "VBG",
"outspends": "VBZ",
"sprained": "VBN",
"underweighted": "VBN",
"everyday": "JJ",
"pat": "JJ",
"mortgaged": "VBN",
"haint": "VBZ",
"doctoral": "JJ",
"recopied": "VBN",
"safeguarded": "VBN",
"mor": "JJR",
"mop": "VB",
"mow": "VB",
"intracompany": "JJ",
"disappointed": "JJ",
"gossipy": "JJ",
"laughing": "JJ",
"undifferentiated": "JJ",
"receave": "VBP",
"unissued": "JJ",
"classifies": "VBZ",
"unclassified": "JJ",
"preoccupies": "VBZ",
"solidify": "VB",
"roam": "VB",
"uptown": "RB",
"amassed": "VBN",
"suject": "JJ",
"gory": "JJ",
"gore": "VB",
"grudging": "JJ",
"unturned": "JJ",
"princesse": "JJ",
"prudent": "JJ",
"casts": "VBZ",
"corporeal": "JJ",
"forges": "VBZ",
"goofy": "JJ",
"forged": "JJ",
"worded": "VBN",
"invigorate": "VB",
"disused": "JJ",
"preordained": "VBN",
"overshot": "VBD",
"face-to-wall": "RB",
"faded": "JJ",
"doting": "JJ",
"chipper": "JJ",
"distinct": "JJ",
"promazine": "JJ",
"staggering": "JJ",
"unindicted": "JJ",
"taut": "JJ",
"prods": "VBZ",
"siren": "JJ",
"sired": "VBN",
"uninspired": "JJ",
"bathed": "VBN",
"chopped": "JJ",
"minincomputer": "JJR",
"forthwith": "RB",
"oks": "VBZ",
"declamatory": "JJ",
"conspires": "VBZ",
"bah": "JJ",
"obtaine": "VB",
"effete": "JJ",
"byinge": "VBG",
"hosted": "VBN",
"wanting": "JJ",
"slithers": "VBZ",
"weave": "VB",
"gotten": "VBN",
"cross-pollinated": "VBN",
"damaging": "JJ",
"sole": "JJ",
"totter": "VB",
"outta": "IN",
"dismember": "VB",
"appellate": "JJ",
"fluctuate": "VBP",
"poach": "VB",
"a-stoopin": "VBG",
"socalled": "JJ",
"multichannel": "JJ",
"dividing": "JJ",
"omani": "JJ",
"relocate": "VB",
"elapse": "VB",
"brooken": "VBN",
"glottal": "JJ",
"noninstitutionalized": "JJ",
"glorifies": "VBZ",
"feasted": "VBN",
"donate": "VB",
"declaratory": "JJ",
"renews": "VBZ",
"alters": "VBZ",
"cubed": "VBN",
"consume": "VBP",
"unremitting": "JJ",
"u.s.-european": "JJ",
"foreshadowed": "VBN",
"adjusts": "VBZ",
"uhhu": "UH",
"embarks": "VBZ",
"inspect": "VB",
"unregisterd": "JJ",
"plinking": "JJ",
"snap": "VB",
"redeem": "JJ",
"pollinate": "VB",
"keeeerist": "UH",
"extremist": "JJ",
"accelerate": "VB",
"ourselves": "PRP",
"scald": "VB",
"costumed": "VBN",
"downhill": "RB",
"multilayer": "JJ",
"bong": "UH",
"overpower": "VB",
"quiescent": "JJ",
"unstimulated": "JJ",
"calico": "JJ",
"intricate": "JJ",
"mowed": "VBN",
"annoy": "VB",
"populist": "JJ",
"grooved": "VBN",
"replicated": "VBN",
"lower-priced": "JJR",
"transplanted": "VBN",
"advertised": "VBN",
"sink": "VB",
"irritating": "JJ",
"tat": "VB",
"appended": "VBN",
"clockwise": "RB",
"matinee": "JJ",
"airlifted": "VBN",
"higher-technology": "JJR",
"stock": "JJ",
"subpoenaed": "VBN",
"envisage": "VB",
"negotiated": "VBN",
"whereof": "RB",
"<": "SYM",
"infrequent": "JJ",
"serpentine": "JJ",
"slacken": "VB",
"verifying": "JJ",
"unstuck": "JJ",
"labile": "JJ",
"postpone": "VB",
"chased": "VBN",
"tbond": "JJ",
"natty": "JJ",
"retrench": "VBP",
"unending": "JJ",
"loved": "JJ",
"halcyon": "JJ",
"sublunary": "JJ",
"builtin": "JJ",
"replanted": "VBN",
"rediscovered": "VBN",
"trundles": "VBZ",
"yeeech": "UH",
"gulled": "VBN",
"shrugs": "VBZ",
"circumpolar": "JJ",
"resubmit": "VB",
"bogartian": "JJ",
"accrue": "VB",
"striped": "JJ",
"cleaned": "VBN",
"dislodge": "VB",
"packaged": "VBN",
"fester": "VB",
"most-indebted": "JJS",
"upbeat": "JJ",
"plaid": "JJ",
"deem": "VBP",
"promoted": "VBN",
"preconference": "JJ",
"persianesque": "JJ",
"injured": "JJ",
"tighten": "VB",
"injures": "VBZ",
"tighter": "JJR",
"terrorized": "VBN",
"inviting": "JJ",
"stuffy": "JJ",
"regain": "VB",
"maronite": "JJ",
"expire": "VB",
"buckle": "VB",
"awarded": "JJ",
"reminds": "VBZ",
"annoying": "JJ",
"backfires": "VBZ",
"misstated": "VBN",
"individuate": "VB",
"surreal": "JJ",
"misstates": "VBZ",
"handcrafted": "VBN",
"misgauged": "VBN",
"prevalent": "JJ",
"oral": "JJ",
"assembles": "VBZ",
"sleek": "JJ",
"assembled": "VBN",
"vile": "JJ",
"incurs": "VBZ",
"lurk": "VB",
"sunk": "VBN",
"razed": "JJ",
"frizzled": "JJ",
"omits": "VBZ",
"slaughtered": "VBN",
"ensnared": "VBN",
"brushy": "JJ",
"adjourn": "VB",
"quick-fired": "VBN",
"thoriated": "VBN",
"adjacent": "JJ",
"nonsingular": "JJ",
"predicated": "VBN",
"oooo": "UH",
"transcultural": "JJ",
"reorient": "VB",
"digest": "VB",
"edits": "VBZ",
"tantalized": "VBN",
"appoint": "VB",
"explode": "VB",
"holdin": "VBG",
"unscrew": "VB",
"reused": "VBN",
"rail": "JJ",
"whereupon": "IN",
"superimpose": "VB",
"decorticated": "VBN",
"blunts": "VBZ",
"withheld": "VBN",
"staminate": "JJ",
"kinder": "JJR",
"meanders": "VBZ",
"centered": "VBN",
"cross-fertilized": "VBN",
"injected": "VBN",
"kept": "VBD",
"nominate": "VB",
"isolates": "VBZ",
"genital": "JJ",
"pops": "VBZ",
"queer": "JJ",
"curricular": "JJ",
"commence": "VB",
"enslave": "VBP",
"sectionalized": "JJ",
"startle": "VB",
"cajun": "JJ",
"yearago": "JJ",
"rightward": "RB",
"confide": "VB",
"dabbles": "VBZ",
"affixed": "VBN",
"catch": "VB",
"subjugate": "VB",
"cracked": "JJ",
"precede": "VB",
"outface": "VB",
"lockian": "JJ",
"hearty": "JJ",
"detained": "VBN",
"accede": "VB",
"toadying": "JJ",
"spawns": "VBZ",
"gifted": "JJ",
"tristate": "JJ",
"arbitrated": "VBN",
"jejune": "JJ",
"reassign": "VB",
"arbitrates": "VBZ",
"puzzle": "JJ",
"forbad": "VBD",
"dank": "JJ",
"plumps": "VBZ",
"wipes": "VBZ",
"radioed": "JJ",
"vanishes": "VBZ",
"scandanavian": "JJ",
"stinkin": "JJ",
"obviate": "VB",
"mistook": "VBD",
"abhorrent": "JJ",
"overwrought": "JJ",
"leathered": "JJ",
"svelte": "JJ",
"f-includes": "VBZ",
"shulde": "MD",
"crippled": "JJ",
"hoarse": "JJ",
"snubbed": "VBN",
"rededicate": "VB",
"chaired": "VBN",
"graduated": "JJ",
"confounded": "JJ",
"bengali": "JJ",
"contradicts": "VBZ",
"modified": "JJ",
"resembles": "VBZ",
"modifies": "VBZ",
"tinted": "VBN",
"inclosed": "VBN",
"bleary": "JJ",
"heartbreaking": "JJ",
"typewritten": "JJ",
"doggone": "JJ",
"branched": "JJ",
"redheaded": "JJ",
"duplex": "JJ",
"devastated": "JJ",
"flaccid": "JJ",
"keno": "JJ",
"electrified": "VBN",
"delude": "VB",
"discontinued": "JJ",
"sonuvabitch": "UH",
"dynamited": "VBN",
"hyperfine": "JJ",
"boiling": "JJ",
"moldy": "JJ",
"readjust": "VB",
"crimped": "JJ",
"fickle": "JJ",
"subjugated": "JJ",
"lighten": "JJ",
"athenian": "JJ",
"veiled": "JJ",
"impolite": "JJ",
"ignored": "JJ",
"encourages": "VBZ",
"emote": "VB",
"ignores": "VBZ",
"professed": "JJ",
"visceral": "JJ",
"addled": "JJ",
"thunderstruck": "JJ",
"deposited": "VBN",
"allnight": "JJ",
"followin": "VBG",
"circulatory": "JJ",
"muffled": "JJ",
"barged": "VBN",
"longing": "JJ",
"sed": "VBD",
"tweedy": "JJ",
"desolate": "JJ",
"captures": "VBZ",
"mugged": "VBN",
"styled": "VBN",
"loudest": "RB",
"fabled": "JJ",
"baffled": "JJ",
"inadvertent": "JJ",
"backwater": "JJR",
"disposed": "JJ",
"ferris": "JJ",
"expatriate": "JJ",
"vested": "VBN",
"fabricate": "VB",
"tiptoe": "JJ",
"surly": "JJ",
"contributory": "JJ",
"ingeniously": "RB",
"spends": "VBZ",
"whiskery": "JJ",
"booked": "VBN",
"exhausting": "JJ",
"propagandizes": "VBZ",
"grinds": "VBZ",
"ultraviolet": "JJ",
"corp.-toyota": "JJ",
"resettled": "VBN",
"oncoming": "JJ",
"disbursed": "VBN",
"frightens": "VBZ",
"somewheres": "RB",
"allows": "VBZ",
"vertebral": "JJ",
"wield": "VB",
"demeaned": "VBN",
"re-elected": "VBN",
"undreamed": "VBN",
"shielded": "VBN",
"infests": "VBZ",
"cross-react": "VBP",
"brahmsian": "JJ",
"mould": "VB",
"reflect": "JJ",
"replete": "JJ",
"forgiving": "JJ",
"inward": "JJ",
"pirated": "VBN",
"mildewy": "JJ",
"gimbaled": "JJ",
"unredeemed": "JJ",
"abrogated": "VBN",
"interact": "VBP",
"imperfect": "JJ",
"dethroned": "VBN",
"exploded": "JJ",
"litigated": "VBN",
"convinces": "VBZ",
"explodes": "VBZ",
"stalk": "VBP",
"dang": "JJ",
"cleaner": "JJR",
"depletes": "VBZ",
"decadent": "JJ",
"needs": "VBZ",
"oaken": "JJ",
"depleted": "VBN",
"unperturbed": "JJ",
"doggie": "JJ",
"unheralded": "JJ",
"antilock": "JJ",
"reconnoiter": "VBP",
"better-off": "JJR",
"citybred": "JJ",
"dump": "VB",
"unsure": "JJ",
"unpaved": "JJ",
"drooping": "JJ",
"enchained": "VBN",
"unsigned": "JJ",
"incandescent": "JJ",
"untracked": "JJ",
"pursue": "VB",
"acrid": "JJ",
"sever": "VB",
"debasing": "JJ",
"misbehaving": "JJ",
"heighten": "VB",
"churchly": "JJ",
"rip": "VB",
"lengthy": "JJ",
"minin": "VBG",
"time-&-motion": "JJ",
"fastens": "VBZ",
"castigates": "VBZ",
"thermostated": "VBN",
"castigated": "VBN",
"starved": "JJ",
"nope": "UH",
"pithy": "JJ",
"recond": "VBD",
"incidental": "JJ",
"prop": "VB",
"prod": "VB",
"red-handed": "RB",
"firebombed": "VBN",
"subvert": "VB",
"greets": "VBZ",
"modal": "JJ",
"hoodle": "UH",
"resigns": "VBZ",
"unstructured": "JJ",
"pallid": "JJ",
"signifies": "VBZ",
"unadorned": "JJ",
"perplexing": "JJ",
"crank": "VB",
"bluechip": "JJ",
"inflame": "VB",
"reproaches": "VBZ",
"wagnerian": "JJ",
"fenced": "JJ",
"snipes": "VBZ",
"lynch": "VB",
"wishes": "VBZ",
"descend": "VB",
"quintuple": "JJ",
"outdo": "JJ",
"astounded": "JJ",
"tarred": "VBN",
"jeweled": "JJ",
"spiced": "JJ",
"offends": "VBZ",
"unhappy": "JJ",
"motor": "JJ",
"apply": "VB",
"discerns": "VBZ",
"iced": "JJ",
"weeping": "JJ",
"cooperate": "VB",
"paralleled": "VBN",
"slaps": "VBZ",
"sweetens": "VBZ",
"unjustified": "JJ",
"underwater": "JJ",
"commended": "VBN",
"entrench": "VB",
"tallied": "VBN",
"eloquent": "JJ",
"unenunciated": "JJ",
"bedazzled": "VBN",
"segregated": "JJ",
"substantiate": "VB",
"cain": "MD",
"hitherto": "RB",
"droop": "VBP",
"resurrects": "VBZ",
"italianate": "JJ",
"woebegone": "JJ",
"outstrip": "JJ",
"florid": "JJ",
"oozing": "JJ",
"divert": "VB",
"divers": "JJ",
"standup": "JJ",
"offend": "JJ",
"deny": "VB",
"inane": "JJ",
"upright": "JJ",
"wry": "JJ",
"inaugurates": "VBZ",
"humanitarian": "JJ",
"workin": "VBG",
"merchandised": "VBN",
"penetrate": "VB",
"wordy": "JJ",
"scoured": "VBN",
"complementary": "JJ",
"audiovisual": "JJ",
"broadside": "JJ",
"withdraws": "VBZ",
"ricoed": "JJ",
"zapotec": "JJ",
"withdrawn": "JJ",
"validating": "JJ",
"merrily": "RB",
"saner": "JJR",
"readied": "VBN",
"irate": "JJ",
"shylockian": "JJ",
"vintage": "JJ",
"appropriated": "VBN",
"appropriates": "VBZ",
"outgrow": "VB",
"superconcentrated": "JJ",
"knoe": "VB",
"tawny": "JJ",
"jocund": "JJ",
"starred": "JJ",
"shabby": "JJ",
"holler": "VB",
"leaden": "JJ",
"leaded": "JJ",
"outrageously": "RB",
"codetermines": "VBZ",
"leased": "VBN",
"dispossessed": "JJ",
"contradictory": "JJ",
"lubricated": "VBN",
"immobilized": "VBN",
"roars": "VBZ",
"shown": "VBN",
"contends": "VBZ",
"supple": "JJ",
"outslugged": "VBN",
"footloose": "JJ",
"of course": "RB",
"at least": "RB",
"for example": "RB",
"in order": "JJ",
"more than": "RB",
"no longer": "RB",
"a little": "RB",
"for instance": "RB",
"in particular": "RB",
"a bit": "RB",
"sort of": "RB",
"all right": "JJ",
"no doubt": "RB",
"and so on": "RB",
"at first": "RB",
"alright": "JJ",
"o'clock": "RB",
"in addition": "RB",
"at last": "RB",
"that is": "RB",
"at once": "RB",
"once again": "RB",
"at present": "RB",
"less than": "RB",
"up to": "RB",
"once more": "RB",
"by now": "RB",
"eg": "RB",
"so as": "RB",
"from time to time": "RB",
"in part": "RB",
"by no means": "RB",
"all but": "RB",
"in short": "RB",
"ie": "RB",
"even so": "RB",
"just about": "RB",
"as yet": "RB",
"for long": "RB",
"far from": "RB",
"for ever": "RB",
"fucking": "RB",
"on board": "RB",
"in common": "RB",
"all the same": "RB",
"pm": "RB",
"in public": "RB",
"as good as": "RB",
"as it were": "RB",
"a lot": "RB",
"by far": "RB",
"over here": "RB",
"per annum": "RB",
"as a whole": "RB",
"at best": "RB",
"for once": "RB",
"downwards": "RB",
"at large": "RB",
"any longer": "RB",
"for the time being": "RB",
"for good": "RB",
"for the most part": "RB",
"gmt": "RB",
"vice versa": "RB",
"none the less": "RB",
"for certain": "RB",
"kind of": "RB",
"anything but": "RB",
"in between": "RB",
"a little bit": "RB",
"ever so": "RB",
"bc": "RB",
"so much as": "RB",
"and so forth": "RB",
"en route": "RB",
"in private": "RB",
"from now on": "RB",
"in vain": "RB",
"by and large": "RB",
"at length": "RB",
"outwards": "RB",
"at random": "RB",
"for sure": "RB",
"upside down": "JJ",
"all of a sudden": "RB",
"at most": "RB",
"per se": "RB",
"as a matter of fact": "RB",
"per capita": "JJ",
"up front": "RB",
"in situ": "RB",
"in the main": "RB",
"inwards": "RB",
"inter alia": "RB",
"ex parte": "RB",
"in vitro": "RB",
"to and fro": "RB",
"in vivo": "RB",
"in brief": "RB",
"ibid": "RB",
"at worst": "RB",
"northwards": "RB",
"time and again": "RB",
"eastwards": "RB",
"approx": "RB",
"southwards": "RB",
"every so often": "RB",
"westwards": "RB",
"prima facie": "RB",
"'ere": "RB",
"bst": "RB",
"lots": "RB",
"upwards of": "RB",
"in case": "RB",
"en masse": "RB",
"ultra vires": "RB",
"upside-down": "RB",
"offline": "RB",
"so-and-so": "RB",
"forte": "JJ",
"a priori": "JJ",
"ad hoc": "RB",
"viz": "RB",
"offside": "JJ",
"example": "RB",
"leeward": "JJ",
"get-together": "RB",
"astern": "RB",
"none the": "RB",
"i.e": "RB",
"hereto": "RB",
"et cetera": "RB",
"yonder": "RB",
"de facto": "RB",
"getting on for": "RB",
"lengthways": "RB",
"henceforward": "RB",
"tv-am": "RB",
"off guard": "RB",
"in the order of": "RB",
"spot on": "JJ",
"one-handed": "RB",
"ipso facto": "RB",
"ceteris paribus": "RB",
"unbeknown": "RB",
"ad infinitum": "RB",
"'ome": "RB",
"pinafore": "RB",
"in absentia": "RB",
"skywards": "RB",
"en bloc": "RB",
"aright": "RB",
"in camera": "RB",
"point blank": "RB",
"upfront": "RB",
"pro-am": "RB",
"a fortiori": "RB",
"hereof": "RB",
"ex officio": "RB",
"seawards": "RB",
"incognito": "RB",
"upstage": "JJ",
"overmuch": "JJ",
"nigh on": "RB",
"best-ever": "RB",
"ad nauseam": "RB",
"through thick and thin": "RB",
"heavenwards": "RB",
"ne'er": "RB",
"leftwards": "RB",
"inside out": "RB",
"à la carte": "RB",
"sotto voce": "RB",
"blindfold": "RB",
"esp": "RB",
"anon": "RB",
"underhand": "RB",
"pro rata": "RB",
"ff": "RB",
"siward": "RB",
"in memoriam": "RB",
"in extremis": "RB",
"not withstanding": "RB",
"to-night": "RB",
"seaward": "RB",
"say-so": "RB",
"in toto": "RB",
"head-first": "RB",
"a-side": "RB",
"up-river": "RB",
"rightwards": "RB",
"instance": "RB",
"amidships": "RB",
"'course": "RB",
"the most part": "RB",
"never-never": "RB",
"netwise": "RB",
"for keeps": "RB",
"evermore": "RB",
"al fresco": "RB",
"ab initio": "RB",
"de jure": "RB",
"anticlockwise": "RB",
"a la carte": "RB",
"sub judice": "RB",
"streetwise": "JJ",
"op. cit": "RB",
"fit-again": "RB",
"hereward": "RB",
"headfirst": "JJ",
"thenceforward": "RB",
"pan-am": "RB",
"career-best": "RB",
"post hoc": "RB",
"polewards": "RB",
"in loco parentis": "RB",
"contrariwise": "RB",
"all-too": "RB",
"short-handed": "RB",
"shorewards": "RB",
"off-stage": "RB",
"en passant": "RB",
"woodwards": "RB",
"two-handed": "RB",
"fain": "RB",
"den": "RB",
"addition": "RB",
"'alf": "RB",
"quite a": "RB",
"north-westwards": "RB",
"north-eastwards": "RB",
"landward": "RB",
"jus": "RB",
"here-and-now": "RB",
"go-as-you-please": "RB",
"al dente": "RB",
"south-eastwards": "RB",
"pro tem": "RB",
"lemarchand": "RB",
"fuckin'": "RB",
"de profundis": "RB",
"basinwards": "RB",
"bareback": "RB",
"aslant": "RB",
"ad lib": "RB",
"à la mode": "RB",
"youngest-ever": "RB",
"worst-ever": "RB",
"south-westwards": "RB",
"sidewards": "RB",
"parrot-fashion": "RB",
"once-over": "RB",
"none-the-less": "RB",
"midstream": "JJ",
"highest-ever": "RB",
"foreward": "RB",
"en famille": "RB",
"a hell of a lot": "RB",
"'ard": "RB",
"straight-ahead": "RB",
"so on": "RB",
"sine die": "RB",
"righto": "RB",
"period": "RB",
"off-side": "RB",
"no-where": "RB",
"greatest-ever": "RB",
"forehand": "RB",
"crabwise": "JJ",
"coming-together": "RB",
"quasi": "RB",
"op cit": "RB",
"oneish": "RB",
"ofttimes": "RB",
"windward": "RB",
"well of": "RB",
"weatherwise": "RB",
"viz-a-viz": "RB",
"upward of": "RB",
"underarm": "RB",
"same-again": "RB",
"never-the-less": "RB",
"lower-ranking": "JJR"
}
exports.multiples = #adverbs
"of course": true
"at least": true
"for example": true
"in order": true
"more than": true
"no longer": true
"a little": true
"for instance": true
"in particular": true
"a bit": true
"sort of": true
"all right": true
"no doubt": true
"and so on": true
"at first": true
"in addition": true
"at last": true
"that is": true
"at once": true
"once again": true
"at present": true
"less than": true
"up to": true
"once more": true
"by now": true
"so as": true
"in part": true
"all but": true
"in short": true
"even so": true
"just about": true
"as yet": true
"for long": true
"far from": true
"for ever": true
"on board": true
"a lot": true
"by far": true
"over here": true
"per annum": true
"as usual": true
"at best": true
"for once": true
"at large": true
"any longer": true
"for good": true
"vice versa": true
"for certain": true
"kind of": true
"anything but": true
"in between": true
"en route": true
"in private": true
"in vain": true
"at length": true
"at random": true
"for sure": true
"upside down": true
"at most": true
"per se": true
"per capita": true
"up front": true
"in situ": true
"in the main": true
"inter alia": true
"ex parte": true
"in vitro": true
"to and fro": true
"in vivo": true
"in brief": true
"at worst": true
"prima facie": true
"upwards of": true
"something like": true
"in case": true
"en masse": true
"ultra vires": true
"a priori": true
"ad hoc": true
"none the": true
"et cetera": true
"de facto": true
"off guard": true
"spot on": true
"ipso facto": true
"ceteris paribus": true
"ad infinitum": true
"op. cit.": true
"in absentia": true
"en bloc": true
"in camera": true
"point blank": true
"a fortiori": true
"ex officio": true
"nigh on": true
"ad nauseam": true
"inside out": true
"sotto voce": true
"pro rata": true
"in memoriam": true
"in extremis": true
"not withstanding": true
"in toto": true
"the most part": true
"for keeps": true
"al fresco": true
"ab initio": true
"de jure": true
"a la carte": true
"sub judice": true
"op. cit": true
"post hoc": true
"so on": true
"sine die": true
"op cit": true
"just in": true
"ex gratia": true
"au contraire": true
"ad hominem": true
"a posteriori": true
#adjectives
"fed up": true
"brand new": true
"ad hoc": true
"so called": true
"out of date": true
"old fashioned": true
"per capita": true
"de facto": true
"grown up": true
"bona fide": true
"ex parte": true
"well off": true
"prima facie": true
"far off": true
"a priori": true
"in between": true
"par excellence": true
"a la carte": true
"ultra vires": true
"straight forward": true
"hard up": true
"de luxe": true
"post mortem": true
"ex gratia": true
"upside down": true
"up front": true
"au fait": true
"sui generis": true
"pro rata": true
"post hoc": true
"ex officio": true
"ab initio": true
"inside out": true
"point blank": true
"en suite": true
"spot on": true
"all right": true
"ad hominem": true
"de jure": true
"tout court": true
"avant garde": true
"viva voce": true
"sub judice": true
"al fresco": true
"sans serif": true
"gung ho": true
"compos mentis": true
"super duper": true
"such like": true
"de trop": true
#mine
"will be": true
exports.parts_of_speech =
VB:
description: "verb, base form"
example: "eat"
parent: "verb"
tag: "VB"
CP:
description: "copula"
example: "is, was, were"
parent: "verb"
tag: "CP"
VBD:
description: "verb, past tense"
example: "ate"
parent: "verb"
tense: "past"
tag: "VBD"
VBN:
description: "verb, past part"
example: "eaten"
parent: "verb"
tense: "past"
tag: "VBN"
VBP:
description: "Verb, present"
example: "eat"
parent: "verb"
tense: "present"
tag: "VBP"
VBZ:
description: "Verb, present"
example: "eats, swims"
tense: "present"
parent: "verb"
tag: "VBZ"
MD:
description: "Modal"
example: "can,should"
parent: "glue"
tag: "MD"
RB:
description: "Adverb"
example: "quickly, softly"
parent: "glue"
tag: "RB"
JJ:
description: "Adjective"
example: "big, nice"
parent: "adjective"
tag: "JJ"
JJR:
description: "Adj., comparative"
example: "bigger, cooler"
parent: "adjective"
tag: "JJR"
JJS:
description: "Adj., superlative"
example: "biggest, fattest"
parent: "adjective"
tag: "JJS"
RBR:
description: "Adverb, comparative"
example: "faster, cooler"
parent: "adjective"
tag: "RBR"
RBS:
description: "Adverb, superlative"
example: "fastest (driving), coolest (looking)"
parent: "adjective"
tag: "RBS"
NN:
description: "Noun, sing. or mass"
example: "dog, rain"
parent: "noun"
tag: "NN"
NNP:
description: "Proper noun, sing."
example: "Edinburgh, skateboard"
parent: "noun"
tag: "NNP"
NNPS:
description: "Proper noun, plural"
example: "PI:NAME:<NAME>END_PIs"
parent: "noun"
tag: "NNPS"
NNS:
description: "Noun, plural"
example: "dogs, foxes"
parent: "noun"
tag: "NNS"
NNO:
description: "Noun, possessive"
example: "spencer's, sam's"
parent: "noun"
tag: "NNO"
PP:
description: "Possessive pronoun"
example: "my,one's"
parent: "glue"
tag: "PP"
FW:
description: "foreign word"
example: "mon dieu, voila"
parent: "noun"
tag: "FW"
CD:
description: "Cardinal number"
example: "one,two"
parent: "glue" #may want to change this
tag: "CD"
VBG:
description: "verb, gerund"
example: "eating,winning"
parent: "verb"
tag: "VBG"
NG:
description: "noun, gerund"
example: "eating,winning - but used grammatically as a noun"
parent: "noun"
tag: "VBG"
IN:
description: "Preposition"
example: "of,in,by"
parent: "glue"
tag: "IN"
UP:
description: "dependent preposition"
example: "up, down"
parent: "glue"
tag: "UP"
CC:
description: "Coord Conjuncn"
example: "and,but,or"
parent: "glue"
tag: "CC"
PRP:
description: "Personal pronoun"
example: "I,you,she"
parent: "glue"
tag: "PRP"
DT:
description: "Determiner"
example: "the,some"
parent: "title"
tag: "DT"
example:
description: "Existential there"
example: "there"
parent: "glue"
tag: "EX"
POS:
description: "Possessive ending"
example: "s"
parent: "glue"
tag: "POS"
PDT:
description: "Predeterminer"
example: "all, both"
parent: "glue"
tag: "PDT"
RP:
description: "Particle"
example: "up,off"
parent: "glue"
tag: "RP"
TO:
description: "to"
example: "to"
parent: "glue"
tag: "TO"
UH:
description: "Interjection"
example: "oh, oops"
parent: "glue"
tag: "UH"
WDT:
description: "Wh-determiner"
example: "which,that"
parent: "glue"
tag: "WDT"
WP:
description: "Wh pronoun"
example: "who,what"
parent: "glue"
tag: "WP"
WRB:
description: "Wh-adverb"
example: "how,where"
parent: "glue"
tag: "WRB"
LS:
description: "List item marker"
example: "1,One"
parent: "glue"
tag: "LS"
SYM:
description: "Symbol"
example: "+,%,&"
parent: "glue"
tag: "SYM"
exports.notends =
the: true
los: true
les: true
san: true
dr: true
they: true
he: true
she: true
a: true
his: true
an: true
their: true
its: true
"it's": true
my: true
your: true
or: true
if: true
therefor: true
therefore: true
exports.dateword = ["july", "august", "september", "october", "november", "december", "january", "february", "march", "april", "may", "june", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]
exports.silly =[
"a-z",
"able",
"accessibility",
"according",
"accordingly",
"actor",
"actress",
"actually",
"adjustment",
"advertising",
"aha",
"ain't",
"album",
"amoungst",
"amount",
"amplitude",
"anybody",
"anyone",
"anything",
"area",
"aren't",
"article",
"as to",
"asking",
"available",
"awfully",
"being",
"best",
"bill",
"brother",
"building",
"c'mon",
"c's",
"can't",
"cant",
"capacity",
"caption",
"cause",
"causes",
"century",
"certainly",
"change",
"changes",
"children",
"citizens",
"clearly",
"co.",
"color",
"colour",
"com",
"comments",
"computer",
"con",
"concerning",
"consequently",
"containing",
"contestant",
"could",
"couldn't",
"couldnt",
"cover",
"cry",
"currently",
"daren't",
"day",
"decade",
"definitely",
"density",
"depth",
"detail",
"didn't",
"directly",
"distance",
"doesn't",
"doing",
"don't",
"doughter",
"due to",
"edu",
"end",
"ending",
"entirely",
"episode",
"especially",
"everybody",
"everyone",
"everything",
"exactly",
"fairly",
"fify",
"fire",
"folk",
"followed",
"follower",
"food",
"formerly",
"full",
"getting",
"girl",
"going",
"goodbye",
"greetings",
"guy",
"hadn't",
"hardly",
"hasn't",
"hasnt",
"haven't",
"having",
"he'd",
"he'll",
"he's",
"height",
"here's",
"hereupon",
"house",
"how's",
"howbeit",
"hue",
"i'd",
"i'll",
"i'm",
"i've",
"inc",
"inc.",
"including",
"indicated",
"interest",
"isn't",
"it'd",
"it'll",
"it's",
"lady",
"lastnight",
"lastweek",
"lately",
"latterly",
"league",
"length",
"les",
"less",
"let's",
"like",
"los",
"ltd",
"magnitude",
"mainly",
"man",
"mayn't",
"member",
"merely",
"mhm",
"mightn't",
"mill",
"month",
"mrs",
"mustn't",
"name",
"namely",
"nearly",
"need",
"needn't",
"neverf",
"neverless",
"no-one",
"nobody",
"non",
"none",
"noone",
"normally",
"nothing",
"obviously",
"on to",
"one's",
"ones",
"ooh",
"others",
"oughtn't",
"out of",
"people",
"person",
"pitch",
"policy",
"possible",
"president",
"presumably",
"printable",
"privacy",
"probably",
"program",
"quantity",
"que",
"really",
"reasonably",
"recently",
"record",
"regarding",
"relatively",
"report",
"respectively",
"review",
"room",
"san",
"saying",
"season",
"secondly",
"seeing",
"self",
"selves",
"sensible",
"serious",
"seriously",
"service",
"shade",
"shan't",
"shape",
"she'd",
"she'll",
"she's",
"should",
"shouldn't",
"show",
"singer",
"size",
"some",
"somebody",
"someone",
"something",
"son",
"specifying",
"speed",
"staff",
"sub",
"such as",
"system",
"taking",
"team",
"terms",
"text",
"texture",
"thanks",
"thanx",
"that'll",
"that's",
"that've",
"thats",
"there'd",
"there'll",
"there're",
"there's",
"there've",
"theres",
"they'd",
"they'll",
"they're",
"they've",
"thing",
"things",
"thoroughly",
"thru",
"time",
"timing",
"today",
"tommorrow",
"towards",
"truly",
"undoing",
"unfortunately",
"unit",
"unlike",
"use",
"useful",
"uses",
"using",
"usually",
"uucp",
"value",
"various",
"version",
"volume",
"waiter",
"waitress",
"wasn't",
"way",
"we'd",
"we'll",
"we're",
"we've",
"week",
"weight",
"welcome",
"weren't",
"what'll",
"what's",
"what've",
"when's",
"where's",
"whereafter",
"whilst",
"whither",
"who'd",
"who'll",
"who's",
"whomever",
"why's",
"width",
"wife",
"won't",
"wonder",
"would",
"wouldn't",
"year",
"yep",
"yesterday",
"you",
"you'd",
"you'll",
"you're",
"you've",
"zero",
"n't",
"years",
"erm",
"world",
"work",
"life",
"number",
"case",
"social",
"group",
"party",
"important",
"place",
"information",
"men",
"per cent",
"school",
"national",
"fact",
"night",
"company",
"family",
"hand",
"business",
"days",
"john",
"development",
"state",
"council",
"power",
"political",
"members",
"eyes",
"public",
"problem",
"problems",
"a few",
"face",
"times",
"office",
"door",
"form",
"services",
"months",
"health",
"words",
"making",
"market",
"economic",
"areas",
"position",
"process",
"effect",
"line",
"moment",
"community",
"action",
"special",
"international",
"father",
"age",
"management",
"idea",
"so that",
"evidence",
"minister",
"view",
"sense",
"table",
"death",
"industry",
"control",
"sort",
"range",
"word",
"history",
"road",
"centre",
"study",
"programme",
"result",
"air",
"hour",
"committee",
"experience",
"handshome",
"rate",
"section",
"trade",
"minutes",
"reason",
"authority",
"cases",
"role",
"data",
"class",
"because of",
"companies",
"rather than",
"simply",
"department",
"personal",
"paper",
"land",
"systems",
"TRUE",
"support",
"act",
"type",
"city",
"friend",
"countries",
"care",
"decision",
"financial",
"price",
"stage",
"matter",
"parent",
"club",
"practice",
"based",
"as well as",
"cos",
"town",
"situation",
"bed",
"according to",
"PI:NAME:<NAME>END_PI",
"as if",
"conditions",
"at all",
"ground",
"weeks",
"tax",
"production",
"friends",
"musicanyone",
"game",
"ways",
"schools",
"issue",
"mr.",
"workers",
"student",
"knowledge",
"art",
"basis",
"subject",
"series",
"bank",
"feet",
"south",
"west",
"rest",
"security",
"manager",
"cost",
"heart",
"structure",
"attention",
"story",
"&",
"means",
"letter",
"question",
"chapter",
"field",
"studies",
"movement",
"union",
"success",
"figure",
"analysis",
"news",
"chance",
"evening",
"population",
"boy",
"theory",
"approach",
"final",
"performance",
"authorities",
"rights",
"relationship",
"growth",
"agreement",
"parties",
"account",
"space",
"property",
"project",
"meeting",
"quickly",
"behaviour",
"previous",
"energy",
"sir",
"term",
"director",
"significant",
"income",
"as well",
"levels",
"treatment",
"model",
"suddenly",
"pounds",
"choice",
"away from",
"results",
"scheme",
"details",
"design",
"list",
"defence",
"parts",
"points",
"loss",
"industrial",
"activities",
"floor",
"generally",
"issues",
"activity",
"PI:NAME:<NAME>END_PI",
"talking",
"difference",
"labour",
"specific",
"numbers",
"lord",
"relations",
"contract",
"product",
"ideas",
"george",
"material",
"wall",
"arms",
"basic",
"reasons",
"technology",
"each other",
"effects",
"figures",
"style",
"date",
"window",
"forces",
"showed",
"resources",
"sea",
"events",
"advice",
"circumstance",
"plan",
"event",
"hon.",
"training",
"picture",
"sales",
"village",
"original",
"investment",
"cup",
"lines",
"PI:NAME:<NAME>END_PIames",
"goods",
"blood",
"opportunity",
"prices",
"professional",
"conference",
"extent",
"interests",
"application",
"page",
"operation",
"film",
"PI:NAME:<NAME>END_PI",
"in terms of",
"response",
"majority",
"rules",
"shop",
"effective",
"press",
"york",
"degree",
"statement",
"risk",
"force",
"miles",
"traditional",
"site",
"glass",
"died",
"street",
"costs",
"earlier",
"playing",
"scottish",
"importance",
"test",
"jobs",
"immediately",
"standards",
"talk",
"considerable",
"girls",
"physical",
"species",
"title",
"PI:NAME:<NAME>END_PI",
"eye",
"access",
"employment",
"daughter",
"responsible",
"competition",
"plans",
"medical",
"purpose",
"mouth",
"piece",
"answer",
"leaving",
"task",
"responsibility",
"arm",
"eventually",
"ability",
"highly",
"hotel",
"pattern",
"method",
"source",
"election",
"charles",
"region",
"methods",
"campaign",
"equipment",
"fully",
"disease",
"machine",
"slightly",
"software",
"peace",
"charge",
"types",
"policies",
"houses",
"even if",
"windows",
"teacher",
"forms",
"provision",
"factors",
"direction",
"trouble",
"beautiful",
"leader",
"officer",
"status",
"character",
"variety",
"safety",
"completely",
"box",
"sector",
"animal",
"oxford",
"culture",
"obvious",
"increase",
"context",
"station",
"sale",
"william",
"positive",
"king",
"essential",
"live",
"condition",
"families",
"works",
"appeal",
"trees",
"argument",
"demand",
"principle",
"run",
"pupils",
"chairman",
"cash",
"states",
"hope",
"sun",
"duty",
"countyrule",
"presence",
"truth",
"dog",
"board",
"courses",
"media",
"exchange",
"relevant",
"balance",
"PI:NAME:<NAME>END_PI",
"slowly",
"players",
"discussion",
"letters",
"budget",
"protection",
"collection",
"speech",
"PI:NAME:<NAME>END_PI",
"effort",
"attempt",
"survey",
"failure",
"absence",
"accident",
"accommodation",
"PI:NAME:<NAME>END_PI",
"address",
"administration",
"advance",
"advantage",
"agency",
"agent",
"aid",
"aircraft",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"appearance",
"appointment",
"approval",
"PI:NAME:<NAME>END_PI",
"arrival",
"artist",
"aspect",
"assembly",
"assessment",
"assistance",
"association",
"attack",
"attitude",
"audience",
"author",
"award",
"awareness",
"background",
"bag",
"ball",
"band",
"PI:NAME:<NAME>END_PI",
"base",
"battle",
"beauty",
"belief",
"benefit",
"birth",
"block",
"PI:NAME:<NAME>END_PI",
"body",
"book",
"border",
"bottle",
"branch",
"breath",
"PI:NAME:<NAME>END_PI",
"bridge",
"cabinet",
"candidate",
"PI:NAME:<NAME>END_PI",
"card",
"career",
"chain",
"chair",
"challenge",
"chest",
"child",
"PI:NAME:<NAME>END_PI",
"client",
"co-operation",
"coast",
"code",
"combination",
"commission",
"commitment",
"communication",
"concept",
"conclusion",
"confidence",
"conflict",
"connection",
"consequence",
"consideration",
"constitution",
"construction",
"consumer",
"contact",
"contrast",
"contribution",
"convention",
"conversation",
"copy",
"corner",
"corporation",
"country",
"countryside",
"county",
"court",
"creation",
"credit",
"crime",
"crisis",
"criticism",
"crowd",
"curriculum",
"customer",
"dad",
"damage",
"danger",
"PI:NAME:<NAME>END_PIlington",
"database",
"deal",
"debate",
"debt",
"decline",
"definition",
"delivery",
"deputy",
"description",
"desire",
"desk",
"diet",
"difficulty",
"dinner",
"display",
"distinction",
"distribution",
"district",
"division",
"doctor",
"document",
"dream",
"dress",
"drink",
"drive",
"driver",
"drug",
"edge",
"editor",
"education",
"edward",
"efficiency",
"element",
"elizabeth",
"emphasis",
"enemy",
"engine",
"engineering",
"enterprise",
"entry",
"environment",
"error",
"establishment",
"estate",
"examination",
"executive",
"exercise",
"exhibition",
"existence",
"expansion",
"expenditure",
"explanation",
"expression",
"extension",
"factor",
"factory",
"fall",
"farm",
"fault",
"fear",
"feature",
"feeling",
"fig.",
"finance",
"flight",
"flow",
"focus",
"foot",
"formation",
"foundation",
"framework",
"fuel",
"function",
"fund",
"garden",
"gas",
"generation",
"gentleman",
"goal",
"graham",
"guide",
"hair",
"hall",
"harry",
"heat",
"henry",
"hill",
"hole",
"holiday",
"horse",
"hospital",
"household",
"housing",
"husband",
"ian",
"identity",
"image",
"impact",
"impression",
"improvement",
"independence",
"index",
"influence",
"initiative",
"injury",
"inquiry",
"institute",
"insurance",
"intention",
"interpretation",
"interview",
"introduction",
"investigation",
"involvement",
"island",
"item",
"jane",
"jim",
"job",
"joe",
"PI:NAME:<NAME>END_PIones",
"journey",
"judge",
"kingdom",
"language",
"law",
"leadership",
"lee",
"leeds",
"leg",
"legislation",
"lewis",
"liability",
"licence",
"lifespan",
"link",
"literature",
"location",
"PI:NAME:<NAME>END_PI",
"magazine",
"maintenance",
"manner",
"map",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"meal",
"measure",
"membership",
"memory",
"message",
"PI:NAME:<NAME>END_PI",
"ministry",
"minority",
"mother",
"motion",
"mountain",
"nation",
"network",
"PI:NAME:<NAME>END_PI",
"note",
"notice",
"notion",
"object",
"occasion",
"offence",
"opinion",
"opposition",
"option",
"organisation",
"organization",
"outcome",
"output",
"owner",
"package",
"pair",
"panel",
"parish",
"park",
"partner",
"passage",
"path",
"payment",
"percent",
"phase",
"philip",
"phone",
"plane",
"planning",
"plant",
"player",
"possibility",
"post",
"pound",
"procedure",
"proportion",
"proposal",
"publication",
"quarter",
"race",
"railway",
"reaction",
"reader",
"reality",
"recession",
"recognition",
"recovery",
"reduction",
"ref",
"reference",
"reform",
"regime",
"release",
"relief",
"representation",
"reputation",
"request",
"research",
"resolution",
"respect",
"restaurant",
"return",
"revenue",
"ring",
"rise",
"river",
"signal",
"replay",
"rock",
"roof",
"route",
"row",
"rule",
"sample",
"sarah",
"scale",
"scene",
"scope",
"screen",
"seat",
"selection",
"sentence",
"sequence",
"session",
"settlement",
"share",
"sheet",
"ship",
"shock",
"sight",
"sign",
"significance",
"silence",
"PI:NAME:<NAME>END_PI",
"skin",
"sky",
"smile",
"solution",
"song",
"spain",
"speaker",
"spirit",
"PI:NAME:<NAME>END_PI",
"sport",
"spot",
"spring",
"star",
"step",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"stone",
"store",
"strategy",
"strength",
"struggle",
"studio",
"stuff",
"sum",
"summer",
"supply",
"surprise",
"tape",
"target",
"taste",
"taylor",
"technique",
"temperature",
"theme",
"thomas",
"threat",
"tim",
"tom",
"tone",
"tony",
"touch",
"tour",
"track",
"tradition",
"traffic",
"train",
"transfer",
"transport",
"treaty",
"tree",
"trial",
"trip",
"trust",
"understanding",
"unemployment",
"university",
"user",
"vehicle",
"victim",
"victory",
"video",
"violence",
"vision",
"visit",
"voice",
"vote",
"wealth",
"weather",
"weekend",
"welfare",
"PI:NAME:<NAME>END_PI",
"wind",
"wood",
"worker",
"writer",
"writing",
"youth",
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday",
"jan",
"feb",
"apr",
"june",
"july",
"aug",
"sept",
"oct",
"nov",
"dec",
"january",
"february",
"march",
"april",
"september",
"october",
"novermber",
"december"
]
|
[
{
"context": "name: \"Linda Anderson\"\njob_title: \"Subject Matter Expert\"\ngrade: 10\nsal",
"end": 21,
"score": 0.9998817443847656,
"start": 7,
"tag": "NAME",
"value": "Linda Anderson"
},
{
"context": "ions\"\ndirectorate: \"Operations\"\nmanager:\n name: \"Andrew Corry\"\n phon... | app/data/users/linda.cson | dwpdigitaltech/DWPwelcome | 0 | name: "Linda Anderson"
job_title: "Subject Matter Expert"
grade: 10
salary: "72,975"
pay_date: "29 February 2016"
annual_leave: 30
section: "Access To Work Operations"
directorate: "Operations"
manager:
name: "Andrew Corry"
phone: "0789 123 4567"
office: "Leeds, ONE"
role: [
]
| 119152 | name: "<NAME>"
job_title: "Subject Matter Expert"
grade: 10
salary: "72,975"
pay_date: "29 February 2016"
annual_leave: 30
section: "Access To Work Operations"
directorate: "Operations"
manager:
name: "<NAME>"
phone: "0789 123 4567"
office: "Leeds, ONE"
role: [
]
| true | name: "PI:NAME:<NAME>END_PI"
job_title: "Subject Matter Expert"
grade: 10
salary: "72,975"
pay_date: "29 February 2016"
annual_leave: 30
section: "Access To Work Operations"
directorate: "Operations"
manager:
name: "PI:NAME:<NAME>END_PI"
phone: "0789 123 4567"
office: "Leeds, ONE"
role: [
]
|
[
{
"context": "?\n\n handle: (callback) =>\n @response.say \"Tell Alexa to trigger a flow by saying the name of the desir",
"end": 227,
"score": 0.6698172688484192,
"start": 222,
"tag": "NAME",
"value": "Alexa"
}
] | src/handlers/intents/v1/handle-help.coffee | octoblu/alexa-service | 3 | class HandleHelp
constructor: ({ @request, @response }) ->
throw new Error 'Missing request' unless @request?
throw new Error 'Missing response' unless @response?
handle: (callback) =>
@response.say "Tell Alexa to trigger a flow by saying the name of the desired trigger. If you are experiencing problems, make sure that your Octoblu account is properly linked and that you have your triggers named properly"
@response.shouldEndSession false
callback null
module.exports = HandleHelp
| 89130 | class HandleHelp
constructor: ({ @request, @response }) ->
throw new Error 'Missing request' unless @request?
throw new Error 'Missing response' unless @response?
handle: (callback) =>
@response.say "Tell <NAME> to trigger a flow by saying the name of the desired trigger. If you are experiencing problems, make sure that your Octoblu account is properly linked and that you have your triggers named properly"
@response.shouldEndSession false
callback null
module.exports = HandleHelp
| true | class HandleHelp
constructor: ({ @request, @response }) ->
throw new Error 'Missing request' unless @request?
throw new Error 'Missing response' unless @response?
handle: (callback) =>
@response.say "Tell PI:NAME:<NAME>END_PI to trigger a flow by saying the name of the desired trigger. If you are experiencing problems, make sure that your Octoblu account is properly linked and that you have your triggers named properly"
@response.shouldEndSession false
callback null
module.exports = HandleHelp
|
[
{
"context": "exports.signup_bob = (T,cb) ->\n await signup T, 'bob', signup_args, defer u\n cb()\n\nexports.signup_cha",
"end": 189,
"score": 0.6832066774368286,
"start": 186,
"tag": "NAME",
"value": "bob"
},
{
"context": "rts.signup_charlie = (T,cb) ->\n await signup T, 'charlie... | test/files/1_bob.iced | AngelKey/Angelkey.nodeclient | 151 |
{User, signup} = require '../lib/user'
log = require '../../lib/log'
signup_args = { twitter : true, github : true, save_pw : true }
exports.signup_bob = (T,cb) ->
await signup T, 'bob', signup_args, defer u
cb()
exports.signup_charlie = (T,cb) ->
await signup T, 'charlie', signup_args, defer u
cb()
| 112947 |
{User, signup} = require '../lib/user'
log = require '../../lib/log'
signup_args = { twitter : true, github : true, save_pw : true }
exports.signup_bob = (T,cb) ->
await signup T, '<NAME>', signup_args, defer u
cb()
exports.signup_charlie = (T,cb) ->
await signup T, '<NAME>', signup_args, defer u
cb()
| true |
{User, signup} = require '../lib/user'
log = require '../../lib/log'
signup_args = { twitter : true, github : true, save_pw : true }
exports.signup_bob = (T,cb) ->
await signup T, 'PI:NAME:<NAME>END_PI', signup_args, defer u
cb()
exports.signup_charlie = (T,cb) ->
await signup T, 'PI:NAME:<NAME>END_PI', signup_args, defer u
cb()
|
[
{
"context": "arseOpts =\n delimiter: ','\n columns: ['email', 'firstName', 'lastName', 'role']\n relax: no # Preserve quot",
"end": 272,
"score": 0.9977899789810181,
"start": 263,
"tag": "NAME",
"value": "firstName"
},
{
"context": "delimiter: ','\n columns: ['email', 'firstName... | servers/lib/server/handlers/invitetoteambycsv.coffee | ezgikaysi/koding | 1 | os = require 'os'
fs = require 'fs'
hat = require 'hat'
path = require 'path'
Busboy = require 'busboy'
parser = require 'csv-parse'
{ generateFakeClient } = require './../client'
module.exports.parserOpts = csvParseOpts =
delimiter: ','
columns: ['email', 'firstName', 'lastName', 'role']
relax: no # Preserve quotes inside unquoted field.
relax_column_count: yes
skip_empty_lines: true
trim: true # remove whitespaces
auto_parse: no # convert integers to numbers etc
module.exports.handler = (req, rres) ->
generateFakeClient req, rres, (err, client, session) ->
return rres.status(500).send err if err
fileName = path.join(os.tmpDir(), "team-upload-#{session.groupName}-#{hat(32)}.csv")
respond = (code, message) ->
fs.unlink(fileName) # clean up after yourself
return rres.status(code).send message
busboy = new Busboy {
headers: req.headers
fileSize: 1024 * 1024 # 1 mb
}
busboy.on 'file', (fieldname, file, filename, encoding, mimetype) ->
file.pipe(fs.createWriteStream(fileName))
busboy.on 'finish', ->
processInvitations fileName, client, (err) ->
return respond 500, err if err
respond 200, "That's all folks!"
return req.pipe busboy
processInvitations = (fileName, client, callback) ->
fs.readFile fileName, 'utf8', (err, content) ->
return callback err if err
parser content.toString('utf8'), csvParseOpts, (err, data) ->
return callback err if err
{ JInvitation } = (require './../bongo').models
JInvitation.create client, { invitations: data }, callback
| 154025 | os = require 'os'
fs = require 'fs'
hat = require 'hat'
path = require 'path'
Busboy = require 'busboy'
parser = require 'csv-parse'
{ generateFakeClient } = require './../client'
module.exports.parserOpts = csvParseOpts =
delimiter: ','
columns: ['email', '<NAME>', '<NAME>', 'role']
relax: no # Preserve quotes inside unquoted field.
relax_column_count: yes
skip_empty_lines: true
trim: true # remove whitespaces
auto_parse: no # convert integers to numbers etc
module.exports.handler = (req, rres) ->
generateFakeClient req, rres, (err, client, session) ->
return rres.status(500).send err if err
fileName = path.join(os.tmpDir(), "team-upload-#{session.groupName}-#{hat(32)}.csv")
respond = (code, message) ->
fs.unlink(fileName) # clean up after yourself
return rres.status(code).send message
busboy = new Busboy {
headers: req.headers
fileSize: 1024 * 1024 # 1 mb
}
busboy.on 'file', (fieldname, file, filename, encoding, mimetype) ->
file.pipe(fs.createWriteStream(fileName))
busboy.on 'finish', ->
processInvitations fileName, client, (err) ->
return respond 500, err if err
respond 200, "That's all folks!"
return req.pipe busboy
processInvitations = (fileName, client, callback) ->
fs.readFile fileName, 'utf8', (err, content) ->
return callback err if err
parser content.toString('utf8'), csvParseOpts, (err, data) ->
return callback err if err
{ JInvitation } = (require './../bongo').models
JInvitation.create client, { invitations: data }, callback
| true | os = require 'os'
fs = require 'fs'
hat = require 'hat'
path = require 'path'
Busboy = require 'busboy'
parser = require 'csv-parse'
{ generateFakeClient } = require './../client'
module.exports.parserOpts = csvParseOpts =
delimiter: ','
columns: ['email', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'role']
relax: no # Preserve quotes inside unquoted field.
relax_column_count: yes
skip_empty_lines: true
trim: true # remove whitespaces
auto_parse: no # convert integers to numbers etc
module.exports.handler = (req, rres) ->
generateFakeClient req, rres, (err, client, session) ->
return rres.status(500).send err if err
fileName = path.join(os.tmpDir(), "team-upload-#{session.groupName}-#{hat(32)}.csv")
respond = (code, message) ->
fs.unlink(fileName) # clean up after yourself
return rres.status(code).send message
busboy = new Busboy {
headers: req.headers
fileSize: 1024 * 1024 # 1 mb
}
busboy.on 'file', (fieldname, file, filename, encoding, mimetype) ->
file.pipe(fs.createWriteStream(fileName))
busboy.on 'finish', ->
processInvitations fileName, client, (err) ->
return respond 500, err if err
respond 200, "That's all folks!"
return req.pipe busboy
processInvitations = (fileName, client, callback) ->
fs.readFile fileName, 'utf8', (err, content) ->
return callback err if err
parser content.toString('utf8'), csvParseOpts, (err, data) ->
return callback err if err
{ JInvitation } = (require './../bongo').models
JInvitation.create client, { invitations: data }, callback
|
[
{
"context": "specified\\\" && exit 1\"\n\n keywords: []\n author: \"npmbot <n@p.m> (http://npm.im)\"\n license: \"WTFPL\"\n\ntest",
"end": 313,
"score": 0.9993672370910645,
"start": 307,
"tag": "USERNAME",
"value": "npmbot"
},
{
"context": "d\\\" && exit 1\"\n\n keywords: []\n ... | deps/npm/node_modules/init-package-json/test/npm-defaults.coffee | lxe/io.coffee | 0 | test = require("tap").test
rimraf = require("rimraf")
resolve = require("path").resolve
npm = require("npm")
init = require("../")
EXPECTED =
name: "test"
version: "3.1.4"
description: ""
main: "basic.js"
scripts:
test: "echo \"Error: no test specified\" && exit 1"
keywords: []
author: "npmbot <n@p.m> (http://npm.im)"
license: "WTFPL"
test "npm configuration values pulled from environment", (t) ->
#eslint camelcase:0
process.env.npm_config_yes = "yes"
process.env.npm_config_init_author_name = "npmbot"
process.env.npm_config_init_author_email = "n@p.m"
process.env.npm_config_init_author_url = "http://npm.im"
process.env.npm_config_init_license = EXPECTED.license
process.env.npm_config_init_version = EXPECTED.version
npm.load {}, (err) ->
t.ifError err, "npm loaded successfully"
process.chdir resolve(__dirname)
init __dirname, __dirname, npm.config, (er, data) ->
t.ifError err, "init ran successfully"
t.same data, EXPECTED, "got the package data from the environment"
t.end()
return
return
return
test "cleanup", (t) ->
rimraf.sync resolve(__dirname, "package.json")
t.pass "cleaned up"
t.end()
return
| 161430 | test = require("tap").test
rimraf = require("rimraf")
resolve = require("path").resolve
npm = require("npm")
init = require("../")
EXPECTED =
name: "test"
version: "3.1.4"
description: ""
main: "basic.js"
scripts:
test: "echo \"Error: no test specified\" && exit 1"
keywords: []
author: "npmbot <<EMAIL>> (http://npm.im)"
license: "WTFPL"
test "npm configuration values pulled from environment", (t) ->
#eslint camelcase:0
process.env.npm_config_yes = "yes"
process.env.npm_config_init_author_name = "npmbot"
process.env.npm_config_init_author_email = "<EMAIL>"
process.env.npm_config_init_author_url = "http://npm.im"
process.env.npm_config_init_license = EXPECTED.license
process.env.npm_config_init_version = EXPECTED.version
npm.load {}, (err) ->
t.ifError err, "npm loaded successfully"
process.chdir resolve(__dirname)
init __dirname, __dirname, npm.config, (er, data) ->
t.ifError err, "init ran successfully"
t.same data, EXPECTED, "got the package data from the environment"
t.end()
return
return
return
test "cleanup", (t) ->
rimraf.sync resolve(__dirname, "package.json")
t.pass "cleaned up"
t.end()
return
| true | test = require("tap").test
rimraf = require("rimraf")
resolve = require("path").resolve
npm = require("npm")
init = require("../")
EXPECTED =
name: "test"
version: "3.1.4"
description: ""
main: "basic.js"
scripts:
test: "echo \"Error: no test specified\" && exit 1"
keywords: []
author: "npmbot <PI:EMAIL:<EMAIL>END_PI> (http://npm.im)"
license: "WTFPL"
test "npm configuration values pulled from environment", (t) ->
#eslint camelcase:0
process.env.npm_config_yes = "yes"
process.env.npm_config_init_author_name = "npmbot"
process.env.npm_config_init_author_email = "PI:EMAIL:<EMAIL>END_PI"
process.env.npm_config_init_author_url = "http://npm.im"
process.env.npm_config_init_license = EXPECTED.license
process.env.npm_config_init_version = EXPECTED.version
npm.load {}, (err) ->
t.ifError err, "npm loaded successfully"
process.chdir resolve(__dirname)
init __dirname, __dirname, npm.config, (er, data) ->
t.ifError err, "init ran successfully"
t.same data, EXPECTED, "got the package data from the environment"
t.end()
return
return
return
test "cleanup", (t) ->
rimraf.sync resolve(__dirname, "package.json")
t.pass "cleaned up"
t.end()
return
|
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998912811279297,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require new... | source/javascripts/new_src/loaders/collada/geometry.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/collada/mesh
class Geometry
constructor: (loader) ->
@id = ""
@mesh = null
@loader = loader
parse: (element) ->
@id = element.getAttribute("id")
length = element.childNodes.length
for i in [0...length]
child = element.childNodes[i]
switch child.nodeName
when "mesh"
@mesh = new THREE.Collada.Mesh(loader, this).parse child
this
namespace "THREE.Collada", (exports) ->
exports.Geometry = Geometry | 83012 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
#= require new_src/loaders/collada/mesh
class Geometry
constructor: (loader) ->
@id = ""
@mesh = null
@loader = loader
parse: (element) ->
@id = element.getAttribute("id")
length = element.childNodes.length
for i in [0...length]
child = element.childNodes[i]
switch child.nodeName
when "mesh"
@mesh = new THREE.Collada.Mesh(loader, this).parse child
this
namespace "THREE.Collada", (exports) ->
exports.Geometry = Geometry | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/collada/mesh
class Geometry
constructor: (loader) ->
@id = ""
@mesh = null
@loader = loader
parse: (element) ->
@id = element.getAttribute("id")
length = element.childNodes.length
for i in [0...length]
child = element.childNodes[i]
switch child.nodeName
when "mesh"
@mesh = new THREE.Collada.Mesh(loader, this).parse child
this
namespace "THREE.Collada", (exports) ->
exports.Geometry = Geometry |
[
{
"context": "rameters: ['tissue_chembl_id']\n function_key: 'tissue_num_compounds'\n function_link: true\n execute_on_",
"end": 2241,
"score": 0.7798939943313599,
"start": 2230,
"tag": "KEY",
"value": "tissue_num_"
},
{
"context": "chembl_id']\n function_key: 'tissue_num... | src/glados/static/coffee/models/Tissue.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | glados.useNameSpace 'glados.models',
Tissue: Backbone.Model.extend(DownloadModelOrCollectionExt).extend
entityName: 'Tissue'
entityNamePlural: 'Tissues'
idAttribute:'tissue_chembl_id'
defaults:
fetch_from_elastic: true
initialize: ->
id = @get('id')
id ?= @get('tissue_chembl_id')
@set('id', id)
@set('tissue_chembl_id', id)
if @get('fetch_from_elastic')
@url = "#{glados.Settings.ES_PROXY_API_BASE_URL}/es_data/get_es_document/#{glados.models.Tissue.ES_INDEX}/#{id}"
else
@url = glados.Settings.WS_BASE_URL + 'tissue/' + id + '.json'
parse: (response) ->
if response._source?
objData = response._source
else
objData = response
objData.report_card_url = glados.models.Tissue.get_report_card_url(objData.tissue_chembl_id )
filterForActivities = '_metadata.assay_data.tissue_chembl_id:' + objData.tissue_chembl_id
objData.activities_url = Activity.getActivitiesListURL(filterForActivities)
filterForCompounds = '_metadata.related_tissues.all_chembl_ids:' + objData.tissue_chembl_id
objData.compounds_url = Compound.getCompoundsListURL(filterForCompounds)
return objData;
# Constant definition for ReportCardEntity model functionalities
_.extend(glados.models.Tissue, glados.models.base.ReportCardEntity)
glados.models.Tissue.color = 'deep-orange'
glados.models.Tissue.reportCardPath = 'tissue_report_card/'
glados.models.Tissue.PROPERTIES_VISUAL_CONFIG = {
'tissue_chembl_id': {
link_base: 'report_card_url'
}
'uberon_id': {
link_function: (id) -> 'https://www.ebi.ac.uk/ols/search?q=' + encodeURIComponent(id)
}
'efo_id': {
link_function: (id) -> 'https://www.ebi.ac.uk/ols/search?q=' + encodeURIComponent(id)
}
'bto_id': {
link_function: (id) -> 'https://www.ebi.ac.uk/ols/search?q=' + encodeURIComponent(id)
}
'caloha_id': {
link_function: (id) -> 'https://www.nextprot.org/term/' + encodeURIComponent(id)
}
'_metadata.related_compounds.count': {
on_click: TissueReportCardApp.initMiniHistogramFromFunctionLink
function_constant_parameters: ['compounds']
function_parameters: ['tissue_chembl_id']
function_key: 'tissue_num_compounds'
function_link: true
execute_on_render: true
format_class: 'number-cell-center'
}
'_metadata.related_activities.count': {
link_base: 'activities_url'
on_click: TissueReportCardApp.initMiniHistogramFromFunctionLink
function_parameters: ['tissue_chembl_id']
function_constant_parameters: ['activities']
function_key: 'tissue_bioactivities'
function_link: true
execute_on_render: true
format_class: 'number-cell-center'
}
}
glados.models.Tissue.ES_INDEX = 'chembl_tissue'
glados.models.Tissue.INDEX_NAME = glados.models.Tissue.ES_INDEX
glados.models.Tissue.COLUMNS = {
CHEMBL_ID: {
aggregatable: true
comparator: "tissue_chembl_id"
hide_label: true
id: "tissue_chembl_id"
is_sorting: 0
link_base: "report_card_url"
name_to_show: "ChEMBL ID"
name_to_show_short: "ChEMBL ID"
show: true
sort_class: "fa-sort"
sort_disabled: false
}
}
glados.models.Tissue.ID_COLUMN = glados.models.Tissue.COLUMNS.CHEMBL_ID
glados.models.Tissue.MINI_REPORT_CARD =
LOADING_TEMPLATE: 'Handlebars-Common-MiniRepCardPreloader'
TEMPLATE: 'Handlebars-Common-MiniReportCard'
glados.models.Tissue.getTissuesListURL = (filter, isFullState=false, fragmentOnly=false) ->
if isFullState
filter = btoa(JSON.stringify(filter))
return glados.Settings.ENTITY_BROWSERS_URL_GENERATOR
fragment_only: fragmentOnly
entity: 'tissues'
filter: encodeURIComponent(filter) unless not filter?
is_full_state: isFullState | 91604 | glados.useNameSpace 'glados.models',
Tissue: Backbone.Model.extend(DownloadModelOrCollectionExt).extend
entityName: 'Tissue'
entityNamePlural: 'Tissues'
idAttribute:'tissue_chembl_id'
defaults:
fetch_from_elastic: true
initialize: ->
id = @get('id')
id ?= @get('tissue_chembl_id')
@set('id', id)
@set('tissue_chembl_id', id)
if @get('fetch_from_elastic')
@url = "#{glados.Settings.ES_PROXY_API_BASE_URL}/es_data/get_es_document/#{glados.models.Tissue.ES_INDEX}/#{id}"
else
@url = glados.Settings.WS_BASE_URL + 'tissue/' + id + '.json'
parse: (response) ->
if response._source?
objData = response._source
else
objData = response
objData.report_card_url = glados.models.Tissue.get_report_card_url(objData.tissue_chembl_id )
filterForActivities = '_metadata.assay_data.tissue_chembl_id:' + objData.tissue_chembl_id
objData.activities_url = Activity.getActivitiesListURL(filterForActivities)
filterForCompounds = '_metadata.related_tissues.all_chembl_ids:' + objData.tissue_chembl_id
objData.compounds_url = Compound.getCompoundsListURL(filterForCompounds)
return objData;
# Constant definition for ReportCardEntity model functionalities
_.extend(glados.models.Tissue, glados.models.base.ReportCardEntity)
glados.models.Tissue.color = 'deep-orange'
glados.models.Tissue.reportCardPath = 'tissue_report_card/'
glados.models.Tissue.PROPERTIES_VISUAL_CONFIG = {
'tissue_chembl_id': {
link_base: 'report_card_url'
}
'uberon_id': {
link_function: (id) -> 'https://www.ebi.ac.uk/ols/search?q=' + encodeURIComponent(id)
}
'efo_id': {
link_function: (id) -> 'https://www.ebi.ac.uk/ols/search?q=' + encodeURIComponent(id)
}
'bto_id': {
link_function: (id) -> 'https://www.ebi.ac.uk/ols/search?q=' + encodeURIComponent(id)
}
'caloha_id': {
link_function: (id) -> 'https://www.nextprot.org/term/' + encodeURIComponent(id)
}
'_metadata.related_compounds.count': {
on_click: TissueReportCardApp.initMiniHistogramFromFunctionLink
function_constant_parameters: ['compounds']
function_parameters: ['tissue_chembl_id']
function_key: '<KEY>compound<KEY>'
function_link: true
execute_on_render: true
format_class: 'number-cell-center'
}
'_metadata.related_activities.count': {
link_base: 'activities_url'
on_click: TissueReportCardApp.initMiniHistogramFromFunctionLink
function_parameters: ['tissue_chembl_id']
function_constant_parameters: ['activities']
function_key: '<KEY>bioactivities'
function_link: true
execute_on_render: true
format_class: 'number-cell-center'
}
}
glados.models.Tissue.ES_INDEX = 'chembl_tissue'
glados.models.Tissue.INDEX_NAME = glados.models.Tissue.ES_INDEX
glados.models.Tissue.COLUMNS = {
CHEMBL_ID: {
aggregatable: true
comparator: "tissue_chembl_id"
hide_label: true
id: "tissue_chembl_id"
is_sorting: 0
link_base: "report_card_url"
name_to_show: "ChEMBL ID"
name_to_show_short: "ChEMBL ID"
show: true
sort_class: "fa-sort"
sort_disabled: false
}
}
glados.models.Tissue.ID_COLUMN = glados.models.Tissue.COLUMNS.CHEMBL_ID
glados.models.Tissue.MINI_REPORT_CARD =
LOADING_TEMPLATE: 'Handlebars-Common-MiniRepCardPreloader'
TEMPLATE: 'Handlebars-Common-MiniReportCard'
glados.models.Tissue.getTissuesListURL = (filter, isFullState=false, fragmentOnly=false) ->
if isFullState
filter = btoa(JSON.stringify(filter))
return glados.Settings.ENTITY_BROWSERS_URL_GENERATOR
fragment_only: fragmentOnly
entity: 'tissues'
filter: encodeURIComponent(filter) unless not filter?
is_full_state: isFullState | true | glados.useNameSpace 'glados.models',
Tissue: Backbone.Model.extend(DownloadModelOrCollectionExt).extend
entityName: 'Tissue'
entityNamePlural: 'Tissues'
idAttribute:'tissue_chembl_id'
defaults:
fetch_from_elastic: true
initialize: ->
id = @get('id')
id ?= @get('tissue_chembl_id')
@set('id', id)
@set('tissue_chembl_id', id)
if @get('fetch_from_elastic')
@url = "#{glados.Settings.ES_PROXY_API_BASE_URL}/es_data/get_es_document/#{glados.models.Tissue.ES_INDEX}/#{id}"
else
@url = glados.Settings.WS_BASE_URL + 'tissue/' + id + '.json'
parse: (response) ->
if response._source?
objData = response._source
else
objData = response
objData.report_card_url = glados.models.Tissue.get_report_card_url(objData.tissue_chembl_id )
filterForActivities = '_metadata.assay_data.tissue_chembl_id:' + objData.tissue_chembl_id
objData.activities_url = Activity.getActivitiesListURL(filterForActivities)
filterForCompounds = '_metadata.related_tissues.all_chembl_ids:' + objData.tissue_chembl_id
objData.compounds_url = Compound.getCompoundsListURL(filterForCompounds)
return objData;
# Constant definition for ReportCardEntity model functionalities
_.extend(glados.models.Tissue, glados.models.base.ReportCardEntity)
glados.models.Tissue.color = 'deep-orange'
glados.models.Tissue.reportCardPath = 'tissue_report_card/'
glados.models.Tissue.PROPERTIES_VISUAL_CONFIG = {
'tissue_chembl_id': {
link_base: 'report_card_url'
}
'uberon_id': {
link_function: (id) -> 'https://www.ebi.ac.uk/ols/search?q=' + encodeURIComponent(id)
}
'efo_id': {
link_function: (id) -> 'https://www.ebi.ac.uk/ols/search?q=' + encodeURIComponent(id)
}
'bto_id': {
link_function: (id) -> 'https://www.ebi.ac.uk/ols/search?q=' + encodeURIComponent(id)
}
'caloha_id': {
link_function: (id) -> 'https://www.nextprot.org/term/' + encodeURIComponent(id)
}
'_metadata.related_compounds.count': {
on_click: TissueReportCardApp.initMiniHistogramFromFunctionLink
function_constant_parameters: ['compounds']
function_parameters: ['tissue_chembl_id']
function_key: 'PI:KEY:<KEY>END_PIcompoundPI:KEY:<KEY>END_PI'
function_link: true
execute_on_render: true
format_class: 'number-cell-center'
}
'_metadata.related_activities.count': {
link_base: 'activities_url'
on_click: TissueReportCardApp.initMiniHistogramFromFunctionLink
function_parameters: ['tissue_chembl_id']
function_constant_parameters: ['activities']
function_key: 'PI:KEY:<KEY>END_PIbioactivities'
function_link: true
execute_on_render: true
format_class: 'number-cell-center'
}
}
glados.models.Tissue.ES_INDEX = 'chembl_tissue'
glados.models.Tissue.INDEX_NAME = glados.models.Tissue.ES_INDEX
glados.models.Tissue.COLUMNS = {
CHEMBL_ID: {
aggregatable: true
comparator: "tissue_chembl_id"
hide_label: true
id: "tissue_chembl_id"
is_sorting: 0
link_base: "report_card_url"
name_to_show: "ChEMBL ID"
name_to_show_short: "ChEMBL ID"
show: true
sort_class: "fa-sort"
sort_disabled: false
}
}
glados.models.Tissue.ID_COLUMN = glados.models.Tissue.COLUMNS.CHEMBL_ID
glados.models.Tissue.MINI_REPORT_CARD =
LOADING_TEMPLATE: 'Handlebars-Common-MiniRepCardPreloader'
TEMPLATE: 'Handlebars-Common-MiniReportCard'
glados.models.Tissue.getTissuesListURL = (filter, isFullState=false, fragmentOnly=false) ->
if isFullState
filter = btoa(JSON.stringify(filter))
return glados.Settings.ENTITY_BROWSERS_URL_GENERATOR
fragment_only: fragmentOnly
entity: 'tissues'
filter: encodeURIComponent(filter) unless not filter?
is_full_state: isFullState |
[
{
"context": "rationId)\n\t\tuser = RocketChat.models.Users.findOne(@userId)\n\n\t\t@bodyParams.bot =\n\t\t\ti: integration._id\n\n\t\tde",
"end": 657,
"score": 0.9945610761642456,
"start": 650,
"tag": "USERNAME",
"value": "@userId"
},
{
"context": "or.call 'addOutgoingIntegration',\... | packages/rocketchat-integrations/server/api/api.coffee | In4No/chatApp | 0 | Api = new Restivus
enableCors: true
apiPath: 'hooks/'
auth:
user: ->
if @bodyParams?.payload?
@bodyParams = JSON.parse @bodyParams.payload
user = RocketChat.models.Users.findOne
_id: @request.params.userId
'services.resume.loginTokens.hashedToken': decodeURIComponent @request.params.token
return user: user
Api.addRoute ':integrationId/:userId/:token', authRequired: true,
post: ->
console.log 'Post integration'
console.log '@urlParams', @urlParams
console.log '@bodyParams', @bodyParams
integration = RocketChat.models.Integrations.findOne(@urlParams.integrationId)
user = RocketChat.models.Users.findOne(@userId)
@bodyParams.bot =
i: integration._id
defaultValues =
channel: integration.channel
alias: integration.alias
avatar: integration.avatar
emoji: integration.emoji
try
message = processWebhookMessage @bodyParams, user, defaultValues
if not message?
return RocketChat.API.v1.failure 'unknown-error'
return RocketChat.API.v1.success()
catch e
return RocketChat.API.v1.failure e.error
createIntegration = (options, user) ->
console.log 'Add integration'
console.log options
Meteor.runAsUser user._id, =>
switch options['event']
when 'newMessageOnChannel'
options.data ?= {}
if options.data.channel_name? and options.data.channel_name.indexOf('#') is -1
options.data.channel_name = '#' + options.data.channel_name
Meteor.call 'addOutgoingIntegration',
username: 'rocket.cat'
urls: [options.target_url]
name: options.name
channel: options.data.channel_name
triggerWords: options.data.trigger_words
when 'newMessageToUser'
if options.data.username.indexOf('@') is -1
options.data.username = '@' + options.data.username
Meteor.call 'addOutgoingIntegration',
username: 'rocket.cat'
urls: [options.target_url]
name: options.name
channel: options.data.username
triggerWords: options.data.trigger_words
return RocketChat.API.v1.success()
removeIntegration = (options, user) ->
console.log 'Remove integration'
console.log options
integrationToRemove = RocketChat.models.Integrations.findOne urls: options.target_url
Meteor.runAsUser user._id, =>
Meteor.call 'deleteOutgoingIntegration', integrationToRemove._id
return RocketChat.API.v1.success()
Api.addRoute 'add/:integrationId/:userId/:token', authRequired: true,
post: ->
integration = RocketChat.models.Integrations.findOne(@urlParams.integrationId)
if not integration?
return RocketChat.API.v1.failure 'Invalid integraiton id'
user = RocketChat.models.Users.findOne(@userId)
return createIntegration @bodyParams, user
Api.addRoute 'remove/:integrationId/:userId/:token', authRequired: true,
post: ->
integration = RocketChat.models.Integrations.findOne(@urlParams.integrationId)
if not integration?
return RocketChat.API.v1.failure 'Invalid integraiton id'
user = RocketChat.models.Users.findOne(@userId)
return removeIntegration @bodyParams, user
RocketChat.API.v1.addRoute 'integrations.create', authRequired: true,
post: ->
return createIntegration @bodyParams, @user
RocketChat.API.v1.addRoute 'integrations.remove', authRequired: true,
post: ->
return removeIntegration @bodyParams, @user
Api.addRoute 'sample/:integrationId/:userId/:token', authRequired: true,
get: ->
console.log 'Sample Integration'
return {} =
statusCode: 200
body: [
token: Random.id(24)
channel_id: Random.id()
channel_name: 'general'
timestamp: new Date
user_id: Random.id()
user_name: 'rocket.cat'
text: 'Sample text 1'
trigger_word: 'Sample'
,
token: Random.id(24)
channel_id: Random.id()
channel_name: 'general'
timestamp: new Date
user_id: Random.id()
user_name: 'rocket.cat'
text: 'Sample text 2'
trigger_word: 'Sample'
,
token: Random.id(24)
channel_id: Random.id()
channel_name: 'general'
timestamp: new Date
user_id: Random.id()
user_name: 'rocket.cat'
text: 'Sample text 3'
trigger_word: 'Sample'
]
Api.addRoute 'info/:integrationId/:userId/:token', authRequired: true,
get: ->
console.log 'Info integration'
return {} =
statusCode: 200
body:
success: true
| 100019 | Api = new Restivus
enableCors: true
apiPath: 'hooks/'
auth:
user: ->
if @bodyParams?.payload?
@bodyParams = JSON.parse @bodyParams.payload
user = RocketChat.models.Users.findOne
_id: @request.params.userId
'services.resume.loginTokens.hashedToken': decodeURIComponent @request.params.token
return user: user
Api.addRoute ':integrationId/:userId/:token', authRequired: true,
post: ->
console.log 'Post integration'
console.log '@urlParams', @urlParams
console.log '@bodyParams', @bodyParams
integration = RocketChat.models.Integrations.findOne(@urlParams.integrationId)
user = RocketChat.models.Users.findOne(@userId)
@bodyParams.bot =
i: integration._id
defaultValues =
channel: integration.channel
alias: integration.alias
avatar: integration.avatar
emoji: integration.emoji
try
message = processWebhookMessage @bodyParams, user, defaultValues
if not message?
return RocketChat.API.v1.failure 'unknown-error'
return RocketChat.API.v1.success()
catch e
return RocketChat.API.v1.failure e.error
createIntegration = (options, user) ->
console.log 'Add integration'
console.log options
Meteor.runAsUser user._id, =>
switch options['event']
when 'newMessageOnChannel'
options.data ?= {}
if options.data.channel_name? and options.data.channel_name.indexOf('#') is -1
options.data.channel_name = '#' + options.data.channel_name
Meteor.call 'addOutgoingIntegration',
username: 'rocket.cat'
urls: [options.target_url]
name: options.name
channel: options.data.channel_name
triggerWords: options.data.trigger_words
when 'newMessageToUser'
if options.data.username.indexOf('@') is -1
options.data.username = '@' + options.data.username
Meteor.call 'addOutgoingIntegration',
username: 'rocket.cat'
urls: [options.target_url]
name: options.name
channel: options.data.username
triggerWords: options.data.trigger_words
return RocketChat.API.v1.success()
removeIntegration = (options, user) ->
console.log 'Remove integration'
console.log options
integrationToRemove = RocketChat.models.Integrations.findOne urls: options.target_url
Meteor.runAsUser user._id, =>
Meteor.call 'deleteOutgoingIntegration', integrationToRemove._id
return RocketChat.API.v1.success()
Api.addRoute 'add/:integrationId/:userId/:token', authRequired: true,
post: ->
integration = RocketChat.models.Integrations.findOne(@urlParams.integrationId)
if not integration?
return RocketChat.API.v1.failure 'Invalid integraiton id'
user = RocketChat.models.Users.findOne(@userId)
return createIntegration @bodyParams, user
Api.addRoute 'remove/:integrationId/:userId/:token', authRequired: true,
post: ->
integration = RocketChat.models.Integrations.findOne(@urlParams.integrationId)
if not integration?
return RocketChat.API.v1.failure 'Invalid integraiton id'
user = RocketChat.models.Users.findOne(@userId)
return removeIntegration @bodyParams, user
RocketChat.API.v1.addRoute 'integrations.create', authRequired: true,
post: ->
return createIntegration @bodyParams, @user
RocketChat.API.v1.addRoute 'integrations.remove', authRequired: true,
post: ->
return removeIntegration @bodyParams, @user
Api.addRoute 'sample/:integrationId/:userId/:token', authRequired: true,
get: ->
console.log 'Sample Integration'
return {} =
statusCode: 200
body: [
token: <KEY>(2<KEY>)
channel_id: Random.id()
channel_name: 'general'
timestamp: new Date
user_id: Random.id()
user_name: 'rocket.cat'
text: 'Sample text 1'
trigger_word: 'Sample'
,
token: Random.<PASSWORD>(24)
channel_id: Random.id()
channel_name: 'general'
timestamp: new Date
user_id: Random.id()
user_name: 'rocket.cat'
text: 'Sample text 2'
trigger_word: 'Sample'
,
token: Random.<PASSWORD>(24)
channel_id: Random.id()
channel_name: 'general'
timestamp: new Date
user_id: Random.id()
user_name: 'rocket.cat'
text: 'Sample text 3'
trigger_word: 'Sample'
]
Api.addRoute 'info/:integrationId/:userId/:token', authRequired: true,
get: ->
console.log 'Info integration'
return {} =
statusCode: 200
body:
success: true
| true | Api = new Restivus
enableCors: true
apiPath: 'hooks/'
auth:
user: ->
if @bodyParams?.payload?
@bodyParams = JSON.parse @bodyParams.payload
user = RocketChat.models.Users.findOne
_id: @request.params.userId
'services.resume.loginTokens.hashedToken': decodeURIComponent @request.params.token
return user: user
Api.addRoute ':integrationId/:userId/:token', authRequired: true,
post: ->
console.log 'Post integration'
console.log '@urlParams', @urlParams
console.log '@bodyParams', @bodyParams
integration = RocketChat.models.Integrations.findOne(@urlParams.integrationId)
user = RocketChat.models.Users.findOne(@userId)
@bodyParams.bot =
i: integration._id
defaultValues =
channel: integration.channel
alias: integration.alias
avatar: integration.avatar
emoji: integration.emoji
try
message = processWebhookMessage @bodyParams, user, defaultValues
if not message?
return RocketChat.API.v1.failure 'unknown-error'
return RocketChat.API.v1.success()
catch e
return RocketChat.API.v1.failure e.error
createIntegration = (options, user) ->
console.log 'Add integration'
console.log options
Meteor.runAsUser user._id, =>
switch options['event']
when 'newMessageOnChannel'
options.data ?= {}
if options.data.channel_name? and options.data.channel_name.indexOf('#') is -1
options.data.channel_name = '#' + options.data.channel_name
Meteor.call 'addOutgoingIntegration',
username: 'rocket.cat'
urls: [options.target_url]
name: options.name
channel: options.data.channel_name
triggerWords: options.data.trigger_words
when 'newMessageToUser'
if options.data.username.indexOf('@') is -1
options.data.username = '@' + options.data.username
Meteor.call 'addOutgoingIntegration',
username: 'rocket.cat'
urls: [options.target_url]
name: options.name
channel: options.data.username
triggerWords: options.data.trigger_words
return RocketChat.API.v1.success()
removeIntegration = (options, user) ->
console.log 'Remove integration'
console.log options
integrationToRemove = RocketChat.models.Integrations.findOne urls: options.target_url
Meteor.runAsUser user._id, =>
Meteor.call 'deleteOutgoingIntegration', integrationToRemove._id
return RocketChat.API.v1.success()
Api.addRoute 'add/:integrationId/:userId/:token', authRequired: true,
post: ->
integration = RocketChat.models.Integrations.findOne(@urlParams.integrationId)
if not integration?
return RocketChat.API.v1.failure 'Invalid integraiton id'
user = RocketChat.models.Users.findOne(@userId)
return createIntegration @bodyParams, user
Api.addRoute 'remove/:integrationId/:userId/:token', authRequired: true,
post: ->
integration = RocketChat.models.Integrations.findOne(@urlParams.integrationId)
if not integration?
return RocketChat.API.v1.failure 'Invalid integraiton id'
user = RocketChat.models.Users.findOne(@userId)
return removeIntegration @bodyParams, user
RocketChat.API.v1.addRoute 'integrations.create', authRequired: true,
post: ->
return createIntegration @bodyParams, @user
RocketChat.API.v1.addRoute 'integrations.remove', authRequired: true,
post: ->
return removeIntegration @bodyParams, @user
Api.addRoute 'sample/:integrationId/:userId/:token', authRequired: true,
get: ->
console.log 'Sample Integration'
return {} =
statusCode: 200
body: [
token: PI:KEY:<KEY>END_PI(2PI:KEY:<KEY>END_PI)
channel_id: Random.id()
channel_name: 'general'
timestamp: new Date
user_id: Random.id()
user_name: 'rocket.cat'
text: 'Sample text 1'
trigger_word: 'Sample'
,
token: Random.PI:PASSWORD:<PASSWORD>END_PI(24)
channel_id: Random.id()
channel_name: 'general'
timestamp: new Date
user_id: Random.id()
user_name: 'rocket.cat'
text: 'Sample text 2'
trigger_word: 'Sample'
,
token: Random.PI:PASSWORD:<PASSWORD>END_PI(24)
channel_id: Random.id()
channel_name: 'general'
timestamp: new Date
user_id: Random.id()
user_name: 'rocket.cat'
text: 'Sample text 3'
trigger_word: 'Sample'
]
Api.addRoute 'info/:integrationId/:userId/:token', authRequired: true,
get: ->
console.log 'Info integration'
return {} =
statusCode: 200
body:
success: true
|
[
{
"context": " = renderedAccount\n { nickname, firstName, lastName, hash, about, handles, staticPage } = ",
"end": 428,
"score": 0.9964499473571777,
"start": 419,
"tag": "NAME",
"value": "firstName"
},
{
"context": " = renderedAccount\n { nickname, firstNa... | workers/social/lib/social/render/profile.coffee | ezgikaysi/koding | 1 | module.exports = (options, callback) ->
getStyles = require './styleblock'
fetchScripts = require './scriptblock'
getGraphMeta = require './graphmeta'
getTitle = require './title'
encoder = require 'htmlencode'
{ account, renderedAccount, loggedIn, content, bongoModels, client } = options
{ profile, counts, skilltags } = renderedAccount
{ nickname, firstName, lastName, hash, about, handles, staticPage } = profile
staticPage ?= {}
{ customize } = staticPage
{ locationTags, meta } = account
firstName ?= 'Koding'
lastName ?= 'User'
nickname ?= ''
about ?= ''
title = "#{firstName} #{lastName}"
slug = nickname
amountOfDays = Math.floor (new Date().getTime() - meta.createdAt) / (1000 * 60 * 60 * 24)
hash = profile.hash or ''
avatar = profile.avatar or no
bgImg = "//gravatar.com/avatar/#{hash}?size=90&d=#{encodeURIComponent '//a/images/defaultavatar/default.avatar.90.png'}"
if avatar
bgImg = "/-/image/cache?endpoint=crop&grow=false&width=90&height=90&url=#{encodeURIComponent avatar}"
entryPoint = { slug : profile.nickname, type: 'profile' }
prepareHTML = (scripts) ->
"""
<!doctype html>
<html lang="en">
<head>
#{getTitle()}
#{getStyles()}
</head>
<body>
<!--[if IE]><script>(function(){window.location.href='/unsupported.html'})();</script><![endif]-->
#{KONFIG.getConfigScriptTag { entryPoint, roles:['guest'], permissions:[] }}
<script>KD.isLoggedInOnLoad=#{loggedIn};</script>
#{scripts}
</body>
</html>
"""
# inject entryPoint
options.entryPoint = entryPoint
fetchScripts options, (err, scripts) ->
callback null, prepareHTML scripts
| 103280 | module.exports = (options, callback) ->
getStyles = require './styleblock'
fetchScripts = require './scriptblock'
getGraphMeta = require './graphmeta'
getTitle = require './title'
encoder = require 'htmlencode'
{ account, renderedAccount, loggedIn, content, bongoModels, client } = options
{ profile, counts, skilltags } = renderedAccount
{ nickname, <NAME>, <NAME>, hash, about, handles, staticPage } = profile
staticPage ?= {}
{ customize } = staticPage
{ locationTags, meta } = account
firstName ?= '<NAME>'
lastName ?= '<NAME>'
nickname ?= ''
about ?= ''
title = "#{<NAME>} #{<NAME>}"
slug = nickname
amountOfDays = Math.floor (new Date().getTime() - meta.createdAt) / (1000 * 60 * 60 * 24)
hash = profile.hash or ''
avatar = profile.avatar or no
bgImg = "//gravatar.com/avatar/#{hash}?size=90&d=#{encodeURIComponent '//a/images/defaultavatar/default.avatar.90.png'}"
if avatar
bgImg = "/-/image/cache?endpoint=crop&grow=false&width=90&height=90&url=#{encodeURIComponent avatar}"
entryPoint = { slug : profile.nickname, type: 'profile' }
prepareHTML = (scripts) ->
"""
<!doctype html>
<html lang="en">
<head>
#{getTitle()}
#{getStyles()}
</head>
<body>
<!--[if IE]><script>(function(){window.location.href='/unsupported.html'})();</script><![endif]-->
#{KONFIG.getConfigScriptTag { entryPoint, roles:['guest'], permissions:[] }}
<script>KD.isLoggedInOnLoad=#{loggedIn};</script>
#{scripts}
</body>
</html>
"""
# inject entryPoint
options.entryPoint = entryPoint
fetchScripts options, (err, scripts) ->
callback null, prepareHTML scripts
| true | module.exports = (options, callback) ->
getStyles = require './styleblock'
fetchScripts = require './scriptblock'
getGraphMeta = require './graphmeta'
getTitle = require './title'
encoder = require 'htmlencode'
{ account, renderedAccount, loggedIn, content, bongoModels, client } = options
{ profile, counts, skilltags } = renderedAccount
{ nickname, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, hash, about, handles, staticPage } = profile
staticPage ?= {}
{ customize } = staticPage
{ locationTags, meta } = account
firstName ?= 'PI:NAME:<NAME>END_PI'
lastName ?= 'PI:NAME:<NAME>END_PI'
nickname ?= ''
about ?= ''
title = "#{PI:NAME:<NAME>END_PI} #{PI:NAME:<NAME>END_PI}"
slug = nickname
amountOfDays = Math.floor (new Date().getTime() - meta.createdAt) / (1000 * 60 * 60 * 24)
hash = profile.hash or ''
avatar = profile.avatar or no
bgImg = "//gravatar.com/avatar/#{hash}?size=90&d=#{encodeURIComponent '//a/images/defaultavatar/default.avatar.90.png'}"
if avatar
bgImg = "/-/image/cache?endpoint=crop&grow=false&width=90&height=90&url=#{encodeURIComponent avatar}"
entryPoint = { slug : profile.nickname, type: 'profile' }
prepareHTML = (scripts) ->
"""
<!doctype html>
<html lang="en">
<head>
#{getTitle()}
#{getStyles()}
</head>
<body>
<!--[if IE]><script>(function(){window.location.href='/unsupported.html'})();</script><![endif]-->
#{KONFIG.getConfigScriptTag { entryPoint, roles:['guest'], permissions:[] }}
<script>KD.isLoggedInOnLoad=#{loggedIn};</script>
#{scripts}
</body>
</html>
"""
# inject entryPoint
options.entryPoint = entryPoint
fetchScripts options, (err, scripts) ->
callback null, prepareHTML scripts
|
[
{
"context": "um number of line of code in a function.\n# @author Pete Ward <peteward44@gmail.com>\n###\n'use strict'\n\n#-------",
"end": 104,
"score": 0.9998155236244202,
"start": 95,
"tag": "NAME",
"value": "Pete Ward"
},
{
"context": " line of code in a function.\n# @author Pete ... | src/rules/max-lines-per-function.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview A rule to set the maximum number of line of code in a function.
# @author Pete Ward <peteward44@gmail.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
{isIife, getFunctionNameWithKind} = require '../util/ast-utils'
#------------------------------------------------------------------------------
# Constants
#------------------------------------------------------------------------------
OPTIONS_SCHEMA =
type: 'object'
properties:
max:
type: 'integer'
minimum: 0
skipComments:
type: 'boolean'
skipBlankLines:
type: 'boolean'
IIFEs:
type: 'boolean'
additionalProperties: no
OPTIONS_OR_INTEGER_SCHEMA =
oneOf: [
OPTIONS_SCHEMA
,
type: 'integer'
minimum: 1
]
###*
# Given a list of comment nodes, return a map with numeric keys (source code line numbers) and comment token values.
# @param {Array} comments An array of comment nodes.
# @returns {Map.<string,Node>} A map with numeric keys (source code line numbers) and comment token values.
###
getCommentLineNumbers = (comments) ->
map = new Map()
return map unless comments
comments.forEach (comment) ->
i = comment.loc.start.line
while i <= comment.loc.end.line
map.set i, comment
i++
map
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
description: 'enforce a maximum number of line of code in a function'
category: 'Stylistic Issues'
recommended: no
url: 'https://eslint.org/docs/rules/max-lines-per-function'
schema: [OPTIONS_OR_INTEGER_SCHEMA]
create: (context) ->
sourceCode = context.getSourceCode()
{lines} = sourceCode
option = context.options[0]
maxLines = 50
skipComments = no
skipBlankLines = no
IIFEs = no
if typeof option is 'object'
if typeof option.max is 'number' then maxLines = option.max
if typeof option.skipComments is 'boolean'
{skipComments} = option
if typeof option.skipBlankLines is 'boolean'
{skipBlankLines} = option
if typeof option.IIFEs is 'boolean' then {IIFEs} = option
else if typeof option is 'number'
maxLines = option
commentLineNumbers = getCommentLineNumbers sourceCode.getAllComments()
#--------------------------------------------------------------------------
# Helpers
#--------------------------------------------------------------------------
###*
# Tells if a comment encompasses the entire line.
# @param {string} line The source line with a trailing comment
# @param {number} lineNumber The one-indexed line number this is on
# @param {ASTNode} comment The comment to remove
# @returns {boolean} If the comment covers the entire line
###
isFullLineComment = (line, lineNumber, comment) ->
{start, end} = comment.loc
isFirstTokenOnLine =
start.line is lineNumber and not line.slice(0, start.column).trim()
isLastTokenOnLine =
end.line is lineNumber and not line.slice(end.column).trim()
comment and
(start.line < lineNumber or isFirstTokenOnLine) and
(end.line > lineNumber or isLastTokenOnLine)
###*
# Identifies is a node is a FunctionExpression which is embedded within a MethodDefinition or Property
# @param {ASTNode} node Node to test
# @returns {boolean} True if it's a FunctionExpression embedded within a MethodDefinition or Property
###
isEmbedded = (node) ->
return no unless node.parent
return no unless node is node.parent.value
return yes if node.parent.type is 'MethodDefinition'
return (
node.parent.method is yes or node.parent.kind in ['get', 'set']
) if node.parent.type is 'Property'
no
###*
# Count the lines in the function
# @param {ASTNode} funcNode Function AST node
# @returns {void}
# @private
###
processFunction = (funcNode) ->
node = if isEmbedded funcNode then funcNode.parent else funcNode
return if not IIFEs and isIife node
lineCount = 0
for i in [(node.loc.start.line - 1)...node.loc.end.line]
line = lines[i]
continue if (
skipComments and
commentLineNumbers.has(i + 1) and
isFullLineComment line, i + 1, commentLineNumbers.get i + 1
)
continue if skipBlankLines and line.match /^\s*$/
lineCount++
if lineCount > maxLines
name = getFunctionNameWithKind funcNode
context.report {
node
message:
'{{name}} has too many lines ({{lineCount}}). Maximum allowed is {{maxLines}}.'
data: {name, lineCount, maxLines}
}
#--------------------------------------------------------------------------
# Public API
#--------------------------------------------------------------------------
FunctionDeclaration: processFunction
FunctionExpression: processFunction
ArrowFunctionExpression: processFunction
| 79398 | ###*
# @fileoverview A rule to set the maximum number of line of code in a function.
# @author <NAME> <<EMAIL>>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
{isIife, getFunctionNameWithKind} = require '../util/ast-utils'
#------------------------------------------------------------------------------
# Constants
#------------------------------------------------------------------------------
OPTIONS_SCHEMA =
type: 'object'
properties:
max:
type: 'integer'
minimum: 0
skipComments:
type: 'boolean'
skipBlankLines:
type: 'boolean'
IIFEs:
type: 'boolean'
additionalProperties: no
OPTIONS_OR_INTEGER_SCHEMA =
oneOf: [
OPTIONS_SCHEMA
,
type: 'integer'
minimum: 1
]
###*
# Given a list of comment nodes, return a map with numeric keys (source code line numbers) and comment token values.
# @param {Array} comments An array of comment nodes.
# @returns {Map.<string,Node>} A map with numeric keys (source code line numbers) and comment token values.
###
getCommentLineNumbers = (comments) ->
map = new Map()
return map unless comments
comments.forEach (comment) ->
i = comment.loc.start.line
while i <= comment.loc.end.line
map.set i, comment
i++
map
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
description: 'enforce a maximum number of line of code in a function'
category: 'Stylistic Issues'
recommended: no
url: 'https://eslint.org/docs/rules/max-lines-per-function'
schema: [OPTIONS_OR_INTEGER_SCHEMA]
create: (context) ->
sourceCode = context.getSourceCode()
{lines} = sourceCode
option = context.options[0]
maxLines = 50
skipComments = no
skipBlankLines = no
IIFEs = no
if typeof option is 'object'
if typeof option.max is 'number' then maxLines = option.max
if typeof option.skipComments is 'boolean'
{skipComments} = option
if typeof option.skipBlankLines is 'boolean'
{skipBlankLines} = option
if typeof option.IIFEs is 'boolean' then {IIFEs} = option
else if typeof option is 'number'
maxLines = option
commentLineNumbers = getCommentLineNumbers sourceCode.getAllComments()
#--------------------------------------------------------------------------
# Helpers
#--------------------------------------------------------------------------
###*
# Tells if a comment encompasses the entire line.
# @param {string} line The source line with a trailing comment
# @param {number} lineNumber The one-indexed line number this is on
# @param {ASTNode} comment The comment to remove
# @returns {boolean} If the comment covers the entire line
###
isFullLineComment = (line, lineNumber, comment) ->
{start, end} = comment.loc
isFirstTokenOnLine =
start.line is lineNumber and not line.slice(0, start.column).trim()
isLastTokenOnLine =
end.line is lineNumber and not line.slice(end.column).trim()
comment and
(start.line < lineNumber or isFirstTokenOnLine) and
(end.line > lineNumber or isLastTokenOnLine)
###*
# Identifies is a node is a FunctionExpression which is embedded within a MethodDefinition or Property
# @param {ASTNode} node Node to test
# @returns {boolean} True if it's a FunctionExpression embedded within a MethodDefinition or Property
###
isEmbedded = (node) ->
return no unless node.parent
return no unless node is node.parent.value
return yes if node.parent.type is 'MethodDefinition'
return (
node.parent.method is yes or node.parent.kind in ['get', 'set']
) if node.parent.type is 'Property'
no
###*
# Count the lines in the function
# @param {ASTNode} funcNode Function AST node
# @returns {void}
# @private
###
processFunction = (funcNode) ->
node = if isEmbedded funcNode then funcNode.parent else funcNode
return if not IIFEs and isIife node
lineCount = 0
for i in [(node.loc.start.line - 1)...node.loc.end.line]
line = lines[i]
continue if (
skipComments and
commentLineNumbers.has(i + 1) and
isFullLineComment line, i + 1, commentLineNumbers.get i + 1
)
continue if skipBlankLines and line.match /^\s*$/
lineCount++
if lineCount > maxLines
name = getFunctionNameWithKind funcNode
context.report {
node
message:
'{{name}} has too many lines ({{lineCount}}). Maximum allowed is {{maxLines}}.'
data: {name, lineCount, maxLines}
}
#--------------------------------------------------------------------------
# Public API
#--------------------------------------------------------------------------
FunctionDeclaration: processFunction
FunctionExpression: processFunction
ArrowFunctionExpression: processFunction
| true | ###*
# @fileoverview A rule to set the maximum number of line of code in a function.
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
{isIife, getFunctionNameWithKind} = require '../util/ast-utils'
#------------------------------------------------------------------------------
# Constants
#------------------------------------------------------------------------------
OPTIONS_SCHEMA =
type: 'object'
properties:
max:
type: 'integer'
minimum: 0
skipComments:
type: 'boolean'
skipBlankLines:
type: 'boolean'
IIFEs:
type: 'boolean'
additionalProperties: no
OPTIONS_OR_INTEGER_SCHEMA =
oneOf: [
OPTIONS_SCHEMA
,
type: 'integer'
minimum: 1
]
###*
# Given a list of comment nodes, return a map with numeric keys (source code line numbers) and comment token values.
# @param {Array} comments An array of comment nodes.
# @returns {Map.<string,Node>} A map with numeric keys (source code line numbers) and comment token values.
###
getCommentLineNumbers = (comments) ->
map = new Map()
return map unless comments
comments.forEach (comment) ->
i = comment.loc.start.line
while i <= comment.loc.end.line
map.set i, comment
i++
map
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
description: 'enforce a maximum number of line of code in a function'
category: 'Stylistic Issues'
recommended: no
url: 'https://eslint.org/docs/rules/max-lines-per-function'
schema: [OPTIONS_OR_INTEGER_SCHEMA]
create: (context) ->
sourceCode = context.getSourceCode()
{lines} = sourceCode
option = context.options[0]
maxLines = 50
skipComments = no
skipBlankLines = no
IIFEs = no
if typeof option is 'object'
if typeof option.max is 'number' then maxLines = option.max
if typeof option.skipComments is 'boolean'
{skipComments} = option
if typeof option.skipBlankLines is 'boolean'
{skipBlankLines} = option
if typeof option.IIFEs is 'boolean' then {IIFEs} = option
else if typeof option is 'number'
maxLines = option
commentLineNumbers = getCommentLineNumbers sourceCode.getAllComments()
#--------------------------------------------------------------------------
# Helpers
#--------------------------------------------------------------------------
###*
# Tells if a comment encompasses the entire line.
# @param {string} line The source line with a trailing comment
# @param {number} lineNumber The one-indexed line number this is on
# @param {ASTNode} comment The comment to remove
# @returns {boolean} If the comment covers the entire line
###
isFullLineComment = (line, lineNumber, comment) ->
{start, end} = comment.loc
isFirstTokenOnLine =
start.line is lineNumber and not line.slice(0, start.column).trim()
isLastTokenOnLine =
end.line is lineNumber and not line.slice(end.column).trim()
comment and
(start.line < lineNumber or isFirstTokenOnLine) and
(end.line > lineNumber or isLastTokenOnLine)
###*
# Identifies is a node is a FunctionExpression which is embedded within a MethodDefinition or Property
# @param {ASTNode} node Node to test
# @returns {boolean} True if it's a FunctionExpression embedded within a MethodDefinition or Property
###
isEmbedded = (node) ->
return no unless node.parent
return no unless node is node.parent.value
return yes if node.parent.type is 'MethodDefinition'
return (
node.parent.method is yes or node.parent.kind in ['get', 'set']
) if node.parent.type is 'Property'
no
###*
# Count the lines in the function
# @param {ASTNode} funcNode Function AST node
# @returns {void}
# @private
###
processFunction = (funcNode) ->
node = if isEmbedded funcNode then funcNode.parent else funcNode
return if not IIFEs and isIife node
lineCount = 0
for i in [(node.loc.start.line - 1)...node.loc.end.line]
line = lines[i]
continue if (
skipComments and
commentLineNumbers.has(i + 1) and
isFullLineComment line, i + 1, commentLineNumbers.get i + 1
)
continue if skipBlankLines and line.match /^\s*$/
lineCount++
if lineCount > maxLines
name = getFunctionNameWithKind funcNode
context.report {
node
message:
'{{name}} has too many lines ({{lineCount}}). Maximum allowed is {{maxLines}}.'
data: {name, lineCount, maxLines}
}
#--------------------------------------------------------------------------
# Public API
#--------------------------------------------------------------------------
FunctionDeclaration: processFunction
FunctionExpression: processFunction
ArrowFunctionExpression: processFunction
|
[
{
"context": "Formbuilder.registerField 'innerform',\n\n name: 'Inner Form'\n\n order: 70\n\n element_type: 'non_input'\n\n vie",
"end": 59,
"score": 0.8758509159088135,
"start": 49,
"tag": "NAME",
"value": "Inner Form"
}
] | src/scripts/fields/innerform.coffee | SanjayHarkaj/formbuilder_custom | 0 | Formbuilder.registerField 'innerform',
name: 'Inner Form'
order: 70
element_type: 'non_input'
view: """
<label class='section-name'><%= rf.get(Formbuilder.options.mappings.LABEL) %></label>
<% var innerform_name = rf.get(Formbuilder.options.mappings.INNERFORM_NAME); %>
<input type='text' value='<%= innerform_name %>' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' />
"""
edit: """
<%= Formbuilder.templates['edit/innerform_name']() %>
"""
addButton: """
<span class=""><small><b>---</b></small></span> Inner Form
"""
| 111285 | Formbuilder.registerField 'innerform',
name: '<NAME>'
order: 70
element_type: 'non_input'
view: """
<label class='section-name'><%= rf.get(Formbuilder.options.mappings.LABEL) %></label>
<% var innerform_name = rf.get(Formbuilder.options.mappings.INNERFORM_NAME); %>
<input type='text' value='<%= innerform_name %>' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' />
"""
edit: """
<%= Formbuilder.templates['edit/innerform_name']() %>
"""
addButton: """
<span class=""><small><b>---</b></small></span> Inner Form
"""
| true | Formbuilder.registerField 'innerform',
name: 'PI:NAME:<NAME>END_PI'
order: 70
element_type: 'non_input'
view: """
<label class='section-name'><%= rf.get(Formbuilder.options.mappings.LABEL) %></label>
<% var innerform_name = rf.get(Formbuilder.options.mappings.INNERFORM_NAME); %>
<input type='text' value='<%= innerform_name %>' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' />
"""
edit: """
<%= Formbuilder.templates['edit/innerform_name']() %>
"""
addButton: """
<span class=""><small><b>---</b></small></span> Inner Form
"""
|
[
{
"context": "th(data)\n\n # Submit purchase form via AJAX\n # -- nac26 2013-04-10: I see no reason why we need both of t",
"end": 6054,
"score": 0.9992386698722839,
"start": 6049,
"tag": "USERNAME",
"value": "nac26"
},
{
"context": "of these submit functions\n # -- will consult w... | app/assets/javascripts/blacklight_cornell_requests/requests.js.coffee | cul-it/blacklight-cornell-requests | 0 | requests =
# Initial setup
onLoad: () ->
this.originalPickupList
this.bindEventListeners()
this.checkForL2L()
this.checkForBD()
# Store original list of pickup locations for use later
originalPickupList: $('#pickup-locations').html()
# Event listeners for all requests. Called on page load
bindEventListeners: () ->
# Listeners for request button (submit request)
$('#requests_button').click ->
this.preventDefault()
requests.formSetup()
$('#req').submit ->
return false
# Listener for most types of requests
$('#request-submit').click ->
requests.submitForm()
return false
# Listener for purchase requests
$('#purch-request-submit').click ->
requests.submitPurchaseForm()
return false
# ... and for Borrow Direct requests
$('#bd-request-submit').click ->
$.fn.spin.presets.requesting =
lines: 9,
length: 3,
width: 2,
radius: 6,
$('#request-loading-spinner').spin('requesting')
requests.submitForm('bd')
return false
# Listener for volume selection
$('#volume-selection').change ->
$.fn.spin.presets.requesting =
lines: 9,
length: 3,
width: 2,
radius: 6,
$('#request-loading-spinner').spin('requesting')
requestPath = $(this).data('request-path')
requests.redirectVolume($(this).val(), requestPath)
return false
# Event listeners for library to library (l2l) location suppression
bindPickupEventListeners: () ->
# Listener for copy selection
$('.copy-select').change ->
requests.clearValidation()
# Use JSON.parse to convert string to array
excludedPickups = JSON.parse($(this).attr('data-exclude-location'))
# Save the currently selected pickup location (if any)
selectedPickup = $('#pickup-locations option:selected').val()
$('#pickup-locations').html(requests.originalPickupList)
requests.suppressPickup(excludedPickups, selectedPickup)
# Listener for pickup location selection
$('#pickup-locations').change ->
requests.clearValidation()
# Confirm we're dealing with a library to library request
# before firing pickup event listeners
checkForL2L: () ->
if $('form#req.l2l-request').length == 1
this.bindPickupEventListeners()
this.checkForSingleCopy()
# If this is a borrow direct request, modify the values in the location select
# list to use the Borrow Direct location codes instead of CUL codes
checkForBD: () ->
if $('form#req.bd-request').length == 1
options = $('#pickup-locations option')
options.each (i, element) =>
bdCode = $(element).data('bd-code')
# Some options (e.g., faculty office delivery) don't have a corresponding
# BD code. In those cases, we want to use the original CUL numeric code
if bdCode
$(element).val(bdCode)
$('#pickup-locations').change ->
$('#bd-request-submit').removeAttr('disabled')
# When there's only a single copy of an item suppress the pickup location immediately
# -- don't wait for a change event on .copy-select because it will never happen
checkForSingleCopy: () ->
if $('.copy-select').length == 1
# Use JSON.parse to convert string to array
excludedPickups = JSON.parse($('.copy-select').attr('data-exclude-location'))
requests.suppressPickup(excludedPickups)
# Suppress pickup location based on location of selected copy
suppressPickup: (excludedPickups, selectedPickup) ->
$.each excludedPickups, (i, location_id) ->
# temporary Covid-19 hack for limited pickup locations. We do not want any of these locations getting removed from the select
if location_id != 172 and location_id != 159 and location_id != 207 and location_id != 188 and location_id != 151 and location_id != 189 and location_id != 157 and location_id != 149
console.log(location_id)
targetedPickup = '#pickup-locations option[value="' + location_id + '"]'
$(targetedPickup).remove()
# Track whether one of the excluded pickups was already selected
if location_id == parseInt(selectedPickup)
requests.notifyUser()
# Restore previous selection if it hasn't been excluded
if selectedPickup?
$('#pickup-locations').val(selectedPickup)
# Render flash message if user's selected pickup location was suppressed
notifyUser: () ->
requests.scrollToTop()
$('.flash_messages').html('
<div class="alert alert-danger">Please select a new pickup location that does not match the copy location.
<a class="close" data-dismiss="alert" href="#">×</a>
</div>')
# Clear flash message
clearValidation: () ->
$('.flash_messages').empty()
# Get initial data for form
formSetup: () ->
pathComponents = window.location.pathname.split('/')
id = pathComponents.pop()
$.get "/backend/request_item/" + id, (data,status) ->
$("#requests_button").hide()
$("#delivery_option").html(data)
# Submit form via AJAX
submitForm: (source = '') ->
hu = $('#req').attr('action')
reqnna = ''
reqnna = $('form [name="latest-date"]:radio:checked').val()
if reqnna == 'undefined-undefined-undefined'
reqnna = ''
$('#bd-request-submit').attr('disabled', 'disabled')
$.ajax
type: 'POST',
data: $('#req').serialize(),
url:hu,
success: (data) ->
$('#request-loading-spinner').spin(false)
# Ugly special condition wrangling for Borrow Direct messages,
# which are _mostly_ not treated as ordinary flash messages!
match = data.match(/Borrow Direct/gi)
error = data.match(/error/gi)
if (source == 'bd' && match)
$('#request-message-well').html(data)
if (error)
$('#bd-request-submit').removeAttr('disabled')
else
requests.scrollToTop()
$('.flash_messages').replaceWith(data)
# Submit purchase form via AJAX
# -- nac26 2013-04-10: I see no reason why we need both of these submit functions
# -- will consult with Matt before refactoring
submitPurchaseForm: () ->
hu = $('#req').attr('action')
$.ajax
type: 'POST',
data:
'name': $('#reqname').val(),
'email': $('#reqemail').val(),
'status': $('#reqstatus').val(),
'title': $('#reqtitle').val(),
'author': $('#reqauthor').val(),
'series': $('#reqseries').val(),
'publication': $('#reqpublication').val(),
'identifier': $('#reqidentifier').val(),
'comments': $('#reqcomments').val(),
'notify': $('#reqnotify').val(),
"request_action": $("#request_action").val()
url: hu,
dataType: 'json',
success: (data) ->
st = data.status
desc = (st == 'success') ? 'succeeded' : 'failed'
act_desc = ($("#request_action").val() == 'callslip') ? 'delivery' : $("#request_action").val()
$('#result').html("Your request for " + act_desc + " has " + desc)
redirectVolume: (selectedVolume, requestPath) ->
$.ajax
url: '/request/volume/set',
data: { volume: selectedVolume }
success: (data, textStatus, jqXHR) ->
redirectPath = requestPath# + '/' + selectedVolume
window.location = redirectPath
scrollToTop: () ->
# Make sure we're at the top of the page so the flash messge is visible
$('html,body').animate({scrollTop:0},0)
$(document).ready ->
requests.onLoad()
| 133590 | requests =
# Initial setup
onLoad: () ->
this.originalPickupList
this.bindEventListeners()
this.checkForL2L()
this.checkForBD()
# Store original list of pickup locations for use later
originalPickupList: $('#pickup-locations').html()
# Event listeners for all requests. Called on page load
bindEventListeners: () ->
# Listeners for request button (submit request)
$('#requests_button').click ->
this.preventDefault()
requests.formSetup()
$('#req').submit ->
return false
# Listener for most types of requests
$('#request-submit').click ->
requests.submitForm()
return false
# Listener for purchase requests
$('#purch-request-submit').click ->
requests.submitPurchaseForm()
return false
# ... and for Borrow Direct requests
$('#bd-request-submit').click ->
$.fn.spin.presets.requesting =
lines: 9,
length: 3,
width: 2,
radius: 6,
$('#request-loading-spinner').spin('requesting')
requests.submitForm('bd')
return false
# Listener for volume selection
$('#volume-selection').change ->
$.fn.spin.presets.requesting =
lines: 9,
length: 3,
width: 2,
radius: 6,
$('#request-loading-spinner').spin('requesting')
requestPath = $(this).data('request-path')
requests.redirectVolume($(this).val(), requestPath)
return false
# Event listeners for library to library (l2l) location suppression
bindPickupEventListeners: () ->
# Listener for copy selection
$('.copy-select').change ->
requests.clearValidation()
# Use JSON.parse to convert string to array
excludedPickups = JSON.parse($(this).attr('data-exclude-location'))
# Save the currently selected pickup location (if any)
selectedPickup = $('#pickup-locations option:selected').val()
$('#pickup-locations').html(requests.originalPickupList)
requests.suppressPickup(excludedPickups, selectedPickup)
# Listener for pickup location selection
$('#pickup-locations').change ->
requests.clearValidation()
# Confirm we're dealing with a library to library request
# before firing pickup event listeners
checkForL2L: () ->
if $('form#req.l2l-request').length == 1
this.bindPickupEventListeners()
this.checkForSingleCopy()
# If this is a borrow direct request, modify the values in the location select
# list to use the Borrow Direct location codes instead of CUL codes
checkForBD: () ->
if $('form#req.bd-request').length == 1
options = $('#pickup-locations option')
options.each (i, element) =>
bdCode = $(element).data('bd-code')
# Some options (e.g., faculty office delivery) don't have a corresponding
# BD code. In those cases, we want to use the original CUL numeric code
if bdCode
$(element).val(bdCode)
$('#pickup-locations').change ->
$('#bd-request-submit').removeAttr('disabled')
# When there's only a single copy of an item suppress the pickup location immediately
# -- don't wait for a change event on .copy-select because it will never happen
checkForSingleCopy: () ->
if $('.copy-select').length == 1
# Use JSON.parse to convert string to array
excludedPickups = JSON.parse($('.copy-select').attr('data-exclude-location'))
requests.suppressPickup(excludedPickups)
# Suppress pickup location based on location of selected copy
suppressPickup: (excludedPickups, selectedPickup) ->
$.each excludedPickups, (i, location_id) ->
# temporary Covid-19 hack for limited pickup locations. We do not want any of these locations getting removed from the select
if location_id != 172 and location_id != 159 and location_id != 207 and location_id != 188 and location_id != 151 and location_id != 189 and location_id != 157 and location_id != 149
console.log(location_id)
targetedPickup = '#pickup-locations option[value="' + location_id + '"]'
$(targetedPickup).remove()
# Track whether one of the excluded pickups was already selected
if location_id == parseInt(selectedPickup)
requests.notifyUser()
# Restore previous selection if it hasn't been excluded
if selectedPickup?
$('#pickup-locations').val(selectedPickup)
# Render flash message if user's selected pickup location was suppressed
notifyUser: () ->
requests.scrollToTop()
$('.flash_messages').html('
<div class="alert alert-danger">Please select a new pickup location that does not match the copy location.
<a class="close" data-dismiss="alert" href="#">×</a>
</div>')
# Clear flash message
clearValidation: () ->
$('.flash_messages').empty()
# Get initial data for form
formSetup: () ->
pathComponents = window.location.pathname.split('/')
id = pathComponents.pop()
$.get "/backend/request_item/" + id, (data,status) ->
$("#requests_button").hide()
$("#delivery_option").html(data)
# Submit form via AJAX
submitForm: (source = '') ->
hu = $('#req').attr('action')
reqnna = ''
reqnna = $('form [name="latest-date"]:radio:checked').val()
if reqnna == 'undefined-undefined-undefined'
reqnna = ''
$('#bd-request-submit').attr('disabled', 'disabled')
$.ajax
type: 'POST',
data: $('#req').serialize(),
url:hu,
success: (data) ->
$('#request-loading-spinner').spin(false)
# Ugly special condition wrangling for Borrow Direct messages,
# which are _mostly_ not treated as ordinary flash messages!
match = data.match(/Borrow Direct/gi)
error = data.match(/error/gi)
if (source == 'bd' && match)
$('#request-message-well').html(data)
if (error)
$('#bd-request-submit').removeAttr('disabled')
else
requests.scrollToTop()
$('.flash_messages').replaceWith(data)
# Submit purchase form via AJAX
# -- nac26 2013-04-10: I see no reason why we need both of these submit functions
# -- will consult with <NAME> before refactoring
submitPurchaseForm: () ->
hu = $('#req').attr('action')
$.ajax
type: 'POST',
data:
'name': $('#reqname').val(),
'email': $('#reqemail').val(),
'status': $('#reqstatus').val(),
'title': $('#reqtitle').val(),
'author': $('#reqauthor').val(),
'series': $('#reqseries').val(),
'publication': $('#reqpublication').val(),
'identifier': $('#reqidentifier').val(),
'comments': $('#reqcomments').val(),
'notify': $('#reqnotify').val(),
"request_action": $("#request_action").val()
url: hu,
dataType: 'json',
success: (data) ->
st = data.status
desc = (st == 'success') ? 'succeeded' : 'failed'
act_desc = ($("#request_action").val() == 'callslip') ? 'delivery' : $("#request_action").val()
$('#result').html("Your request for " + act_desc + " has " + desc)
redirectVolume: (selectedVolume, requestPath) ->
$.ajax
url: '/request/volume/set',
data: { volume: selectedVolume }
success: (data, textStatus, jqXHR) ->
redirectPath = requestPath# + '/' + selectedVolume
window.location = redirectPath
scrollToTop: () ->
# Make sure we're at the top of the page so the flash messge is visible
$('html,body').animate({scrollTop:0},0)
$(document).ready ->
requests.onLoad()
| true | requests =
# Initial setup
onLoad: () ->
this.originalPickupList
this.bindEventListeners()
this.checkForL2L()
this.checkForBD()
# Store original list of pickup locations for use later
originalPickupList: $('#pickup-locations').html()
# Event listeners for all requests. Called on page load
bindEventListeners: () ->
# Listeners for request button (submit request)
$('#requests_button').click ->
this.preventDefault()
requests.formSetup()
$('#req').submit ->
return false
# Listener for most types of requests
$('#request-submit').click ->
requests.submitForm()
return false
# Listener for purchase requests
$('#purch-request-submit').click ->
requests.submitPurchaseForm()
return false
# ... and for Borrow Direct requests
$('#bd-request-submit').click ->
$.fn.spin.presets.requesting =
lines: 9,
length: 3,
width: 2,
radius: 6,
$('#request-loading-spinner').spin('requesting')
requests.submitForm('bd')
return false
# Listener for volume selection
$('#volume-selection').change ->
$.fn.spin.presets.requesting =
lines: 9,
length: 3,
width: 2,
radius: 6,
$('#request-loading-spinner').spin('requesting')
requestPath = $(this).data('request-path')
requests.redirectVolume($(this).val(), requestPath)
return false
# Event listeners for library to library (l2l) location suppression
bindPickupEventListeners: () ->
# Listener for copy selection
$('.copy-select').change ->
requests.clearValidation()
# Use JSON.parse to convert string to array
excludedPickups = JSON.parse($(this).attr('data-exclude-location'))
# Save the currently selected pickup location (if any)
selectedPickup = $('#pickup-locations option:selected').val()
$('#pickup-locations').html(requests.originalPickupList)
requests.suppressPickup(excludedPickups, selectedPickup)
# Listener for pickup location selection
$('#pickup-locations').change ->
requests.clearValidation()
# Confirm we're dealing with a library to library request
# before firing pickup event listeners
checkForL2L: () ->
if $('form#req.l2l-request').length == 1
this.bindPickupEventListeners()
this.checkForSingleCopy()
# If this is a borrow direct request, modify the values in the location select
# list to use the Borrow Direct location codes instead of CUL codes
checkForBD: () ->
if $('form#req.bd-request').length == 1
options = $('#pickup-locations option')
options.each (i, element) =>
bdCode = $(element).data('bd-code')
# Some options (e.g., faculty office delivery) don't have a corresponding
# BD code. In those cases, we want to use the original CUL numeric code
if bdCode
$(element).val(bdCode)
$('#pickup-locations').change ->
$('#bd-request-submit').removeAttr('disabled')
# When there's only a single copy of an item suppress the pickup location immediately
# -- don't wait for a change event on .copy-select because it will never happen
checkForSingleCopy: () ->
if $('.copy-select').length == 1
# Use JSON.parse to convert string to array
excludedPickups = JSON.parse($('.copy-select').attr('data-exclude-location'))
requests.suppressPickup(excludedPickups)
# Suppress pickup location based on location of selected copy
suppressPickup: (excludedPickups, selectedPickup) ->
$.each excludedPickups, (i, location_id) ->
# temporary Covid-19 hack for limited pickup locations. We do not want any of these locations getting removed from the select
if location_id != 172 and location_id != 159 and location_id != 207 and location_id != 188 and location_id != 151 and location_id != 189 and location_id != 157 and location_id != 149
console.log(location_id)
targetedPickup = '#pickup-locations option[value="' + location_id + '"]'
$(targetedPickup).remove()
# Track whether one of the excluded pickups was already selected
if location_id == parseInt(selectedPickup)
requests.notifyUser()
# Restore previous selection if it hasn't been excluded
if selectedPickup?
$('#pickup-locations').val(selectedPickup)
# Render flash message if user's selected pickup location was suppressed
notifyUser: () ->
requests.scrollToTop()
$('.flash_messages').html('
<div class="alert alert-danger">Please select a new pickup location that does not match the copy location.
<a class="close" data-dismiss="alert" href="#">×</a>
</div>')
# Clear flash message
clearValidation: () ->
$('.flash_messages').empty()
# Get initial data for form
formSetup: () ->
pathComponents = window.location.pathname.split('/')
id = pathComponents.pop()
$.get "/backend/request_item/" + id, (data,status) ->
$("#requests_button").hide()
$("#delivery_option").html(data)
# Submit form via AJAX
submitForm: (source = '') ->
hu = $('#req').attr('action')
reqnna = ''
reqnna = $('form [name="latest-date"]:radio:checked').val()
if reqnna == 'undefined-undefined-undefined'
reqnna = ''
$('#bd-request-submit').attr('disabled', 'disabled')
$.ajax
type: 'POST',
data: $('#req').serialize(),
url:hu,
success: (data) ->
$('#request-loading-spinner').spin(false)
# Ugly special condition wrangling for Borrow Direct messages,
# which are _mostly_ not treated as ordinary flash messages!
match = data.match(/Borrow Direct/gi)
error = data.match(/error/gi)
if (source == 'bd' && match)
$('#request-message-well').html(data)
if (error)
$('#bd-request-submit').removeAttr('disabled')
else
requests.scrollToTop()
$('.flash_messages').replaceWith(data)
# Submit purchase form via AJAX
# -- nac26 2013-04-10: I see no reason why we need both of these submit functions
# -- will consult with PI:NAME:<NAME>END_PI before refactoring
submitPurchaseForm: () ->
hu = $('#req').attr('action')
$.ajax
type: 'POST',
data:
'name': $('#reqname').val(),
'email': $('#reqemail').val(),
'status': $('#reqstatus').val(),
'title': $('#reqtitle').val(),
'author': $('#reqauthor').val(),
'series': $('#reqseries').val(),
'publication': $('#reqpublication').val(),
'identifier': $('#reqidentifier').val(),
'comments': $('#reqcomments').val(),
'notify': $('#reqnotify').val(),
"request_action": $("#request_action").val()
url: hu,
dataType: 'json',
success: (data) ->
st = data.status
desc = (st == 'success') ? 'succeeded' : 'failed'
act_desc = ($("#request_action").val() == 'callslip') ? 'delivery' : $("#request_action").val()
$('#result').html("Your request for " + act_desc + " has " + desc)
redirectVolume: (selectedVolume, requestPath) ->
$.ajax
url: '/request/volume/set',
data: { volume: selectedVolume }
success: (data, textStatus, jqXHR) ->
redirectPath = requestPath# + '/' + selectedVolume
window.location = redirectPath
scrollToTop: () ->
# Make sure we're at the top of the page so the flash messge is visible
$('html,body').animate({scrollTop:0},0)
$(document).ready ->
requests.onLoad()
|
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9791303873062134,
"start": 16,
"tag": "NAME",
"value": "Konode"
},
{
"context": "ivate constructor\n\tconstructor: (@dataDirectory, @userName, @publicInfo, code) ->\n\t\tif... | src/persist/users.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module handles all logic related to user accounts.
#
# See also: persist/session
#
# TODO Make operations atomic
# TODO Find a better way of getting data dir location
Assert = require 'assert'
Async = require 'async'
Base64url = require 'base64url'
Fs = require 'graceful-fs'
Imm = require 'immutable'
Path = require 'path'
Atomic = require './atomic'
{
generateSalt
SymmetricEncryptionKey
PrivateKey
PublicKey
} = require './crypto'
{CustomError, IOError} = require './utils'
userNameRegex = /^[a-zA-Z0-9_-]+$/
# Check if the account system is set up. The account system must be set up
# before any accounts can be created, see `Account.setUp`.
#
# Errors:
# - IOError
#
# (string dataDir, function cb(Error err, boolean isSetUp)) -> undefined
isAccountSystemSetUp = (backend, cb) ->
Fs.readdir Path.join(backend.dataDirectory, '_users'), (err, subdirs) ->
if err
if err.code is 'ENOENT'
cb null, false
return
cb new IOError err
return
userNames = Imm.List(subdirs)
.filter (dirName) ->
return userNameRegex.exec(dirName)
cb null, (userNames.size > 0)
# Produce a list of the user names of all accounts in the system.
#
# Errors:
# - IOError
#
# (object backend, function cb(Error err, Imm.List userNames)) -> undefined
listUserNames = (backend, cb) ->
Fs.readdir Path.join(backend.dataDirectory, '_users'), (err, subdirs) ->
if err
cb new IOError err
return
userNames = Imm.List(subdirs)
.filter (dirName) ->
return dirName isnt '_system'
.filter (dirName) ->
return userNameRegex.exec(dirName)
cb null, userNames
# Account objects contain the public information on a user account (and related operations).
# Account objects also provide "decrypt" methods that are gateways to the
# private information in a user account (see DecryptedAccount).
class Account
# Private constructor
constructor: (@dataDirectory, @userName, @publicInfo, code) ->
if code isnt 'privateaccess'
# See Account.read instead
throw new Error "Account constructor should only be used internally"
@_userDir = getUserDir @dataDirectory, @userName
# Sets up the account system. A new data directory must be set up before
# any user accounts can be created. This set up process generates a
# special "_system" account which can be used to set up other accounts.
# The _system account does not have a password, and cannot be accessed from
# the UI. It exists just for the purpose of setting up the first admin
# account.
#
# Note: this method assumes that the data directory has already undergone
# some basic set up outside of the account system (see
# `Persist.buildDataDirectory`).
#
# Errors:
# - IOError
#
# (object backend, function cb(Error err, Account systemAccount)) -> undefined
@setUp: (backend, tempDataDirectory, cb) ->
dataDir = tempDataDirectory or backend.dataDirectory
# Create a mock "_system" user just for creating the first real accounts
publicInfo = {
accountType: 'admin'
isActive: true
displayName: 'system'
}
privateInfo = {
globalEncryptionKey: SymmetricEncryptionKey.generate().export()
systemPrivateKey: null
}
systemPublicKey = null
Async.series [
(cb) =>
console.info "Generating private key..."
PrivateKey.generate (err, result) =>
if err
cb err
return
privateInfo.systemPrivateKey = result.export()
systemPublicKey = result.getPublicKey().export()
cb()
(cb) =>
console.info "Creating system user..."
Fs.mkdir Path.join(dataDir, '_users', '_system'), (err) =>
if err
cb new IOError err
return
cb()
], (err) =>
if err
cb err
return
console.info "Done setting up accounts system"
systemAccount = new DecryptedAccount(dataDir, '_system', publicInfo, privateInfo, null, 'privateaccess')
cb null, systemAccount
# Creates a new user account, and returns an Account object representing
# that account.
#
# Errors:
# - UserNameTakenError if the user name has already been taken
# - IOError
#
# (DecryptedAccount loggedInAccount, string userName, string displayName, string password, string accountType,
# function cb(Error err, Account newAccount)) -> undefined
@create: (loggedInAccount, userName, displayName, password, accountType, cb) ->
unless accountType in ['normal', 'basicAdmin', 'admin']
cb new Error "unknown account type #{JSON.stringify accountType}"
return
if accountType is 'admin'
Assert.strictEqual loggedInAccount.publicInfo.accountType, 'admin', 'only full admins can create other admin accounts'
publicInfo = {accountType, displayName, isActive: true}
kdfParams = generateKdfParams()
accountEncryptionKey = SymmetricEncryptionKey.generate()
pwEncryptionKey = null
encryptedAccountKey = null
userName = userName.toLowerCase()
dataDirectory = loggedInAccount.dataDirectory
destUserDir = getUserDir(dataDirectory, userName, cb)
return unless destUserDir?
tmpDirPath = Path.join(dataDirectory, '_tmp')
userDir = null
userDirOp = null
Async.series [
(cb) ->
# Create temporary user directory
Atomic.writeDirectory destUserDir, tmpDirPath, (err, tempUserDir, op) ->
if err
cb err
return
userDir = tempUserDir
userDirOp = op
cb()
(cb) ->
SymmetricEncryptionKey.derive password, kdfParams, (err, result) ->
if err
cb err
return
pwEncryptionKey = result
cb()
(cb) ->
publicInfoPath = Path.join(userDir, 'public-info')
Fs.writeFile publicInfoPath, JSON.stringify(publicInfo), (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
accountKeyFilePath = Path.join(userDir, 'account-key-1')
# Encrypt account key with user's password
encryptedAccountKey = pwEncryptionKey.encrypt accountEncryptionKey.export()
accountKeyData = {
kdfParams
accountKey: Base64url.encode encryptedAccountKey
}
Fs.writeFile accountKeyFilePath, JSON.stringify(accountKeyData), (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
systemPrivateKey = PrivateKey.import(loggedInAccount.privateInfo.systemPrivateKey)
systemPublicKey = systemPrivateKey.getPublicKey()
# Encrypt account key with system key to allow admins to reset
systemPublicKey.encrypt accountEncryptionKey.export(), (err, result) ->
if err
cb err
return
encryptedAccountKey = result
cb()
(cb) ->
accountRecoveryPath = Path.join(userDir, 'account-recovery')
Fs.writeFile accountRecoveryPath, encryptedAccountKey, (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
privateInfoPath = Path.join(userDir, 'private-info')
privateInfo = {
globalEncryptionKey: loggedInAccount.privateInfo.globalEncryptionKey
}
if accountType is 'admin'
Assert.strictEqual loggedInAccount.publicInfo.accountType, 'admin', 'only admins can create admins'
privateInfo.systemPrivateKey = loggedInAccount.privateInfo.systemPrivateKey
privateInfo.systemPublicKey = PrivateKey.import(
loggedInAccount.privateInfo.systemPrivateKey
).getPublicKey().export()
else
# Note: in v1.10.0 and earlier, systemPublicKey was not added
# to privateInfo, so accounts that were created back then might
# not have this field.
privateInfo.systemPublicKey = loggedInAccount.systemPublicKey
encryptedData = accountEncryptionKey.encrypt JSON.stringify privateInfo
Fs.writeFile privateInfoPath, encryptedData, (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
# Done preparing user directory, finish the operation atomically
userDirOp.commit (err) ->
if err
if err instanceof IOError and err.cause.code in ['EEXIST', 'ENOTEMPTY']
cb new UserNameTakenError()
return
cb err
return
cb()
], (err) ->
if err
cb err
return
cb null, new Account dataDirectory, userName, publicInfo, 'privateaccess'
# Read the public information for the account with the specified user name.
#
# Errors:
# - UnknownUserNameError if no account exists with that user name
# - IOError
#
# (object backend, string userName, function cb(Error err, Account a)) -> undefined
@read: (backend, userName, cb) =>
dataDir = backend.dataDirectory
userName = userName.toLowerCase()
userDir = getUserDir(dataDir, userName, cb)
return unless userDir?
publicInfo = null
Async.series [
(cb) ->
Fs.readFile Path.join(userDir, 'public-info'), (err, buf) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
publicInfo = JSON.parse buf
cb()
], (err) ->
if err
cb err
return
cb null, new Account dataDir, userName, publicInfo, 'privateaccess'
# Deactivate this account. Requires the ability to modify/delete files.
#
# Errors:
# - DeactivatedAccountError if the account has already been deactivated
# - IOError
#
# (function cb(Error err)) -> undefined
deactivate: (cb) =>
publicInfo = null
accountKeyFileNames = null
publicInfoOp = null
publicInfoFile = null
publicInfoPath = Path.join(@_userDir, 'public-info')
tmpDirPath = Path.join(@dataDirectory, '_tmp')
Async.series [
(cb) =>
# Get existing public-info from user
Fs.readFile publicInfoPath, (err, buf) =>
if err
cb new IOError err
return
publicInfo = JSON.parse buf
unless publicInfo.isActive
cb new DeactivatedAccountError()
return
cb()
(cb) =>
# Change isActive attribute
publicInfo.isActive = false
# Atomically write publicInfo to file as JSON
Atomic.writeJSONToFile publicInfoPath, tmpDirPath, JSON.stringify(publicInfo), cb
(cb) =>
# Get the full list of 'account-key' files
Fs.readdir @_userDir, (err, fileNames) =>
if err
cb new IOError err
return
accountKeyFileNames = Imm.List(fileNames)
.filter (fileName) => fileName.startsWith 'account-key-'
cb()
(cb) =>
# Delete each of the 'account-key' files
Async.each accountKeyFileNames.toArray(), (fileName, cb) =>
Fs.unlink Path.join(@_userDir, fileName), (err) =>
if err
cb new IOError err
return
cb()
, cb
], cb
reactivate: (newPassword, cb) =>
publicInfo = null
publicInfoPath = Path.join(@_userDir, 'public-info')
tmpDirPath = Path.join(@dataDirectory, '_tmp')
Async.series [
(cb) =>
# Get existing public-info from user
Fs.readFile publicInfoPath, (err, buf) =>
if err
cb new IOError err
return
publicInfo = JSON.parse buf
if publicInfo.isActive
cb new DeactivatedAccountError()
return
cb()
(cb) =>
# Change isActive attribute
publicInfo.isActive = true
# Atomically write publicInfo to file as JSON
Atomic.writeJSONToFile publicInfoPath, tmpDirPath, JSON.stringify(publicInfo), cb
(cb) =>
# Set new password (previous password was deleted on deactivation)
@publicInfo.isActive = true
@decryptWithSystemKey global.ActiveSession.account, (err, result) =>
if err
cb err
return
result.setPassword newPassword, cb
], cb
# Check if the specified password is valid for this user account.
#
# Errors:
# - IncorrectPasswordError if the passsword was incorrect
# - IOError
#
# (string userPassword, function cb(Error err)) -> undefined
checkPassword: (userPassword, cb) =>
# Not all of decryptWithPassword is actually needed to check the
# password. If needed, this can be reimplemented to be more efficient.
@decryptWithPassword userPassword, (err, result) =>
if err
cb err
return
cb()
# Access this account's private information using the specified password.
#
# Errors:
# - DeactivatedAccountError
# - UnknownUserNameError if this account no longer exists
# - IncorrectPasswordError
# - IOError
#
# (string userPassword, function cb(Error err, DecryptedAccount a)) -> undefined
decryptWithPassword: (userPassword, cb) =>
unless @publicInfo.isActive
cb new DeactivatedAccountError()
return
userDir = @_userDir
accountKeyId = null
accountKeyInfo = null
accountKey = null
privateInfo = null
accountType = null
decryptedAccount = null
Async.series [
(cb) ->
Fs.readdir userDir, (err, fileNames) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
# Find the highest (i.e. most recent) account key ID
accountKeyId = Imm.List(fileNames)
.filter (fileName) ->
return fileName.startsWith 'account-key-'
.map (fileName) ->
return Number(fileName['account-key-'.length...])
.max()
cb()
(cb) ->
Fs.readFile Path.join(userDir, "account-key-#{accountKeyId}"), (err, buf) ->
if err
cb new IOError err
return
accountKeyInfo = JSON.parse buf
cb()
(cb) ->
SymmetricEncryptionKey.derive userPassword, accountKeyInfo.kdfParams, (err, result) ->
if err
cb err
return
pwEncryptionKey = result
# Use password to decrypt account key
encryptedAccountKey = Base64url.toBuffer(accountKeyInfo.accountKey)
try
accountKeyBuf = pwEncryptionKey.decrypt(encryptedAccountKey)
catch err
console.error err.stack
# If decryption fails, we're probably using the wrong key
cb new IncorrectPasswordError()
return
accountKey = SymmetricEncryptionKey.import(accountKeyBuf.toString())
cb()
(cb) =>
Fs.readFile Path.join(userDir, 'private-info'), (err, buf) ->
if err
cb new IOError err
return
privateInfo = JSON.parse accountKey.decrypt buf
cb()
], (err) =>
if err
cb err
return
cb null, new DecryptedAccount(
@dataDirectory, @userName,
@publicInfo, privateInfo, accountKey,
'privateaccess'
)
# Access this account's private information using the system key (i.e. the
# admin override). `loggedInAccount` must be an admin account.
#
# Errors:
# - DeactivatedAccountError
# - UnknownUserNameError if this account no longer exists
# - IOError
#
# (DecryptedAccount loggedInAccount, function cb(Error err, DecryptedAccount a)) -> undefined
decryptWithSystemKey: (loggedInAccount, cb) =>
unless @publicInfo.isActive
cb new DeactivatedAccountError()
return
unless loggedInAccount.publicInfo.accountType is 'admin'
cb new Error "only admins have access to the system key"
return
userDir = @_userDir
accountKey = null
privateInfo = null
accountType = null
decryptedAccount = null
accountRecovery = null
Async.series [
(cb) =>
@_findMaxAccountKeyId (err, result) ->
if err
cb err
return
accountKeyId = result
cb()
(cb) =>
Fs.readFile Path.join(userDir, "account-recovery"), (err, buf) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
accountRecovery = buf
cb()
(cb) =>
systemPrivateKey = PrivateKey.import(loggedInAccount.privateInfo.systemPrivateKey)
systemPrivateKey.decrypt accountRecovery, (err, accountKeyBuf) =>
if err
cb err
return
accountKey = SymmetricEncryptionKey.import(accountKeyBuf.toString())
cb()
(cb) =>
Fs.readFile Path.join(userDir, 'private-info'), (err, buf) ->
if err
cb new IOError err
return
privateInfo = JSON.parse accountKey.decrypt buf
cb()
], (err) =>
if err
cb err
return
cb null, new DecryptedAccount(
@dataDirectory, @userName,
@publicInfo, privateInfo, accountKey,
'privateaccess'
)
_findMaxAccountKeyId: (cb) ->
Fs.readdir @_userDir, (err, fileNames) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
# Find the highest (i.e. most recent) account key ID
accountKeyId = Imm.List(fileNames)
.filter (fileName) ->
return fileName.startsWith 'account-key-'
.map (fileName) ->
return Number(fileName['account-key-'.length...])
.max()
cb null, (accountKeyId or 0)
# DecryptedAccount objects contain both the private and public information in a
# user account, including encryption keys, and provide related functionality.
# DecryptedAccount objects can be obtained using Account's "decrypt" methods.
class DecryptedAccount extends Account
constructor: (@dataDirectory, @userName, @publicInfo, @privateInfo, @_accountKey, code) ->
if code isnt 'privateaccess'
# See Account.decrypt* instead
throw new Error "DecryptedAccount constructor should only be used internally"
@_userDir = getUserDir @dataDirectory, @userName
# Change account Type: Admin -> Normal | Normal -> Admin.
#
# Errors:
# - AccountTypeError if the logged-in account tries to change its own type
# - IOError
#
# (DecryptedAccount loggedInAccount, string newType, function cb(err)) -> undefined
changeAccountType: (loggedInAccount, newType, cb) ->
publicInfo = @publicInfo
privateInfo = @privateInfo
publicInfoPath = Path.join(@_userDir, 'public-info')
privateInfoPath = Path.join(@_userDir, 'private-info')
unless loggedInAccount.publicInfo.accountType is 'admin'
cb new Error "only admins can change account types"
return
unless newType in ['normal', 'basicAdmin', 'admin']
cb new Error "unknown account type: #{JSON.stringify newType}"
return
# prevent admin from demoting themselves
if loggedInAccount.userName == @userName
cb new AccountTypeError "you cannot change your own account type"
return
Async.series [
(cb) =>
publicInfo.accountType = newType
Fs.writeFile publicInfoPath, JSON.stringify(publicInfo), (err) =>
if err
cb new IOError err
return
cb()
(cb) =>
if newType is 'admin'
privateInfo.systemPrivateKey = loggedInAccount.privateInfo.systemPrivateKey
else
privateInfo.systemPrivateKey = null
encryptedData = @_accountKey.encrypt JSON.stringify privateInfo
Fs.writeFile privateInfoPath, encryptedData, (err) =>
if err
cb new IOError err
return
cb()
], cb
changeDisplayName: (loggedInAccount, newDisplayName, cb) ->
publicInfo = @publicInfo
privateInfo = @privateInfo
publicInfoPath = Path.join(@_userDir, 'public-info')
privateInfoPath = Path.join(@_userDir, 'private-info')
unless loggedInAccount.publicInfo.accountType is 'admin'
cb new Error "only admins can change account types"
return
Async.series [
(cb) =>
publicInfo.displayName = newDisplayName
Fs.writeFile publicInfoPath, JSON.stringify(publicInfo), (err) =>
if err
cb new IOError err
return
cb()
(cb) =>
if publicInfo.accountType is 'admin'
privateInfo.systemPrivateKey = loggedInAccount.privateInfo.systemPrivateKey
else
privateInfo.systemPrivateKey = null
encryptedData = @_accountKey.encrypt JSON.stringify privateInfo
Fs.writeFile privateInfoPath, encryptedData, (err) =>
if err
cb new IOError err
return
cb()
], cb
# Updates this user account's password.
#
# Errors:
# - UnknownUserNameError if this account no longer exists
# - IOError
#
# (string newPassword, function cb(Error err)) -> undefined
setPassword: (newPassword, cb) =>
kdfParams = generateKdfParams()
nextAccountKeyId = null
pwEncryptionKey = null
tmpDirPath = Path.join(@dataDirectory, '_tmp')
Async.series [
(cb) =>
@_findMaxAccountKeyId (err, result) =>
if err
cb err
return
nextAccountKeyId = result + 1
cb()
(cb) =>
SymmetricEncryptionKey.derive newPassword, kdfParams, (err, result) =>
if err
cb err
return
pwEncryptionKey = result
cb()
(cb) =>
accountKeyEncoded = Base64url.encode pwEncryptionKey.encrypt(@_accountKey.export())
data = {kdfParams, accountKey: accountKeyEncoded}
nextAccountKeyPath = Path.join(@_userDir, "account-key-#{nextAccountKeyId}")
Atomic.writeJSONToFile nextAccountKeyPath, tmpDirPath, JSON.stringify(data), cb
], cb
generateKdfParams = ->
return {
salt: generateSalt()
iterationCount: 600000 # higher is more secure, but slower
}
getUserDir = (dataDir, userName, cb) ->
unless userNameRegex.exec userName
if cb?
# Provide custom error instance if a callback is provided
cb new InvalidUserNameError()
return
else
throw new Error "invalid characters in user name"
return Path.join dataDir, '_users', userName
class UserNameTakenError extends CustomError
class UnknownUserNameError extends CustomError
class InvalidUserNameError extends CustomError
class IncorrectPasswordError extends CustomError
class DeactivatedAccountError extends CustomError
class AccountTypeError extends CustomError
module.exports = {
isAccountSystemSetUp
listUserNames
Account
DecryptedAccount
UserNameTakenError
UnknownUserNameError
InvalidUserNameError
IncorrectPasswordError
DeactivatedAccountError
AccountTypeError
}
| 161959 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module handles all logic related to user accounts.
#
# See also: persist/session
#
# TODO Make operations atomic
# TODO Find a better way of getting data dir location
Assert = require 'assert'
Async = require 'async'
Base64url = require 'base64url'
Fs = require 'graceful-fs'
Imm = require 'immutable'
Path = require 'path'
Atomic = require './atomic'
{
generateSalt
SymmetricEncryptionKey
PrivateKey
PublicKey
} = require './crypto'
{CustomError, IOError} = require './utils'
userNameRegex = /^[a-zA-Z0-9_-]+$/
# Check if the account system is set up. The account system must be set up
# before any accounts can be created, see `Account.setUp`.
#
# Errors:
# - IOError
#
# (string dataDir, function cb(Error err, boolean isSetUp)) -> undefined
isAccountSystemSetUp = (backend, cb) ->
Fs.readdir Path.join(backend.dataDirectory, '_users'), (err, subdirs) ->
if err
if err.code is 'ENOENT'
cb null, false
return
cb new IOError err
return
userNames = Imm.List(subdirs)
.filter (dirName) ->
return userNameRegex.exec(dirName)
cb null, (userNames.size > 0)
# Produce a list of the user names of all accounts in the system.
#
# Errors:
# - IOError
#
# (object backend, function cb(Error err, Imm.List userNames)) -> undefined
listUserNames = (backend, cb) ->
Fs.readdir Path.join(backend.dataDirectory, '_users'), (err, subdirs) ->
if err
cb new IOError err
return
userNames = Imm.List(subdirs)
.filter (dirName) ->
return dirName isnt '_system'
.filter (dirName) ->
return userNameRegex.exec(dirName)
cb null, userNames
# Account objects contain the public information on a user account (and related operations).
# Account objects also provide "decrypt" methods that are gateways to the
# private information in a user account (see DecryptedAccount).
class Account
# Private constructor
constructor: (@dataDirectory, @userName, @publicInfo, code) ->
if code isnt 'privateaccess'
# See Account.read instead
throw new Error "Account constructor should only be used internally"
@_userDir = getUserDir @dataDirectory, @userName
# Sets up the account system. A new data directory must be set up before
# any user accounts can be created. This set up process generates a
# special "_system" account which can be used to set up other accounts.
# The _system account does not have a password, and cannot be accessed from
# the UI. It exists just for the purpose of setting up the first admin
# account.
#
# Note: this method assumes that the data directory has already undergone
# some basic set up outside of the account system (see
# `Persist.buildDataDirectory`).
#
# Errors:
# - IOError
#
# (object backend, function cb(Error err, Account systemAccount)) -> undefined
@setUp: (backend, tempDataDirectory, cb) ->
dataDir = tempDataDirectory or backend.dataDirectory
# Create a mock "_system" user just for creating the first real accounts
publicInfo = {
accountType: 'admin'
isActive: true
displayName: 'system'
}
privateInfo = {
globalEncryptionKey: SymmetricEncryptionKey.generate().export()
systemPrivateKey: null
}
systemPublicKey = null
Async.series [
(cb) =>
console.info "Generating private key..."
PrivateKey.generate (err, result) =>
if err
cb err
return
privateInfo.systemPrivateKey = result.export()
systemPublicKey = result.getPublicKey().export()
cb()
(cb) =>
console.info "Creating system user..."
Fs.mkdir Path.join(dataDir, '_users', '_system'), (err) =>
if err
cb new IOError err
return
cb()
], (err) =>
if err
cb err
return
console.info "Done setting up accounts system"
systemAccount = new DecryptedAccount(dataDir, '_system', publicInfo, privateInfo, null, 'privateaccess')
cb null, systemAccount
# Creates a new user account, and returns an Account object representing
# that account.
#
# Errors:
# - UserNameTakenError if the user name has already been taken
# - IOError
#
# (DecryptedAccount loggedInAccount, string userName, string displayName, string password, string accountType,
# function cb(Error err, Account newAccount)) -> undefined
@create: (loggedInAccount, userName, displayName, password, accountType, cb) ->
unless accountType in ['normal', 'basicAdmin', 'admin']
cb new Error "unknown account type #{JSON.stringify accountType}"
return
if accountType is 'admin'
Assert.strictEqual loggedInAccount.publicInfo.accountType, 'admin', 'only full admins can create other admin accounts'
publicInfo = {accountType, displayName, isActive: true}
kdfParams = generateKdfParams()
accountEncryptionKey = SymmetricEncryptionKey.generate()
pwEncryptionKey = null
encryptedAccountKey = null
userName = userName.toLowerCase()
dataDirectory = loggedInAccount.dataDirectory
destUserDir = getUserDir(dataDirectory, userName, cb)
return unless destUserDir?
tmpDirPath = Path.join(dataDirectory, '_tmp')
userDir = null
userDirOp = null
Async.series [
(cb) ->
# Create temporary user directory
Atomic.writeDirectory destUserDir, tmpDirPath, (err, tempUserDir, op) ->
if err
cb err
return
userDir = tempUserDir
userDirOp = op
cb()
(cb) ->
SymmetricEncryptionKey.derive password, kdfParams, (err, result) ->
if err
cb err
return
pwEncryptionKey = result
cb()
(cb) ->
publicInfoPath = Path.join(userDir, 'public-info')
Fs.writeFile publicInfoPath, JSON.stringify(publicInfo), (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
accountKeyFilePath = Path.join(userDir, 'account-key-1')
# Encrypt account key with user's password
encryptedAccountKey = pwEncryptionKey.encrypt accountEncryptionKey.export()
accountKeyData = {
kdfParams
accountKey: Base64url.encode encryptedAccountKey
}
Fs.writeFile accountKeyFilePath, JSON.stringify(accountKeyData), (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
systemPrivateKey = PrivateKey.import(loggedInAccount.privateInfo.systemPrivateKey)
systemPublicKey = systemPrivateKey.getPublicKey()
# Encrypt account key with system key to allow admins to reset
systemPublicKey.encrypt accountEncryptionKey.export(), (err, result) ->
if err
cb err
return
encryptedAccountKey = result
cb()
(cb) ->
accountRecoveryPath = Path.join(userDir, 'account-recovery')
Fs.writeFile accountRecoveryPath, encryptedAccountKey, (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
privateInfoPath = Path.join(userDir, 'private-info')
privateInfo = {
globalEncryptionKey: loggedInAccount.privateInfo.globalEncryptionKey
}
if accountType is 'admin'
Assert.strictEqual loggedInAccount.publicInfo.accountType, 'admin', 'only admins can create admins'
privateInfo.systemPrivateKey = loggedInAccount.privateInfo.systemPrivateKey
privateInfo.systemPublicKey = PrivateKey.import(
loggedInAccount.privateInfo.systemPrivateKey
).getPublicKey().export()
else
# Note: in v1.10.0 and earlier, systemPublicKey was not added
# to privateInfo, so accounts that were created back then might
# not have this field.
privateInfo.systemPublicKey = loggedInAccount.systemPublicKey
encryptedData = accountEncryptionKey.encrypt JSON.stringify privateInfo
Fs.writeFile privateInfoPath, encryptedData, (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
# Done preparing user directory, finish the operation atomically
userDirOp.commit (err) ->
if err
if err instanceof IOError and err.cause.code in ['EEXIST', 'ENOTEMPTY']
cb new UserNameTakenError()
return
cb err
return
cb()
], (err) ->
if err
cb err
return
cb null, new Account dataDirectory, userName, publicInfo, 'privateaccess'
# Read the public information for the account with the specified user name.
#
# Errors:
# - UnknownUserNameError if no account exists with that user name
# - IOError
#
# (object backend, string userName, function cb(Error err, Account a)) -> undefined
@read: (backend, userName, cb) =>
dataDir = backend.dataDirectory
userName = userName.toLowerCase()
userDir = getUserDir(dataDir, userName, cb)
return unless userDir?
publicInfo = null
Async.series [
(cb) ->
Fs.readFile Path.join(userDir, 'public-info'), (err, buf) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
publicInfo = JSON.parse buf
cb()
], (err) ->
if err
cb err
return
cb null, new Account dataDir, userName, publicInfo, 'privateaccess'
# Deactivate this account. Requires the ability to modify/delete files.
#
# Errors:
# - DeactivatedAccountError if the account has already been deactivated
# - IOError
#
# (function cb(Error err)) -> undefined
deactivate: (cb) =>
publicInfo = null
accountKeyFileNames = null
publicInfoOp = null
publicInfoFile = null
publicInfoPath = Path.join(@_userDir, 'public-info')
tmpDirPath = Path.join(@dataDirectory, '_tmp')
Async.series [
(cb) =>
# Get existing public-info from user
Fs.readFile publicInfoPath, (err, buf) =>
if err
cb new IOError err
return
publicInfo = JSON.parse buf
unless publicInfo.isActive
cb new DeactivatedAccountError()
return
cb()
(cb) =>
# Change isActive attribute
publicInfo.isActive = false
# Atomically write publicInfo to file as JSON
Atomic.writeJSONToFile publicInfoPath, tmpDirPath, JSON.stringify(publicInfo), cb
(cb) =>
# Get the full list of 'account-key' files
Fs.readdir @_userDir, (err, fileNames) =>
if err
cb new IOError err
return
accountKeyFileNames = Imm.List(fileNames)
.filter (fileName) => fileName.startsWith 'account-key-'
cb()
(cb) =>
# Delete each of the 'account-key' files
Async.each accountKeyFileNames.toArray(), (fileName, cb) =>
Fs.unlink Path.join(@_userDir, fileName), (err) =>
if err
cb new IOError err
return
cb()
, cb
], cb
reactivate: (newPassword, cb) =>
publicInfo = null
publicInfoPath = Path.join(@_userDir, 'public-info')
tmpDirPath = Path.join(@dataDirectory, '_tmp')
Async.series [
(cb) =>
# Get existing public-info from user
Fs.readFile publicInfoPath, (err, buf) =>
if err
cb new IOError err
return
publicInfo = JSON.parse buf
if publicInfo.isActive
cb new DeactivatedAccountError()
return
cb()
(cb) =>
# Change isActive attribute
publicInfo.isActive = true
# Atomically write publicInfo to file as JSON
Atomic.writeJSONToFile publicInfoPath, tmpDirPath, JSON.stringify(publicInfo), cb
(cb) =>
# Set new password (previous password was deleted on deactivation)
@publicInfo.isActive = true
@decryptWithSystemKey global.ActiveSession.account, (err, result) =>
if err
cb err
return
result.setPassword newPassword, cb
], cb
# Check if the specified password is valid for this user account.
#
# Errors:
# - IncorrectPasswordError if the passsword was incorrect
# - IOError
#
# (string userPassword, function cb(Error err)) -> undefined
checkPassword: (userPassword, cb) =>
# Not all of decryptWithPassword is actually needed to check the
# password. If needed, this can be reimplemented to be more efficient.
@decryptWithPassword userPassword, (err, result) =>
if err
cb err
return
cb()
# Access this account's private information using the specified password.
#
# Errors:
# - DeactivatedAccountError
# - UnknownUserNameError if this account no longer exists
# - IncorrectPasswordError
# - IOError
#
# (string userPassword, function cb(Error err, DecryptedAccount a)) -> undefined
decryptWithPassword: (userPassword, cb) =>
unless @publicInfo.isActive
cb new DeactivatedAccountError()
return
userDir = @_userDir
accountKeyId = null
accountKeyInfo = null
accountKey = null
privateInfo = null
accountType = null
decryptedAccount = null
Async.series [
(cb) ->
Fs.readdir userDir, (err, fileNames) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
# Find the highest (i.e. most recent) account key ID
accountKeyId = Imm.List(fileNames)
.filter (fileName) ->
return fileName.startsWith 'account-key-'
.map (fileName) ->
return Number(fileName['account-key-'.length...])
.max()
cb()
(cb) ->
Fs.readFile Path.join(userDir, "account-key-#{accountKeyId}"), (err, buf) ->
if err
cb new IOError err
return
accountKeyInfo = JSON.parse buf
cb()
(cb) ->
SymmetricEncryptionKey.derive userPassword, accountKeyInfo.kdfParams, (err, result) ->
if err
cb err
return
pwEncryptionKey = result
# Use password to decrypt account key
encryptedAccountKey = Base64url.toBuffer(accountKeyInfo.accountKey)
try
accountKeyBuf = pwEncryptionKey.decrypt(encryptedAccountKey)
catch err
console.error err.stack
# If decryption fails, we're probably using the wrong key
cb new IncorrectPasswordError()
return
accountKey = SymmetricEncryptionKey.import(accountKeyBuf.toString())
cb()
(cb) =>
Fs.readFile Path.join(userDir, 'private-info'), (err, buf) ->
if err
cb new IOError err
return
privateInfo = JSON.parse accountKey.decrypt buf
cb()
], (err) =>
if err
cb err
return
cb null, new DecryptedAccount(
@dataDirectory, @userName,
@publicInfo, privateInfo, accountKey,
'privateaccess'
)
# Access this account's private information using the system key (i.e. the
# admin override). `loggedInAccount` must be an admin account.
#
# Errors:
# - DeactivatedAccountError
# - UnknownUserNameError if this account no longer exists
# - IOError
#
# (DecryptedAccount loggedInAccount, function cb(Error err, DecryptedAccount a)) -> undefined
decryptWithSystemKey: (loggedInAccount, cb) =>
unless @publicInfo.isActive
cb new DeactivatedAccountError()
return
unless loggedInAccount.publicInfo.accountType is 'admin'
cb new Error "only admins have access to the system key"
return
userDir = @_userDir
accountKey = null
privateInfo = null
accountType = null
decryptedAccount = null
accountRecovery = null
Async.series [
(cb) =>
@_findMaxAccountKeyId (err, result) ->
if err
cb err
return
accountKeyId = result
cb()
(cb) =>
Fs.readFile Path.join(userDir, "account-recovery"), (err, buf) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
accountRecovery = buf
cb()
(cb) =>
systemPrivateKey = PrivateKey.import(loggedInAccount.privateInfo.systemPrivateKey)
systemPrivateKey.decrypt accountRecovery, (err, accountKeyBuf) =>
if err
cb err
return
accountKey = SymmetricEncryptionKey.import(accountKeyBuf.toString())
cb()
(cb) =>
Fs.readFile Path.join(userDir, 'private-info'), (err, buf) ->
if err
cb new IOError err
return
privateInfo = JSON.parse accountKey.decrypt buf
cb()
], (err) =>
if err
cb err
return
cb null, new DecryptedAccount(
@dataDirectory, @userName,
@publicInfo, privateInfo, accountKey,
'privateaccess'
)
_findMaxAccountKeyId: (cb) ->
Fs.readdir @_userDir, (err, fileNames) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
# Find the highest (i.e. most recent) account key ID
accountKeyId = Imm.List(fileNames)
.filter (fileName) ->
return fileName.startsWith 'account-key-'
.map (fileName) ->
return Number(fileName['account-key-'.length...])
.max()
cb null, (accountKeyId or 0)
# DecryptedAccount objects contain both the private and public information in a
# user account, including encryption keys, and provide related functionality.
# DecryptedAccount objects can be obtained using Account's "decrypt" methods.
class DecryptedAccount extends Account
constructor: (@dataDirectory, @userName, @publicInfo, @privateInfo, @_accountKey, code) ->
if code isnt 'privateaccess'
# See Account.decrypt* instead
throw new Error "DecryptedAccount constructor should only be used internally"
@_userDir = getUserDir @dataDirectory, @userName
# Change account Type: Admin -> Normal | Normal -> Admin.
#
# Errors:
# - AccountTypeError if the logged-in account tries to change its own type
# - IOError
#
# (DecryptedAccount loggedInAccount, string newType, function cb(err)) -> undefined
changeAccountType: (loggedInAccount, newType, cb) ->
publicInfo = @publicInfo
privateInfo = @privateInfo
publicInfoPath = Path.join(@_userDir, 'public-info')
privateInfoPath = Path.join(@_userDir, 'private-info')
unless loggedInAccount.publicInfo.accountType is 'admin'
cb new Error "only admins can change account types"
return
unless newType in ['normal', 'basicAdmin', 'admin']
cb new Error "unknown account type: #{JSON.stringify newType}"
return
# prevent admin from demoting themselves
if loggedInAccount.userName == @userName
cb new AccountTypeError "you cannot change your own account type"
return
Async.series [
(cb) =>
publicInfo.accountType = newType
Fs.writeFile publicInfoPath, JSON.stringify(publicInfo), (err) =>
if err
cb new IOError err
return
cb()
(cb) =>
if newType is 'admin'
privateInfo.systemPrivateKey = loggedInAccount.privateInfo.systemPrivateKey
else
privateInfo.systemPrivateKey = null
encryptedData = @_accountKey.encrypt JSON.stringify privateInfo
Fs.writeFile privateInfoPath, encryptedData, (err) =>
if err
cb new IOError err
return
cb()
], cb
changeDisplayName: (loggedInAccount, newDisplayName, cb) ->
publicInfo = @publicInfo
privateInfo = @privateInfo
publicInfoPath = Path.join(@_userDir, 'public-info')
privateInfoPath = Path.join(@_userDir, 'private-info')
unless loggedInAccount.publicInfo.accountType is 'admin'
cb new Error "only admins can change account types"
return
Async.series [
(cb) =>
publicInfo.displayName = newDisplayName
Fs.writeFile publicInfoPath, JSON.stringify(publicInfo), (err) =>
if err
cb new IOError err
return
cb()
(cb) =>
if publicInfo.accountType is 'admin'
privateInfo.systemPrivateKey = loggedInAccount.privateInfo.systemPrivateKey
else
privateInfo.systemPrivateKey = null
encryptedData = @_accountKey.encrypt JSON.stringify privateInfo
Fs.writeFile privateInfoPath, encryptedData, (err) =>
if err
cb new IOError err
return
cb()
], cb
# Updates this user account's password.
#
# Errors:
# - UnknownUserNameError if this account no longer exists
# - IOError
#
# (string newPassword, function cb(Error err)) -> undefined
setPassword: (newPassword, cb) =>
kdfParams = generateKdfParams()
nextAccountKeyId = null
pwEncryptionKey = null
tmpDirPath = Path.join(@dataDirectory, '_tmp')
Async.series [
(cb) =>
@_findMaxAccountKeyId (err, result) =>
if err
cb err
return
nextAccountKeyId = result + 1
cb()
(cb) =>
SymmetricEncryptionKey.derive newPassword, kdfParams, (err, result) =>
if err
cb err
return
pwEncryptionKey = result
cb()
(cb) =>
accountKeyEncoded = Base64url.encode pwEncryptionKey.encrypt(@_accountKey.export())
data = {kdfParams, accountKey: accountKeyEncoded}
nextAccountKeyPath = Path.join(@_userDir, "account-key-#{nextAccountKeyId}")
Atomic.writeJSONToFile nextAccountKeyPath, tmpDirPath, JSON.stringify(data), cb
], cb
generateKdfParams = ->
return {
salt: generateSalt()
iterationCount: 600000 # higher is more secure, but slower
}
getUserDir = (dataDir, userName, cb) ->
unless userNameRegex.exec userName
if cb?
# Provide custom error instance if a callback is provided
cb new InvalidUserNameError()
return
else
throw new Error "invalid characters in user name"
return Path.join dataDir, '_users', userName
class UserNameTakenError extends CustomError
class UnknownUserNameError extends CustomError
class InvalidUserNameError extends CustomError
class IncorrectPasswordError extends CustomError
class DeactivatedAccountError extends CustomError
class AccountTypeError extends CustomError
module.exports = {
isAccountSystemSetUp
listUserNames
Account
DecryptedAccount
UserNameTakenError
UnknownUserNameError
InvalidUserNameError
IncorrectPasswordError
DeactivatedAccountError
AccountTypeError
}
| true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module handles all logic related to user accounts.
#
# See also: persist/session
#
# TODO Make operations atomic
# TODO Find a better way of getting data dir location
Assert = require 'assert'
Async = require 'async'
Base64url = require 'base64url'
Fs = require 'graceful-fs'
Imm = require 'immutable'
Path = require 'path'
Atomic = require './atomic'
{
generateSalt
SymmetricEncryptionKey
PrivateKey
PublicKey
} = require './crypto'
{CustomError, IOError} = require './utils'
userNameRegex = /^[a-zA-Z0-9_-]+$/
# Check if the account system is set up. The account system must be set up
# before any accounts can be created, see `Account.setUp`.
#
# Errors:
# - IOError
#
# (string dataDir, function cb(Error err, boolean isSetUp)) -> undefined
isAccountSystemSetUp = (backend, cb) ->
Fs.readdir Path.join(backend.dataDirectory, '_users'), (err, subdirs) ->
if err
if err.code is 'ENOENT'
cb null, false
return
cb new IOError err
return
userNames = Imm.List(subdirs)
.filter (dirName) ->
return userNameRegex.exec(dirName)
cb null, (userNames.size > 0)
# Produce a list of the user names of all accounts in the system.
#
# Errors:
# - IOError
#
# (object backend, function cb(Error err, Imm.List userNames)) -> undefined
listUserNames = (backend, cb) ->
Fs.readdir Path.join(backend.dataDirectory, '_users'), (err, subdirs) ->
if err
cb new IOError err
return
userNames = Imm.List(subdirs)
.filter (dirName) ->
return dirName isnt '_system'
.filter (dirName) ->
return userNameRegex.exec(dirName)
cb null, userNames
# Account objects contain the public information on a user account (and related operations).
# Account objects also provide "decrypt" methods that are gateways to the
# private information in a user account (see DecryptedAccount).
class Account
# Private constructor
constructor: (@dataDirectory, @userName, @publicInfo, code) ->
if code isnt 'privateaccess'
# See Account.read instead
throw new Error "Account constructor should only be used internally"
@_userDir = getUserDir @dataDirectory, @userName
# Sets up the account system. A new data directory must be set up before
# any user accounts can be created. This set up process generates a
# special "_system" account which can be used to set up other accounts.
# The _system account does not have a password, and cannot be accessed from
# the UI. It exists just for the purpose of setting up the first admin
# account.
#
# Note: this method assumes that the data directory has already undergone
# some basic set up outside of the account system (see
# `Persist.buildDataDirectory`).
#
# Errors:
# - IOError
#
# (object backend, function cb(Error err, Account systemAccount)) -> undefined
@setUp: (backend, tempDataDirectory, cb) ->
dataDir = tempDataDirectory or backend.dataDirectory
# Create a mock "_system" user just for creating the first real accounts
publicInfo = {
accountType: 'admin'
isActive: true
displayName: 'system'
}
privateInfo = {
globalEncryptionKey: SymmetricEncryptionKey.generate().export()
systemPrivateKey: null
}
systemPublicKey = null
Async.series [
(cb) =>
console.info "Generating private key..."
PrivateKey.generate (err, result) =>
if err
cb err
return
privateInfo.systemPrivateKey = result.export()
systemPublicKey = result.getPublicKey().export()
cb()
(cb) =>
console.info "Creating system user..."
Fs.mkdir Path.join(dataDir, '_users', '_system'), (err) =>
if err
cb new IOError err
return
cb()
], (err) =>
if err
cb err
return
console.info "Done setting up accounts system"
systemAccount = new DecryptedAccount(dataDir, '_system', publicInfo, privateInfo, null, 'privateaccess')
cb null, systemAccount
# Creates a new user account, and returns an Account object representing
# that account.
#
# Errors:
# - UserNameTakenError if the user name has already been taken
# - IOError
#
# (DecryptedAccount loggedInAccount, string userName, string displayName, string password, string accountType,
# function cb(Error err, Account newAccount)) -> undefined
@create: (loggedInAccount, userName, displayName, password, accountType, cb) ->
unless accountType in ['normal', 'basicAdmin', 'admin']
cb new Error "unknown account type #{JSON.stringify accountType}"
return
if accountType is 'admin'
Assert.strictEqual loggedInAccount.publicInfo.accountType, 'admin', 'only full admins can create other admin accounts'
publicInfo = {accountType, displayName, isActive: true}
kdfParams = generateKdfParams()
accountEncryptionKey = SymmetricEncryptionKey.generate()
pwEncryptionKey = null
encryptedAccountKey = null
userName = userName.toLowerCase()
dataDirectory = loggedInAccount.dataDirectory
destUserDir = getUserDir(dataDirectory, userName, cb)
return unless destUserDir?
tmpDirPath = Path.join(dataDirectory, '_tmp')
userDir = null
userDirOp = null
Async.series [
(cb) ->
# Create temporary user directory
Atomic.writeDirectory destUserDir, tmpDirPath, (err, tempUserDir, op) ->
if err
cb err
return
userDir = tempUserDir
userDirOp = op
cb()
(cb) ->
SymmetricEncryptionKey.derive password, kdfParams, (err, result) ->
if err
cb err
return
pwEncryptionKey = result
cb()
(cb) ->
publicInfoPath = Path.join(userDir, 'public-info')
Fs.writeFile publicInfoPath, JSON.stringify(publicInfo), (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
accountKeyFilePath = Path.join(userDir, 'account-key-1')
# Encrypt account key with user's password
encryptedAccountKey = pwEncryptionKey.encrypt accountEncryptionKey.export()
accountKeyData = {
kdfParams
accountKey: Base64url.encode encryptedAccountKey
}
Fs.writeFile accountKeyFilePath, JSON.stringify(accountKeyData), (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
systemPrivateKey = PrivateKey.import(loggedInAccount.privateInfo.systemPrivateKey)
systemPublicKey = systemPrivateKey.getPublicKey()
# Encrypt account key with system key to allow admins to reset
systemPublicKey.encrypt accountEncryptionKey.export(), (err, result) ->
if err
cb err
return
encryptedAccountKey = result
cb()
(cb) ->
accountRecoveryPath = Path.join(userDir, 'account-recovery')
Fs.writeFile accountRecoveryPath, encryptedAccountKey, (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
privateInfoPath = Path.join(userDir, 'private-info')
privateInfo = {
globalEncryptionKey: loggedInAccount.privateInfo.globalEncryptionKey
}
if accountType is 'admin'
Assert.strictEqual loggedInAccount.publicInfo.accountType, 'admin', 'only admins can create admins'
privateInfo.systemPrivateKey = loggedInAccount.privateInfo.systemPrivateKey
privateInfo.systemPublicKey = PrivateKey.import(
loggedInAccount.privateInfo.systemPrivateKey
).getPublicKey().export()
else
# Note: in v1.10.0 and earlier, systemPublicKey was not added
# to privateInfo, so accounts that were created back then might
# not have this field.
privateInfo.systemPublicKey = loggedInAccount.systemPublicKey
encryptedData = accountEncryptionKey.encrypt JSON.stringify privateInfo
Fs.writeFile privateInfoPath, encryptedData, (err) =>
if err
cb new IOError err
return
cb()
(cb) ->
# Done preparing user directory, finish the operation atomically
userDirOp.commit (err) ->
if err
if err instanceof IOError and err.cause.code in ['EEXIST', 'ENOTEMPTY']
cb new UserNameTakenError()
return
cb err
return
cb()
], (err) ->
if err
cb err
return
cb null, new Account dataDirectory, userName, publicInfo, 'privateaccess'
# Read the public information for the account with the specified user name.
#
# Errors:
# - UnknownUserNameError if no account exists with that user name
# - IOError
#
# (object backend, string userName, function cb(Error err, Account a)) -> undefined
@read: (backend, userName, cb) =>
dataDir = backend.dataDirectory
userName = userName.toLowerCase()
userDir = getUserDir(dataDir, userName, cb)
return unless userDir?
publicInfo = null
Async.series [
(cb) ->
Fs.readFile Path.join(userDir, 'public-info'), (err, buf) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
publicInfo = JSON.parse buf
cb()
], (err) ->
if err
cb err
return
cb null, new Account dataDir, userName, publicInfo, 'privateaccess'
# Deactivate this account. Requires the ability to modify/delete files.
#
# Errors:
# - DeactivatedAccountError if the account has already been deactivated
# - IOError
#
# (function cb(Error err)) -> undefined
deactivate: (cb) =>
publicInfo = null
accountKeyFileNames = null
publicInfoOp = null
publicInfoFile = null
publicInfoPath = Path.join(@_userDir, 'public-info')
tmpDirPath = Path.join(@dataDirectory, '_tmp')
Async.series [
(cb) =>
# Get existing public-info from user
Fs.readFile publicInfoPath, (err, buf) =>
if err
cb new IOError err
return
publicInfo = JSON.parse buf
unless publicInfo.isActive
cb new DeactivatedAccountError()
return
cb()
(cb) =>
# Change isActive attribute
publicInfo.isActive = false
# Atomically write publicInfo to file as JSON
Atomic.writeJSONToFile publicInfoPath, tmpDirPath, JSON.stringify(publicInfo), cb
(cb) =>
# Get the full list of 'account-key' files
Fs.readdir @_userDir, (err, fileNames) =>
if err
cb new IOError err
return
accountKeyFileNames = Imm.List(fileNames)
.filter (fileName) => fileName.startsWith 'account-key-'
cb()
(cb) =>
# Delete each of the 'account-key' files
Async.each accountKeyFileNames.toArray(), (fileName, cb) =>
Fs.unlink Path.join(@_userDir, fileName), (err) =>
if err
cb new IOError err
return
cb()
, cb
], cb
reactivate: (newPassword, cb) =>
publicInfo = null
publicInfoPath = Path.join(@_userDir, 'public-info')
tmpDirPath = Path.join(@dataDirectory, '_tmp')
Async.series [
(cb) =>
# Get existing public-info from user
Fs.readFile publicInfoPath, (err, buf) =>
if err
cb new IOError err
return
publicInfo = JSON.parse buf
if publicInfo.isActive
cb new DeactivatedAccountError()
return
cb()
(cb) =>
# Change isActive attribute
publicInfo.isActive = true
# Atomically write publicInfo to file as JSON
Atomic.writeJSONToFile publicInfoPath, tmpDirPath, JSON.stringify(publicInfo), cb
(cb) =>
# Set new password (previous password was deleted on deactivation)
@publicInfo.isActive = true
@decryptWithSystemKey global.ActiveSession.account, (err, result) =>
if err
cb err
return
result.setPassword newPassword, cb
], cb
# Check if the specified password is valid for this user account.
#
# Errors:
# - IncorrectPasswordError if the passsword was incorrect
# - IOError
#
# (string userPassword, function cb(Error err)) -> undefined
checkPassword: (userPassword, cb) =>
# Not all of decryptWithPassword is actually needed to check the
# password. If needed, this can be reimplemented to be more efficient.
@decryptWithPassword userPassword, (err, result) =>
if err
cb err
return
cb()
# Access this account's private information using the specified password.
#
# Errors:
# - DeactivatedAccountError
# - UnknownUserNameError if this account no longer exists
# - IncorrectPasswordError
# - IOError
#
# (string userPassword, function cb(Error err, DecryptedAccount a)) -> undefined
decryptWithPassword: (userPassword, cb) =>
unless @publicInfo.isActive
cb new DeactivatedAccountError()
return
userDir = @_userDir
accountKeyId = null
accountKeyInfo = null
accountKey = null
privateInfo = null
accountType = null
decryptedAccount = null
Async.series [
(cb) ->
Fs.readdir userDir, (err, fileNames) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
# Find the highest (i.e. most recent) account key ID
accountKeyId = Imm.List(fileNames)
.filter (fileName) ->
return fileName.startsWith 'account-key-'
.map (fileName) ->
return Number(fileName['account-key-'.length...])
.max()
cb()
(cb) ->
Fs.readFile Path.join(userDir, "account-key-#{accountKeyId}"), (err, buf) ->
if err
cb new IOError err
return
accountKeyInfo = JSON.parse buf
cb()
(cb) ->
SymmetricEncryptionKey.derive userPassword, accountKeyInfo.kdfParams, (err, result) ->
if err
cb err
return
pwEncryptionKey = result
# Use password to decrypt account key
encryptedAccountKey = Base64url.toBuffer(accountKeyInfo.accountKey)
try
accountKeyBuf = pwEncryptionKey.decrypt(encryptedAccountKey)
catch err
console.error err.stack
# If decryption fails, we're probably using the wrong key
cb new IncorrectPasswordError()
return
accountKey = SymmetricEncryptionKey.import(accountKeyBuf.toString())
cb()
(cb) =>
Fs.readFile Path.join(userDir, 'private-info'), (err, buf) ->
if err
cb new IOError err
return
privateInfo = JSON.parse accountKey.decrypt buf
cb()
], (err) =>
if err
cb err
return
cb null, new DecryptedAccount(
@dataDirectory, @userName,
@publicInfo, privateInfo, accountKey,
'privateaccess'
)
# Access this account's private information using the system key (i.e. the
# admin override). `loggedInAccount` must be an admin account.
#
# Errors:
# - DeactivatedAccountError
# - UnknownUserNameError if this account no longer exists
# - IOError
#
# (DecryptedAccount loggedInAccount, function cb(Error err, DecryptedAccount a)) -> undefined
decryptWithSystemKey: (loggedInAccount, cb) =>
unless @publicInfo.isActive
cb new DeactivatedAccountError()
return
unless loggedInAccount.publicInfo.accountType is 'admin'
cb new Error "only admins have access to the system key"
return
userDir = @_userDir
accountKey = null
privateInfo = null
accountType = null
decryptedAccount = null
accountRecovery = null
Async.series [
(cb) =>
@_findMaxAccountKeyId (err, result) ->
if err
cb err
return
accountKeyId = result
cb()
(cb) =>
Fs.readFile Path.join(userDir, "account-recovery"), (err, buf) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
accountRecovery = buf
cb()
(cb) =>
systemPrivateKey = PrivateKey.import(loggedInAccount.privateInfo.systemPrivateKey)
systemPrivateKey.decrypt accountRecovery, (err, accountKeyBuf) =>
if err
cb err
return
accountKey = SymmetricEncryptionKey.import(accountKeyBuf.toString())
cb()
(cb) =>
Fs.readFile Path.join(userDir, 'private-info'), (err, buf) ->
if err
cb new IOError err
return
privateInfo = JSON.parse accountKey.decrypt buf
cb()
], (err) =>
if err
cb err
return
cb null, new DecryptedAccount(
@dataDirectory, @userName,
@publicInfo, privateInfo, accountKey,
'privateaccess'
)
_findMaxAccountKeyId: (cb) ->
Fs.readdir @_userDir, (err, fileNames) ->
if err
if err.code is 'ENOENT'
cb new UnknownUserNameError()
return
cb new IOError err
return
# Find the highest (i.e. most recent) account key ID
accountKeyId = Imm.List(fileNames)
.filter (fileName) ->
return fileName.startsWith 'account-key-'
.map (fileName) ->
return Number(fileName['account-key-'.length...])
.max()
cb null, (accountKeyId or 0)
# DecryptedAccount objects contain both the private and public information in a
# user account, including encryption keys, and provide related functionality.
# DecryptedAccount objects can be obtained using Account's "decrypt" methods.
class DecryptedAccount extends Account
constructor: (@dataDirectory, @userName, @publicInfo, @privateInfo, @_accountKey, code) ->
if code isnt 'privateaccess'
# See Account.decrypt* instead
throw new Error "DecryptedAccount constructor should only be used internally"
@_userDir = getUserDir @dataDirectory, @userName
# Change account Type: Admin -> Normal | Normal -> Admin.
#
# Errors:
# - AccountTypeError if the logged-in account tries to change its own type
# - IOError
#
# (DecryptedAccount loggedInAccount, string newType, function cb(err)) -> undefined
changeAccountType: (loggedInAccount, newType, cb) ->
publicInfo = @publicInfo
privateInfo = @privateInfo
publicInfoPath = Path.join(@_userDir, 'public-info')
privateInfoPath = Path.join(@_userDir, 'private-info')
unless loggedInAccount.publicInfo.accountType is 'admin'
cb new Error "only admins can change account types"
return
unless newType in ['normal', 'basicAdmin', 'admin']
cb new Error "unknown account type: #{JSON.stringify newType}"
return
# prevent admin from demoting themselves
if loggedInAccount.userName == @userName
cb new AccountTypeError "you cannot change your own account type"
return
Async.series [
(cb) =>
publicInfo.accountType = newType
Fs.writeFile publicInfoPath, JSON.stringify(publicInfo), (err) =>
if err
cb new IOError err
return
cb()
(cb) =>
if newType is 'admin'
privateInfo.systemPrivateKey = loggedInAccount.privateInfo.systemPrivateKey
else
privateInfo.systemPrivateKey = null
encryptedData = @_accountKey.encrypt JSON.stringify privateInfo
Fs.writeFile privateInfoPath, encryptedData, (err) =>
if err
cb new IOError err
return
cb()
], cb
changeDisplayName: (loggedInAccount, newDisplayName, cb) ->
publicInfo = @publicInfo
privateInfo = @privateInfo
publicInfoPath = Path.join(@_userDir, 'public-info')
privateInfoPath = Path.join(@_userDir, 'private-info')
unless loggedInAccount.publicInfo.accountType is 'admin'
cb new Error "only admins can change account types"
return
Async.series [
(cb) =>
publicInfo.displayName = newDisplayName
Fs.writeFile publicInfoPath, JSON.stringify(publicInfo), (err) =>
if err
cb new IOError err
return
cb()
(cb) =>
if publicInfo.accountType is 'admin'
privateInfo.systemPrivateKey = loggedInAccount.privateInfo.systemPrivateKey
else
privateInfo.systemPrivateKey = null
encryptedData = @_accountKey.encrypt JSON.stringify privateInfo
Fs.writeFile privateInfoPath, encryptedData, (err) =>
if err
cb new IOError err
return
cb()
], cb
# Updates this user account's password.
#
# Errors:
# - UnknownUserNameError if this account no longer exists
# - IOError
#
# (string newPassword, function cb(Error err)) -> undefined
setPassword: (newPassword, cb) =>
kdfParams = generateKdfParams()
nextAccountKeyId = null
pwEncryptionKey = null
tmpDirPath = Path.join(@dataDirectory, '_tmp')
Async.series [
(cb) =>
@_findMaxAccountKeyId (err, result) =>
if err
cb err
return
nextAccountKeyId = result + 1
cb()
(cb) =>
SymmetricEncryptionKey.derive newPassword, kdfParams, (err, result) =>
if err
cb err
return
pwEncryptionKey = result
cb()
(cb) =>
accountKeyEncoded = Base64url.encode pwEncryptionKey.encrypt(@_accountKey.export())
data = {kdfParams, accountKey: accountKeyEncoded}
nextAccountKeyPath = Path.join(@_userDir, "account-key-#{nextAccountKeyId}")
Atomic.writeJSONToFile nextAccountKeyPath, tmpDirPath, JSON.stringify(data), cb
], cb
generateKdfParams = ->
return {
salt: generateSalt()
iterationCount: 600000 # higher is more secure, but slower
}
getUserDir = (dataDir, userName, cb) ->
unless userNameRegex.exec userName
if cb?
# Provide custom error instance if a callback is provided
cb new InvalidUserNameError()
return
else
throw new Error "invalid characters in user name"
return Path.join dataDir, '_users', userName
class UserNameTakenError extends CustomError
class UnknownUserNameError extends CustomError
class InvalidUserNameError extends CustomError
class IncorrectPasswordError extends CustomError
class DeactivatedAccountError extends CustomError
class AccountTypeError extends CustomError
module.exports = {
isAccountSystemSetUp
listUserNames
Account
DecryptedAccount
UserNameTakenError
UnknownUserNameError
InvalidUserNameError
IncorrectPasswordError
DeactivatedAccountError
AccountTypeError
}
|
[
{
"context": "links', ->\n expectWasNotRouted href: 'mailto:a@a.com'\n expectWasNotRouted href: 'javascript:1+1'\n",
"end": 4799,
"score": 0.9993550181388855,
"start": 4792,
"tag": "EMAIL",
"value": "a@a.com"
},
{
"context": "s).toEqual [\n {instance: instance1, name... | spec/views/mixins/layout.spec.coffee | egeste/oraculum | 0 | define [
'oraculum'
'oraculum/libs'
'oraculum/application/controller'
'oraculum/mixins/disposable'
'oraculum/views/mixins/layout'
'oraculum/mixins/callback-provider'
], (Oraculum) ->
'use strict'
_ = Oraculum.get 'underscore'
Backbone = Oraculum.get 'Backbone'
provideCallback = Oraculum.mixins['CallbackProvider.Mixin'].provideCallback
removeCallbacks = Oraculum.mixins['CallbackProvider.Mixin'].removeCallbacks
describe 'Layout', ->
# Initialize shared variables
layout = testController = router = null
Oraculum.extend 'View', 'Layout.View', {
el: document.body
mixinOptions:
disposable:
disposeAll: true
}, mixins: [
'Layout.ViewMixin'
'Disposable.Mixin'
]
template = -> -> '<div id="test1"></div><div id="test2"></div>'
template5 = -> -> '<div id="test1"></div><div id="test5"></div>'
preventDefault = (event) -> event.preventDefault()
createLink = (attributes) ->
attributes = _.extend {}, attributes
# Yes, this is ugly. We’re doing it because IE8-10 reports an incorrect
# protocol if the href attribute is set programatically.
if attributes.href?
div = document.createElement 'div'
div.innerHTML = "<a href='#{attributes.href}'>Hello World</a>"
link = div.firstChild
attributes = _.omit attributes, 'href'
else
link = document.createElement 'a'
link.setAttribute key, value for key, value of attributes
return link
appendClickRemove = (element) ->
document.body.appendChild element
$(element).click()
document.body.removeChild element
expectWasRouted = (linkAttributes) ->
stub = sinon.stub()
provideCallback 'router:route', stub
appendClickRemove createLink linkAttributes
expect(stub).toHaveBeenCalledOnce()
[passedPath] = stub.firstCall.args
expect(passedPath).toEqual url: linkAttributes.href
removeCallbacks(['router:route'])
return stub
expectWasNotRouted = (linkAttributes) ->
spy = sinon.spy()
provideCallback 'router:route', spy
appendClickRemove createLink linkAttributes
expect(spy).not.toHaveBeenCalled()
removeCallbacks(['router:route'])
return spy
beforeEach ->
# Create the layout
layout = Oraculum.get 'Layout.View',
title: 'Test Site Title'
# Create a test controller
testController = Oraculum.get 'Controller'
testController.view = Oraculum.get 'View'
testController.title = 'Test Controller Title'
afterEach ->
testController.dispose()
layout.dispose()
it 'should have el, $el and $ props / methods', ->
expect(layout.el).toBe document.body
expect(layout.$el instanceof $).toBe true
it 'should set the document title', ->
spy = sinon.spy()
layout.listenTo Backbone, '!adjustTitle', spy
layout.publishEvent '!adjustTitle', testController.title
expect(document.title).toContain layout.mixinOptions.layout.title
expect(document.title).toContain testController.title
expect(spy).toHaveBeenCalledWith testController.title
# Default routing options
# -----------------------
it 'should route clicks on internal links', ->
expectWasRouted href: '/internal/link'
it 'should correctly pass the query string', ->
path = '/internal/link'
query = 'foo=bar&baz=qux'
stub = sinon.spy()
provideCallback 'router:route', stub
linkAttributes = href: "#{path}?#{query}"
appendClickRemove createLink linkAttributes
expect(stub).toHaveBeenCalledOnce()
[passedPath] = stub.firstCall.args
expect(passedPath).toEqual url: linkAttributes.href
removeCallbacks(['router:route'])
it 'should not route links without href attributes', ->
expectWasNotRouted name: 'foo'
it 'should not route links with empty href', ->
expectWasNotRouted href: ''
it 'should not route links to document fragments', ->
expectWasNotRouted href: '#foo'
it 'should not route links to javascript:void(0);', ->
expectWasNotRouted href: 'javascript:void(0);'
expectWasNotRouted href: 'javascript: void(0);'
expectWasNotRouted href: 'javascript: void(-)'
expectWasNotRouted href: 'javascript: void(sdjfhsdlkjflkdsjf)'
it 'should not route links with a noscript class', ->
expectWasNotRouted href: '/foo', class: 'noscript'
it 'should not route rel=external links', ->
expectWasNotRouted href: '/foo', rel: 'external'
it 'should not route target=blank links', ->
expectWasNotRouted href: '/foo', target: '_blank'
it 'should not route non-http(s) links', ->
expectWasNotRouted href: 'mailto:a@a.com'
expectWasNotRouted href: 'javascript:1+1'
expectWasNotRouted href: 'tel:1488'
it 'should not route clicks on external links', ->
old = window.open
window.open = sinon.stub()
expectWasNotRouted href: 'http://example.com/'
expectWasNotRouted href: 'https://example.com/'
expect(window.open).not.toHaveBeenCalled()
window.open = old
it 'should route clicks on elements with the “go-to” class', ->
stub = sinon.stub()
provideCallback 'router:route', stub
path = '/internal/link'
span = document.createElement 'span'
span.className = 'go-to'
span.setAttribute 'data-href', path
appendClickRemove span
expect(stub).toHaveBeenCalledOnce()
passedPath = stub.firstCall.args[0]
expect(passedPath).toEqual url: path
removeCallbacks(['router:route'])
# With custom external checks
# ---------------------------
it 'custom isExternalLink receives link properties', ->
stub = sinon.stub().returns true
layout.isExternalLink = stub
expectWasNotRouted href: 'http://www.example.org:1234/foo?bar=1#baz', target: "_blank", rel: "external"
expect(stub).toHaveBeenCalledOnce()
link = stub.lastCall.args[0]
expect(link.target).toBe "_blank"
expect(link.rel).toBe "external"
expect(link.hash).toBe "#baz"
expect(link.pathname.replace(/^\//, '')).toBe "foo"
expect(link.host).toBe "www.example.org:1234"
it 'custom isExternalLink should not route if true', ->
layout.isExternalLink = -> true
expectWasNotRouted href: '/foo'
it 'custom isExternalLink should route if false', ->
layout.isExternalLink = -> false
expectWasRouted href: '/foo', rel: "external"
# With custom routing options
# ---------------------------
it 'routeLinks=false should NOT route clicks on internal links', ->
layout.dispose()
layout = Oraculum.get 'Layout.View',
routeLinks: false
title: ''
expectWasNotRouted href: '/internal/link'
it 'openExternalToBlank=true should open external links in a new tab', ->
old = window.open
window.open = sinon.stub()
layout.dispose()
layout = Oraculum.get 'Layout.View',
openExternalToBlank: true
title: ''
expectWasNotRouted href: 'http://www.example.org/'
expect(window.open).toHaveBeenCalled()
window.open = sinon.stub()
layout.dispose()
layout = Oraculum.get 'Layout.View',
openExternalToBlank: true
title: ''
expectWasNotRouted href: '/foo', rel: "external"
expect(window.open).toHaveBeenCalled()
window.open = old
it 'skipRouting=false should route links with a noscript class', ->
layout.dispose()
layout = Oraculum.get 'Layout.View',
skipRouting: false
title: ''
expectWasRouted href: '/foo', class: 'noscript'
it 'skipRouting=function should decide whether to route', ->
path = '/foo'
stub = sinon.stub().returns false
layout.dispose()
layout = Oraculum.get 'Layout.View',
skipRouting: stub
title: ''
expectWasNotRouted href: path
expect(stub).toHaveBeenCalledOnce()
args = stub.lastCall.args
expect(args[0]).toBe path
expect(args[1]).toBeObject()
expect(args[1].nodeName).toBe 'A'
stub = sinon.stub().returns true
layout.dispose()
layout = Oraculum.get 'Layout.View',
skipRouting: stub
title: ''
expectWasRouted href: path
expect(stub).toHaveBeenCalledOnce()
expect(args[0]).toBe path
expect(args[1]).toBeObject()
expect(args[1].nodeName).toBe 'A'
# Regions
# -------
it 'should allow for views to register regions', ->
Oraculum.extend 'View', 'Test1Layout.View', {
mixinOptions:
regions:
'view-region1': ''
'test1': '#test1'
'test2': '#test2'
}, mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
Oraculum.extend 'View', 'Test2Layout.View', {
mixinOptions:
regions:
'view-region2': ''
'test3': '#test1'
'test4': '#test2'
}, mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
spy = sinon.spy(layout, 'registerGlobalRegion')
instance1 = Oraculum.get 'Test1Layout.View'
expect(spy).toHaveBeenCalledWith instance1, 'view-region1', ''
expect(spy).toHaveBeenCalledWith instance1, 'test1', '#test1'
expect(spy).toHaveBeenCalledWith instance1, 'test2', '#test2'
expect(layout.globalRegions).toEqual [
{instance: instance1, name: 'test2', selector: '#test2'}
{instance: instance1, name: 'test1', selector: '#test1'}
{instance: instance1, name: 'view-region1', selector: ''}
]
instance2 = Oraculum.get 'Test2Layout.View'
expect(spy).toHaveBeenCalledWith instance2, 'view-region2', ''
expect(spy).toHaveBeenCalledWith instance2, 'test3', '#test1'
expect(spy).toHaveBeenCalledWith instance2, 'test4', '#test2'
expect(layout.globalRegions).toEqual [
{instance: instance2, name: 'test4', selector: '#test2'}
{instance: instance2, name: 'test3', selector: '#test1'}
{instance: instance2, name: 'view-region2', selector: ''}
{instance: instance1, name: 'test2', selector: '#test2'}
{instance: instance1, name: 'test1', selector: '#test1'}
{instance: instance1, name: 'view-region1', selector: ''}
]
instance1.dispose()
instance2.dispose()
it 'should allow for itself to register regions', ->
layout.dispose()
Oraculum.extend 'View', 'RegionalLayout.View', {
mixinOptions:
regions:
'view-region1': ''
'test1': '#test1'
'test2': '#test2'
}, mixins: [
'Layout.ViewMixin'
'Disposable.Mixin'
]
regional = Oraculum.get 'RegionalLayout.View'
expect(regional.globalRegions).toEqual [
{instance: regional, name: 'test2', selector: '#test2'}
{instance: regional, name: 'test1', selector: '#test1'}
{instance: regional, name: 'view-region1', selector: ''}
]
regional.dispose()
it 'should dispose of regions when a view is disposed', ->
Oraculum.extend 'View', 'DisposeRegion.View', {
mixinOptions:
regions:
'test0': ''
'test1': '#test1'
'test2': '#test2'
}, mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
instance = Oraculum.get 'DisposeRegion.View'
instance.dispose()
expect(layout.globalRegions).toEqual []
it 'should only dispose of regions a view registered when it is disposed', ->
Oraculum.extend 'View', 'Test1Layout.View', {
mixinOptions:
regions:
'test1': '#test1'
'test2': '#test2'
}, {
override: true
mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
}
Oraculum.extend 'View', 'Test2Layout.View', {
mixinOptions:
regions:
'test3': '#test1'
'test4': '#test2'
'test5': ''
}, {
override: true
mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
}
instance1 = Oraculum.get 'Test1Layout.View'
instance2 = Oraculum.get 'Test2Layout.View'
instance2.dispose()
expect(layout.globalRegions).toEqual [
{instance: instance1, name: 'test2', selector: '#test2'}
{instance: instance1, name: 'test1', selector: '#test1'}
]
instance1.dispose()
# it 'should allow for views to be applied to regions', ->
# view1 = class Test1View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# test0: ''
# test1: '#test1'
# test2: '#test2'
# view2 = class Test2View extends View
# autoRender: true
# getTemplateFunction: -> # Do nothing
# instance1 = new Test1View()
# instance2 = new Test2View {region: 'test2'}
# instance3 = new Test2View {region: 'test0'}
# if $
# expect(instance2.container.attr('id')).toBe 'test2'
# expect(instance3.container).toBe instance1.$el
# else
# expect(instance2.container.id).toBe 'test2'
# expect(instance3.container).toBe instance1.el
# instance1.dispose()
# instance2.dispose()
# it 'should apply regions in the order they were registered', ->
# view1 = class Test1View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# 'test1': '#test1'
# 'test2': '#test2'
# view2 = class Test2View extends View
# autoRender: true
# getTemplateFunction: template5
# regions:
# 'test1': '#test1'
# 'test2': '#test5'
# view3 = class Test3View extends View
# autoRender: true
# getTemplateFunction: -> # Do nothing
# instance1 = new Test1View()
# instance2 = new Test2View()
# instance3 = new Test3View {region: 'test2'}
# if $
# expect(instance3.container.attr('id')).toBe 'test5'
# else
# expect(instance3.container.id).toBe 'test5'
# instance1.dispose()
# instance2.dispose()
# instance3.dispose()
# it 'should only apply regions from non-stale views', ->
# view1 = class Test1View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# 'test1': '#test1'
# 'test2': '#test2'
# view2 = class Test2View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# 'test1': '#test1'
# 'test2': '#test5'
# view3 = class Test3View extends View
# autoRender: true
# getTemplateFunction: -> # Do nothing
# instance1 = new Test1View()
# instance2 = new Test2View()
# instance2.stale = true
# instance3 = new Test3View {region: 'test2'}
# if $
# expect(instance3.container.attr('id')).toBe 'test2'
# else
# expect(instance3.container.id).toBe 'test2'
# instance1.dispose()
# instance2.dispose()
# instance3.dispose()
# it 'should dispose itself correctly', ->
# spy1 = sinon.spy()
# layout.subscribeEvent 'foo', spy1
# spy2 = sinon.spy()
# layout.delegateEvents 'click #testbed': spy2
# expect(layout.dispose).toBeFunction()
# layout.dispose()
# expect(layout.disposed).toBe true
# if Object.isFrozen
# expect(Object.isFrozen(layout)).toBe true
# mediator.publish 'foo'
# window.clickOnElement document.querySelector('#testbed')
# # It should unsubscribe from events
# expect(spy1).not.toHaveBeenCalled()
# expect(spy2).not.toHaveBeenCalled()
# it 'should be extendable', ->
# expect(Layout.extend).toBeFunction
# DerivedLayout = Layout.extend()
# derivedLayout = new DerivedLayout()
# expect(derivedLayout).to.be.a Layout
# derivedLayout.dispose()
| 10108 | define [
'oraculum'
'oraculum/libs'
'oraculum/application/controller'
'oraculum/mixins/disposable'
'oraculum/views/mixins/layout'
'oraculum/mixins/callback-provider'
], (Oraculum) ->
'use strict'
_ = Oraculum.get 'underscore'
Backbone = Oraculum.get 'Backbone'
provideCallback = Oraculum.mixins['CallbackProvider.Mixin'].provideCallback
removeCallbacks = Oraculum.mixins['CallbackProvider.Mixin'].removeCallbacks
describe 'Layout', ->
# Initialize shared variables
layout = testController = router = null
Oraculum.extend 'View', 'Layout.View', {
el: document.body
mixinOptions:
disposable:
disposeAll: true
}, mixins: [
'Layout.ViewMixin'
'Disposable.Mixin'
]
template = -> -> '<div id="test1"></div><div id="test2"></div>'
template5 = -> -> '<div id="test1"></div><div id="test5"></div>'
preventDefault = (event) -> event.preventDefault()
createLink = (attributes) ->
attributes = _.extend {}, attributes
# Yes, this is ugly. We’re doing it because IE8-10 reports an incorrect
# protocol if the href attribute is set programatically.
if attributes.href?
div = document.createElement 'div'
div.innerHTML = "<a href='#{attributes.href}'>Hello World</a>"
link = div.firstChild
attributes = _.omit attributes, 'href'
else
link = document.createElement 'a'
link.setAttribute key, value for key, value of attributes
return link
appendClickRemove = (element) ->
document.body.appendChild element
$(element).click()
document.body.removeChild element
expectWasRouted = (linkAttributes) ->
stub = sinon.stub()
provideCallback 'router:route', stub
appendClickRemove createLink linkAttributes
expect(stub).toHaveBeenCalledOnce()
[passedPath] = stub.firstCall.args
expect(passedPath).toEqual url: linkAttributes.href
removeCallbacks(['router:route'])
return stub
expectWasNotRouted = (linkAttributes) ->
spy = sinon.spy()
provideCallback 'router:route', spy
appendClickRemove createLink linkAttributes
expect(spy).not.toHaveBeenCalled()
removeCallbacks(['router:route'])
return spy
beforeEach ->
# Create the layout
layout = Oraculum.get 'Layout.View',
title: 'Test Site Title'
# Create a test controller
testController = Oraculum.get 'Controller'
testController.view = Oraculum.get 'View'
testController.title = 'Test Controller Title'
afterEach ->
testController.dispose()
layout.dispose()
it 'should have el, $el and $ props / methods', ->
expect(layout.el).toBe document.body
expect(layout.$el instanceof $).toBe true
it 'should set the document title', ->
spy = sinon.spy()
layout.listenTo Backbone, '!adjustTitle', spy
layout.publishEvent '!adjustTitle', testController.title
expect(document.title).toContain layout.mixinOptions.layout.title
expect(document.title).toContain testController.title
expect(spy).toHaveBeenCalledWith testController.title
# Default routing options
# -----------------------
it 'should route clicks on internal links', ->
expectWasRouted href: '/internal/link'
it 'should correctly pass the query string', ->
path = '/internal/link'
query = 'foo=bar&baz=qux'
stub = sinon.spy()
provideCallback 'router:route', stub
linkAttributes = href: "#{path}?#{query}"
appendClickRemove createLink linkAttributes
expect(stub).toHaveBeenCalledOnce()
[passedPath] = stub.firstCall.args
expect(passedPath).toEqual url: linkAttributes.href
removeCallbacks(['router:route'])
it 'should not route links without href attributes', ->
expectWasNotRouted name: 'foo'
it 'should not route links with empty href', ->
expectWasNotRouted href: ''
it 'should not route links to document fragments', ->
expectWasNotRouted href: '#foo'
it 'should not route links to javascript:void(0);', ->
expectWasNotRouted href: 'javascript:void(0);'
expectWasNotRouted href: 'javascript: void(0);'
expectWasNotRouted href: 'javascript: void(-)'
expectWasNotRouted href: 'javascript: void(sdjfhsdlkjflkdsjf)'
it 'should not route links with a noscript class', ->
expectWasNotRouted href: '/foo', class: 'noscript'
it 'should not route rel=external links', ->
expectWasNotRouted href: '/foo', rel: 'external'
it 'should not route target=blank links', ->
expectWasNotRouted href: '/foo', target: '_blank'
it 'should not route non-http(s) links', ->
expectWasNotRouted href: 'mailto:<EMAIL>'
expectWasNotRouted href: 'javascript:1+1'
expectWasNotRouted href: 'tel:1488'
it 'should not route clicks on external links', ->
old = window.open
window.open = sinon.stub()
expectWasNotRouted href: 'http://example.com/'
expectWasNotRouted href: 'https://example.com/'
expect(window.open).not.toHaveBeenCalled()
window.open = old
it 'should route clicks on elements with the “go-to” class', ->
stub = sinon.stub()
provideCallback 'router:route', stub
path = '/internal/link'
span = document.createElement 'span'
span.className = 'go-to'
span.setAttribute 'data-href', path
appendClickRemove span
expect(stub).toHaveBeenCalledOnce()
passedPath = stub.firstCall.args[0]
expect(passedPath).toEqual url: path
removeCallbacks(['router:route'])
# With custom external checks
# ---------------------------
it 'custom isExternalLink receives link properties', ->
stub = sinon.stub().returns true
layout.isExternalLink = stub
expectWasNotRouted href: 'http://www.example.org:1234/foo?bar=1#baz', target: "_blank", rel: "external"
expect(stub).toHaveBeenCalledOnce()
link = stub.lastCall.args[0]
expect(link.target).toBe "_blank"
expect(link.rel).toBe "external"
expect(link.hash).toBe "#baz"
expect(link.pathname.replace(/^\//, '')).toBe "foo"
expect(link.host).toBe "www.example.org:1234"
it 'custom isExternalLink should not route if true', ->
layout.isExternalLink = -> true
expectWasNotRouted href: '/foo'
it 'custom isExternalLink should route if false', ->
layout.isExternalLink = -> false
expectWasRouted href: '/foo', rel: "external"
# With custom routing options
# ---------------------------
it 'routeLinks=false should NOT route clicks on internal links', ->
layout.dispose()
layout = Oraculum.get 'Layout.View',
routeLinks: false
title: ''
expectWasNotRouted href: '/internal/link'
it 'openExternalToBlank=true should open external links in a new tab', ->
old = window.open
window.open = sinon.stub()
layout.dispose()
layout = Oraculum.get 'Layout.View',
openExternalToBlank: true
title: ''
expectWasNotRouted href: 'http://www.example.org/'
expect(window.open).toHaveBeenCalled()
window.open = sinon.stub()
layout.dispose()
layout = Oraculum.get 'Layout.View',
openExternalToBlank: true
title: ''
expectWasNotRouted href: '/foo', rel: "external"
expect(window.open).toHaveBeenCalled()
window.open = old
it 'skipRouting=false should route links with a noscript class', ->
layout.dispose()
layout = Oraculum.get 'Layout.View',
skipRouting: false
title: ''
expectWasRouted href: '/foo', class: 'noscript'
it 'skipRouting=function should decide whether to route', ->
path = '/foo'
stub = sinon.stub().returns false
layout.dispose()
layout = Oraculum.get 'Layout.View',
skipRouting: stub
title: ''
expectWasNotRouted href: path
expect(stub).toHaveBeenCalledOnce()
args = stub.lastCall.args
expect(args[0]).toBe path
expect(args[1]).toBeObject()
expect(args[1].nodeName).toBe 'A'
stub = sinon.stub().returns true
layout.dispose()
layout = Oraculum.get 'Layout.View',
skipRouting: stub
title: ''
expectWasRouted href: path
expect(stub).toHaveBeenCalledOnce()
expect(args[0]).toBe path
expect(args[1]).toBeObject()
expect(args[1].nodeName).toBe 'A'
# Regions
# -------
it 'should allow for views to register regions', ->
Oraculum.extend 'View', 'Test1Layout.View', {
mixinOptions:
regions:
'view-region1': ''
'test1': '#test1'
'test2': '#test2'
}, mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
Oraculum.extend 'View', 'Test2Layout.View', {
mixinOptions:
regions:
'view-region2': ''
'test3': '#test1'
'test4': '#test2'
}, mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
spy = sinon.spy(layout, 'registerGlobalRegion')
instance1 = Oraculum.get 'Test1Layout.View'
expect(spy).toHaveBeenCalledWith instance1, 'view-region1', ''
expect(spy).toHaveBeenCalledWith instance1, 'test1', '#test1'
expect(spy).toHaveBeenCalledWith instance1, 'test2', '#test2'
expect(layout.globalRegions).toEqual [
{instance: instance1, name: 'test2', selector: '#test2'}
{instance: instance1, name: 'test1', selector: '#test1'}
{instance: instance1, name: 'view-region1', selector: ''}
]
instance2 = Oraculum.get 'Test2Layout.View'
expect(spy).toHaveBeenCalledWith instance2, 'view-region2', ''
expect(spy).toHaveBeenCalledWith instance2, 'test3', '#test1'
expect(spy).toHaveBeenCalledWith instance2, 'test4', '#test2'
expect(layout.globalRegions).toEqual [
{instance: instance2, name: 'test4', selector: '#test2'}
{instance: instance2, name: 'test3', selector: '#test1'}
{instance: instance2, name: 'view-region2', selector: ''}
{instance: instance1, name: 'test2', selector: '#test2'}
{instance: instance1, name: 'test1', selector: '#test1'}
{instance: instance1, name: 'view-region1', selector: ''}
]
instance1.dispose()
instance2.dispose()
it 'should allow for itself to register regions', ->
layout.dispose()
Oraculum.extend 'View', 'RegionalLayout.View', {
mixinOptions:
regions:
'view-region1': ''
'test1': '#test1'
'test2': '#test2'
}, mixins: [
'Layout.ViewMixin'
'Disposable.Mixin'
]
regional = Oraculum.get 'RegionalLayout.View'
expect(regional.globalRegions).toEqual [
{instance: regional, name: 'test2', selector: '#test2'}
{instance: regional, name: 'test1', selector: '#test1'}
{instance: regional, name: 'view-region1', selector: ''}
]
regional.dispose()
it 'should dispose of regions when a view is disposed', ->
Oraculum.extend 'View', 'DisposeRegion.View', {
mixinOptions:
regions:
'test0': ''
'test1': '#test1'
'test2': '#test2'
}, mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
instance = Oraculum.get 'DisposeRegion.View'
instance.dispose()
expect(layout.globalRegions).toEqual []
it 'should only dispose of regions a view registered when it is disposed', ->
Oraculum.extend 'View', 'Test1Layout.View', {
mixinOptions:
regions:
'test1': '#test1'
'test2': '#test2'
}, {
override: true
mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
}
Oraculum.extend 'View', 'Test2Layout.View', {
mixinOptions:
regions:
'test3': '#test1'
'test4': '#test2'
'test5': ''
}, {
override: true
mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
}
instance1 = Oraculum.get 'Test1Layout.View'
instance2 = Oraculum.get 'Test2Layout.View'
instance2.dispose()
expect(layout.globalRegions).toEqual [
{instance: instance1, name: '<NAME>', selector: '#test2'}
{instance: instance1, name: '<NAME>1', selector: '#test1'}
]
instance1.dispose()
# it 'should allow for views to be applied to regions', ->
# view1 = class Test1View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# test0: ''
# test1: '#test1'
# test2: '#test2'
# view2 = class Test2View extends View
# autoRender: true
# getTemplateFunction: -> # Do nothing
# instance1 = new Test1View()
# instance2 = new Test2View {region: 'test2'}
# instance3 = new Test2View {region: 'test0'}
# if $
# expect(instance2.container.attr('id')).toBe 'test2'
# expect(instance3.container).toBe instance1.$el
# else
# expect(instance2.container.id).toBe 'test2'
# expect(instance3.container).toBe instance1.el
# instance1.dispose()
# instance2.dispose()
# it 'should apply regions in the order they were registered', ->
# view1 = class Test1View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# 'test1': '#test1'
# 'test2': '#test2'
# view2 = class Test2View extends View
# autoRender: true
# getTemplateFunction: template5
# regions:
# 'test1': '#test1'
# 'test2': '#test5'
# view3 = class Test3View extends View
# autoRender: true
# getTemplateFunction: -> # Do nothing
# instance1 = new Test1View()
# instance2 = new Test2View()
# instance3 = new Test3View {region: 'test2'}
# if $
# expect(instance3.container.attr('id')).toBe 'test5'
# else
# expect(instance3.container.id).toBe 'test5'
# instance1.dispose()
# instance2.dispose()
# instance3.dispose()
# it 'should only apply regions from non-stale views', ->
# view1 = class Test1View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# 'test1': '#test1'
# 'test2': '#test2'
# view2 = class Test2View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# 'test1': '#test1'
# 'test2': '#test5'
# view3 = class Test3View extends View
# autoRender: true
# getTemplateFunction: -> # Do nothing
# instance1 = new Test1View()
# instance2 = new Test2View()
# instance2.stale = true
# instance3 = new Test3View {region: 'test2'}
# if $
# expect(instance3.container.attr('id')).toBe 'test2'
# else
# expect(instance3.container.id).toBe 'test2'
# instance1.dispose()
# instance2.dispose()
# instance3.dispose()
# it 'should dispose itself correctly', ->
# spy1 = sinon.spy()
# layout.subscribeEvent 'foo', spy1
# spy2 = sinon.spy()
# layout.delegateEvents 'click #testbed': spy2
# expect(layout.dispose).toBeFunction()
# layout.dispose()
# expect(layout.disposed).toBe true
# if Object.isFrozen
# expect(Object.isFrozen(layout)).toBe true
# mediator.publish 'foo'
# window.clickOnElement document.querySelector('#testbed')
# # It should unsubscribe from events
# expect(spy1).not.toHaveBeenCalled()
# expect(spy2).not.toHaveBeenCalled()
# it 'should be extendable', ->
# expect(Layout.extend).toBeFunction
# DerivedLayout = Layout.extend()
# derivedLayout = new DerivedLayout()
# expect(derivedLayout).to.be.a Layout
# derivedLayout.dispose()
| true | define [
'oraculum'
'oraculum/libs'
'oraculum/application/controller'
'oraculum/mixins/disposable'
'oraculum/views/mixins/layout'
'oraculum/mixins/callback-provider'
], (Oraculum) ->
'use strict'
_ = Oraculum.get 'underscore'
Backbone = Oraculum.get 'Backbone'
provideCallback = Oraculum.mixins['CallbackProvider.Mixin'].provideCallback
removeCallbacks = Oraculum.mixins['CallbackProvider.Mixin'].removeCallbacks
describe 'Layout', ->
# Initialize shared variables
layout = testController = router = null
Oraculum.extend 'View', 'Layout.View', {
el: document.body
mixinOptions:
disposable:
disposeAll: true
}, mixins: [
'Layout.ViewMixin'
'Disposable.Mixin'
]
template = -> -> '<div id="test1"></div><div id="test2"></div>'
template5 = -> -> '<div id="test1"></div><div id="test5"></div>'
preventDefault = (event) -> event.preventDefault()
createLink = (attributes) ->
attributes = _.extend {}, attributes
# Yes, this is ugly. We’re doing it because IE8-10 reports an incorrect
# protocol if the href attribute is set programatically.
if attributes.href?
div = document.createElement 'div'
div.innerHTML = "<a href='#{attributes.href}'>Hello World</a>"
link = div.firstChild
attributes = _.omit attributes, 'href'
else
link = document.createElement 'a'
link.setAttribute key, value for key, value of attributes
return link
appendClickRemove = (element) ->
document.body.appendChild element
$(element).click()
document.body.removeChild element
expectWasRouted = (linkAttributes) ->
stub = sinon.stub()
provideCallback 'router:route', stub
appendClickRemove createLink linkAttributes
expect(stub).toHaveBeenCalledOnce()
[passedPath] = stub.firstCall.args
expect(passedPath).toEqual url: linkAttributes.href
removeCallbacks(['router:route'])
return stub
expectWasNotRouted = (linkAttributes) ->
spy = sinon.spy()
provideCallback 'router:route', spy
appendClickRemove createLink linkAttributes
expect(spy).not.toHaveBeenCalled()
removeCallbacks(['router:route'])
return spy
beforeEach ->
# Create the layout
layout = Oraculum.get 'Layout.View',
title: 'Test Site Title'
# Create a test controller
testController = Oraculum.get 'Controller'
testController.view = Oraculum.get 'View'
testController.title = 'Test Controller Title'
afterEach ->
testController.dispose()
layout.dispose()
it 'should have el, $el and $ props / methods', ->
expect(layout.el).toBe document.body
expect(layout.$el instanceof $).toBe true
it 'should set the document title', ->
spy = sinon.spy()
layout.listenTo Backbone, '!adjustTitle', spy
layout.publishEvent '!adjustTitle', testController.title
expect(document.title).toContain layout.mixinOptions.layout.title
expect(document.title).toContain testController.title
expect(spy).toHaveBeenCalledWith testController.title
# Default routing options
# -----------------------
it 'should route clicks on internal links', ->
expectWasRouted href: '/internal/link'
it 'should correctly pass the query string', ->
path = '/internal/link'
query = 'foo=bar&baz=qux'
stub = sinon.spy()
provideCallback 'router:route', stub
linkAttributes = href: "#{path}?#{query}"
appendClickRemove createLink linkAttributes
expect(stub).toHaveBeenCalledOnce()
[passedPath] = stub.firstCall.args
expect(passedPath).toEqual url: linkAttributes.href
removeCallbacks(['router:route'])
it 'should not route links without href attributes', ->
expectWasNotRouted name: 'foo'
it 'should not route links with empty href', ->
expectWasNotRouted href: ''
it 'should not route links to document fragments', ->
expectWasNotRouted href: '#foo'
it 'should not route links to javascript:void(0);', ->
expectWasNotRouted href: 'javascript:void(0);'
expectWasNotRouted href: 'javascript: void(0);'
expectWasNotRouted href: 'javascript: void(-)'
expectWasNotRouted href: 'javascript: void(sdjfhsdlkjflkdsjf)'
it 'should not route links with a noscript class', ->
expectWasNotRouted href: '/foo', class: 'noscript'
it 'should not route rel=external links', ->
expectWasNotRouted href: '/foo', rel: 'external'
it 'should not route target=blank links', ->
expectWasNotRouted href: '/foo', target: '_blank'
it 'should not route non-http(s) links', ->
expectWasNotRouted href: 'mailto:PI:EMAIL:<EMAIL>END_PI'
expectWasNotRouted href: 'javascript:1+1'
expectWasNotRouted href: 'tel:1488'
it 'should not route clicks on external links', ->
old = window.open
window.open = sinon.stub()
expectWasNotRouted href: 'http://example.com/'
expectWasNotRouted href: 'https://example.com/'
expect(window.open).not.toHaveBeenCalled()
window.open = old
it 'should route clicks on elements with the “go-to” class', ->
stub = sinon.stub()
provideCallback 'router:route', stub
path = '/internal/link'
span = document.createElement 'span'
span.className = 'go-to'
span.setAttribute 'data-href', path
appendClickRemove span
expect(stub).toHaveBeenCalledOnce()
passedPath = stub.firstCall.args[0]
expect(passedPath).toEqual url: path
removeCallbacks(['router:route'])
# With custom external checks
# ---------------------------
it 'custom isExternalLink receives link properties', ->
stub = sinon.stub().returns true
layout.isExternalLink = stub
expectWasNotRouted href: 'http://www.example.org:1234/foo?bar=1#baz', target: "_blank", rel: "external"
expect(stub).toHaveBeenCalledOnce()
link = stub.lastCall.args[0]
expect(link.target).toBe "_blank"
expect(link.rel).toBe "external"
expect(link.hash).toBe "#baz"
expect(link.pathname.replace(/^\//, '')).toBe "foo"
expect(link.host).toBe "www.example.org:1234"
it 'custom isExternalLink should not route if true', ->
layout.isExternalLink = -> true
expectWasNotRouted href: '/foo'
it 'custom isExternalLink should route if false', ->
layout.isExternalLink = -> false
expectWasRouted href: '/foo', rel: "external"
# With custom routing options
# ---------------------------
it 'routeLinks=false should NOT route clicks on internal links', ->
layout.dispose()
layout = Oraculum.get 'Layout.View',
routeLinks: false
title: ''
expectWasNotRouted href: '/internal/link'
it 'openExternalToBlank=true should open external links in a new tab', ->
old = window.open
window.open = sinon.stub()
layout.dispose()
layout = Oraculum.get 'Layout.View',
openExternalToBlank: true
title: ''
expectWasNotRouted href: 'http://www.example.org/'
expect(window.open).toHaveBeenCalled()
window.open = sinon.stub()
layout.dispose()
layout = Oraculum.get 'Layout.View',
openExternalToBlank: true
title: ''
expectWasNotRouted href: '/foo', rel: "external"
expect(window.open).toHaveBeenCalled()
window.open = old
it 'skipRouting=false should route links with a noscript class', ->
layout.dispose()
layout = Oraculum.get 'Layout.View',
skipRouting: false
title: ''
expectWasRouted href: '/foo', class: 'noscript'
it 'skipRouting=function should decide whether to route', ->
path = '/foo'
stub = sinon.stub().returns false
layout.dispose()
layout = Oraculum.get 'Layout.View',
skipRouting: stub
title: ''
expectWasNotRouted href: path
expect(stub).toHaveBeenCalledOnce()
args = stub.lastCall.args
expect(args[0]).toBe path
expect(args[1]).toBeObject()
expect(args[1].nodeName).toBe 'A'
stub = sinon.stub().returns true
layout.dispose()
layout = Oraculum.get 'Layout.View',
skipRouting: stub
title: ''
expectWasRouted href: path
expect(stub).toHaveBeenCalledOnce()
expect(args[0]).toBe path
expect(args[1]).toBeObject()
expect(args[1].nodeName).toBe 'A'
# Regions
# -------
it 'should allow for views to register regions', ->
Oraculum.extend 'View', 'Test1Layout.View', {
mixinOptions:
regions:
'view-region1': ''
'test1': '#test1'
'test2': '#test2'
}, mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
Oraculum.extend 'View', 'Test2Layout.View', {
mixinOptions:
regions:
'view-region2': ''
'test3': '#test1'
'test4': '#test2'
}, mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
spy = sinon.spy(layout, 'registerGlobalRegion')
instance1 = Oraculum.get 'Test1Layout.View'
expect(spy).toHaveBeenCalledWith instance1, 'view-region1', ''
expect(spy).toHaveBeenCalledWith instance1, 'test1', '#test1'
expect(spy).toHaveBeenCalledWith instance1, 'test2', '#test2'
expect(layout.globalRegions).toEqual [
{instance: instance1, name: 'test2', selector: '#test2'}
{instance: instance1, name: 'test1', selector: '#test1'}
{instance: instance1, name: 'view-region1', selector: ''}
]
instance2 = Oraculum.get 'Test2Layout.View'
expect(spy).toHaveBeenCalledWith instance2, 'view-region2', ''
expect(spy).toHaveBeenCalledWith instance2, 'test3', '#test1'
expect(spy).toHaveBeenCalledWith instance2, 'test4', '#test2'
expect(layout.globalRegions).toEqual [
{instance: instance2, name: 'test4', selector: '#test2'}
{instance: instance2, name: 'test3', selector: '#test1'}
{instance: instance2, name: 'view-region2', selector: ''}
{instance: instance1, name: 'test2', selector: '#test2'}
{instance: instance1, name: 'test1', selector: '#test1'}
{instance: instance1, name: 'view-region1', selector: ''}
]
instance1.dispose()
instance2.dispose()
it 'should allow for itself to register regions', ->
layout.dispose()
Oraculum.extend 'View', 'RegionalLayout.View', {
mixinOptions:
regions:
'view-region1': ''
'test1': '#test1'
'test2': '#test2'
}, mixins: [
'Layout.ViewMixin'
'Disposable.Mixin'
]
regional = Oraculum.get 'RegionalLayout.View'
expect(regional.globalRegions).toEqual [
{instance: regional, name: 'test2', selector: '#test2'}
{instance: regional, name: 'test1', selector: '#test1'}
{instance: regional, name: 'view-region1', selector: ''}
]
regional.dispose()
it 'should dispose of regions when a view is disposed', ->
Oraculum.extend 'View', 'DisposeRegion.View', {
mixinOptions:
regions:
'test0': ''
'test1': '#test1'
'test2': '#test2'
}, mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
instance = Oraculum.get 'DisposeRegion.View'
instance.dispose()
expect(layout.globalRegions).toEqual []
it 'should only dispose of regions a view registered when it is disposed', ->
Oraculum.extend 'View', 'Test1Layout.View', {
mixinOptions:
regions:
'test1': '#test1'
'test2': '#test2'
}, {
override: true
mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
}
Oraculum.extend 'View', 'Test2Layout.View', {
mixinOptions:
regions:
'test3': '#test1'
'test4': '#test2'
'test5': ''
}, {
override: true
mixins: [
'Disposable.Mixin'
'RegionPublisher.ViewMixin'
]
}
instance1 = Oraculum.get 'Test1Layout.View'
instance2 = Oraculum.get 'Test2Layout.View'
instance2.dispose()
expect(layout.globalRegions).toEqual [
{instance: instance1, name: 'PI:NAME:<NAME>END_PI', selector: '#test2'}
{instance: instance1, name: 'PI:NAME:<NAME>END_PI1', selector: '#test1'}
]
instance1.dispose()
# it 'should allow for views to be applied to regions', ->
# view1 = class Test1View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# test0: ''
# test1: '#test1'
# test2: '#test2'
# view2 = class Test2View extends View
# autoRender: true
# getTemplateFunction: -> # Do nothing
# instance1 = new Test1View()
# instance2 = new Test2View {region: 'test2'}
# instance3 = new Test2View {region: 'test0'}
# if $
# expect(instance2.container.attr('id')).toBe 'test2'
# expect(instance3.container).toBe instance1.$el
# else
# expect(instance2.container.id).toBe 'test2'
# expect(instance3.container).toBe instance1.el
# instance1.dispose()
# instance2.dispose()
# it 'should apply regions in the order they were registered', ->
# view1 = class Test1View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# 'test1': '#test1'
# 'test2': '#test2'
# view2 = class Test2View extends View
# autoRender: true
# getTemplateFunction: template5
# regions:
# 'test1': '#test1'
# 'test2': '#test5'
# view3 = class Test3View extends View
# autoRender: true
# getTemplateFunction: -> # Do nothing
# instance1 = new Test1View()
# instance2 = new Test2View()
# instance3 = new Test3View {region: 'test2'}
# if $
# expect(instance3.container.attr('id')).toBe 'test5'
# else
# expect(instance3.container.id).toBe 'test5'
# instance1.dispose()
# instance2.dispose()
# instance3.dispose()
# it 'should only apply regions from non-stale views', ->
# view1 = class Test1View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# 'test1': '#test1'
# 'test2': '#test2'
# view2 = class Test2View extends View
# autoRender: true
# getTemplateFunction: template
# regions:
# 'test1': '#test1'
# 'test2': '#test5'
# view3 = class Test3View extends View
# autoRender: true
# getTemplateFunction: -> # Do nothing
# instance1 = new Test1View()
# instance2 = new Test2View()
# instance2.stale = true
# instance3 = new Test3View {region: 'test2'}
# if $
# expect(instance3.container.attr('id')).toBe 'test2'
# else
# expect(instance3.container.id).toBe 'test2'
# instance1.dispose()
# instance2.dispose()
# instance3.dispose()
# it 'should dispose itself correctly', ->
# spy1 = sinon.spy()
# layout.subscribeEvent 'foo', spy1
# spy2 = sinon.spy()
# layout.delegateEvents 'click #testbed': spy2
# expect(layout.dispose).toBeFunction()
# layout.dispose()
# expect(layout.disposed).toBe true
# if Object.isFrozen
# expect(Object.isFrozen(layout)).toBe true
# mediator.publish 'foo'
# window.clickOnElement document.querySelector('#testbed')
# # It should unsubscribe from events
# expect(spy1).not.toHaveBeenCalled()
# expect(spy2).not.toHaveBeenCalled()
# it 'should be extendable', ->
# expect(Layout.extend).toBeFunction
# DerivedLayout = Layout.extend()
# derivedLayout = new DerivedLayout()
# expect(derivedLayout).to.be.a Layout
# derivedLayout.dispose()
|
[
{
"context": "e: process.env.HUBOT_XMPP_USERNAME\n password: process.env.HUBOT_XMPP_PASSWORD\n rooms: process.env.HU",
"end": 183,
"score": 0.8220650553703308,
"start": 172,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "v.HUBOT_XMPP_USERNAME\n password:... | src/hubot/xmpp.coffee | gwho/hubot | 1 | Robot = require '../robot'
Xmpp = require 'node-xmpp'
class XmppBot extends Robot
run: ->
options =
username: process.env.HUBOT_XMPP_USERNAME
password: process.env.HUBOT_XMPP_PASSWORD
rooms: process.env.HUBOT_XMPP_ROOMS.split(',')
keepaliveInterval: 30000 # ms interval to send whitespace to xmpp server
console.log options
@client = new Xmpp.Client
jid: options.username
password: options.password
@client.on 'online', @.online
@client.on 'stanza', @.read
@options = options
online: =>
console.log 'Hubot XMPP client online'
@client.send new Xmpp.Element('presence', type: 'available' )
.c('show').t('chat')
# join each room
# http://xmpp.org/extensions/xep-0045.html for XMPP chat standard
for room in @options.rooms
@client.send(new Xmpp.Element('presence', to: "#{room}/#{@name}" )
.c('x', xmlns: 'http://jabber.org/protocol/muc' )
.c('history', seconds: 1 )) # prevent the server from confusing us with old messages
# and it seems that servers don't reliably support maxchars
# or zero values
# send raw whitespace for keepalive
setInterval =>
@client.send ' '
, @options.keepaliveInterval
read: (stanza) =>
if stanza.attrs.type is 'error'
console.error '[xmpp error]' + stanza
return
# ignore non-messages
return if !stanza.is 'message' || stanza.attrs.type not in ['groupchat', 'direct', 'chat']
# ignore our own messages
return if @options.username in stanza.attrs.from
# ignore empty bodies (i.e., topic changes -- maybe watch these someday)
body = stanza.getChild 'body'
return unless body
message = body.getText()
[room, from] = stanza.attrs.from.split '/'
user = new Robot.User from, {
room: room
type: stanza.attrs.type
}
@receive new Robot.TextMessage user, message
send: (user, strings...) ->
strings.forEach (str) =>
console.log "Sending to #{user.room}: #{str}"
to = if user.type in ['direct', 'chat'] then user.room + '/' + user.id else user.room
message = new Xmpp.Element('message',
from: @options.username
to: to
type: user.type
).
c('body').t(str)
@client.send message
reply: (user, strings...) ->
strings.forEach (str) =>
@send user, "#{user.name}: #{str}"
module.exports = XmppBot
| 174695 | Robot = require '../robot'
Xmpp = require 'node-xmpp'
class XmppBot extends Robot
run: ->
options =
username: process.env.HUBOT_XMPP_USERNAME
password: <PASSWORD>.<PASSWORD>_XMPP_PASSWORD
rooms: process.env.HUBOT_XMPP_ROOMS.split(',')
keepaliveInterval: 30000 # ms interval to send whitespace to xmpp server
console.log options
@client = new Xmpp.Client
jid: options.username
password: <PASSWORD>
@client.on 'online', @.online
@client.on 'stanza', @.read
@options = options
online: =>
console.log 'Hubot XMPP client online'
@client.send new Xmpp.Element('presence', type: 'available' )
.c('show').t('chat')
# join each room
# http://xmpp.org/extensions/xep-0045.html for XMPP chat standard
for room in @options.rooms
@client.send(new Xmpp.Element('presence', to: "#{room}/#{@name}" )
.c('x', xmlns: 'http://jabber.org/protocol/muc' )
.c('history', seconds: 1 )) # prevent the server from confusing us with old messages
# and it seems that servers don't reliably support maxchars
# or zero values
# send raw whitespace for keepalive
setInterval =>
@client.send ' '
, @options.keepaliveInterval
read: (stanza) =>
if stanza.attrs.type is 'error'
console.error '[xmpp error]' + stanza
return
# ignore non-messages
return if !stanza.is 'message' || stanza.attrs.type not in ['groupchat', 'direct', 'chat']
# ignore our own messages
return if @options.username in stanza.attrs.from
# ignore empty bodies (i.e., topic changes -- maybe watch these someday)
body = stanza.getChild 'body'
return unless body
message = body.getText()
[room, from] = stanza.attrs.from.split '/'
user = new Robot.User from, {
room: room
type: stanza.attrs.type
}
@receive new Robot.TextMessage user, message
send: (user, strings...) ->
strings.forEach (str) =>
console.log "Sending to #{user.room}: #{str}"
to = if user.type in ['direct', 'chat'] then user.room + '/' + user.id else user.room
message = new Xmpp.Element('message',
from: @options.username
to: to
type: user.type
).
c('body').t(str)
@client.send message
reply: (user, strings...) ->
strings.forEach (str) =>
@send user, "#{user.name}: #{str}"
module.exports = XmppBot
| true | Robot = require '../robot'
Xmpp = require 'node-xmpp'
class XmppBot extends Robot
run: ->
options =
username: process.env.HUBOT_XMPP_USERNAME
password: PI:PASSWORD:<PASSWORD>END_PI.PI:PASSWORD:<PASSWORD>END_PI_XMPP_PASSWORD
rooms: process.env.HUBOT_XMPP_ROOMS.split(',')
keepaliveInterval: 30000 # ms interval to send whitespace to xmpp server
console.log options
@client = new Xmpp.Client
jid: options.username
password: PI:PASSWORD:<PASSWORD>END_PI
@client.on 'online', @.online
@client.on 'stanza', @.read
@options = options
online: =>
console.log 'Hubot XMPP client online'
@client.send new Xmpp.Element('presence', type: 'available' )
.c('show').t('chat')
# join each room
# http://xmpp.org/extensions/xep-0045.html for XMPP chat standard
for room in @options.rooms
@client.send(new Xmpp.Element('presence', to: "#{room}/#{@name}" )
.c('x', xmlns: 'http://jabber.org/protocol/muc' )
.c('history', seconds: 1 )) # prevent the server from confusing us with old messages
# and it seems that servers don't reliably support maxchars
# or zero values
# send raw whitespace for keepalive
setInterval =>
@client.send ' '
, @options.keepaliveInterval
read: (stanza) =>
if stanza.attrs.type is 'error'
console.error '[xmpp error]' + stanza
return
# ignore non-messages
return if !stanza.is 'message' || stanza.attrs.type not in ['groupchat', 'direct', 'chat']
# ignore our own messages
return if @options.username in stanza.attrs.from
# ignore empty bodies (i.e., topic changes -- maybe watch these someday)
body = stanza.getChild 'body'
return unless body
message = body.getText()
[room, from] = stanza.attrs.from.split '/'
user = new Robot.User from, {
room: room
type: stanza.attrs.type
}
@receive new Robot.TextMessage user, message
send: (user, strings...) ->
strings.forEach (str) =>
console.log "Sending to #{user.room}: #{str}"
to = if user.type in ['direct', 'chat'] then user.room + '/' + user.id else user.room
message = new Xmpp.Element('message',
from: @options.username
to: to
type: user.type
).
c('body').t(str)
@client.send message
reply: (user, strings...) ->
strings.forEach (str) =>
@send user, "#{user.name}: #{str}"
module.exports = XmppBot
|
[
{
"context": "tbus.jt2k.com')\n .get('/api/findstop/0,0?key=foobarbaz')\n .replyWithFile(200, __dirname + '/fixture",
"end": 306,
"score": 0.9521339535713196,
"start": 297,
"tag": "KEY",
"value": "foobarbaz"
},
{
"context": "ach ->\n process.env.HUBOT_NEXTBUS_API_KEY =... | test/nextbus_test.coffee | stephenyeargin/hubot-nextbus | 0 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper('../src/nextbus.coffee')
describe 'hubot-nextbus', ->
beforeEach ->
nock.disableNetConnect()
nock('https://nextbus.jt2k.com')
.get('/api/findstop/0,0?key=foobarbaz')
.replyWithFile(200, __dirname + '/fixtures/findstop.json')
nock('https://nextbus.jt2k.com')
.get(/\/api\/stop\/(.*)\?key=foobarbaz$/)
.replyWithFile(200, __dirname + '/fixtures/stop.json')
afterEach ->
nock.cleanAll()
context 'regular tests', ->
beforeEach ->
process.env.HUBOT_NEXTBUS_API_KEY = 'foobarbaz'
process.env.HUBOT_NEXTBUS_LAT_LON = '0,0'
@room = helper.createRoom()
afterEach ->
@room.destroy()
delete process.env.HUBOT_NEXTBUS_API_KEY
delete process.env.HUBOT_NEXTBUS_LAT_LON
# hubot nextbus
it 'returns the next bus for closest stop', (done) ->
selfRoom = @room
selfRoom.user.say('alice', '@hubot nextbus')
setTimeout(() ->
try
expect(selfRoom.messages).to.eql [
['alice', '@hubot nextbus']
['hubot', 'Next outbound bus arrives to 6TH AVE N & CHURCH ST SB at 3:38:08 pm (#3 - WEST END - WHITE BRIDGE)']
]
done()
catch err
done err
return
, 1000)
# hubot nextbus stop <id>
it 'returns the next bus for a particular stop', (done) ->
selfRoom = @room
selfRoom.user.say('alice', '@hubot nextbus stop 6AVCHUSN')
setTimeout(() ->
try
expect(selfRoom.messages).to.eql [
['alice', '@hubot nextbus stop 6AVCHUSN']
['hubot', 'Next outbound bus arrives to 6TH AVE N & CHURCH ST SB at 3:38:08 pm (#3 - WEST END - WHITE BRIDGE)']
]
done()
catch err
done err
return
, 1000)
# hubot nextbus stops
it 'returns the list of nearby stops', (done) ->
selfRoom = @room
selfRoom.user.say('alice', '@hubot nextbus stops')
setTimeout(() ->
try
expect(selfRoom.messages).to.eql [
['alice', '@hubot nextbus stops']
['hubot', 'List of nearby stops:']
['hubot', '- 6AVCHUSN - 6TH AVE N & CHURCH ST SB / (Served by: #3 - WHITE BRIDGE, #5 - BELLEVUE, #7 - GREEN HILLS, #38 - ANTIOCH)']
['hubot', '- 7AVCHUSN - 7TH AVE N & CHURCH ST SB / (Served by: #1 - 100 OAKS MALL, #8 - 8TH AVE, LIPSCOMB)']
['hubot', '- 6AVCOMSN - 6TH AVE N & COMMERCE ST SB / (Served by: #3 - WHITE BRIDGE, #5 - BELLEVUE, #7 - GREEN HILLS)']
['hubot', '- 5AVCHUNN - 5TH AVE N & CHURCH ST NB / (Served by: #60 - BICENTENNIAL MALL,TSU, #61 - BICENTENNIAL MALL)']
['hubot', '- UNI6AWN - UNION ST & 6TH AVE N WB / (Served by: #33 - DOWNTOWN, #37 - DOWNTOWN, #37 - MCMURRAY)']
]
done()
catch err
done err
return
, 1000)
| 119447 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper('../src/nextbus.coffee')
describe 'hubot-nextbus', ->
beforeEach ->
nock.disableNetConnect()
nock('https://nextbus.jt2k.com')
.get('/api/findstop/0,0?key=<KEY>')
.replyWithFile(200, __dirname + '/fixtures/findstop.json')
nock('https://nextbus.jt2k.com')
.get(/\/api\/stop\/(.*)\?key=foobarbaz$/)
.replyWithFile(200, __dirname + '/fixtures/stop.json')
afterEach ->
nock.cleanAll()
context 'regular tests', ->
beforeEach ->
process.env.HUBOT_NEXTBUS_API_KEY = '<KEY>'
process.env.HUBOT_NEXTBUS_LAT_LON = '0,0'
@room = helper.createRoom()
afterEach ->
@room.destroy()
delete process.env.HUBOT_NEXTBUS_API_KEY
delete process.env.HUBOT_NEXTBUS_LAT_LON
# hubot nextbus
it 'returns the next bus for closest stop', (done) ->
selfRoom = @room
selfRoom.user.say('alice', '@hubot nextbus')
setTimeout(() ->
try
expect(selfRoom.messages).to.eql [
['alice', '@hubot nextbus']
['hubot', 'Next outbound bus arrives to 6TH AVE N & CHURCH ST SB at 3:38:08 pm (#3 - WEST END - WHITE BRIDGE)']
]
done()
catch err
done err
return
, 1000)
# hubot nextbus stop <id>
it 'returns the next bus for a particular stop', (done) ->
selfRoom = @room
selfRoom.user.say('alice', '@hubot nextbus stop 6AVCHUSN')
setTimeout(() ->
try
expect(selfRoom.messages).to.eql [
['alice', '@hubot nextbus stop 6AVCHUSN']
['hubot', 'Next outbound bus arrives to 6TH AVE N & CHURCH ST SB at 3:38:08 pm (#3 - WEST END - WHITE BRIDGE)']
]
done()
catch err
done err
return
, 1000)
# hubot nextbus stops
it 'returns the list of nearby stops', (done) ->
selfRoom = @room
selfRoom.user.say('alice', '@hubot nextbus stops')
setTimeout(() ->
try
expect(selfRoom.messages).to.eql [
['alice', '@hubot nextbus stops']
['hubot', 'List of nearby stops:']
['hubot', '- 6AVCHUSN - 6TH AVE N & CHURCH ST SB / (Served by: #3 - WHITE BRIDGE, #5 - BELLEVUE, #7 - GREEN HILLS, #38 - ANTIOCH)']
['hubot', '- 7AVCHUSN - 7TH AVE N & CHURCH ST SB / (Served by: #1 - 100 OAKS MALL, #8 - 8TH AVE, LIPSCOMB)']
['hubot', '- 6AVCOMSN - 6TH AVE N & COMMERCE ST SB / (Served by: #3 - WHITE BRIDGE, #5 - BELLEVUE, #7 - GREEN HILLS)']
['hubot', '- 5AVCHUNN - 5TH AVE N & CHURCH ST NB / (Served by: #60 - BICENTENNIAL MALL,TSU, #61 - BICENTENNIAL MALL)']
['hubot', '- UNI6AWN - UNION ST & 6TH AVE N WB / (Served by: #33 - DOWNTOWN, #37 - DOWNTOWN, #37 - MCMURRAY)']
]
done()
catch err
done err
return
, 1000)
| true | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper('../src/nextbus.coffee')
describe 'hubot-nextbus', ->
beforeEach ->
nock.disableNetConnect()
nock('https://nextbus.jt2k.com')
.get('/api/findstop/0,0?key=PI:KEY:<KEY>END_PI')
.replyWithFile(200, __dirname + '/fixtures/findstop.json')
nock('https://nextbus.jt2k.com')
.get(/\/api\/stop\/(.*)\?key=foobarbaz$/)
.replyWithFile(200, __dirname + '/fixtures/stop.json')
afterEach ->
nock.cleanAll()
context 'regular tests', ->
beforeEach ->
process.env.HUBOT_NEXTBUS_API_KEY = 'PI:KEY:<KEY>END_PI'
process.env.HUBOT_NEXTBUS_LAT_LON = '0,0'
@room = helper.createRoom()
afterEach ->
@room.destroy()
delete process.env.HUBOT_NEXTBUS_API_KEY
delete process.env.HUBOT_NEXTBUS_LAT_LON
# hubot nextbus
it 'returns the next bus for closest stop', (done) ->
selfRoom = @room
selfRoom.user.say('alice', '@hubot nextbus')
setTimeout(() ->
try
expect(selfRoom.messages).to.eql [
['alice', '@hubot nextbus']
['hubot', 'Next outbound bus arrives to 6TH AVE N & CHURCH ST SB at 3:38:08 pm (#3 - WEST END - WHITE BRIDGE)']
]
done()
catch err
done err
return
, 1000)
# hubot nextbus stop <id>
it 'returns the next bus for a particular stop', (done) ->
selfRoom = @room
selfRoom.user.say('alice', '@hubot nextbus stop 6AVCHUSN')
setTimeout(() ->
try
expect(selfRoom.messages).to.eql [
['alice', '@hubot nextbus stop 6AVCHUSN']
['hubot', 'Next outbound bus arrives to 6TH AVE N & CHURCH ST SB at 3:38:08 pm (#3 - WEST END - WHITE BRIDGE)']
]
done()
catch err
done err
return
, 1000)
# hubot nextbus stops
it 'returns the list of nearby stops', (done) ->
selfRoom = @room
selfRoom.user.say('alice', '@hubot nextbus stops')
setTimeout(() ->
try
expect(selfRoom.messages).to.eql [
['alice', '@hubot nextbus stops']
['hubot', 'List of nearby stops:']
['hubot', '- 6AVCHUSN - 6TH AVE N & CHURCH ST SB / (Served by: #3 - WHITE BRIDGE, #5 - BELLEVUE, #7 - GREEN HILLS, #38 - ANTIOCH)']
['hubot', '- 7AVCHUSN - 7TH AVE N & CHURCH ST SB / (Served by: #1 - 100 OAKS MALL, #8 - 8TH AVE, LIPSCOMB)']
['hubot', '- 6AVCOMSN - 6TH AVE N & COMMERCE ST SB / (Served by: #3 - WHITE BRIDGE, #5 - BELLEVUE, #7 - GREEN HILLS)']
['hubot', '- 5AVCHUNN - 5TH AVE N & CHURCH ST NB / (Served by: #60 - BICENTENNIAL MALL,TSU, #61 - BICENTENNIAL MALL)']
['hubot', '- UNI6AWN - UNION ST & 6TH AVE N WB / (Served by: #33 - DOWNTOWN, #37 - DOWNTOWN, #37 - MCMURRAY)']
]
done()
catch err
done err
return
, 1000)
|
[
{
"context": " - show what is currently playing \n# \n# Author\n# walkah\n\nmodule.exports = (robot) ->\n robot.respond /ple",
"end": 375,
"score": 0.909448504447937,
"start": 369,
"tag": "NAME",
"value": "walkah"
}
] | src/plex.coffee | walkah/hubot-plex | 5 | # Description:
# Interaction with a plex media server
#
# Configuration
# HUBOT_PLEX_URL - URL to your plex media server (e.g. http://localhost:32400)
# HUBOT_PLEX_TOKEN - For remote access (X-Plex-Token value)
#
# Commands:
# hubot plex on deck - show all videos that are "on deck"
# hubot plex now playing - show what is currently playing
#
# Author
# walkah
module.exports = (robot) ->
robot.respond /plex on(\s+)?deck/i, (msg) ->
PlexAPI msg, 'library/onDeck', (data) ->
for video in data['_children']
# console.log video
if video['type'] == 'episode'
show =
s = String('00' + video['parentIndex']).slice(-2)
e = String('00' + video['index']).slice(-2)
msg.send "#{video['grandparentTitle']} - #{video['title']} (S#{s}E#{e})"
else if video['type'] == 'movie'
msg.send "#{video['title']} (#{video['year']})"
robot.respond /plex now(\s+)?playing/i, (msg) ->
PlexAPI msg, 'status/sessions', (data) ->
for video in data['_children']
for child in video['_children']
if child['_elementType'] == 'User'
user = child
else if child['_elementType'] == 'Player'
player = child
msg.send "#{video['title']} by #{user['title']} on #{player['title']}"
PlexAPI = (msg, query, cb) ->
plex_url = process.env.HUBOT_PLEX_URL
msg.http("#{plex_url}/#{query}")
.headers(getHeaders())
.get() (err, res, body) ->
data = JSON.parse(body)
cb data
getHeaders = ->
plex_token = process.env.HUBOT_PLEX_TOKEN
headers = 'Accept': "application/json"
if plex_token
headers["X-Plex-Token"] = plex_token
return headers
| 18129 | # Description:
# Interaction with a plex media server
#
# Configuration
# HUBOT_PLEX_URL - URL to your plex media server (e.g. http://localhost:32400)
# HUBOT_PLEX_TOKEN - For remote access (X-Plex-Token value)
#
# Commands:
# hubot plex on deck - show all videos that are "on deck"
# hubot plex now playing - show what is currently playing
#
# Author
# <NAME>
module.exports = (robot) ->
robot.respond /plex on(\s+)?deck/i, (msg) ->
PlexAPI msg, 'library/onDeck', (data) ->
for video in data['_children']
# console.log video
if video['type'] == 'episode'
show =
s = String('00' + video['parentIndex']).slice(-2)
e = String('00' + video['index']).slice(-2)
msg.send "#{video['grandparentTitle']} - #{video['title']} (S#{s}E#{e})"
else if video['type'] == 'movie'
msg.send "#{video['title']} (#{video['year']})"
robot.respond /plex now(\s+)?playing/i, (msg) ->
PlexAPI msg, 'status/sessions', (data) ->
for video in data['_children']
for child in video['_children']
if child['_elementType'] == 'User'
user = child
else if child['_elementType'] == 'Player'
player = child
msg.send "#{video['title']} by #{user['title']} on #{player['title']}"
PlexAPI = (msg, query, cb) ->
plex_url = process.env.HUBOT_PLEX_URL
msg.http("#{plex_url}/#{query}")
.headers(getHeaders())
.get() (err, res, body) ->
data = JSON.parse(body)
cb data
getHeaders = ->
plex_token = process.env.HUBOT_PLEX_TOKEN
headers = 'Accept': "application/json"
if plex_token
headers["X-Plex-Token"] = plex_token
return headers
| true | # Description:
# Interaction with a plex media server
#
# Configuration
# HUBOT_PLEX_URL - URL to your plex media server (e.g. http://localhost:32400)
# HUBOT_PLEX_TOKEN - For remote access (X-Plex-Token value)
#
# Commands:
# hubot plex on deck - show all videos that are "on deck"
# hubot plex now playing - show what is currently playing
#
# Author
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.respond /plex on(\s+)?deck/i, (msg) ->
PlexAPI msg, 'library/onDeck', (data) ->
for video in data['_children']
# console.log video
if video['type'] == 'episode'
show =
s = String('00' + video['parentIndex']).slice(-2)
e = String('00' + video['index']).slice(-2)
msg.send "#{video['grandparentTitle']} - #{video['title']} (S#{s}E#{e})"
else if video['type'] == 'movie'
msg.send "#{video['title']} (#{video['year']})"
robot.respond /plex now(\s+)?playing/i, (msg) ->
PlexAPI msg, 'status/sessions', (data) ->
for video in data['_children']
for child in video['_children']
if child['_elementType'] == 'User'
user = child
else if child['_elementType'] == 'Player'
player = child
msg.send "#{video['title']} by #{user['title']} on #{player['title']}"
PlexAPI = (msg, query, cb) ->
plex_url = process.env.HUBOT_PLEX_URL
msg.http("#{plex_url}/#{query}")
.headers(getHeaders())
.get() (err, res, body) ->
data = JSON.parse(body)
cb data
getHeaders = ->
plex_token = process.env.HUBOT_PLEX_TOKEN
headers = 'Accept': "application/json"
if plex_token
headers["X-Plex-Token"] = plex_token
return headers
|
[
{
"context": "ll('email', ARENA_EMAIL)\n .fill('password', ARENA_PASSWORD)\n .pressButton \"Login\", ->\n done(",
"end": 480,
"score": 0.828974187374115,
"start": 466,
"tag": "PASSWORD",
"value": "ARENA_PASSWORD"
},
{
"context": "(done) ->\n model = new Ba... | test/index.coffee | arenahq/arena-passport | 0 | Backbone = require 'backbone'
Browser = require 'zombie'
rewire = require 'rewire'
app = require '../example'
sinon = require 'sinon'
{ ARENA_EMAIL, ARENA_PASSWORD } = require '../config'
describe 'Arena Passport integration', ->
before (done) ->
app.listen 5000, done
it 'can log in with email and password', (done) ->
Browser.visit 'http://localhost:4000', (e, browser) ->
browser
.fill('email', ARENA_EMAIL)
.fill('password', ARENA_PASSWORD)
.pressButton "Login", ->
done()
describe 'Arena Passport methods', ->
before ->
@arenaPassport = rewire '../index.coffee'
describe '#serializeUser', ->
before ->
@serializeUser = @arenaPassport.__get__ 'serializeUser'
it 'only stores select data in the session', (done) ->
model = new Backbone.Model({ id: 'craig', foo: 'baz', bam: 'bop' })
model.fetch = (opts) -> opts.success()
@serializeUser model, (err, user) ->
(user.foo?).should.not.be.ok
(user.bam?).should.not.be.ok
done()
describe '#afterLocalAuth', ->
beforeEach ->
opts = @arenaPassport.__get__ 'opts'
@afterLocalAuth = @arenaPassport.__get__ 'afterLocalAuth'
@req = { query: {}, user: { get: -> 'access-foo-token' } }
@res = { send: sinon.stub(), body: {nothing: 'something', toJSON: -> }}
@next = sinon.stub()
it 'throws a 403 if there is an auth error', ->
@res.authError = 'foobar'
@afterLocalAuth @req, @res
@res.send.args[0][0].should.equal 403
it 'returns json success for ajax calls', ->
@req.xhr = true
@req.accepts = -> true
@req.user = { toJSON: -> }
@afterLocalAuth @req, @res
@res.send.args[0][0].success.should.be.ok
describe '#headerLogin', ->
beforeEach ->
opts = @arenaPassport.__get__ 'opts'
opts.CurrentUser = Backbone.Model
@headerLogin = @arenaPassport.__get__ 'headerLogin'
@req = { query: {}, get: (-> 'access-foo-token'), login: sinon.stub() }
@res = { send: sinon.stub() }
@next = sinon.stub()
it 'logs in a user if they pass their access token as a header', ->
@headerLogin @req, @res, @next
@req.login.args[0][0].get('accessToken').should.equal 'access-foo-token' | 73133 | Backbone = require 'backbone'
Browser = require 'zombie'
rewire = require 'rewire'
app = require '../example'
sinon = require 'sinon'
{ ARENA_EMAIL, ARENA_PASSWORD } = require '../config'
describe 'Arena Passport integration', ->
before (done) ->
app.listen 5000, done
it 'can log in with email and password', (done) ->
Browser.visit 'http://localhost:4000', (e, browser) ->
browser
.fill('email', ARENA_EMAIL)
.fill('password', <PASSWORD>)
.pressButton "Login", ->
done()
describe 'Arena Passport methods', ->
before ->
@arenaPassport = rewire '../index.coffee'
describe '#serializeUser', ->
before ->
@serializeUser = @arenaPassport.__get__ 'serializeUser'
it 'only stores select data in the session', (done) ->
model = new Backbone.Model({ id: '<NAME>', foo: 'baz', bam: 'bop' })
model.fetch = (opts) -> opts.success()
@serializeUser model, (err, user) ->
(user.foo?).should.not.be.ok
(user.bam?).should.not.be.ok
done()
describe '#afterLocalAuth', ->
beforeEach ->
opts = @arenaPassport.__get__ 'opts'
@afterLocalAuth = @arenaPassport.__get__ 'afterLocalAuth'
@req = { query: {}, user: { get: -> 'access-foo-token' } }
@res = { send: sinon.stub(), body: {nothing: 'something', toJSON: -> }}
@next = sinon.stub()
it 'throws a 403 if there is an auth error', ->
@res.authError = 'foobar'
@afterLocalAuth @req, @res
@res.send.args[0][0].should.equal 403
it 'returns json success for ajax calls', ->
@req.xhr = true
@req.accepts = -> true
@req.user = { toJSON: -> }
@afterLocalAuth @req, @res
@res.send.args[0][0].success.should.be.ok
describe '#headerLogin', ->
beforeEach ->
opts = @arenaPassport.__get__ 'opts'
opts.CurrentUser = Backbone.Model
@headerLogin = @arenaPassport.__get__ 'headerLogin'
@req = { query: {}, get: (-> 'access-foo-token'), login: sinon.stub() }
@res = { send: sinon.stub() }
@next = sinon.stub()
it 'logs in a user if they pass their access token as a header', ->
@headerLogin @req, @res, @next
@req.login.args[0][0].get('accessToken').should.equal 'access-foo-token' | true | Backbone = require 'backbone'
Browser = require 'zombie'
rewire = require 'rewire'
app = require '../example'
sinon = require 'sinon'
{ ARENA_EMAIL, ARENA_PASSWORD } = require '../config'
describe 'Arena Passport integration', ->
before (done) ->
app.listen 5000, done
it 'can log in with email and password', (done) ->
Browser.visit 'http://localhost:4000', (e, browser) ->
browser
.fill('email', ARENA_EMAIL)
.fill('password', PI:PASSWORD:<PASSWORD>END_PI)
.pressButton "Login", ->
done()
describe 'Arena Passport methods', ->
before ->
@arenaPassport = rewire '../index.coffee'
describe '#serializeUser', ->
before ->
@serializeUser = @arenaPassport.__get__ 'serializeUser'
it 'only stores select data in the session', (done) ->
model = new Backbone.Model({ id: 'PI:NAME:<NAME>END_PI', foo: 'baz', bam: 'bop' })
model.fetch = (opts) -> opts.success()
@serializeUser model, (err, user) ->
(user.foo?).should.not.be.ok
(user.bam?).should.not.be.ok
done()
describe '#afterLocalAuth', ->
beforeEach ->
opts = @arenaPassport.__get__ 'opts'
@afterLocalAuth = @arenaPassport.__get__ 'afterLocalAuth'
@req = { query: {}, user: { get: -> 'access-foo-token' } }
@res = { send: sinon.stub(), body: {nothing: 'something', toJSON: -> }}
@next = sinon.stub()
it 'throws a 403 if there is an auth error', ->
@res.authError = 'foobar'
@afterLocalAuth @req, @res
@res.send.args[0][0].should.equal 403
it 'returns json success for ajax calls', ->
@req.xhr = true
@req.accepts = -> true
@req.user = { toJSON: -> }
@afterLocalAuth @req, @res
@res.send.args[0][0].success.should.be.ok
describe '#headerLogin', ->
beforeEach ->
opts = @arenaPassport.__get__ 'opts'
opts.CurrentUser = Backbone.Model
@headerLogin = @arenaPassport.__get__ 'headerLogin'
@req = { query: {}, get: (-> 'access-foo-token'), login: sinon.stub() }
@res = { send: sinon.stub() }
@next = sinon.stub()
it 'logs in a user if they pass their access token as a header', ->
@headerLogin @req, @res, @next
@req.login.args[0][0].get('accessToken').should.equal 'access-foo-token' |
[
{
"context": " there it is me'\n comments: [\n name: 'John'\n text: 'That rules'\n ,\n name:",
"end": 509,
"score": 0.9997951984405518,
"start": 505,
"tag": "NAME",
"value": "John"
},
{
"context": " text: 'That rules'\n ,\n name: 'Arn... | spec/configSpec.coffee | Tol1/transparency | 405 | describe "Transparency", ->
it "should use a custom matcher if available", ->
template = $ """
<div class="container">
<h1 data-bind="title"></h1>
<p class="post"></p>
<div data-bind="comments">
<div class="comment">
<span class="name"></span>
<span data-bind="text"></span>
</div>
</div>
</div>
"""
data =
title: 'Hello World'
post: 'Hi there it is me'
comments: [
name: 'John'
text: 'That rules'
,
name: 'Arnold'
text: 'Great post!'
]
data_bind_matcher = (element, key) ->
element.el.getAttribute('data-bind') == key
expected_with_custom_matcher = $ """
<div class="container">
<h1 data-bind="title">Hello World</h1>
<p class="post"></p>
<div data-bind="comments">
<div class="comment">
<span class="name"></span>
<span data-bind="text">That rules</span>
</div>
<div class="comment">
<span class="name"></span>
<span data-bind="text">Great post!</span>
</div>
</div>
</div>
"""
default_matcher = window.Transparency.matcher
window.Transparency.matcher = data_bind_matcher
template.render data
expect(template).toBeEqual expected_with_custom_matcher
window.Transparency.matcher = default_matcher
| 202197 | describe "Transparency", ->
it "should use a custom matcher if available", ->
template = $ """
<div class="container">
<h1 data-bind="title"></h1>
<p class="post"></p>
<div data-bind="comments">
<div class="comment">
<span class="name"></span>
<span data-bind="text"></span>
</div>
</div>
</div>
"""
data =
title: 'Hello World'
post: 'Hi there it is me'
comments: [
name: '<NAME>'
text: 'That rules'
,
name: '<NAME>'
text: 'Great post!'
]
data_bind_matcher = (element, key) ->
element.el.getAttribute('data-bind') == key
expected_with_custom_matcher = $ """
<div class="container">
<h1 data-bind="title">Hello World</h1>
<p class="post"></p>
<div data-bind="comments">
<div class="comment">
<span class="name"></span>
<span data-bind="text">That rules</span>
</div>
<div class="comment">
<span class="name"></span>
<span data-bind="text">Great post!</span>
</div>
</div>
</div>
"""
default_matcher = window.Transparency.matcher
window.Transparency.matcher = data_bind_matcher
template.render data
expect(template).toBeEqual expected_with_custom_matcher
window.Transparency.matcher = default_matcher
| true | describe "Transparency", ->
it "should use a custom matcher if available", ->
template = $ """
<div class="container">
<h1 data-bind="title"></h1>
<p class="post"></p>
<div data-bind="comments">
<div class="comment">
<span class="name"></span>
<span data-bind="text"></span>
</div>
</div>
</div>
"""
data =
title: 'Hello World'
post: 'Hi there it is me'
comments: [
name: 'PI:NAME:<NAME>END_PI'
text: 'That rules'
,
name: 'PI:NAME:<NAME>END_PI'
text: 'Great post!'
]
data_bind_matcher = (element, key) ->
element.el.getAttribute('data-bind') == key
expected_with_custom_matcher = $ """
<div class="container">
<h1 data-bind="title">Hello World</h1>
<p class="post"></p>
<div data-bind="comments">
<div class="comment">
<span class="name"></span>
<span data-bind="text">That rules</span>
</div>
<div class="comment">
<span class="name"></span>
<span data-bind="text">Great post!</span>
</div>
</div>
</div>
"""
default_matcher = window.Transparency.matcher
window.Transparency.matcher = data_bind_matcher
template.render data
expect(template).toBeEqual expected_with_custom_matcher
window.Transparency.matcher = default_matcher
|
[
{
"context": "l\n\n beforeEach ->\n options =\n value : 'Fatih Acet'\n name : 'name'\n\n textarea = new spark.",
"end": 283,
"score": 0.994917631149292,
"start": 273,
"tag": "NAME",
"value": "Fatih Acet"
},
{
"context": " ->\n expect(textarea.getElement().valu... | src/tests/components/textarea/test_textarea.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.components.Textarea'
goog.require 'spark.components.Field'
goog.require 'goog.ui.Textarea'
describe 'spark.components.Textarea', ->
textarea = null
options = null
beforeEach ->
options =
value : 'Fatih Acet'
name : 'name'
textarea = new spark.components.Textarea options
it 'should extends spark.components.Field', ->
expect(textarea instanceof spark.components.Field).toBeTruthy()
it 'should have initial value passed from options', ->
expect(textarea.getElement().value).toBe 'Fatih Acet'
it 'should has default options', ->
textarea = new spark.components.Textarea null
options = textarea.getOptions()
expect(options.tagName).toBe 'textarea'
expect(options.type).toBe 'text'
it 'should has textarea as tag name', ->
expect(textarea.getElement().tagName).toBe 'TEXTAREA'
it 'should be resized after setting a new content', ->
textarea.appendToDocumentBody()
height = textarea.getElement().offsetHeight
expect(height).toBeLessThan 40
textarea.setValue 'a\nb\nc\nd\ne\nf\ng\nh\n'
expect(textarea.getElement().offsetHeight).not.toBe height
| 2880 | goog = goog or goog = require: ->
goog.require 'spark.components.Textarea'
goog.require 'spark.components.Field'
goog.require 'goog.ui.Textarea'
describe 'spark.components.Textarea', ->
textarea = null
options = null
beforeEach ->
options =
value : '<NAME>'
name : 'name'
textarea = new spark.components.Textarea options
it 'should extends spark.components.Field', ->
expect(textarea instanceof spark.components.Field).toBeTruthy()
it 'should have initial value passed from options', ->
expect(textarea.getElement().value).toBe '<NAME>'
it 'should has default options', ->
textarea = new spark.components.Textarea null
options = textarea.getOptions()
expect(options.tagName).toBe 'textarea'
expect(options.type).toBe 'text'
it 'should has textarea as tag name', ->
expect(textarea.getElement().tagName).toBe 'TEXTAREA'
it 'should be resized after setting a new content', ->
textarea.appendToDocumentBody()
height = textarea.getElement().offsetHeight
expect(height).toBeLessThan 40
textarea.setValue 'a\nb\nc\nd\ne\nf\ng\nh\n'
expect(textarea.getElement().offsetHeight).not.toBe height
| true | goog = goog or goog = require: ->
goog.require 'spark.components.Textarea'
goog.require 'spark.components.Field'
goog.require 'goog.ui.Textarea'
describe 'spark.components.Textarea', ->
textarea = null
options = null
beforeEach ->
options =
value : 'PI:NAME:<NAME>END_PI'
name : 'name'
textarea = new spark.components.Textarea options
it 'should extends spark.components.Field', ->
expect(textarea instanceof spark.components.Field).toBeTruthy()
it 'should have initial value passed from options', ->
expect(textarea.getElement().value).toBe 'PI:NAME:<NAME>END_PI'
it 'should has default options', ->
textarea = new spark.components.Textarea null
options = textarea.getOptions()
expect(options.tagName).toBe 'textarea'
expect(options.type).toBe 'text'
it 'should has textarea as tag name', ->
expect(textarea.getElement().tagName).toBe 'TEXTAREA'
it 'should be resized after setting a new content', ->
textarea.appendToDocumentBody()
height = textarea.getElement().offsetHeight
expect(height).toBeLessThan 40
textarea.setValue 'a\nb\nc\nd\ne\nf\ng\nh\n'
expect(textarea.getElement().offsetHeight).not.toBe height
|
[
{
"context": "the center of a black hole?\",\n \"options\": [\n \"Carl Sagan’s playing bocce ball with Galileo\",\n \"2-for-1 ",
"end": 440,
"score": 0.9993526339530945,
"start": 430,
"tag": "NAME",
"value": "Carl Sagan"
},
{
"context": "le on vacuums (Oreck XL)\"\n \"Matte... | app/lib/questions.coffee | AdlerPlanetarium/live-pi-chart | 2 | module.exports = [{
"title": "Our Expanding Universe",
"slug": "expanding_universe",
"question": "Why is the universe expanding?",
"options": [
"Ate way too much on Taco Tuesday",
"Dark energy",
"Because it's a pack rat",
"Manifest Destiny"
]
}, {
"title": "A Very Very Dark Hole...",
"slug": "black_holes",
"question": "What’s really happening at the center of a black hole?",
"options": [
"Carl Sagan’s playing bocce ball with Galileo",
"2-for-1 sale on vacuums (Oreck XL)"
"Matter orgy",
"Donald Trump’s hair is fighting itself"
]
}, {
"title": "Opposite of Light Matter",
"slug": "dark_matters",
"question": "Why is dark matter so dark?",
"options": [
"Overslept in the tanning bed",
"Refuses to turn on nightlight",
"Troubled childhood (not unlike Batman)",
"It’s not dark — it’s just pensive"
]
}]
| 19772 | module.exports = [{
"title": "Our Expanding Universe",
"slug": "expanding_universe",
"question": "Why is the universe expanding?",
"options": [
"Ate way too much on Taco Tuesday",
"Dark energy",
"Because it's a pack rat",
"Manifest Destiny"
]
}, {
"title": "A Very Very Dark Hole...",
"slug": "black_holes",
"question": "What’s really happening at the center of a black hole?",
"options": [
"<NAME>’s playing bocce ball with Galileo",
"2-for-1 sale on vacuums (Oreck XL)"
"Matter orgy",
"<NAME>’s hair is fighting itself"
]
}, {
"title": "Opposite of Light Matter",
"slug": "dark_matters",
"question": "Why is dark matter so dark?",
"options": [
"Overslept in the tanning bed",
"Refuses to turn on nightlight",
"Troubled childhood (not unlike Batman)",
"It’s not dark — it’s just pensive"
]
}]
| true | module.exports = [{
"title": "Our Expanding Universe",
"slug": "expanding_universe",
"question": "Why is the universe expanding?",
"options": [
"Ate way too much on Taco Tuesday",
"Dark energy",
"Because it's a pack rat",
"Manifest Destiny"
]
}, {
"title": "A Very Very Dark Hole...",
"slug": "black_holes",
"question": "What’s really happening at the center of a black hole?",
"options": [
"PI:NAME:<NAME>END_PI’s playing bocce ball with Galileo",
"2-for-1 sale on vacuums (Oreck XL)"
"Matter orgy",
"PI:NAME:<NAME>END_PI’s hair is fighting itself"
]
}, {
"title": "Opposite of Light Matter",
"slug": "dark_matters",
"question": "Why is dark matter so dark?",
"options": [
"Overslept in the tanning bed",
"Refuses to turn on nightlight",
"Troubled childhood (not unlike Batman)",
"It’s not dark — it’s just pensive"
]
}]
|
[
{
"context": ".equal {\n uuid: 'uuid'\n token: 'token'\n type: 'device:generic'\n }\n",
"end": 2041,
"score": 0.9000353217124939,
"start": 2036,
"tag": "KEY",
"value": "token"
}
] | test/register-spec.coffee | octoblu/node-meshblu-xmpp | 1 | _ = require 'lodash'
async = require 'async'
xmpp = require 'node-xmpp-server'
MeshbluXMPP = require '../'
describe 'Register', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'connection', (@client) =>
@client.on 'authenticate', (opts, callback) =>
callback(null, opts)
@server.on 'listening', done
afterEach (done) ->
@server.end done
describe 'with an active connection', ->
beforeEach (done) ->
@sut = new MeshbluXMPP uuid: 'uuid', token: 'token', hostname: 'localhost', port: 5222
@sut.connect done
afterEach 'close client', ->
@sut.close()
describe 'when register is called', ->
beforeEach (done) ->
@client.on 'stanza', (@request) =>
@rawData = JSON.parse(@request.getChild('request').getChild('rawData').getText())
@device = {
uuid: 'uuid'
token: 'token'
}
@deviceJson = _.merge @device, @rawData
@client.send new xmpp.Stanza('iq',
type: 'result'
to: @request.attrs.from
from: @request.attrs.to
id: @request.attrs.id
).c('response').c('rawData').t JSON.stringify(@deviceJson)
@opts = {
type: 'device:generic'
}
@sut.register @opts, (error, @response) => done error
it 'should send a stanza to the server', ->
expect(@request).to.exist
expect(@request.toJSON()).to.containSubset
name: 'iq'
attrs:
to: 'localhost'
type: 'set'
children: [{
name: 'request'
children: [{
name: 'metadata'
children: [{
name: 'jobType'
children: ['RegisterDevice']
}]
}]
}]
it 'should return a device', ->
expect(@response).to.exist
expect(@response).to.deep.equal {
uuid: 'uuid'
token: 'token'
type: 'device:generic'
}
| 79194 | _ = require 'lodash'
async = require 'async'
xmpp = require 'node-xmpp-server'
MeshbluXMPP = require '../'
describe 'Register', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'connection', (@client) =>
@client.on 'authenticate', (opts, callback) =>
callback(null, opts)
@server.on 'listening', done
afterEach (done) ->
@server.end done
describe 'with an active connection', ->
beforeEach (done) ->
@sut = new MeshbluXMPP uuid: 'uuid', token: 'token', hostname: 'localhost', port: 5222
@sut.connect done
afterEach 'close client', ->
@sut.close()
describe 'when register is called', ->
beforeEach (done) ->
@client.on 'stanza', (@request) =>
@rawData = JSON.parse(@request.getChild('request').getChild('rawData').getText())
@device = {
uuid: 'uuid'
token: 'token'
}
@deviceJson = _.merge @device, @rawData
@client.send new xmpp.Stanza('iq',
type: 'result'
to: @request.attrs.from
from: @request.attrs.to
id: @request.attrs.id
).c('response').c('rawData').t JSON.stringify(@deviceJson)
@opts = {
type: 'device:generic'
}
@sut.register @opts, (error, @response) => done error
it 'should send a stanza to the server', ->
expect(@request).to.exist
expect(@request.toJSON()).to.containSubset
name: 'iq'
attrs:
to: 'localhost'
type: 'set'
children: [{
name: 'request'
children: [{
name: 'metadata'
children: [{
name: 'jobType'
children: ['RegisterDevice']
}]
}]
}]
it 'should return a device', ->
expect(@response).to.exist
expect(@response).to.deep.equal {
uuid: 'uuid'
token: '<KEY>'
type: 'device:generic'
}
| true | _ = require 'lodash'
async = require 'async'
xmpp = require 'node-xmpp-server'
MeshbluXMPP = require '../'
describe 'Register', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'connection', (@client) =>
@client.on 'authenticate', (opts, callback) =>
callback(null, opts)
@server.on 'listening', done
afterEach (done) ->
@server.end done
describe 'with an active connection', ->
beforeEach (done) ->
@sut = new MeshbluXMPP uuid: 'uuid', token: 'token', hostname: 'localhost', port: 5222
@sut.connect done
afterEach 'close client', ->
@sut.close()
describe 'when register is called', ->
beforeEach (done) ->
@client.on 'stanza', (@request) =>
@rawData = JSON.parse(@request.getChild('request').getChild('rawData').getText())
@device = {
uuid: 'uuid'
token: 'token'
}
@deviceJson = _.merge @device, @rawData
@client.send new xmpp.Stanza('iq',
type: 'result'
to: @request.attrs.from
from: @request.attrs.to
id: @request.attrs.id
).c('response').c('rawData').t JSON.stringify(@deviceJson)
@opts = {
type: 'device:generic'
}
@sut.register @opts, (error, @response) => done error
it 'should send a stanza to the server', ->
expect(@request).to.exist
expect(@request.toJSON()).to.containSubset
name: 'iq'
attrs:
to: 'localhost'
type: 'set'
children: [{
name: 'request'
children: [{
name: 'metadata'
children: [{
name: 'jobType'
children: ['RegisterDevice']
}]
}]
}]
it 'should return a device', ->
expect(@response).to.exist
expect(@response).to.deep.equal {
uuid: 'uuid'
token: 'PI:KEY:<KEY>END_PI'
type: 'device:generic'
}
|
[
{
"context": "('#rebel-builder', [\n {\n ship: 'X-Wing'\n pilot: 'Rookie Pilot'\n up",
"end": 235,
"score": 0.7852712869644165,
"start": 229,
"tag": "NAME",
"value": "X-Wing"
},
{
"context": " ]\n }\n {\n ship: '... | tests/test_lists.coffee | CrazyVulcan/xwing | 100 | common = require './common'
common.setup()
casper.test.begin "Build from rebel list specification", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'X-Wing'
pilot: 'Rookie Pilot'
upgrades: [
null
'R2 Astromech'
null
]
}
{
ship: 'A-Wing'
pilot: 'Prototype Pilot'
upgrades: [
'Concussion Missiles'
null
]
}
])
common.assertTotalPoints(test, '#rebel-builder', 43)
.run ->
test.done()
casper.test.begin "Build from empire list specification", (test) ->
common.waitForStartup('#rebel-builder')
common.openEmpireBuilder()
common.createList('#empire-builder', [
{
ship: 'TIE Fighter'
pilot: 'Academy Pilot'
upgrades: [
null
]
}
{
ship: 'Firespray-31'
pilot: 'Bounty Hunter'
upgrades: [
'Heavy Laser Cannon'
null
'Saboteur'
null
null
null
]
}
])
common.assertTotalPoints(test, '#empire-builder', 54)
.run ->
test.done()
| 168911 | common = require './common'
common.setup()
casper.test.begin "Build from rebel list specification", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: '<NAME>'
pilot: 'Rookie Pilot'
upgrades: [
null
'R2 Astromech'
null
]
}
{
ship: 'A-<NAME>ing'
pilot: 'Prototype Pilot'
upgrades: [
'Concussion Missiles'
null
]
}
])
common.assertTotalPoints(test, '#rebel-builder', 43)
.run ->
test.done()
casper.test.begin "Build from empire list specification", (test) ->
common.waitForStartup('#rebel-builder')
common.openEmpireBuilder()
common.createList('#empire-builder', [
{
ship: 'TIE Fighter'
pilot: 'Academy Pilot'
upgrades: [
null
]
}
{
ship: 'Firespray-31'
pilot: 'Bounty Hunter'
upgrades: [
'Heavy Laser Cannon'
null
'Saboteur'
null
null
null
]
}
])
common.assertTotalPoints(test, '#empire-builder', 54)
.run ->
test.done()
| true | common = require './common'
common.setup()
casper.test.begin "Build from rebel list specification", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'PI:NAME:<NAME>END_PI'
pilot: 'Rookie Pilot'
upgrades: [
null
'R2 Astromech'
null
]
}
{
ship: 'A-PI:NAME:<NAME>END_PIing'
pilot: 'Prototype Pilot'
upgrades: [
'Concussion Missiles'
null
]
}
])
common.assertTotalPoints(test, '#rebel-builder', 43)
.run ->
test.done()
casper.test.begin "Build from empire list specification", (test) ->
common.waitForStartup('#rebel-builder')
common.openEmpireBuilder()
common.createList('#empire-builder', [
{
ship: 'TIE Fighter'
pilot: 'Academy Pilot'
upgrades: [
null
]
}
{
ship: 'Firespray-31'
pilot: 'Bounty Hunter'
upgrades: [
'Heavy Laser Cannon'
null
'Saboteur'
null
null
null
]
}
])
common.assertTotalPoints(test, '#empire-builder', 54)
.run ->
test.done()
|
[
{
"context": "eforeEach ->\n bench = new Benchmark\n key = 'master'\n target = new WrapMe()\n targetLyric = Wrap",
"end": 892,
"score": 0.9957023859024048,
"start": 886,
"tag": "KEY",
"value": "master"
}
] | spec/benchmark-spec.coffee | ibykow/stargame | 0 | Config = require '../coffee/config'
Util = require '../coffee/Util'
Benchmark = require '../coffee/benchmark'
WrapMe = require './fixtures/wrapme'
describe 'Benchmark', ->
[bench, key, originals, target, targetLyric] = []
f = (x = 1) -> (n for n in [x..x + 10000]).reduce (a, b) -> a + b
checksum = f()
testWrapper = ->
wrappers = target._benchmarkFunctions
expect(wrappers.callme).toBe originals.callme
expect(wrappers.maybe).toBe originals.maybe
expect(wrappers.definitely).not.toBeDefined()
expect(target.callme).not.toBe originals.callme
expect(target.maybe).not.toBe originals.maybe
expect(target.definitely).not.toBeDefined()
expect(target.callme(target)).toBe 'passed'
expect(target.maybe(target, targetLyric)).toBe 'passed'
expect(bench.getResult 'maybe').toBeDefined()
beforeEach ->
bench = new Benchmark
key = 'master'
target = new WrapMe()
targetLyric = WrapMe.reason
originals =
callme: target.callme
maybe: target.maybe
describe '.new', ->
it 'should create a new benchmark tool', ->
expect(bench).toBeDefined()
expect(bench.stats[key]).not.toBeDefined()
if process?.hrtime then source = 'process.hrtime'
else if window?.performance?.now then source = 'window.performance.now'
else source = 'Date.now()'
expect(bench.source).toBe source
it 'should wrap all named functions of a provided target', ->
bench = new Benchmark target
testWrapper()
describe '.start', ->
it 'should start running the timer', ->
t = Date.now()
bench.start()
stat = bench.stats[key]
expect(stat).toBeDefined()
expect(stat.result.start.time - t).toBeLessThan 2
it "shouldn't interrupt once started", ->
bench.start()
stat = bench.stats[key]
expect(stat).toBeDefined()
f()
source = stat.result.start.source
interruptionReference = bench.ttime()
error = bench.start()
expect(error).toBeDefined()
expect(error.constructor).toBe Error
expect(error.message).toBe "Benchmark: '" + key + "' is already running."
expect(stat.running).toBe true
expect(stat.result.start.source).toEqual source
f()
bench.stop()
diff = bench.tdiff interruptionReference, stat.result.stop.source
expect(stat.result.delta).toBeGreaterThan diff
describe '.stop', ->
it 'should stop the timer and return the delta', ->
bench.start()
stat = bench.stats[key]
expect(stat).toBeDefined()
f()
delta = bench.stop key
expect(stat.running).toBe false
expect(stat.result).toBeDefined()
expect(stat.result.delta).toBe delta
expect(delta).toBeGreaterThan 0
describe '.bench', ->
it 'should benchmark a particular function', ->
reference = 0
stat = bench.stats[key]
expect(stat).not.toBeDefined()
bench.bench ->
stat = bench.stats[key]
expect(stat).toBeDefined()
expect(stat.running).toBe true
reference = f()
expect(stat.running).toBe false
expect(reference).toEqual checksum
describe '._log', ->
it 'should print out some stuff to the console', ->
expect(bench._log_type).toBeDefined()
expect(bench._log).toBeDefined()
expect(bench._info).toBeDefined()
expect(bench._warn).toBeDefined()
expect(bench._fail).toBeDefined()
console.log 'The next four console messages should be Benchmark ' +
'messages including two INFOs, and a WARNNING. These are normal ' +
'and are being expected. Please ignore them.'
bench._log 'Hello, World!'
bench._info()
bench._info 'Pong'
bench._warn "This will be your first and last."
expect(bench._fail "Ya dun goof'd!").toBeDefined()
describe '.wrap', ->
it "should wrap a target's functions with calls to @mark", ->
expect(target._benchmarkFunctions).not.toBeDefined()
console.log 'The next console message should read ' +
'"Benchmark WARNING"... This is normal and is being expected. ' +
'Please ignore it.'
bench.wrap target, ['callme', 'maybe', 'definitely']
testWrapper()
it 'should benchmark a benchmark', ->
bench.wrap target
testBench = new Benchmark bench
target.callme() for [1..1000]
console.log 'testBench:', testBench, target
describe '.unwrap', ->
it "should unwrap all the target's functions", ->
bench.wrap target
testWrapper()
bench.unwrap target
expect(target._benchmarkFunctions).not.toBeDefined()
expect(target.callme).toBe originals.callme
expect(target.maybe).toBe originals.maybe
expect(target.callme(target)).toBe 'passed'
expect(target.maybe(target, targetLyric)).toBe 'passed'
| 202140 | Config = require '../coffee/config'
Util = require '../coffee/Util'
Benchmark = require '../coffee/benchmark'
WrapMe = require './fixtures/wrapme'
describe 'Benchmark', ->
[bench, key, originals, target, targetLyric] = []
f = (x = 1) -> (n for n in [x..x + 10000]).reduce (a, b) -> a + b
checksum = f()
testWrapper = ->
wrappers = target._benchmarkFunctions
expect(wrappers.callme).toBe originals.callme
expect(wrappers.maybe).toBe originals.maybe
expect(wrappers.definitely).not.toBeDefined()
expect(target.callme).not.toBe originals.callme
expect(target.maybe).not.toBe originals.maybe
expect(target.definitely).not.toBeDefined()
expect(target.callme(target)).toBe 'passed'
expect(target.maybe(target, targetLyric)).toBe 'passed'
expect(bench.getResult 'maybe').toBeDefined()
beforeEach ->
bench = new Benchmark
key = '<KEY>'
target = new WrapMe()
targetLyric = WrapMe.reason
originals =
callme: target.callme
maybe: target.maybe
describe '.new', ->
it 'should create a new benchmark tool', ->
expect(bench).toBeDefined()
expect(bench.stats[key]).not.toBeDefined()
if process?.hrtime then source = 'process.hrtime'
else if window?.performance?.now then source = 'window.performance.now'
else source = 'Date.now()'
expect(bench.source).toBe source
it 'should wrap all named functions of a provided target', ->
bench = new Benchmark target
testWrapper()
describe '.start', ->
it 'should start running the timer', ->
t = Date.now()
bench.start()
stat = bench.stats[key]
expect(stat).toBeDefined()
expect(stat.result.start.time - t).toBeLessThan 2
it "shouldn't interrupt once started", ->
bench.start()
stat = bench.stats[key]
expect(stat).toBeDefined()
f()
source = stat.result.start.source
interruptionReference = bench.ttime()
error = bench.start()
expect(error).toBeDefined()
expect(error.constructor).toBe Error
expect(error.message).toBe "Benchmark: '" + key + "' is already running."
expect(stat.running).toBe true
expect(stat.result.start.source).toEqual source
f()
bench.stop()
diff = bench.tdiff interruptionReference, stat.result.stop.source
expect(stat.result.delta).toBeGreaterThan diff
describe '.stop', ->
it 'should stop the timer and return the delta', ->
bench.start()
stat = bench.stats[key]
expect(stat).toBeDefined()
f()
delta = bench.stop key
expect(stat.running).toBe false
expect(stat.result).toBeDefined()
expect(stat.result.delta).toBe delta
expect(delta).toBeGreaterThan 0
describe '.bench', ->
it 'should benchmark a particular function', ->
reference = 0
stat = bench.stats[key]
expect(stat).not.toBeDefined()
bench.bench ->
stat = bench.stats[key]
expect(stat).toBeDefined()
expect(stat.running).toBe true
reference = f()
expect(stat.running).toBe false
expect(reference).toEqual checksum
describe '._log', ->
it 'should print out some stuff to the console', ->
expect(bench._log_type).toBeDefined()
expect(bench._log).toBeDefined()
expect(bench._info).toBeDefined()
expect(bench._warn).toBeDefined()
expect(bench._fail).toBeDefined()
console.log 'The next four console messages should be Benchmark ' +
'messages including two INFOs, and a WARNNING. These are normal ' +
'and are being expected. Please ignore them.'
bench._log 'Hello, World!'
bench._info()
bench._info 'Pong'
bench._warn "This will be your first and last."
expect(bench._fail "Ya dun goof'd!").toBeDefined()
describe '.wrap', ->
it "should wrap a target's functions with calls to @mark", ->
expect(target._benchmarkFunctions).not.toBeDefined()
console.log 'The next console message should read ' +
'"Benchmark WARNING"... This is normal and is being expected. ' +
'Please ignore it.'
bench.wrap target, ['callme', 'maybe', 'definitely']
testWrapper()
it 'should benchmark a benchmark', ->
bench.wrap target
testBench = new Benchmark bench
target.callme() for [1..1000]
console.log 'testBench:', testBench, target
describe '.unwrap', ->
it "should unwrap all the target's functions", ->
bench.wrap target
testWrapper()
bench.unwrap target
expect(target._benchmarkFunctions).not.toBeDefined()
expect(target.callme).toBe originals.callme
expect(target.maybe).toBe originals.maybe
expect(target.callme(target)).toBe 'passed'
expect(target.maybe(target, targetLyric)).toBe 'passed'
| true | Config = require '../coffee/config'
Util = require '../coffee/Util'
Benchmark = require '../coffee/benchmark'
WrapMe = require './fixtures/wrapme'
describe 'Benchmark', ->
[bench, key, originals, target, targetLyric] = []
f = (x = 1) -> (n for n in [x..x + 10000]).reduce (a, b) -> a + b
checksum = f()
testWrapper = ->
wrappers = target._benchmarkFunctions
expect(wrappers.callme).toBe originals.callme
expect(wrappers.maybe).toBe originals.maybe
expect(wrappers.definitely).not.toBeDefined()
expect(target.callme).not.toBe originals.callme
expect(target.maybe).not.toBe originals.maybe
expect(target.definitely).not.toBeDefined()
expect(target.callme(target)).toBe 'passed'
expect(target.maybe(target, targetLyric)).toBe 'passed'
expect(bench.getResult 'maybe').toBeDefined()
beforeEach ->
bench = new Benchmark
key = 'PI:KEY:<KEY>END_PI'
target = new WrapMe()
targetLyric = WrapMe.reason
originals =
callme: target.callme
maybe: target.maybe
describe '.new', ->
it 'should create a new benchmark tool', ->
expect(bench).toBeDefined()
expect(bench.stats[key]).not.toBeDefined()
if process?.hrtime then source = 'process.hrtime'
else if window?.performance?.now then source = 'window.performance.now'
else source = 'Date.now()'
expect(bench.source).toBe source
it 'should wrap all named functions of a provided target', ->
bench = new Benchmark target
testWrapper()
describe '.start', ->
it 'should start running the timer', ->
t = Date.now()
bench.start()
stat = bench.stats[key]
expect(stat).toBeDefined()
expect(stat.result.start.time - t).toBeLessThan 2
it "shouldn't interrupt once started", ->
bench.start()
stat = bench.stats[key]
expect(stat).toBeDefined()
f()
source = stat.result.start.source
interruptionReference = bench.ttime()
error = bench.start()
expect(error).toBeDefined()
expect(error.constructor).toBe Error
expect(error.message).toBe "Benchmark: '" + key + "' is already running."
expect(stat.running).toBe true
expect(stat.result.start.source).toEqual source
f()
bench.stop()
diff = bench.tdiff interruptionReference, stat.result.stop.source
expect(stat.result.delta).toBeGreaterThan diff
describe '.stop', ->
it 'should stop the timer and return the delta', ->
bench.start()
stat = bench.stats[key]
expect(stat).toBeDefined()
f()
delta = bench.stop key
expect(stat.running).toBe false
expect(stat.result).toBeDefined()
expect(stat.result.delta).toBe delta
expect(delta).toBeGreaterThan 0
describe '.bench', ->
it 'should benchmark a particular function', ->
reference = 0
stat = bench.stats[key]
expect(stat).not.toBeDefined()
bench.bench ->
stat = bench.stats[key]
expect(stat).toBeDefined()
expect(stat.running).toBe true
reference = f()
expect(stat.running).toBe false
expect(reference).toEqual checksum
describe '._log', ->
it 'should print out some stuff to the console', ->
expect(bench._log_type).toBeDefined()
expect(bench._log).toBeDefined()
expect(bench._info).toBeDefined()
expect(bench._warn).toBeDefined()
expect(bench._fail).toBeDefined()
console.log 'The next four console messages should be Benchmark ' +
'messages including two INFOs, and a WARNNING. These are normal ' +
'and are being expected. Please ignore them.'
bench._log 'Hello, World!'
bench._info()
bench._info 'Pong'
bench._warn "This will be your first and last."
expect(bench._fail "Ya dun goof'd!").toBeDefined()
describe '.wrap', ->
it "should wrap a target's functions with calls to @mark", ->
expect(target._benchmarkFunctions).not.toBeDefined()
console.log 'The next console message should read ' +
'"Benchmark WARNING"... This is normal and is being expected. ' +
'Please ignore it.'
bench.wrap target, ['callme', 'maybe', 'definitely']
testWrapper()
it 'should benchmark a benchmark', ->
bench.wrap target
testBench = new Benchmark bench
target.callme() for [1..1000]
console.log 'testBench:', testBench, target
describe '.unwrap', ->
it "should unwrap all the target's functions", ->
bench.wrap target
testWrapper()
bench.unwrap target
expect(target._benchmarkFunctions).not.toBeDefined()
expect(target.callme).toBe originals.callme
expect(target.maybe).toBe originals.maybe
expect(target.callme(target)).toBe 'passed'
expect(target.maybe(target, targetLyric)).toBe 'passed'
|
[
{
"context": " #{key}, sub-Keys #{_.keys(obj)}\"\n\t\t\t\t\tsubKeys = ( \"#{key}.#{subkey}\" for subkey in _.keys(obj) )\n\t\t\t\t\tlogger.debug \"Fo",
"end": 1646,
"score": 0.9378834366798401,
"start": 1628,
"tag": "KEY",
"value": "\"#{key}.#{subkey}\""
}
] | lib/src_modules/helpers/streams.coffee | tifroz/macxplore | 0 | through = require 'through'
_ = require 'underscore'
util = require 'util'
logger = console
valueForKeyPath = (obj, keyPath)->
kp = keyPath.split(".")
value = obj
for k in kp
value = value[k]
unless _.isObject value
break
logger.debug "valueForKeyPath, for #{keyPath}=#{value}"
return value
csvEscape = (any)->
if any is undefined or any is null
return any
else
keyPath = any.toString().split(".")
str = any.toString()
if str.indexOf("\"") >= 0
str.replace("\"", "\"\"")
if str.indexOf(",") >= 0 or str.indexOf("\n") >= 0 or str.indexOf("\"") >= 0
return "\"#{str}\""
else
return str
cursor2JsonArray = ->
first = true
write = (data)->
logger.debug util.format("cursor2JsonArray data: %j", data)
if first
first = false
@queue( "[\n" )
else
@queue(",\n")
@queue(util.format("%j", data))
end = (data)->
if first
@queue "[]"
else
@queue "\n]"
@queue null
stream = through( write, end )
return stream
# Will convert from {attr1: "value1", attr2: "value2", attr3: {sub1: "v1", sub2: "v2"}} to
#
# attr1, attr2, attr3.sub1, attr3.sub2
# value1, value2, v1, v2
jsonToCsv = ->
first = true
cols = []
write = (data)->
logger.debug util.format("jsonToCsv data: %j", data)
if first
first = false
cols = _.keys data
for index in [(cols.length-1)..0]
key = cols[index]
obj = data[key]
logger.debug util.format("For key #{key}, isObject #{_.isObject(obj)}, %j", obj)
if _.isObject obj# and not _.isFunction obj and not _.isArray obj
logger.debug "For key #{key}, sub-Keys #{_.keys(obj)}"
subKeys = ( "#{key}.#{subkey}" for subkey in _.keys(obj) )
logger.debug "For key #{key}, subKeys #{subKeys}"
cols.splice index, 1, subKeys
cols = _.flatten cols
logger.debug "json2Csv columns: #{cols}"
@queue( cols.join(",")+"\n" )
row = (csvEscape(valueForKeyPath(data, key)) for key in cols)
@queue( row.join(",")+"\n" )
end = (data)->
logger.debug util.format("jsonToCsv done")
@queue null
stream = through( write, end )
return stream
mr2FlatJson = ->
first = true
valueIsObject = false
write = (data)->
if first
first = false
valueIsObject = _.isObject data.value
if valueIsObject
result = _id: data._id
_.extend result, data.value
@queue result
else
@queue data
end = (data)->
@queue null
stream = through( write, end )
return stream
truncate = (max)->
count = 0
write = (data)->
count++
if count <= max
@queue data
end = (data)->
@queue null
stream = through( write, end )
return stream
module.exports =
json2Csv: jsonToCsv
mr2FlatJson: mr2FlatJson
cursor2JsonArray: cursor2JsonArray
truncate: truncate
| 62543 | through = require 'through'
_ = require 'underscore'
util = require 'util'
logger = console
valueForKeyPath = (obj, keyPath)->
kp = keyPath.split(".")
value = obj
for k in kp
value = value[k]
unless _.isObject value
break
logger.debug "valueForKeyPath, for #{keyPath}=#{value}"
return value
csvEscape = (any)->
if any is undefined or any is null
return any
else
keyPath = any.toString().split(".")
str = any.toString()
if str.indexOf("\"") >= 0
str.replace("\"", "\"\"")
if str.indexOf(",") >= 0 or str.indexOf("\n") >= 0 or str.indexOf("\"") >= 0
return "\"#{str}\""
else
return str
cursor2JsonArray = ->
first = true
write = (data)->
logger.debug util.format("cursor2JsonArray data: %j", data)
if first
first = false
@queue( "[\n" )
else
@queue(",\n")
@queue(util.format("%j", data))
end = (data)->
if first
@queue "[]"
else
@queue "\n]"
@queue null
stream = through( write, end )
return stream
# Will convert from {attr1: "value1", attr2: "value2", attr3: {sub1: "v1", sub2: "v2"}} to
#
# attr1, attr2, attr3.sub1, attr3.sub2
# value1, value2, v1, v2
jsonToCsv = ->
first = true
cols = []
write = (data)->
logger.debug util.format("jsonToCsv data: %j", data)
if first
first = false
cols = _.keys data
for index in [(cols.length-1)..0]
key = cols[index]
obj = data[key]
logger.debug util.format("For key #{key}, isObject #{_.isObject(obj)}, %j", obj)
if _.isObject obj# and not _.isFunction obj and not _.isArray obj
logger.debug "For key #{key}, sub-Keys #{_.keys(obj)}"
subKeys = ( <KEY> for subkey in _.keys(obj) )
logger.debug "For key #{key}, subKeys #{subKeys}"
cols.splice index, 1, subKeys
cols = _.flatten cols
logger.debug "json2Csv columns: #{cols}"
@queue( cols.join(",")+"\n" )
row = (csvEscape(valueForKeyPath(data, key)) for key in cols)
@queue( row.join(",")+"\n" )
end = (data)->
logger.debug util.format("jsonToCsv done")
@queue null
stream = through( write, end )
return stream
mr2FlatJson = ->
first = true
valueIsObject = false
write = (data)->
if first
first = false
valueIsObject = _.isObject data.value
if valueIsObject
result = _id: data._id
_.extend result, data.value
@queue result
else
@queue data
end = (data)->
@queue null
stream = through( write, end )
return stream
truncate = (max)->
count = 0
write = (data)->
count++
if count <= max
@queue data
end = (data)->
@queue null
stream = through( write, end )
return stream
module.exports =
json2Csv: jsonToCsv
mr2FlatJson: mr2FlatJson
cursor2JsonArray: cursor2JsonArray
truncate: truncate
| true | through = require 'through'
_ = require 'underscore'
util = require 'util'
logger = console
valueForKeyPath = (obj, keyPath)->
kp = keyPath.split(".")
value = obj
for k in kp
value = value[k]
unless _.isObject value
break
logger.debug "valueForKeyPath, for #{keyPath}=#{value}"
return value
csvEscape = (any)->
if any is undefined or any is null
return any
else
keyPath = any.toString().split(".")
str = any.toString()
if str.indexOf("\"") >= 0
str.replace("\"", "\"\"")
if str.indexOf(",") >= 0 or str.indexOf("\n") >= 0 or str.indexOf("\"") >= 0
return "\"#{str}\""
else
return str
cursor2JsonArray = ->
first = true
write = (data)->
logger.debug util.format("cursor2JsonArray data: %j", data)
if first
first = false
@queue( "[\n" )
else
@queue(",\n")
@queue(util.format("%j", data))
end = (data)->
if first
@queue "[]"
else
@queue "\n]"
@queue null
stream = through( write, end )
return stream
# Will convert from {attr1: "value1", attr2: "value2", attr3: {sub1: "v1", sub2: "v2"}} to
#
# attr1, attr2, attr3.sub1, attr3.sub2
# value1, value2, v1, v2
jsonToCsv = ->
first = true
cols = []
write = (data)->
logger.debug util.format("jsonToCsv data: %j", data)
if first
first = false
cols = _.keys data
for index in [(cols.length-1)..0]
key = cols[index]
obj = data[key]
logger.debug util.format("For key #{key}, isObject #{_.isObject(obj)}, %j", obj)
if _.isObject obj# and not _.isFunction obj and not _.isArray obj
logger.debug "For key #{key}, sub-Keys #{_.keys(obj)}"
subKeys = ( PI:KEY:<KEY>END_PI for subkey in _.keys(obj) )
logger.debug "For key #{key}, subKeys #{subKeys}"
cols.splice index, 1, subKeys
cols = _.flatten cols
logger.debug "json2Csv columns: #{cols}"
@queue( cols.join(",")+"\n" )
row = (csvEscape(valueForKeyPath(data, key)) for key in cols)
@queue( row.join(",")+"\n" )
end = (data)->
logger.debug util.format("jsonToCsv done")
@queue null
stream = through( write, end )
return stream
mr2FlatJson = ->
first = true
valueIsObject = false
write = (data)->
if first
first = false
valueIsObject = _.isObject data.value
if valueIsObject
result = _id: data._id
_.extend result, data.value
@queue result
else
@queue data
end = (data)->
@queue null
stream = through( write, end )
return stream
truncate = (max)->
count = 0
write = (data)->
count++
if count <= max
@queue data
end = (data)->
@queue null
stream = through( write, end )
return stream
module.exports =
json2Csv: jsonToCsv
mr2FlatJson: mr2FlatJson
cursor2JsonArray: cursor2JsonArray
truncate: truncate
|
[
{
"context": "ket\n constructor: (password) -> self.password = password\n onConnected: (cb) -> self.connected = cb\n ",
"end": 664,
"score": 0.9938688278198242,
"start": 656,
"tag": "PASSWORD",
"value": "password"
}
] | test/assets/Mocks.coffee | pahomovda/scissis-prototype1 | 1 | class MockPage
login: true
connecting: true
sum: true
password: ""
sumValues: ""
showLogin: -> @login = true
showConnecting: -> @connecting = true
showSum: -> @sum = true
hideLogin: -> @login = false
hideConnecting: -> @connecting = false
hideSum: -> @sum = false
onConnectClicked: (cb) -> @connectClicked = cb
onDisconnectClicked: (cb) -> @disconnectClicked = cb
onSubmitSum: (cb) -> @submitSum = cb
getPassword: -> @password
getSumValues: -> @sumValues
setSumResult: (result) -> @sumResult = result
class MockSumWebSocketFactory
self = undefined
class SumWebSocket
constructor: (password) -> self.password = password
onConnected: (cb) -> self.connected = cb
onClose: (cb) -> self.close = cb
disconnect: () -> self.disconnected = true
sum: (values) -> self.values = values
onResult: (cb) -> self.result = cb
MockSumWebSocket: () -> SumWebSocket
constructor: () ->
self = @
exports.MockPage = MockPage
exports.MockSumWebSocketFactory = MockSumWebSocketFactory | 5651 | class MockPage
login: true
connecting: true
sum: true
password: ""
sumValues: ""
showLogin: -> @login = true
showConnecting: -> @connecting = true
showSum: -> @sum = true
hideLogin: -> @login = false
hideConnecting: -> @connecting = false
hideSum: -> @sum = false
onConnectClicked: (cb) -> @connectClicked = cb
onDisconnectClicked: (cb) -> @disconnectClicked = cb
onSubmitSum: (cb) -> @submitSum = cb
getPassword: -> @password
getSumValues: -> @sumValues
setSumResult: (result) -> @sumResult = result
class MockSumWebSocketFactory
self = undefined
class SumWebSocket
constructor: (password) -> self.password = <PASSWORD>
onConnected: (cb) -> self.connected = cb
onClose: (cb) -> self.close = cb
disconnect: () -> self.disconnected = true
sum: (values) -> self.values = values
onResult: (cb) -> self.result = cb
MockSumWebSocket: () -> SumWebSocket
constructor: () ->
self = @
exports.MockPage = MockPage
exports.MockSumWebSocketFactory = MockSumWebSocketFactory | true | class MockPage
login: true
connecting: true
sum: true
password: ""
sumValues: ""
showLogin: -> @login = true
showConnecting: -> @connecting = true
showSum: -> @sum = true
hideLogin: -> @login = false
hideConnecting: -> @connecting = false
hideSum: -> @sum = false
onConnectClicked: (cb) -> @connectClicked = cb
onDisconnectClicked: (cb) -> @disconnectClicked = cb
onSubmitSum: (cb) -> @submitSum = cb
getPassword: -> @password
getSumValues: -> @sumValues
setSumResult: (result) -> @sumResult = result
class MockSumWebSocketFactory
self = undefined
class SumWebSocket
constructor: (password) -> self.password = PI:PASSWORD:<PASSWORD>END_PI
onConnected: (cb) -> self.connected = cb
onClose: (cb) -> self.close = cb
disconnect: () -> self.disconnected = true
sum: (values) -> self.values = values
onResult: (cb) -> self.result = cb
MockSumWebSocket: () -> SumWebSocket
constructor: () ->
self = @
exports.MockPage = MockPage
exports.MockSumWebSocketFactory = MockSumWebSocketFactory |
[
{
"context": "\"\n doc.font(fontBold).fontSize(12).text(\"Podnositelj\", 15, 640,\n width: 220\n ali",
"end": 10249,
"score": 0.9980663061141968,
"start": 10238,
"tag": "NAME",
"value": "Podnositelj"
}
] | backend/api/controllers/TravelOrderController.coffee | stepanic/fer-travel-orders-prototype | 0 | # Travel-orderController
#
# @description :: Server-side logic for managing travel-orders
# @help :: See http://links.sailsjs.org/docs/controllers
module.exports =
allow: (req, res) ->
travelorderid = req.param 'travelorderid'
TravelOrder.findOne({ id: travelorderid }).exec (err, travelorder) ->
travelorder.allowedBy.add current.user.id
travelorder.save (err, travelorder) ->
if err
res.json 403,
summary: "Error: Travel order is NOT allowed, because it's already allowed by same user!"
else
res.json 200,
summary: "Travel order is allowed!"
myall: (req, res) ->
TravelOrder.find({ owner: current.user.id }).populateAll().exec (err, travelorders) ->
if err
res.json 403,
summary: "Error: You are not allowed to read all your Travel orders!"
else
res.json 200,
travelorders
waitingApprove: (req, res) ->
TravelOrder.find().populateAll().exec (err, travelorders) ->
if err
res.json 403,
summary: "Error: You are not allowed to read all waitingApprove Travel orders!"
else
i = 0
isDean = 'DEAN' in current.user.roles
isDepartmentHead = 'HEAD' in current.user.roles
while i < travelorders.length
t = travelorders[i]
toSplice = false
if not isDean and isDepartmentHead and t.owner.department isnt current.user.department
toSplice = true
if not toSplice
for a in t.allowedBy
if a.id is current.user.id
toSplice = true
break
isAllowedByDepartmentHead = false
if not toSplice and isDean
for a in t.allowedBy
if 'HEAD' in a.roles
isAllowedByDepartmentHead = true
break
if not isAllowedByDepartmentHead
toSplice = true
if toSplice
travelorders.splice(i, 1)
else
i++
res.json 200,
travelorders
generatePDF: (req, res) ->
fs = require 'fs'
PDFDocument = require 'pdfkit'
moment = require 'moment-timezone'
pdfType = "PUTNI NALOG"
type = req.param 'type'
if type is 'report'
pdfType = "IZVJEŠTAJ O ZAVRŠENOM SLUŽBENOM PUTOVANJU"
doc = new PDFDocument()
TravelOrder.findOne({id: req.param 'travelorderid'}).populateAll().exec (err, travelorder) ->
if err
return res.json 404,
summary: "Error: TravelOrder with selected travelorderid not exists!"
else
Currency.find().exec (err, currencies) ->
# Prepare currencies for better getting
newCurrencies = []
for c in currencies
newCurrencies[c.name] = c
currencies = newCurrencies
sails.log.verbose currencies
sails.log.verbose travelorder.toJSON()
fontNormal = 'fonts/arial.ttf'
fontBold = 'fonts/arialbd.ttf'
hashChar = '#'
t = travelorder.toJSON()
# Path
pdfPath = "assets/pdf/to#{t.id}"
# Create directory if not exists
if not fs.existsSync pdfPath
fs.mkdirSync pdfPath, 0o777
# Save to PDF file
now = moment().format "YYYY-MM-DD_HH-mm-ss"
fileName = "/PutniNalog_#{t.id}_#{now}.pdf"
if type is 'report'
fileName = "/Izvjestaj_#{t.id}_#{now}.pdf"
filePath = pdfPath + fileName
doc.pipe fs.createWriteStream filePath
# Without assets
pdfPath = "pdf/to#{t.id}"
filePath = pdfPath + fileName
# FER Logo
doc.image('media/fer.png', 15, 15, fit: [100, 100])
doc.font(fontNormal).fontSize(14).text("Sveučilište u Zagrebu", 0, 15,
width: 612
align: 'center')
doc.font(fontNormal).fontSize(14).text("Fakultet elektrotehnike i računarstva", 0, 30,
width: 612
align: 'center')
fontSize = 35
if type is 'report'
fontSize = 24
doc.font(fontBold).fontSize(fontSize).text("#{pdfType}", 0, 90,
width: 612
align: 'center')
doc.font(fontNormal).fontSize(14).text("ID: #{travelorder.id}", 15, 130,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(14).text("Zavod: #{t.owner.department}", 15, 160,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(14).text("Podnositelj:", 15, 180,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{t.owner.title} #{t.owner.firstName} #{t.owner.lastName}", 15, 196,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{t.owner.email}", 15, 208,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Početak putovanja:", 15, 230,
width: 200
align: 'left')
travelStart = moment.utc(t.datetimeStart).format "DD.MM.YYYY. HH:mm"
doc.font(fontNormal).fontSize(12).text("#{travelStart}", 15, 246,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Kraj putovanja:", 150, 230,
width: 200
align: 'left')
travelFinish = moment.utc(t.datetimeFinish).format "DD.MM.YYYY. HH:mm"
doc.font(fontNormal).fontSize(12).text("#{travelFinish}", 150, 246,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Država putovanja:", 470, 130,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{t.country.name}", 470, 146,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Troškove podmiruje:", 470, 166,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{hashChar}#{t.budget.code} #{t.budget.name}", 470, 182,
width: 250
align: 'left')
allowedByDean = 'NE'
if t.isAllowedByDean is true
allowedByDean = 'DA'
doc.font(fontNormal).fontSize(12).text("Odobrio dekan: #{allowedByDean}", 470, 202,
width: 200
align: 'left')
allowedByDepartmentHead = 'NE'
if t.isAllowedByDepartmentHead is true
allowedByDepartmentHead = 'DA'
doc.font(fontNormal).fontSize(12).text("Odobrio predstojnik: #{allowedByDepartmentHead}", 470, 216,
width: 200
align: 'left')
if type is 'report'
doc.font(fontBold).fontSize(14).text("Dnevnice:", 15, 270,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("Puna dnevnica: #{t.country.dailyAllowanceSize} #{t.country.dailyAllowanceCurrency}", 100, 272,
width: 200
align: 'left')
total = 0
y = 290
for d in t.dailyAllowances
date = moment.utc d.datetime
dateInFormat = date.format "DD.MM.YYYY."
doc.font(fontNormal).fontSize(12).text("#{dateInFormat}", 15, y,
width: 200
align: 'left')
cur = t.country.dailyAllowanceSize * d.size
total += cur
doc.font(fontNormal).fontSize(12).text("#{cur.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 100, y,
width: 200
align: 'left')
y += 20
y1 = y
totalDailyAllowances = total
doc.font(fontBold).fontSize(12).text("UKUPNO:", 15, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(12).text("#{total.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 100, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(14).text("Troškovi:", 280, 270,
width: 200
align: 'left')
total = 0
y = 290
for item in t.items
doc.font(fontNormal).fontSize(12).text("#{item.name}", 280, y,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{item.quantity}kom", 390, y,
width: 200
align: 'left')
cur = item.price * item.quantity
doc.font(fontNormal).fontSize(12).text("#{cur.toFixed(2)} #{item.currency}", 440, y,
width: 200
align: 'left')
# Convert to TravelOrder.country.dailyAllowanceCurrency
if item.currency isnt t.country.dailyAllowanceCurrency
cur = cur * currencies[item.currency].exchangeRateToHRK / currencies[t.country.dailyAllowanceCurrency].exchangeRateToHRK
total += cur
doc.font(fontNormal).fontSize(12).text("#{cur.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 525, y,
width: 200
align: 'left')
y += 20
y2 = y
totalExpenses = total
doc.font(fontBold).fontSize(12).text("UKUPNO:", 280, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(12).text("#{total.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 525, y,
width: 200
align: 'left')
# Continue text after longest column
y = Math.max y1, y2
y += 30
doc.font(fontBold).fontSize(12).text("RAZLIKA: Dnevnice - Troškovi = ", 15, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(12).text("#{(totalDailyAllowances - totalExpenses).toFixed(2)} #{t.country.dailyAllowanceCurrency}", 200, y,
width: 200
align: 'left')
# Footer
ownerSign = "#{t.owner.title} #{t.owner.firstName} #{t.owner.lastName}"
underlineOwnerSign = "___________________________"
doc.font(fontBold).fontSize(12).text("Podnositelj", 15, 640,
width: 220
align: 'center')
doc.font(fontBold).fontSize(12).text("#{underlineOwnerSign}", 15, 680,
width: 220
align: 'center')
doc.font(fontNormal).fontSize(12).text("#{ownerSign}", 15, 700,
width: 220
align: 'center')
doc.font(fontNormal).fontSize(12).text("Zagreb", 0, 640,
width: 612
align: 'center')
now = moment().format("DD.MM.YYYY.")
doc.font(fontNormal).fontSize(12).text("#{now}", 0, 660,
width: 612
align: 'center')
deanSign = "#{current.deanSignature}"
underlineDeanSign = "___________________________"
doc.font(fontBold).fontSize(12).text("Dekan", 377, 640,
width: 220
align: 'center')
doc.font(fontBold).fontSize(12).text("#{underlineDeanSign}", 377, 680,
width: 220
align: 'center')
doc.font(fontNormal).fontSize(12).text("#{deanSign}", 377, 700,
width: 220
align: 'center')
# End of PDF document
doc.end()
if type is 'report'
travelorder.travelOrderReportPDFs.push filePath
else
travelorder.travelOrderPDFs.push filePath
travelorder.save (err, s) ->
if err
return res.json 400, err
return res.json 200,
summary: "TravelOrder PDF is generated!"
| 130094 | # Travel-orderController
#
# @description :: Server-side logic for managing travel-orders
# @help :: See http://links.sailsjs.org/docs/controllers
module.exports =
allow: (req, res) ->
travelorderid = req.param 'travelorderid'
TravelOrder.findOne({ id: travelorderid }).exec (err, travelorder) ->
travelorder.allowedBy.add current.user.id
travelorder.save (err, travelorder) ->
if err
res.json 403,
summary: "Error: Travel order is NOT allowed, because it's already allowed by same user!"
else
res.json 200,
summary: "Travel order is allowed!"
myall: (req, res) ->
TravelOrder.find({ owner: current.user.id }).populateAll().exec (err, travelorders) ->
if err
res.json 403,
summary: "Error: You are not allowed to read all your Travel orders!"
else
res.json 200,
travelorders
waitingApprove: (req, res) ->
TravelOrder.find().populateAll().exec (err, travelorders) ->
if err
res.json 403,
summary: "Error: You are not allowed to read all waitingApprove Travel orders!"
else
i = 0
isDean = 'DEAN' in current.user.roles
isDepartmentHead = 'HEAD' in current.user.roles
while i < travelorders.length
t = travelorders[i]
toSplice = false
if not isDean and isDepartmentHead and t.owner.department isnt current.user.department
toSplice = true
if not toSplice
for a in t.allowedBy
if a.id is current.user.id
toSplice = true
break
isAllowedByDepartmentHead = false
if not toSplice and isDean
for a in t.allowedBy
if 'HEAD' in a.roles
isAllowedByDepartmentHead = true
break
if not isAllowedByDepartmentHead
toSplice = true
if toSplice
travelorders.splice(i, 1)
else
i++
res.json 200,
travelorders
generatePDF: (req, res) ->
fs = require 'fs'
PDFDocument = require 'pdfkit'
moment = require 'moment-timezone'
pdfType = "PUTNI NALOG"
type = req.param 'type'
if type is 'report'
pdfType = "IZVJEŠTAJ O ZAVRŠENOM SLUŽBENOM PUTOVANJU"
doc = new PDFDocument()
TravelOrder.findOne({id: req.param 'travelorderid'}).populateAll().exec (err, travelorder) ->
if err
return res.json 404,
summary: "Error: TravelOrder with selected travelorderid not exists!"
else
Currency.find().exec (err, currencies) ->
# Prepare currencies for better getting
newCurrencies = []
for c in currencies
newCurrencies[c.name] = c
currencies = newCurrencies
sails.log.verbose currencies
sails.log.verbose travelorder.toJSON()
fontNormal = 'fonts/arial.ttf'
fontBold = 'fonts/arialbd.ttf'
hashChar = '#'
t = travelorder.toJSON()
# Path
pdfPath = "assets/pdf/to#{t.id}"
# Create directory if not exists
if not fs.existsSync pdfPath
fs.mkdirSync pdfPath, 0o777
# Save to PDF file
now = moment().format "YYYY-MM-DD_HH-mm-ss"
fileName = "/PutniNalog_#{t.id}_#{now}.pdf"
if type is 'report'
fileName = "/Izvjestaj_#{t.id}_#{now}.pdf"
filePath = pdfPath + fileName
doc.pipe fs.createWriteStream filePath
# Without assets
pdfPath = "pdf/to#{t.id}"
filePath = pdfPath + fileName
# FER Logo
doc.image('media/fer.png', 15, 15, fit: [100, 100])
doc.font(fontNormal).fontSize(14).text("Sveučilište u Zagrebu", 0, 15,
width: 612
align: 'center')
doc.font(fontNormal).fontSize(14).text("Fakultet elektrotehnike i računarstva", 0, 30,
width: 612
align: 'center')
fontSize = 35
if type is 'report'
fontSize = 24
doc.font(fontBold).fontSize(fontSize).text("#{pdfType}", 0, 90,
width: 612
align: 'center')
doc.font(fontNormal).fontSize(14).text("ID: #{travelorder.id}", 15, 130,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(14).text("Zavod: #{t.owner.department}", 15, 160,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(14).text("Podnositelj:", 15, 180,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{t.owner.title} #{t.owner.firstName} #{t.owner.lastName}", 15, 196,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{t.owner.email}", 15, 208,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Početak putovanja:", 15, 230,
width: 200
align: 'left')
travelStart = moment.utc(t.datetimeStart).format "DD.MM.YYYY. HH:mm"
doc.font(fontNormal).fontSize(12).text("#{travelStart}", 15, 246,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Kraj putovanja:", 150, 230,
width: 200
align: 'left')
travelFinish = moment.utc(t.datetimeFinish).format "DD.MM.YYYY. HH:mm"
doc.font(fontNormal).fontSize(12).text("#{travelFinish}", 150, 246,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Država putovanja:", 470, 130,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{t.country.name}", 470, 146,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Troškove podmiruje:", 470, 166,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{hashChar}#{t.budget.code} #{t.budget.name}", 470, 182,
width: 250
align: 'left')
allowedByDean = 'NE'
if t.isAllowedByDean is true
allowedByDean = 'DA'
doc.font(fontNormal).fontSize(12).text("Odobrio dekan: #{allowedByDean}", 470, 202,
width: 200
align: 'left')
allowedByDepartmentHead = 'NE'
if t.isAllowedByDepartmentHead is true
allowedByDepartmentHead = 'DA'
doc.font(fontNormal).fontSize(12).text("Odobrio predstojnik: #{allowedByDepartmentHead}", 470, 216,
width: 200
align: 'left')
if type is 'report'
doc.font(fontBold).fontSize(14).text("Dnevnice:", 15, 270,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("Puna dnevnica: #{t.country.dailyAllowanceSize} #{t.country.dailyAllowanceCurrency}", 100, 272,
width: 200
align: 'left')
total = 0
y = 290
for d in t.dailyAllowances
date = moment.utc d.datetime
dateInFormat = date.format "DD.MM.YYYY."
doc.font(fontNormal).fontSize(12).text("#{dateInFormat}", 15, y,
width: 200
align: 'left')
cur = t.country.dailyAllowanceSize * d.size
total += cur
doc.font(fontNormal).fontSize(12).text("#{cur.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 100, y,
width: 200
align: 'left')
y += 20
y1 = y
totalDailyAllowances = total
doc.font(fontBold).fontSize(12).text("UKUPNO:", 15, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(12).text("#{total.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 100, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(14).text("Troškovi:", 280, 270,
width: 200
align: 'left')
total = 0
y = 290
for item in t.items
doc.font(fontNormal).fontSize(12).text("#{item.name}", 280, y,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{item.quantity}kom", 390, y,
width: 200
align: 'left')
cur = item.price * item.quantity
doc.font(fontNormal).fontSize(12).text("#{cur.toFixed(2)} #{item.currency}", 440, y,
width: 200
align: 'left')
# Convert to TravelOrder.country.dailyAllowanceCurrency
if item.currency isnt t.country.dailyAllowanceCurrency
cur = cur * currencies[item.currency].exchangeRateToHRK / currencies[t.country.dailyAllowanceCurrency].exchangeRateToHRK
total += cur
doc.font(fontNormal).fontSize(12).text("#{cur.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 525, y,
width: 200
align: 'left')
y += 20
y2 = y
totalExpenses = total
doc.font(fontBold).fontSize(12).text("UKUPNO:", 280, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(12).text("#{total.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 525, y,
width: 200
align: 'left')
# Continue text after longest column
y = Math.max y1, y2
y += 30
doc.font(fontBold).fontSize(12).text("RAZLIKA: Dnevnice - Troškovi = ", 15, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(12).text("#{(totalDailyAllowances - totalExpenses).toFixed(2)} #{t.country.dailyAllowanceCurrency}", 200, y,
width: 200
align: 'left')
# Footer
ownerSign = "#{t.owner.title} #{t.owner.firstName} #{t.owner.lastName}"
underlineOwnerSign = "___________________________"
doc.font(fontBold).fontSize(12).text("<NAME>", 15, 640,
width: 220
align: 'center')
doc.font(fontBold).fontSize(12).text("#{underlineOwnerSign}", 15, 680,
width: 220
align: 'center')
doc.font(fontNormal).fontSize(12).text("#{ownerSign}", 15, 700,
width: 220
align: 'center')
doc.font(fontNormal).fontSize(12).text("Zagreb", 0, 640,
width: 612
align: 'center')
now = moment().format("DD.MM.YYYY.")
doc.font(fontNormal).fontSize(12).text("#{now}", 0, 660,
width: 612
align: 'center')
deanSign = "#{current.deanSignature}"
underlineDeanSign = "___________________________"
doc.font(fontBold).fontSize(12).text("Dekan", 377, 640,
width: 220
align: 'center')
doc.font(fontBold).fontSize(12).text("#{underlineDeanSign}", 377, 680,
width: 220
align: 'center')
doc.font(fontNormal).fontSize(12).text("#{deanSign}", 377, 700,
width: 220
align: 'center')
# End of PDF document
doc.end()
if type is 'report'
travelorder.travelOrderReportPDFs.push filePath
else
travelorder.travelOrderPDFs.push filePath
travelorder.save (err, s) ->
if err
return res.json 400, err
return res.json 200,
summary: "TravelOrder PDF is generated!"
| true | # Travel-orderController
#
# @description :: Server-side logic for managing travel-orders
# @help :: See http://links.sailsjs.org/docs/controllers
module.exports =
allow: (req, res) ->
travelorderid = req.param 'travelorderid'
TravelOrder.findOne({ id: travelorderid }).exec (err, travelorder) ->
travelorder.allowedBy.add current.user.id
travelorder.save (err, travelorder) ->
if err
res.json 403,
summary: "Error: Travel order is NOT allowed, because it's already allowed by same user!"
else
res.json 200,
summary: "Travel order is allowed!"
myall: (req, res) ->
TravelOrder.find({ owner: current.user.id }).populateAll().exec (err, travelorders) ->
if err
res.json 403,
summary: "Error: You are not allowed to read all your Travel orders!"
else
res.json 200,
travelorders
waitingApprove: (req, res) ->
TravelOrder.find().populateAll().exec (err, travelorders) ->
if err
res.json 403,
summary: "Error: You are not allowed to read all waitingApprove Travel orders!"
else
i = 0
isDean = 'DEAN' in current.user.roles
isDepartmentHead = 'HEAD' in current.user.roles
while i < travelorders.length
t = travelorders[i]
toSplice = false
if not isDean and isDepartmentHead and t.owner.department isnt current.user.department
toSplice = true
if not toSplice
for a in t.allowedBy
if a.id is current.user.id
toSplice = true
break
isAllowedByDepartmentHead = false
if not toSplice and isDean
for a in t.allowedBy
if 'HEAD' in a.roles
isAllowedByDepartmentHead = true
break
if not isAllowedByDepartmentHead
toSplice = true
if toSplice
travelorders.splice(i, 1)
else
i++
res.json 200,
travelorders
generatePDF: (req, res) ->
fs = require 'fs'
PDFDocument = require 'pdfkit'
moment = require 'moment-timezone'
pdfType = "PUTNI NALOG"
type = req.param 'type'
if type is 'report'
pdfType = "IZVJEŠTAJ O ZAVRŠENOM SLUŽBENOM PUTOVANJU"
doc = new PDFDocument()
TravelOrder.findOne({id: req.param 'travelorderid'}).populateAll().exec (err, travelorder) ->
if err
return res.json 404,
summary: "Error: TravelOrder with selected travelorderid not exists!"
else
Currency.find().exec (err, currencies) ->
# Prepare currencies for better getting
newCurrencies = []
for c in currencies
newCurrencies[c.name] = c
currencies = newCurrencies
sails.log.verbose currencies
sails.log.verbose travelorder.toJSON()
fontNormal = 'fonts/arial.ttf'
fontBold = 'fonts/arialbd.ttf'
hashChar = '#'
t = travelorder.toJSON()
# Path
pdfPath = "assets/pdf/to#{t.id}"
# Create directory if not exists
if not fs.existsSync pdfPath
fs.mkdirSync pdfPath, 0o777
# Save to PDF file
now = moment().format "YYYY-MM-DD_HH-mm-ss"
fileName = "/PutniNalog_#{t.id}_#{now}.pdf"
if type is 'report'
fileName = "/Izvjestaj_#{t.id}_#{now}.pdf"
filePath = pdfPath + fileName
doc.pipe fs.createWriteStream filePath
# Without assets
pdfPath = "pdf/to#{t.id}"
filePath = pdfPath + fileName
# FER Logo
doc.image('media/fer.png', 15, 15, fit: [100, 100])
doc.font(fontNormal).fontSize(14).text("Sveučilište u Zagrebu", 0, 15,
width: 612
align: 'center')
doc.font(fontNormal).fontSize(14).text("Fakultet elektrotehnike i računarstva", 0, 30,
width: 612
align: 'center')
fontSize = 35
if type is 'report'
fontSize = 24
doc.font(fontBold).fontSize(fontSize).text("#{pdfType}", 0, 90,
width: 612
align: 'center')
doc.font(fontNormal).fontSize(14).text("ID: #{travelorder.id}", 15, 130,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(14).text("Zavod: #{t.owner.department}", 15, 160,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(14).text("Podnositelj:", 15, 180,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{t.owner.title} #{t.owner.firstName} #{t.owner.lastName}", 15, 196,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{t.owner.email}", 15, 208,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Početak putovanja:", 15, 230,
width: 200
align: 'left')
travelStart = moment.utc(t.datetimeStart).format "DD.MM.YYYY. HH:mm"
doc.font(fontNormal).fontSize(12).text("#{travelStart}", 15, 246,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Kraj putovanja:", 150, 230,
width: 200
align: 'left')
travelFinish = moment.utc(t.datetimeFinish).format "DD.MM.YYYY. HH:mm"
doc.font(fontNormal).fontSize(12).text("#{travelFinish}", 150, 246,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Država putovanja:", 470, 130,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{t.country.name}", 470, 146,
width: 250
align: 'left')
doc.font(fontNormal).fontSize(14).text("Troškove podmiruje:", 470, 166,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{hashChar}#{t.budget.code} #{t.budget.name}", 470, 182,
width: 250
align: 'left')
allowedByDean = 'NE'
if t.isAllowedByDean is true
allowedByDean = 'DA'
doc.font(fontNormal).fontSize(12).text("Odobrio dekan: #{allowedByDean}", 470, 202,
width: 200
align: 'left')
allowedByDepartmentHead = 'NE'
if t.isAllowedByDepartmentHead is true
allowedByDepartmentHead = 'DA'
doc.font(fontNormal).fontSize(12).text("Odobrio predstojnik: #{allowedByDepartmentHead}", 470, 216,
width: 200
align: 'left')
if type is 'report'
doc.font(fontBold).fontSize(14).text("Dnevnice:", 15, 270,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("Puna dnevnica: #{t.country.dailyAllowanceSize} #{t.country.dailyAllowanceCurrency}", 100, 272,
width: 200
align: 'left')
total = 0
y = 290
for d in t.dailyAllowances
date = moment.utc d.datetime
dateInFormat = date.format "DD.MM.YYYY."
doc.font(fontNormal).fontSize(12).text("#{dateInFormat}", 15, y,
width: 200
align: 'left')
cur = t.country.dailyAllowanceSize * d.size
total += cur
doc.font(fontNormal).fontSize(12).text("#{cur.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 100, y,
width: 200
align: 'left')
y += 20
y1 = y
totalDailyAllowances = total
doc.font(fontBold).fontSize(12).text("UKUPNO:", 15, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(12).text("#{total.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 100, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(14).text("Troškovi:", 280, 270,
width: 200
align: 'left')
total = 0
y = 290
for item in t.items
doc.font(fontNormal).fontSize(12).text("#{item.name}", 280, y,
width: 200
align: 'left')
doc.font(fontNormal).fontSize(12).text("#{item.quantity}kom", 390, y,
width: 200
align: 'left')
cur = item.price * item.quantity
doc.font(fontNormal).fontSize(12).text("#{cur.toFixed(2)} #{item.currency}", 440, y,
width: 200
align: 'left')
# Convert to TravelOrder.country.dailyAllowanceCurrency
if item.currency isnt t.country.dailyAllowanceCurrency
cur = cur * currencies[item.currency].exchangeRateToHRK / currencies[t.country.dailyAllowanceCurrency].exchangeRateToHRK
total += cur
doc.font(fontNormal).fontSize(12).text("#{cur.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 525, y,
width: 200
align: 'left')
y += 20
y2 = y
totalExpenses = total
doc.font(fontBold).fontSize(12).text("UKUPNO:", 280, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(12).text("#{total.toFixed(2)} #{t.country.dailyAllowanceCurrency}", 525, y,
width: 200
align: 'left')
# Continue text after longest column
y = Math.max y1, y2
y += 30
doc.font(fontBold).fontSize(12).text("RAZLIKA: Dnevnice - Troškovi = ", 15, y,
width: 200
align: 'left')
doc.font(fontBold).fontSize(12).text("#{(totalDailyAllowances - totalExpenses).toFixed(2)} #{t.country.dailyAllowanceCurrency}", 200, y,
width: 200
align: 'left')
# Footer
ownerSign = "#{t.owner.title} #{t.owner.firstName} #{t.owner.lastName}"
underlineOwnerSign = "___________________________"
doc.font(fontBold).fontSize(12).text("PI:NAME:<NAME>END_PI", 15, 640,
width: 220
align: 'center')
doc.font(fontBold).fontSize(12).text("#{underlineOwnerSign}", 15, 680,
width: 220
align: 'center')
doc.font(fontNormal).fontSize(12).text("#{ownerSign}", 15, 700,
width: 220
align: 'center')
doc.font(fontNormal).fontSize(12).text("Zagreb", 0, 640,
width: 612
align: 'center')
now = moment().format("DD.MM.YYYY.")
doc.font(fontNormal).fontSize(12).text("#{now}", 0, 660,
width: 612
align: 'center')
deanSign = "#{current.deanSignature}"
underlineDeanSign = "___________________________"
doc.font(fontBold).fontSize(12).text("Dekan", 377, 640,
width: 220
align: 'center')
doc.font(fontBold).fontSize(12).text("#{underlineDeanSign}", 377, 680,
width: 220
align: 'center')
doc.font(fontNormal).fontSize(12).text("#{deanSign}", 377, 700,
width: 220
align: 'center')
# End of PDF document
doc.end()
if type is 'report'
travelorder.travelOrderReportPDFs.push filePath
else
travelorder.travelOrderPDFs.push filePath
travelorder.save (err, s) ->
if err
return res.json 400, err
return res.json 200,
summary: "TravelOrder PDF is generated!"
|
[
{
"context": "n:\n# None\n#\n# Commands:\n# None\n#\n# Author:\n# bouzuya <m@bouzuya.net>\n#\nmodule.exports = (robot) ->\n r",
"end": 179,
"score": 0.9997023344039917,
"start": 172,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": "e\n#\n# Commands:\n# None\n#\n# Autho... | src/scripts/welcome.coffee | bouzuya/hubot-welcome | 1 | # Description
# A Hubot script that say "welcome!" when you enter the room.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# None
#
# Author:
# bouzuya <m@bouzuya.net>
#
module.exports = (robot) ->
robot.enter (res) ->
res.reply 'welcome!'
| 90160 | # Description
# A Hubot script that say "welcome!" when you enter the room.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# None
#
# Author:
# bouzuya <<EMAIL>>
#
module.exports = (robot) ->
robot.enter (res) ->
res.reply 'welcome!'
| true | # Description
# A Hubot script that say "welcome!" when you enter the room.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# None
#
# Author:
# bouzuya <PI:EMAIL:<EMAIL>END_PI>
#
module.exports = (robot) ->
robot.enter (res) ->
res.reply 'welcome!'
|
[
{
"context": "###\nCopyright (c) 2012 - 2014 Markus Kohlhase <mail@markus-kohlhase.de>\n###\n\nDEFAULT_PATH =",
"end": 45,
"score": 0.9998908042907715,
"start": 30,
"tag": "NAME",
"value": "Markus Kohlhase"
},
{
"context": "###\nCopyright (c) 2012 - 2014 Markus Kohlhase <mail@mar... | plugins/src/scaleApp.strophe.coffee | flosse/scaleApp | 99 | ###
Copyright (c) 2012 - 2014 Markus Kohlhase <mail@markus-kohlhase.de>
###
DEFAULT_PATH = "http-bind/"
DEFAULT_PROTOCOL = "http"
DEFAULT_PORT = 5280
CACHE_PREFIX = "scaleApp.xmpp.cache."
# Generates an appropriate bosh url for the connection.
#
# Parameters:
# (Object) opt - option object
get_bosh_url = (opt) ->
domain = document.domain
# there are 2^3 = 8 cases
if typeof opt is "object"
if opt.port
opt.port = opt.port * 1
if isNaN opt.port
console.warn "the defined port #{ opt.port } is not a number."
opt.port = null
# case 1
if opt.host and opt.port and opt.path
return "#{ opt.protocol }://#{ opt.host }:#{ opt.port }/#{ opt.path }"
# case 2
if opt.host and opt.port and not opt.path
return "#{ opt.protocol }://#{ opt.host }:#{ opt.port }/#{ DEFAULT_PATH }"
# case 3
if opt.host and not opt.port and opt.path
return "#{ opt.protocol }://#{ opt.host }/#{ opt.path }"
# case 4
if opt.host and not opt.port and not opt.path
return "#{ opt.protocol }://#{ opt.host }/#{ DEFAULT_PATH }"
# case 5
if not opt.host and opt.port and opt.path
return "#{ opt.protocol }://#{ domain }:#{ opt.port }/#{ opt.path }"
# case 6
if not opt.host and opt.port and not opt.path
return "#{ opt.protocol }://#{ domain }:#{ opt.port }/#{ DEFAULT_PATH }"
# case 7
if not opt.host and not opt.port and opt.path
return "#{ opt.protocol }://#{ domain }/#{ opt.path }"
# case 8
if not opt.host and not opt.port and not opt.path
return "#{ opt.protocol }://#{ domain }/#{ DEFAULT_PATH }"
# fallback
"http://#{ domain }/#{ DEFAULT_PATH }"
# Creates a new Strophe.Connection object with the appropriate options.
create_connection_obj = (opt) ->
new Strophe.Connection get_bosh_url
path: opt.path
host: opt.host
port: opt.port
protocol: opt.protocol
key2cache = (k) -> "#{CACHE_PREFIX}#{k}"
saveData = (conn, opt)->
return unless sessionStorage?
for k in ["jid", "sid", "rid"] when conn[k]?
sessionStorage[key2cache k] = conn[k]
for k in ["host", "port", "path", "protocol"] when opt[k]?
sessionStorage[key2cache k] = opt[k]
clearData = ->
return unless sessionStorage?
for k in ["jid", "sid", "rid", "host", "port", "path", "protocol"]
sessionStorage.removeItem key2cache k
# Loads the connection data from session storage.
restoreData = ->
return unless sessionStorage?
o = {}
for k in [ "jid", "sid", "rid", "host", "port", "path", "protocol" ]
j = key2cache k
o[k] = sessionStorage[j] if sessionStorage[j]
hasConnectionData = (opt) ->
for k in [ "jid", "sid", "rid" ]
if not opt[k] or opt[k] is 'null' or opt[k] is 'undefined'
return false
true
statusCodeToString = (s) ->
switch s
when 0 then "Error"
when 1 then "Connecting"
when 2 then "Connection failed"
when 3 then "Authenticating"
when 4 then "Authentication failed"
when 5 then "Connected"
when 6 then "Disconnected"
when 7 then "Disconnecting"
when 8 then "Reconnected"
plugin = (core) ->
throw new Error "This plugin only can be used in the browser" unless window?
console.warn "This plugin requires strophe.js" unless window.Strophe?
mediator = new core.Mediator
# Variable that holds the Strophe connection object
connection = null
resetPlugin = ->
core.xmpp.connection = null
core.xmpp.jid = ""
updatePlugin = (conn) ->
core.xmpp.connection = conn
core.xmpp.jid = conn.jid
onConnected = ->
# The BOSH connection get aborted by the escapae event.
# Therefore we have to prevent it!
fn = (ev) -> ev.preventDefault?() if ev.keyCode is 27
onunload = ->
if connection then saveData connection, connection_options
else clearData()
if document.addEventListener?
for e in ["keydown", "keypress", "keyup"]
document.addEventListener e, fn, false
# Save connection properties before reloading the page.
window.addEventListener "unload", onunload, false
else if document.attachEvent?
for e in ["onkeydown", "onkeypress", "onkeyup"]
document.attachEvent e, fn
# Save connection properties before reloading the page.
document.attachEvent "onunload", onunload
connection.send $pres()
# Processes the Strophe connection staus.
#
# Parameters:
# (int) status - The connection status code. See <Strophe.Status>
on_connection_change = (status) ->
console.info "xmpp status changed: " + statusCodeToString status
s = Strophe.Status
switch status
when s.ERROR
resetPlugin()
mediator.emit "error", "an error occurred"
when s.CONNECTING
resetPlugin()
mediator.emit "connecting"
when s.CONNFAIL
resetPlugin()
mediator.emit "error", "could not connect to xmpp server"
when s.AUTHENTICATING
resetPlugin()
mediator.emit "authenticating"
when s.AUTHFAIL
resetPlugin()
mediator.emit "authfail"
when s.CONNECTED
updatePlugin connection
onConnected()
mediator.emit "connected"
when s.DISCONNECTED
clearData()
resetPlugin()
mediator.emit "disconnected"
when s.DISCONNECTING
resetPlugin()
mediator.emit "disconnecting"
when s.ATTACHED
updatePlugin connection
onConnected()
mediator.emit "attached"
# Attaches an existing connection to the Strophe connection object.
#
# Parameters:
# (Object) cookie - the cookie object that contains the connection properties
# like host, port, path, rid, sid and jid.
attach_connection = (opt) ->
connection = create_connection_obj opt
connection.attach opt.jid, opt.sid, opt.rid, on_connection_change, 60
connection_options = restoreData()
if connection_options and hasConnectionData connection_options
attach_connection connection_options
else
mediator.emit "disconnected"
# Object that holds all connection sepecific options.
connection_options =
host: document.domain
port: DEFAULT_PORT
path: DEFAULT_PATH
protocol: DEFAULT_PROTOCOL
jid: null
sid: null
rid: null
# Connects to the xmpp server and login with the given JID.
#
# Parameters:
# (String) jid - Jabber ID
# (String) pw - Password
# (Object) opt - Connection options.
login = (jid, pw, opt) ->
if opt?
connection_options.path = opt.path if opt.path
connection_options.port = opt.port if opt.port
connection_options.host = opt.host if opt.host
connection_options.protocol = opt.protocol if opt.protocol
connection = create_connection_obj connection_options
connection.connect jid, pw, on_connection_change
disconnect = ->
console.debug "try to disconnect"
if connection?.connected is true
try
connection.send $pres type: "unavailable"
connection.pause()
connection.disconnect()
catch e
clearData()
# public API
core.xmpp =
jid : ""
connection : null
login : login
logout : disconnect
on : -> mediator.on.apply mediator, arguments
off : -> mediator.off.apply mediator, arguments
_mediator : mediator
null
# AMD support
if define?.amd?
define -> plugin
# Browser support
else if window?.scaleApp?
window.scaleApp.plugins.xmpp = plugin
# Node.js support
else if module?.exports?
module.exports = plugin
| 144116 | ###
Copyright (c) 2012 - 2014 <NAME> <<EMAIL>>
###
DEFAULT_PATH = "http-bind/"
DEFAULT_PROTOCOL = "http"
DEFAULT_PORT = 5280
CACHE_PREFIX = "scaleApp.xmpp.cache."
# Generates an appropriate bosh url for the connection.
#
# Parameters:
# (Object) opt - option object
get_bosh_url = (opt) ->
domain = document.domain
# there are 2^3 = 8 cases
if typeof opt is "object"
if opt.port
opt.port = opt.port * 1
if isNaN opt.port
console.warn "the defined port #{ opt.port } is not a number."
opt.port = null
# case 1
if opt.host and opt.port and opt.path
return "#{ opt.protocol }://#{ opt.host }:#{ opt.port }/#{ opt.path }"
# case 2
if opt.host and opt.port and not opt.path
return "#{ opt.protocol }://#{ opt.host }:#{ opt.port }/#{ DEFAULT_PATH }"
# case 3
if opt.host and not opt.port and opt.path
return "#{ opt.protocol }://#{ opt.host }/#{ opt.path }"
# case 4
if opt.host and not opt.port and not opt.path
return "#{ opt.protocol }://#{ opt.host }/#{ DEFAULT_PATH }"
# case 5
if not opt.host and opt.port and opt.path
return "#{ opt.protocol }://#{ domain }:#{ opt.port }/#{ opt.path }"
# case 6
if not opt.host and opt.port and not opt.path
return "#{ opt.protocol }://#{ domain }:#{ opt.port }/#{ DEFAULT_PATH }"
# case 7
if not opt.host and not opt.port and opt.path
return "#{ opt.protocol }://#{ domain }/#{ opt.path }"
# case 8
if not opt.host and not opt.port and not opt.path
return "#{ opt.protocol }://#{ domain }/#{ DEFAULT_PATH }"
# fallback
"http://#{ domain }/#{ DEFAULT_PATH }"
# Creates a new Strophe.Connection object with the appropriate options.
create_connection_obj = (opt) ->
new Strophe.Connection get_bosh_url
path: opt.path
host: opt.host
port: opt.port
protocol: opt.protocol
key2cache = (k) -> "#{CACHE_PREFIX}#{k}"
saveData = (conn, opt)->
return unless sessionStorage?
for k in ["jid", "sid", "rid"] when conn[k]?
sessionStorage[key2cache k] = conn[k]
for k in ["host", "port", "path", "protocol"] when opt[k]?
sessionStorage[key2cache k] = opt[k]
clearData = ->
return unless sessionStorage?
for k in ["jid", "sid", "rid", "host", "port", "path", "protocol"]
sessionStorage.removeItem key2cache k
# Loads the connection data from session storage.
restoreData = ->
return unless sessionStorage?
o = {}
for k in [ "jid", "sid", "rid", "host", "port", "path", "protocol" ]
j = key2cache k
o[k] = sessionStorage[j] if sessionStorage[j]
hasConnectionData = (opt) ->
for k in [ "jid", "sid", "rid" ]
if not opt[k] or opt[k] is 'null' or opt[k] is 'undefined'
return false
true
statusCodeToString = (s) ->
switch s
when 0 then "Error"
when 1 then "Connecting"
when 2 then "Connection failed"
when 3 then "Authenticating"
when 4 then "Authentication failed"
when 5 then "Connected"
when 6 then "Disconnected"
when 7 then "Disconnecting"
when 8 then "Reconnected"
plugin = (core) ->
throw new Error "This plugin only can be used in the browser" unless window?
console.warn "This plugin requires strophe.js" unless window.Strophe?
mediator = new core.Mediator
# Variable that holds the Strophe connection object
connection = null
resetPlugin = ->
core.xmpp.connection = null
core.xmpp.jid = ""
updatePlugin = (conn) ->
core.xmpp.connection = conn
core.xmpp.jid = conn.jid
onConnected = ->
# The BOSH connection get aborted by the escapae event.
# Therefore we have to prevent it!
fn = (ev) -> ev.preventDefault?() if ev.keyCode is 27
onunload = ->
if connection then saveData connection, connection_options
else clearData()
if document.addEventListener?
for e in ["keydown", "keypress", "keyup"]
document.addEventListener e, fn, false
# Save connection properties before reloading the page.
window.addEventListener "unload", onunload, false
else if document.attachEvent?
for e in ["onkeydown", "onkeypress", "onkeyup"]
document.attachEvent e, fn
# Save connection properties before reloading the page.
document.attachEvent "onunload", onunload
connection.send $pres()
# Processes the Strophe connection staus.
#
# Parameters:
# (int) status - The connection status code. See <Strophe.Status>
on_connection_change = (status) ->
console.info "xmpp status changed: " + statusCodeToString status
s = Strophe.Status
switch status
when s.ERROR
resetPlugin()
mediator.emit "error", "an error occurred"
when s.CONNECTING
resetPlugin()
mediator.emit "connecting"
when s.CONNFAIL
resetPlugin()
mediator.emit "error", "could not connect to xmpp server"
when s.AUTHENTICATING
resetPlugin()
mediator.emit "authenticating"
when s.AUTHFAIL
resetPlugin()
mediator.emit "authfail"
when s.CONNECTED
updatePlugin connection
onConnected()
mediator.emit "connected"
when s.DISCONNECTED
clearData()
resetPlugin()
mediator.emit "disconnected"
when s.DISCONNECTING
resetPlugin()
mediator.emit "disconnecting"
when s.ATTACHED
updatePlugin connection
onConnected()
mediator.emit "attached"
# Attaches an existing connection to the Strophe connection object.
#
# Parameters:
# (Object) cookie - the cookie object that contains the connection properties
# like host, port, path, rid, sid and jid.
attach_connection = (opt) ->
connection = create_connection_obj opt
connection.attach opt.jid, opt.sid, opt.rid, on_connection_change, 60
connection_options = restoreData()
if connection_options and hasConnectionData connection_options
attach_connection connection_options
else
mediator.emit "disconnected"
# Object that holds all connection sepecific options.
connection_options =
host: document.domain
port: DEFAULT_PORT
path: DEFAULT_PATH
protocol: DEFAULT_PROTOCOL
jid: null
sid: null
rid: null
# Connects to the xmpp server and login with the given JID.
#
# Parameters:
# (String) jid - Jabber ID
# (String) pw - <PASSWORD>
# (Object) opt - Connection options.
login = (jid, pw, opt) ->
if opt?
connection_options.path = opt.path if opt.path
connection_options.port = opt.port if opt.port
connection_options.host = opt.host if opt.host
connection_options.protocol = opt.protocol if opt.protocol
connection = create_connection_obj connection_options
connection.connect jid, pw, on_connection_change
disconnect = ->
console.debug "try to disconnect"
if connection?.connected is true
try
connection.send $pres type: "unavailable"
connection.pause()
connection.disconnect()
catch e
clearData()
# public API
core.xmpp =
jid : ""
connection : null
login : login
logout : disconnect
on : -> mediator.on.apply mediator, arguments
off : -> mediator.off.apply mediator, arguments
_mediator : mediator
null
# AMD support
if define?.amd?
define -> plugin
# Browser support
else if window?.scaleApp?
window.scaleApp.plugins.xmpp = plugin
# Node.js support
else if module?.exports?
module.exports = plugin
| true | ###
Copyright (c) 2012 - 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
DEFAULT_PATH = "http-bind/"
DEFAULT_PROTOCOL = "http"
DEFAULT_PORT = 5280
CACHE_PREFIX = "scaleApp.xmpp.cache."
# Generates an appropriate bosh url for the connection.
#
# Parameters:
# (Object) opt - option object
get_bosh_url = (opt) ->
domain = document.domain
# there are 2^3 = 8 cases
if typeof opt is "object"
if opt.port
opt.port = opt.port * 1
if isNaN opt.port
console.warn "the defined port #{ opt.port } is not a number."
opt.port = null
# case 1
if opt.host and opt.port and opt.path
return "#{ opt.protocol }://#{ opt.host }:#{ opt.port }/#{ opt.path }"
# case 2
if opt.host and opt.port and not opt.path
return "#{ opt.protocol }://#{ opt.host }:#{ opt.port }/#{ DEFAULT_PATH }"
# case 3
if opt.host and not opt.port and opt.path
return "#{ opt.protocol }://#{ opt.host }/#{ opt.path }"
# case 4
if opt.host and not opt.port and not opt.path
return "#{ opt.protocol }://#{ opt.host }/#{ DEFAULT_PATH }"
# case 5
if not opt.host and opt.port and opt.path
return "#{ opt.protocol }://#{ domain }:#{ opt.port }/#{ opt.path }"
# case 6
if not opt.host and opt.port and not opt.path
return "#{ opt.protocol }://#{ domain }:#{ opt.port }/#{ DEFAULT_PATH }"
# case 7
if not opt.host and not opt.port and opt.path
return "#{ opt.protocol }://#{ domain }/#{ opt.path }"
# case 8
if not opt.host and not opt.port and not opt.path
return "#{ opt.protocol }://#{ domain }/#{ DEFAULT_PATH }"
# fallback
"http://#{ domain }/#{ DEFAULT_PATH }"
# Creates a new Strophe.Connection object with the appropriate options.
create_connection_obj = (opt) ->
new Strophe.Connection get_bosh_url
path: opt.path
host: opt.host
port: opt.port
protocol: opt.protocol
key2cache = (k) -> "#{CACHE_PREFIX}#{k}"
saveData = (conn, opt)->
return unless sessionStorage?
for k in ["jid", "sid", "rid"] when conn[k]?
sessionStorage[key2cache k] = conn[k]
for k in ["host", "port", "path", "protocol"] when opt[k]?
sessionStorage[key2cache k] = opt[k]
clearData = ->
return unless sessionStorage?
for k in ["jid", "sid", "rid", "host", "port", "path", "protocol"]
sessionStorage.removeItem key2cache k
# Loads the connection data from session storage.
restoreData = ->
return unless sessionStorage?
o = {}
for k in [ "jid", "sid", "rid", "host", "port", "path", "protocol" ]
j = key2cache k
o[k] = sessionStorage[j] if sessionStorage[j]
hasConnectionData = (opt) ->
for k in [ "jid", "sid", "rid" ]
if not opt[k] or opt[k] is 'null' or opt[k] is 'undefined'
return false
true
statusCodeToString = (s) ->
switch s
when 0 then "Error"
when 1 then "Connecting"
when 2 then "Connection failed"
when 3 then "Authenticating"
when 4 then "Authentication failed"
when 5 then "Connected"
when 6 then "Disconnected"
when 7 then "Disconnecting"
when 8 then "Reconnected"
plugin = (core) ->
throw new Error "This plugin only can be used in the browser" unless window?
console.warn "This plugin requires strophe.js" unless window.Strophe?
mediator = new core.Mediator
# Variable that holds the Strophe connection object
connection = null
resetPlugin = ->
core.xmpp.connection = null
core.xmpp.jid = ""
updatePlugin = (conn) ->
core.xmpp.connection = conn
core.xmpp.jid = conn.jid
onConnected = ->
# The BOSH connection get aborted by the escapae event.
# Therefore we have to prevent it!
fn = (ev) -> ev.preventDefault?() if ev.keyCode is 27
onunload = ->
if connection then saveData connection, connection_options
else clearData()
if document.addEventListener?
for e in ["keydown", "keypress", "keyup"]
document.addEventListener e, fn, false
# Save connection properties before reloading the page.
window.addEventListener "unload", onunload, false
else if document.attachEvent?
for e in ["onkeydown", "onkeypress", "onkeyup"]
document.attachEvent e, fn
# Save connection properties before reloading the page.
document.attachEvent "onunload", onunload
connection.send $pres()
# Processes the Strophe connection staus.
#
# Parameters:
# (int) status - The connection status code. See <Strophe.Status>
on_connection_change = (status) ->
console.info "xmpp status changed: " + statusCodeToString status
s = Strophe.Status
switch status
when s.ERROR
resetPlugin()
mediator.emit "error", "an error occurred"
when s.CONNECTING
resetPlugin()
mediator.emit "connecting"
when s.CONNFAIL
resetPlugin()
mediator.emit "error", "could not connect to xmpp server"
when s.AUTHENTICATING
resetPlugin()
mediator.emit "authenticating"
when s.AUTHFAIL
resetPlugin()
mediator.emit "authfail"
when s.CONNECTED
updatePlugin connection
onConnected()
mediator.emit "connected"
when s.DISCONNECTED
clearData()
resetPlugin()
mediator.emit "disconnected"
when s.DISCONNECTING
resetPlugin()
mediator.emit "disconnecting"
when s.ATTACHED
updatePlugin connection
onConnected()
mediator.emit "attached"
# Attaches an existing connection to the Strophe connection object.
#
# Parameters:
# (Object) cookie - the cookie object that contains the connection properties
# like host, port, path, rid, sid and jid.
attach_connection = (opt) ->
connection = create_connection_obj opt
connection.attach opt.jid, opt.sid, opt.rid, on_connection_change, 60
connection_options = restoreData()
if connection_options and hasConnectionData connection_options
attach_connection connection_options
else
mediator.emit "disconnected"
# Object that holds all connection sepecific options.
connection_options =
host: document.domain
port: DEFAULT_PORT
path: DEFAULT_PATH
protocol: DEFAULT_PROTOCOL
jid: null
sid: null
rid: null
# Connects to the xmpp server and login with the given JID.
#
# Parameters:
# (String) jid - Jabber ID
# (String) pw - PI:PASSWORD:<PASSWORD>END_PI
# (Object) opt - Connection options.
login = (jid, pw, opt) ->
if opt?
connection_options.path = opt.path if opt.path
connection_options.port = opt.port if opt.port
connection_options.host = opt.host if opt.host
connection_options.protocol = opt.protocol if opt.protocol
connection = create_connection_obj connection_options
connection.connect jid, pw, on_connection_change
disconnect = ->
console.debug "try to disconnect"
if connection?.connected is true
try
connection.send $pres type: "unavailable"
connection.pause()
connection.disconnect()
catch e
clearData()
# public API
core.xmpp =
jid : ""
connection : null
login : login
logout : disconnect
on : -> mediator.on.apply mediator, arguments
off : -> mediator.off.apply mediator, arguments
_mediator : mediator
null
# AMD support
if define?.amd?
define -> plugin
# Browser support
else if window?.scaleApp?
window.scaleApp.plugins.xmpp = plugin
# Node.js support
else if module?.exports?
module.exports = plugin
|
[
{
"context": "ilable browser space to show images\n\n(c) 2011-2015 Matthias Schmidt <http://m-schmidt.eu/>\n\nExample Usage:\n $('a.ful",
"end": 121,
"score": 0.9998567700386047,
"start": 105,
"tag": "NAME",
"value": "Matthias Schmidt"
}
] | public/static/jquery-fullsizable-2.1.0/js/jquery-fullsizable.coffee | backjack/classroom | 33 | ###
jQuery fullsizable plugin v2.1.0
- take full available browser space to show images
(c) 2011-2015 Matthias Schmidt <http://m-schmidt.eu/>
Example Usage:
$('a.fullsizable').fullsizable();
Options:
**detach_id** (optional, defaults to null) - id of an element that will temporarely be set to ``display: none`` after the curtain loaded.
**navigation** (optional, defaults to true) - show next and previous links when working with a set of images.
**closeButton** (optional, defaults to true) - show a close link.
**fullscreenButton** (optional, defaults to true) - show full screen button for native HTML5 fullscreen support in supported browsers.
**openOnClick** (optional, defaults to true) - set to false to disable default behavior which fullsizes an image when clicking on a thumb.
**clickBehaviour** (optional, 'next' or 'close', defaults to 'close') - whether a click on an opened image should close the viewer or open the next image.
**preload** (optional, defaults to true) - lookup selector on initialization, set only to false in combination with ``reloadOnOpen: true`` or ``fullsizable:reload`` event.
**reloadOnOpen** (optional, defaults to false) - lookup selector every time the viewer opens.
**loop** (optional, defaults to false) - don't hide prev/next button on first/last image, so images are looped
###
$ = jQuery
container_id = '#jquery-fullsizable'
image_holder_id = '#fullsized_image_holder'
spinner_class = 'fullsized_spinner'
$image_holder = $('<div id="jquery-fullsizable"><div id="fullsized_image_holder"></div></div>')
images = []
current_image = 0
options = null
stored_scroll_position = null
resizeImage = ->
image = images[current_image]
image.ratio ?= (image.naturalHeight / image.naturalWidth).toFixed(2)
if $(window).height() / image.ratio > $(window).width()
$(image).width($(window).width())
$(image).height($(window).width() * image.ratio)
$(image).css('margin-top', ($(window).height() - $(image).height()) / 2)
else
$(image).height($(window).height())
$(image).width($(window).height() / image.ratio)
$(image).css('margin-top', 0)
keyPressed = (e) ->
closeViewer() if e.keyCode == 27
if e.keyCode == 37
prevImage(true)
if e.keyCode == 39
nextImage(true)
prevImage = (shouldHideChrome = false) ->
if current_image > 0
showImage(images[current_image - 1], -1, shouldHideChrome)
else if options.loop
showImage(images[images.length - 1], -1, shouldHideChrome)
nextImage = (shouldHideChrome = false) ->
if current_image < images.length - 1
showImage(images[current_image + 1], 1, shouldHideChrome)
else if options.loop
showImage(images[0], 1, shouldHideChrome)
showImage = (image, direction = 1, shouldHideChrome = false) ->
current_image = image.index
$(image_holder_id).hide()
$(image_holder_id).html(image)
# show/hide navigation when hitting range limits
if options.navigation
if shouldHideChrome == true
hideChrome()
else
showChrome()
if image.loaded?
$(container_id).removeClass(spinner_class)
resizeImage()
$(image_holder_id).fadeIn('fast')
preloadImage(direction)
else
# first load
$(container_id).addClass(spinner_class)
image.onload = ->
resizeImage()
$(image_holder_id).fadeIn 'slow', ->
$(container_id).removeClass(spinner_class)
this.loaded = true
preloadImage(direction)
image.src = image.buffer_src
preloadImage = (direction) ->
# smart preloading
if direction == 1 and current_image < images.length - 1
preload_image = images[current_image + 1]
else if (direction == -1 or current_image == (images.length - 1)) and current_image > 0
preload_image = images[current_image - 1]
else
return
preload_image.onload = ->
this.loaded = true
preload_image.src = preload_image.buffer_src if preload_image.src == ''
openViewer = (image, opening_selector) ->
$('body').append($image_holder)
$(window).bind 'resize', resizeImage
showImage(image)
$(container_id).hide().fadeIn ->
if options.detach_id?
stored_scroll_position = $(window).scrollTop()
$('#' + options.detach_id).css('display', 'none')
resizeImage()
bindCurtainEvents()
$(document).trigger('fullsizable:opened', opening_selector)
closeViewer = ->
if options.detach_id?
$('#' + options.detach_id).css('display', 'block')
$(window).scrollTop(stored_scroll_position)
$(container_id).fadeOut ->
$image_holder.remove()
closeFullscreen()
$(container_id).removeClass(spinner_class)
unbindCurtainEvents()
$(window).unbind 'resize', resizeImage
makeFullsizable = ->
images.length = 0
$(options.selector).each ->
image = new Image
image.buffer_src = $(this).attr('href')
image.index = images.length
images.push image
if options.openOnClick
$(this).click (e) ->
e.preventDefault()
makeFullsizable() if options.reloadOnOpen
openViewer(image, this)
prepareCurtain = ->
if options.navigation
$image_holder.append('<a id="fullsized_go_prev" href="#prev"></a><a id="fullsized_go_next" href="#next"></a>')
$(document).on 'click', '#fullsized_go_prev', (e) ->
e.preventDefault()
e.stopPropagation()
prevImage()
$(document).on 'click', '#fullsized_go_next', (e) ->
e.preventDefault()
e.stopPropagation()
nextImage()
if options.closeButton
$image_holder.append('<a id="fullsized_close" href="#close"></a>')
$(document).on 'click', '#fullsized_close', (e) ->
e.preventDefault()
e.stopPropagation()
closeViewer()
if options.fullscreenButton and hasFullscreenSupport()
$image_holder.append('<a id="fullsized_fullscreen" href="#fullscreen"></a>')
$(document).on 'click', '#fullsized_fullscreen', (e) ->
e.preventDefault()
e.stopPropagation()
toggleFullscreen()
switch options.clickBehaviour
when 'close' then $(document).on 'click', container_id, closeViewer
when 'next' then $(document).on 'click', container_id, -> nextImage(true)
else $(document).on 'click', container_id, options.clickBehaviour
bindCurtainEvents = ->
$(document).bind 'keydown', keyPressed
$(document).bind 'fullsizable:next', -> nextImage(true)
$(document).bind 'fullsizable:prev', -> prevImage(true)
$(document).bind 'fullsizable:close', closeViewer
unbindCurtainEvents = ->
$(document).unbind 'keydown', keyPressed
$(document).unbind 'fullsizable:next'
$(document).unbind 'fullsizable:prev'
$(document).unbind 'fullsizable:close'
hideChrome = ->
$chrome = $image_holder.find('a')
if $chrome.is(':visible') == true
$chrome.toggle(false)
$image_holder.bind 'mousemove', mouseMovement
mouseStart = null
mouseMovement = (event) ->
mouseStart = [event.clientX, event.clientY] if mouseStart == null
distance = Math.round(Math.sqrt(Math.pow(mouseStart[1] - event.clientY, 2) + Math.pow(mouseStart[0] - event.clientX, 2)))
if distance >= 10
$image_holder.unbind 'mousemove', mouseMovement
mouseStart = null
showChrome()
showChrome = ->
$('#fullsized_close, #fullsized_fullscreen').toggle(true)
if options.loop
$('#fullsized_go_prev').show()
$('#fullsized_go_next').show()
else
$('#fullsized_go_prev').toggle(current_image != 0)
$('#fullsized_go_next').toggle(current_image != images.length - 1)
$.fn.fullsizable = (opts) ->
options = $.extend
selector: this.selector
detach_id: null
navigation: true
closeButton: true
fullscreenButton: true
openOnClick: true
clickBehaviour: 'close'
preload: true
reloadOnOpen: false
loop: false
, opts || {}
prepareCurtain()
makeFullsizable() if options.preload
$(document).bind 'fullsizable:reload', makeFullsizable
$(document).bind 'fullsizable:open', (e, target) ->
makeFullsizable() if options.reloadOnOpen
for image in images
if image.buffer_src == $(target).attr('href')
openViewer(image, target)
return this
hasFullscreenSupport = ->
fs_dom = $image_holder.get(0)
if fs_dom.requestFullScreen or fs_dom.webkitRequestFullScreen or fs_dom.mozRequestFullScreen
return true
else
return false
closeFullscreen = ->
toggleFullscreen(true)
toggleFullscreen = (force_close) ->
fs_dom = $image_holder.get(0)
if fs_dom.requestFullScreen
if document.fullScreen or force_close
document.exitFullScreen()
else
fs_dom.requestFullScreen()
else if fs_dom.webkitRequestFullScreen
if document.webkitIsFullScreen or force_close
document.webkitCancelFullScreen()
else
fs_dom.webkitRequestFullScreen()
else if fs_dom.mozRequestFullScreen
if document.mozFullScreen or force_close
document.mozCancelFullScreen()
else
fs_dom.mozRequestFullScreen()
| 128207 | ###
jQuery fullsizable plugin v2.1.0
- take full available browser space to show images
(c) 2011-2015 <NAME> <http://m-schmidt.eu/>
Example Usage:
$('a.fullsizable').fullsizable();
Options:
**detach_id** (optional, defaults to null) - id of an element that will temporarely be set to ``display: none`` after the curtain loaded.
**navigation** (optional, defaults to true) - show next and previous links when working with a set of images.
**closeButton** (optional, defaults to true) - show a close link.
**fullscreenButton** (optional, defaults to true) - show full screen button for native HTML5 fullscreen support in supported browsers.
**openOnClick** (optional, defaults to true) - set to false to disable default behavior which fullsizes an image when clicking on a thumb.
**clickBehaviour** (optional, 'next' or 'close', defaults to 'close') - whether a click on an opened image should close the viewer or open the next image.
**preload** (optional, defaults to true) - lookup selector on initialization, set only to false in combination with ``reloadOnOpen: true`` or ``fullsizable:reload`` event.
**reloadOnOpen** (optional, defaults to false) - lookup selector every time the viewer opens.
**loop** (optional, defaults to false) - don't hide prev/next button on first/last image, so images are looped
###
$ = jQuery
container_id = '#jquery-fullsizable'
image_holder_id = '#fullsized_image_holder'
spinner_class = 'fullsized_spinner'
$image_holder = $('<div id="jquery-fullsizable"><div id="fullsized_image_holder"></div></div>')
images = []
current_image = 0
options = null
stored_scroll_position = null
resizeImage = ->
image = images[current_image]
image.ratio ?= (image.naturalHeight / image.naturalWidth).toFixed(2)
if $(window).height() / image.ratio > $(window).width()
$(image).width($(window).width())
$(image).height($(window).width() * image.ratio)
$(image).css('margin-top', ($(window).height() - $(image).height()) / 2)
else
$(image).height($(window).height())
$(image).width($(window).height() / image.ratio)
$(image).css('margin-top', 0)
keyPressed = (e) ->
closeViewer() if e.keyCode == 27
if e.keyCode == 37
prevImage(true)
if e.keyCode == 39
nextImage(true)
prevImage = (shouldHideChrome = false) ->
if current_image > 0
showImage(images[current_image - 1], -1, shouldHideChrome)
else if options.loop
showImage(images[images.length - 1], -1, shouldHideChrome)
nextImage = (shouldHideChrome = false) ->
if current_image < images.length - 1
showImage(images[current_image + 1], 1, shouldHideChrome)
else if options.loop
showImage(images[0], 1, shouldHideChrome)
showImage = (image, direction = 1, shouldHideChrome = false) ->
current_image = image.index
$(image_holder_id).hide()
$(image_holder_id).html(image)
# show/hide navigation when hitting range limits
if options.navigation
if shouldHideChrome == true
hideChrome()
else
showChrome()
if image.loaded?
$(container_id).removeClass(spinner_class)
resizeImage()
$(image_holder_id).fadeIn('fast')
preloadImage(direction)
else
# first load
$(container_id).addClass(spinner_class)
image.onload = ->
resizeImage()
$(image_holder_id).fadeIn 'slow', ->
$(container_id).removeClass(spinner_class)
this.loaded = true
preloadImage(direction)
image.src = image.buffer_src
preloadImage = (direction) ->
# smart preloading
if direction == 1 and current_image < images.length - 1
preload_image = images[current_image + 1]
else if (direction == -1 or current_image == (images.length - 1)) and current_image > 0
preload_image = images[current_image - 1]
else
return
preload_image.onload = ->
this.loaded = true
preload_image.src = preload_image.buffer_src if preload_image.src == ''
openViewer = (image, opening_selector) ->
$('body').append($image_holder)
$(window).bind 'resize', resizeImage
showImage(image)
$(container_id).hide().fadeIn ->
if options.detach_id?
stored_scroll_position = $(window).scrollTop()
$('#' + options.detach_id).css('display', 'none')
resizeImage()
bindCurtainEvents()
$(document).trigger('fullsizable:opened', opening_selector)
closeViewer = ->
if options.detach_id?
$('#' + options.detach_id).css('display', 'block')
$(window).scrollTop(stored_scroll_position)
$(container_id).fadeOut ->
$image_holder.remove()
closeFullscreen()
$(container_id).removeClass(spinner_class)
unbindCurtainEvents()
$(window).unbind 'resize', resizeImage
makeFullsizable = ->
images.length = 0
$(options.selector).each ->
image = new Image
image.buffer_src = $(this).attr('href')
image.index = images.length
images.push image
if options.openOnClick
$(this).click (e) ->
e.preventDefault()
makeFullsizable() if options.reloadOnOpen
openViewer(image, this)
prepareCurtain = ->
if options.navigation
$image_holder.append('<a id="fullsized_go_prev" href="#prev"></a><a id="fullsized_go_next" href="#next"></a>')
$(document).on 'click', '#fullsized_go_prev', (e) ->
e.preventDefault()
e.stopPropagation()
prevImage()
$(document).on 'click', '#fullsized_go_next', (e) ->
e.preventDefault()
e.stopPropagation()
nextImage()
if options.closeButton
$image_holder.append('<a id="fullsized_close" href="#close"></a>')
$(document).on 'click', '#fullsized_close', (e) ->
e.preventDefault()
e.stopPropagation()
closeViewer()
if options.fullscreenButton and hasFullscreenSupport()
$image_holder.append('<a id="fullsized_fullscreen" href="#fullscreen"></a>')
$(document).on 'click', '#fullsized_fullscreen', (e) ->
e.preventDefault()
e.stopPropagation()
toggleFullscreen()
switch options.clickBehaviour
when 'close' then $(document).on 'click', container_id, closeViewer
when 'next' then $(document).on 'click', container_id, -> nextImage(true)
else $(document).on 'click', container_id, options.clickBehaviour
bindCurtainEvents = ->
$(document).bind 'keydown', keyPressed
$(document).bind 'fullsizable:next', -> nextImage(true)
$(document).bind 'fullsizable:prev', -> prevImage(true)
$(document).bind 'fullsizable:close', closeViewer
unbindCurtainEvents = ->
$(document).unbind 'keydown', keyPressed
$(document).unbind 'fullsizable:next'
$(document).unbind 'fullsizable:prev'
$(document).unbind 'fullsizable:close'
hideChrome = ->
$chrome = $image_holder.find('a')
if $chrome.is(':visible') == true
$chrome.toggle(false)
$image_holder.bind 'mousemove', mouseMovement
mouseStart = null
mouseMovement = (event) ->
mouseStart = [event.clientX, event.clientY] if mouseStart == null
distance = Math.round(Math.sqrt(Math.pow(mouseStart[1] - event.clientY, 2) + Math.pow(mouseStart[0] - event.clientX, 2)))
if distance >= 10
$image_holder.unbind 'mousemove', mouseMovement
mouseStart = null
showChrome()
showChrome = ->
$('#fullsized_close, #fullsized_fullscreen').toggle(true)
if options.loop
$('#fullsized_go_prev').show()
$('#fullsized_go_next').show()
else
$('#fullsized_go_prev').toggle(current_image != 0)
$('#fullsized_go_next').toggle(current_image != images.length - 1)
$.fn.fullsizable = (opts) ->
options = $.extend
selector: this.selector
detach_id: null
navigation: true
closeButton: true
fullscreenButton: true
openOnClick: true
clickBehaviour: 'close'
preload: true
reloadOnOpen: false
loop: false
, opts || {}
prepareCurtain()
makeFullsizable() if options.preload
$(document).bind 'fullsizable:reload', makeFullsizable
$(document).bind 'fullsizable:open', (e, target) ->
makeFullsizable() if options.reloadOnOpen
for image in images
if image.buffer_src == $(target).attr('href')
openViewer(image, target)
return this
hasFullscreenSupport = ->
fs_dom = $image_holder.get(0)
if fs_dom.requestFullScreen or fs_dom.webkitRequestFullScreen or fs_dom.mozRequestFullScreen
return true
else
return false
closeFullscreen = ->
toggleFullscreen(true)
toggleFullscreen = (force_close) ->
fs_dom = $image_holder.get(0)
if fs_dom.requestFullScreen
if document.fullScreen or force_close
document.exitFullScreen()
else
fs_dom.requestFullScreen()
else if fs_dom.webkitRequestFullScreen
if document.webkitIsFullScreen or force_close
document.webkitCancelFullScreen()
else
fs_dom.webkitRequestFullScreen()
else if fs_dom.mozRequestFullScreen
if document.mozFullScreen or force_close
document.mozCancelFullScreen()
else
fs_dom.mozRequestFullScreen()
| true | ###
jQuery fullsizable plugin v2.1.0
- take full available browser space to show images
(c) 2011-2015 PI:NAME:<NAME>END_PI <http://m-schmidt.eu/>
Example Usage:
$('a.fullsizable').fullsizable();
Options:
**detach_id** (optional, defaults to null) - id of an element that will temporarely be set to ``display: none`` after the curtain loaded.
**navigation** (optional, defaults to true) - show next and previous links when working with a set of images.
**closeButton** (optional, defaults to true) - show a close link.
**fullscreenButton** (optional, defaults to true) - show full screen button for native HTML5 fullscreen support in supported browsers.
**openOnClick** (optional, defaults to true) - set to false to disable default behavior which fullsizes an image when clicking on a thumb.
**clickBehaviour** (optional, 'next' or 'close', defaults to 'close') - whether a click on an opened image should close the viewer or open the next image.
**preload** (optional, defaults to true) - lookup selector on initialization, set only to false in combination with ``reloadOnOpen: true`` or ``fullsizable:reload`` event.
**reloadOnOpen** (optional, defaults to false) - lookup selector every time the viewer opens.
**loop** (optional, defaults to false) - don't hide prev/next button on first/last image, so images are looped
###
$ = jQuery
container_id = '#jquery-fullsizable'
image_holder_id = '#fullsized_image_holder'
spinner_class = 'fullsized_spinner'
$image_holder = $('<div id="jquery-fullsizable"><div id="fullsized_image_holder"></div></div>')
images = []
current_image = 0
options = null
stored_scroll_position = null
resizeImage = ->
image = images[current_image]
image.ratio ?= (image.naturalHeight / image.naturalWidth).toFixed(2)
if $(window).height() / image.ratio > $(window).width()
$(image).width($(window).width())
$(image).height($(window).width() * image.ratio)
$(image).css('margin-top', ($(window).height() - $(image).height()) / 2)
else
$(image).height($(window).height())
$(image).width($(window).height() / image.ratio)
$(image).css('margin-top', 0)
keyPressed = (e) ->
closeViewer() if e.keyCode == 27
if e.keyCode == 37
prevImage(true)
if e.keyCode == 39
nextImage(true)
prevImage = (shouldHideChrome = false) ->
if current_image > 0
showImage(images[current_image - 1], -1, shouldHideChrome)
else if options.loop
showImage(images[images.length - 1], -1, shouldHideChrome)
nextImage = (shouldHideChrome = false) ->
if current_image < images.length - 1
showImage(images[current_image + 1], 1, shouldHideChrome)
else if options.loop
showImage(images[0], 1, shouldHideChrome)
showImage = (image, direction = 1, shouldHideChrome = false) ->
current_image = image.index
$(image_holder_id).hide()
$(image_holder_id).html(image)
# show/hide navigation when hitting range limits
if options.navigation
if shouldHideChrome == true
hideChrome()
else
showChrome()
if image.loaded?
$(container_id).removeClass(spinner_class)
resizeImage()
$(image_holder_id).fadeIn('fast')
preloadImage(direction)
else
# first load
$(container_id).addClass(spinner_class)
image.onload = ->
resizeImage()
$(image_holder_id).fadeIn 'slow', ->
$(container_id).removeClass(spinner_class)
this.loaded = true
preloadImage(direction)
image.src = image.buffer_src
preloadImage = (direction) ->
# smart preloading
if direction == 1 and current_image < images.length - 1
preload_image = images[current_image + 1]
else if (direction == -1 or current_image == (images.length - 1)) and current_image > 0
preload_image = images[current_image - 1]
else
return
preload_image.onload = ->
this.loaded = true
preload_image.src = preload_image.buffer_src if preload_image.src == ''
openViewer = (image, opening_selector) ->
$('body').append($image_holder)
$(window).bind 'resize', resizeImage
showImage(image)
$(container_id).hide().fadeIn ->
if options.detach_id?
stored_scroll_position = $(window).scrollTop()
$('#' + options.detach_id).css('display', 'none')
resizeImage()
bindCurtainEvents()
$(document).trigger('fullsizable:opened', opening_selector)
closeViewer = ->
if options.detach_id?
$('#' + options.detach_id).css('display', 'block')
$(window).scrollTop(stored_scroll_position)
$(container_id).fadeOut ->
$image_holder.remove()
closeFullscreen()
$(container_id).removeClass(spinner_class)
unbindCurtainEvents()
$(window).unbind 'resize', resizeImage
makeFullsizable = ->
images.length = 0
$(options.selector).each ->
image = new Image
image.buffer_src = $(this).attr('href')
image.index = images.length
images.push image
if options.openOnClick
$(this).click (e) ->
e.preventDefault()
makeFullsizable() if options.reloadOnOpen
openViewer(image, this)
prepareCurtain = ->
if options.navigation
$image_holder.append('<a id="fullsized_go_prev" href="#prev"></a><a id="fullsized_go_next" href="#next"></a>')
$(document).on 'click', '#fullsized_go_prev', (e) ->
e.preventDefault()
e.stopPropagation()
prevImage()
$(document).on 'click', '#fullsized_go_next', (e) ->
e.preventDefault()
e.stopPropagation()
nextImage()
if options.closeButton
$image_holder.append('<a id="fullsized_close" href="#close"></a>')
$(document).on 'click', '#fullsized_close', (e) ->
e.preventDefault()
e.stopPropagation()
closeViewer()
if options.fullscreenButton and hasFullscreenSupport()
$image_holder.append('<a id="fullsized_fullscreen" href="#fullscreen"></a>')
$(document).on 'click', '#fullsized_fullscreen', (e) ->
e.preventDefault()
e.stopPropagation()
toggleFullscreen()
switch options.clickBehaviour
when 'close' then $(document).on 'click', container_id, closeViewer
when 'next' then $(document).on 'click', container_id, -> nextImage(true)
else $(document).on 'click', container_id, options.clickBehaviour
bindCurtainEvents = ->
$(document).bind 'keydown', keyPressed
$(document).bind 'fullsizable:next', -> nextImage(true)
$(document).bind 'fullsizable:prev', -> prevImage(true)
$(document).bind 'fullsizable:close', closeViewer
unbindCurtainEvents = ->
$(document).unbind 'keydown', keyPressed
$(document).unbind 'fullsizable:next'
$(document).unbind 'fullsizable:prev'
$(document).unbind 'fullsizable:close'
hideChrome = ->
$chrome = $image_holder.find('a')
if $chrome.is(':visible') == true
$chrome.toggle(false)
$image_holder.bind 'mousemove', mouseMovement
mouseStart = null
mouseMovement = (event) ->
mouseStart = [event.clientX, event.clientY] if mouseStart == null
distance = Math.round(Math.sqrt(Math.pow(mouseStart[1] - event.clientY, 2) + Math.pow(mouseStart[0] - event.clientX, 2)))
if distance >= 10
$image_holder.unbind 'mousemove', mouseMovement
mouseStart = null
showChrome()
showChrome = ->
$('#fullsized_close, #fullsized_fullscreen').toggle(true)
if options.loop
$('#fullsized_go_prev').show()
$('#fullsized_go_next').show()
else
$('#fullsized_go_prev').toggle(current_image != 0)
$('#fullsized_go_next').toggle(current_image != images.length - 1)
$.fn.fullsizable = (opts) ->
options = $.extend
selector: this.selector
detach_id: null
navigation: true
closeButton: true
fullscreenButton: true
openOnClick: true
clickBehaviour: 'close'
preload: true
reloadOnOpen: false
loop: false
, opts || {}
prepareCurtain()
makeFullsizable() if options.preload
$(document).bind 'fullsizable:reload', makeFullsizable
$(document).bind 'fullsizable:open', (e, target) ->
makeFullsizable() if options.reloadOnOpen
for image in images
if image.buffer_src == $(target).attr('href')
openViewer(image, target)
return this
hasFullscreenSupport = ->
fs_dom = $image_holder.get(0)
if fs_dom.requestFullScreen or fs_dom.webkitRequestFullScreen or fs_dom.mozRequestFullScreen
return true
else
return false
closeFullscreen = ->
toggleFullscreen(true)
toggleFullscreen = (force_close) ->
fs_dom = $image_holder.get(0)
if fs_dom.requestFullScreen
if document.fullScreen or force_close
document.exitFullScreen()
else
fs_dom.requestFullScreen()
else if fs_dom.webkitRequestFullScreen
if document.webkitIsFullScreen or force_close
document.webkitCancelFullScreen()
else
fs_dom.webkitRequestFullScreen()
else if fs_dom.mozRequestFullScreen
if document.mozFullScreen or force_close
document.mozCancelFullScreen()
else
fs_dom.mozRequestFullScreen()
|
[
{
"context": " cells.should.eql [\n { key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time ",
"end": 1906,
"score": 0.9443396925926208,
"start": 1885,
"tag": "KEY",
"value": "test_row_put_x_rows_1"
},
{
"context": " time + 80, '$': 'v 1.3'... | test/row.coffee | ripjar/node-hbase | 82 |
test = require './test'
Row = require '../src/row'
describe 'row', ->
@timeout 0
it 'put column family', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_column_family')
.put 'node_column_family:', 'my value', (err, data) ->
should.not.exist err
data.should.be.true()
next()
it 'put column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_column')
.put 'node_column_family:node_column', 'my value', (err, success) ->
should.not.exist err
success.should.be.true()
next()
it 'put multiple rows', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_x_rows_1')
.delete ->
client
.table('node_table')
.row('test_row_put_x_rows_2')
.delete () ->
time = Date.now()
client
.table('node_table')
.row(null) # 'test_row_put_multiple_rows'
.put [
{key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 60, $: 'v 1.1'}
{key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 40, $: 'v 1.2'}
{key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 80, $: 'v 1.3'}
{key: 'test_row_put_x_rows_2', column: 'node_column_family:', timestamp: time + 40, $: 'v 2.2'}
], (err, success) ->
return next err if err
should.not.exist err
success.should.be.true()
client
.table('node_table')
.row('test_row_put_x_rows_*')
.get 'node_column_family:', v: 3, (err, cells) ->
should.not.exist err
cells.should.eql [
{ key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 80, '$': 'v 1.3'}
{ key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 60, '$': 'v 1.1'}
{ key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 40, '$': 'v 1.2'}
{ key: 'test_row_put_x_rows_2', column: 'node_column_family:', timestamp: time + 40, '$': 'v 2.2'}
]
next()
it 'put multiple columns with multiple arguments', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_multiple_columns_multi_args')
.delete (err, success) ->
should.not.exist err
this.put [
'node_column_family:node_column_1'
'node_column_family:node_column_2'
], [
'my value 1'
'my value 2'
], (err, success) ->
should.not.exist err
success.should.be.true()
this.get (err, cells) ->
cells.length.should.eql 2
cells[0].column.should.eql 'node_column_family:node_column_1'
cells[0].$.should.eql 'my value 1'
cells[1].column.should.eql 'node_column_family:node_column_2'
cells[1].$.should.eql 'my value 2'
next()
it 'put multiple columns with one arguments', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_multiple_columns_one_arg')
.delete (err, success) ->
should.not.exist err
columns = [
{ column: 'node_column_family:c1', $: 'v 1' }
{ column: 'node_column_family:c2', $: 'v 2' }
]
this.put columns, (err, success) ->
should.not.exist err
success.should.be.true()
this.get (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].column.should.eql 'node_column_family:c1'
cells[0].$.should.eql 'v 1'
cells[1].column.should.eql 'node_column_family:c2'
cells[1].$.should.eql 'v 2'
next()
it 'get row', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_row')
.delete (err, value) ->
colums = ['node_column_family:column_1', 'node_column_family:column_2']
values = ['my value 1','my value 2']
this.put colums, values, (err, value) ->
this.get (err, cells) ->
should.not.exist err
cells.should.be.an.instanceof Array
cells.length.should.eql 2
should.not.exist cells[0].key
cells[0].column.should.eql 'node_column_family:column_1'
cells[0].$.should.eql 'my value 1'
cells[1].column.should.eql 'node_column_family:column_2'
cells[1].$.should.eql 'my value 2'
next()
it 'get row with suffix globbing', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_globbing_1')
.delete (err, success) ->
should.not.exist err
this.put 'node_column_family:column_1', 'my value 1', (err, success) ->
should.not.exist err
client
.table('node_table')
.row('test_row_get_globbing_2')
.delete (err, success) ->
should.not.exist err
this.put 'node_column_family:column_1', 'my value 2', (err, success) ->
should.not.exist err
client
.table('node_table')
.row('test_row_get_globbing_*')
.get (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].key.should.eql 'test_row_get_globbing_1'
cells[1].key.should.eql 'test_row_get_globbing_2'
next()
it 'get column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_column')
.delete (err, value) ->
this.put 'node_column_family:', 'my value', (err, value) ->
# curl -H "Accept: application/json" http:#localhost:8080/node_table/test_row_get_column/node_column_family
this.get 'node_column_family:', (err, cells) ->
should.not.exist err
cells.should.be.an.instanceof Array
cells.length.should.eql 1
cells[0].column.should.eql 'node_column_family:'
cells[0].$.should.eql 'my value'
next()
it 'get escape', (next) ->
# the "!" and "'" are not escaped by "encodeURIComponent")
# and java throw an error
row = 'test_get_escape!\'éè~:@#.? ()' # '*' is not accepted
column = 'node_column_family:!\'éè~:@#.? ()' # "*" is not accepted
test.client (err, client) ->
client
.table('node_table')
.row(row) # "/, "
.delete (err, value) ->
should.not.exist err
this.put column, 'my value', (err, success) ->
should.not.exist err
client
.table('node_table')
.row(row)
.get (err, value) ->
should.not.exist err
value.length.should.eql 1
value[0].column.should.eql column
next()
it 'get options start and end', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_start_end')
.delete (err, success) ->
time = Date.now()
rows = [
{ column: 'node_column_family:c1', timestamp: time+20, $: 'v 1' }
{ column: 'node_column_family:c1', timestamp: time+40, $: 'v 2' }
{ column: 'node_column_family:c1', timestamp: time+60, $: 'v 3' }
{ column: 'node_column_family:c1', timestamp: time+80, $: 'v 4' }
]
this.put rows, (err, success) ->
should.not.exist err
setTimeout =>
this.get 'node_column_family:c1', {start: time+40, end:time+60+1, v:10}, (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].timestamp.should.eql time+60
cells[1].timestamp.should.eql time+40
next()
, 1000
it 'get option v', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_v')
.delete (err, value) ->
this.put ['node_column_family:','node_column_family:'], ['v 1','v 2'], (err, value) ->
this.get 'node_column_family:', {v:1}, (err, cells) ->
should.not.exist err
cells.should.be.an.instanceof Array
cells.length.should.eql 1
cells[0].column.should.eql 'node_column_family:'
cells[0].$.should.eql 'v 2'
next()
it 'get multiple columns', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_multiple_columns')
.delete (err, value) ->
should.not.exist err
this.put ['node_column_family:c1','node_column_family:c2','node_column_family:c3'], ['v 1','v 2','v 3'], (err, value) ->
should.not.exist err
this.get ['node_column_family:c1','node_column_family:c3'], (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].column.should.eql 'node_column_family:c1'
cells[0].$.should.eql 'v 1'
cells[1].column.should.eql 'node_column_family:c3'
cells[1].$.should.eql 'v 3'
next()
it 'get missing row', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_row_missing')
.get 'node_column_family:', (err, value) ->
(err.code is 404 or err.code is 503).should.be.true
should.not.exist value
next()
it 'get missing column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_column_missing')
.put 'node_column_family:', 'my value', (err, value) ->
this.get 'node_column_family:column_missing', (err, value) ->
err.code.should.eql 404
should.not.exist value
next()
it 'exists # row # Row exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_row')
.put 'node_column_family:', 'value', (err, value) ->
this.exists (err, exists) ->
should.not.exist err
exists.should.be.true()
next()
it 'exists # row # Row does not exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_row_missing')
.exists (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'exists # column # Row exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column')
.put 'node_column_family:', 'value', (err, value) ->
this.exists 'node_column_family:', (err, exists) ->
should.not.exist err
exists.should.be.true()
next()
it 'exists # column # Row does not exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column_with_row_missing')
.exists 'node_column_family:', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'exists # column # Row exists and column family does not exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column_with_column_missing')
.put 'node_column_family:', 'value', (err, value) ->
this.exists 'node_column_family_missing', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'exists # column # Row exists and column family exists and column does not exits', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column_with_column_missing')
.put 'node_column_family:', 'value', (err, value) ->
this.exists 'node_column_family:column_missing', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'delete row', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_delete_row')
.put 'node_column_family:column_1', 'my value', (err, value) ->
this.put 'node_column_family:column_2', 'my value', (err, value) ->
this.delete (err, success) ->
should.not.exist err
success.should.be.true
this.exists (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'delete column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_delete_column')
.put 'node_column_family:c_1', 'my value', (err, value) ->
this.put 'node_column_family:c_2', 'my value', (err, value) ->
this.delete 'node_column_family:c_2', (err, success) ->
should.not.exist err
success.should.be.true
count = 0
this.exists 'node_column_family:c_1', (err, exists) ->
should.not.exist err
exists.should.be.true()
done()
this.exists 'node_column_family:c_2', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
done()
count = 0
done = (err) ->
count++
next err if err or count is 2
it 'delete multiple columns', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_delete_multiple_columns')
.delete (err, success) ->
should.not.exist err
this.put ['node_column_family:c_1','node_column_family:c_2','node_column_family:c_3'], ['v 1','v 2','v 3'], (err, value) ->
should.not.exist err
this.delete ['node_column_family:c_1','node_column_family:c_3'], (err, success) ->
should.not.exist err
success.should.be.true
this.exists 'node_column_family:c_1', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
done()
this.exists 'node_column_family:c_2', (err, exists) ->
should.not.exist err
exists.should.be.true()
done()
this.exists 'node_column_family:c_3', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
done()
this.exists (err, exists) ->
should.not.exist err
exists.should.be.true()
done()
count = 0
done = (err) ->
count++
next err if err or count is 4
| 30686 |
test = require './test'
Row = require '../src/row'
describe 'row', ->
@timeout 0
it 'put column family', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_column_family')
.put 'node_column_family:', 'my value', (err, data) ->
should.not.exist err
data.should.be.true()
next()
it 'put column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_column')
.put 'node_column_family:node_column', 'my value', (err, success) ->
should.not.exist err
success.should.be.true()
next()
it 'put multiple rows', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_x_rows_1')
.delete ->
client
.table('node_table')
.row('test_row_put_x_rows_2')
.delete () ->
time = Date.now()
client
.table('node_table')
.row(null) # 'test_row_put_multiple_rows'
.put [
{key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 60, $: 'v 1.1'}
{key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 40, $: 'v 1.2'}
{key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 80, $: 'v 1.3'}
{key: 'test_row_put_x_rows_2', column: 'node_column_family:', timestamp: time + 40, $: 'v 2.2'}
], (err, success) ->
return next err if err
should.not.exist err
success.should.be.true()
client
.table('node_table')
.row('test_row_put_x_rows_*')
.get 'node_column_family:', v: 3, (err, cells) ->
should.not.exist err
cells.should.eql [
{ key: '<KEY>', column: 'node_column_family:', timestamp: time + 80, '$': 'v 1.3'}
{ key: '<KEY>', column: 'node_column_family:', timestamp: time + 60, '$': 'v 1.1'}
{ key: '<KEY>', column: 'node_column_family:', timestamp: time + 40, '$': 'v 1.2'}
{ key: '<KEY>', column: 'node_column_family:', timestamp: time + 40, '$': 'v 2.2'}
]
next()
it 'put multiple columns with multiple arguments', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_multiple_columns_multi_args')
.delete (err, success) ->
should.not.exist err
this.put [
'node_column_family:node_column_1'
'node_column_family:node_column_2'
], [
'my value 1'
'my value 2'
], (err, success) ->
should.not.exist err
success.should.be.true()
this.get (err, cells) ->
cells.length.should.eql 2
cells[0].column.should.eql 'node_column_family:node_column_1'
cells[0].$.should.eql 'my value 1'
cells[1].column.should.eql 'node_column_family:node_column_2'
cells[1].$.should.eql 'my value 2'
next()
it 'put multiple columns with one arguments', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_multiple_columns_one_arg')
.delete (err, success) ->
should.not.exist err
columns = [
{ column: 'node_column_family:c1', $: 'v 1' }
{ column: 'node_column_family:c2', $: 'v 2' }
]
this.put columns, (err, success) ->
should.not.exist err
success.should.be.true()
this.get (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].column.should.eql 'node_column_family:c1'
cells[0].$.should.eql 'v 1'
cells[1].column.should.eql 'node_column_family:c2'
cells[1].$.should.eql 'v 2'
next()
it 'get row', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_row')
.delete (err, value) ->
colums = ['node_column_family:column_1', 'node_column_family:column_2']
values = ['my value 1','my value 2']
this.put colums, values, (err, value) ->
this.get (err, cells) ->
should.not.exist err
cells.should.be.an.instanceof Array
cells.length.should.eql 2
should.not.exist cells[0].key
cells[0].column.should.eql 'node_column_family:column_1'
cells[0].$.should.eql 'my value 1'
cells[1].column.should.eql 'node_column_family:column_2'
cells[1].$.should.eql 'my value 2'
next()
it 'get row with suffix globbing', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_globbing_1')
.delete (err, success) ->
should.not.exist err
this.put 'node_column_family:column_1', 'my value 1', (err, success) ->
should.not.exist err
client
.table('node_table')
.row('test_row_get_globbing_2')
.delete (err, success) ->
should.not.exist err
this.put 'node_column_family:column_1', 'my value 2', (err, success) ->
should.not.exist err
client
.table('node_table')
.row('test_row_get_globbing_*')
.get (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].key.should.eql '<KEY>'
cells[1].key.should.eql '<KEY>'
next()
it 'get column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_column')
.delete (err, value) ->
this.put 'node_column_family:', 'my value', (err, value) ->
# curl -H "Accept: application/json" http:#localhost:8080/node_table/test_row_get_column/node_column_family
this.get 'node_column_family:', (err, cells) ->
should.not.exist err
cells.should.be.an.instanceof Array
cells.length.should.eql 1
cells[0].column.should.eql 'node_column_family:'
cells[0].$.should.eql 'my value'
next()
it 'get escape', (next) ->
# the "!" and "'" are not escaped by "encodeURIComponent")
# and java throw an error
row = 'test_get_escape!\'éè~:@#.? ()' # '*' is not accepted
column = 'node_column_family:!\'éè~:@#.? ()' # "*" is not accepted
test.client (err, client) ->
client
.table('node_table')
.row(row) # "/, "
.delete (err, value) ->
should.not.exist err
this.put column, 'my value', (err, success) ->
should.not.exist err
client
.table('node_table')
.row(row)
.get (err, value) ->
should.not.exist err
value.length.should.eql 1
value[0].column.should.eql column
next()
it 'get options start and end', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_start_end')
.delete (err, success) ->
time = Date.now()
rows = [
{ column: 'node_column_family:c1', timestamp: time+20, $: 'v 1' }
{ column: 'node_column_family:c1', timestamp: time+40, $: 'v 2' }
{ column: 'node_column_family:c1', timestamp: time+60, $: 'v 3' }
{ column: 'node_column_family:c1', timestamp: time+80, $: 'v 4' }
]
this.put rows, (err, success) ->
should.not.exist err
setTimeout =>
this.get 'node_column_family:c1', {start: time+40, end:time+60+1, v:10}, (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].timestamp.should.eql time+60
cells[1].timestamp.should.eql time+40
next()
, 1000
it 'get option v', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_v')
.delete (err, value) ->
this.put ['node_column_family:','node_column_family:'], ['v 1','v 2'], (err, value) ->
this.get 'node_column_family:', {v:1}, (err, cells) ->
should.not.exist err
cells.should.be.an.instanceof Array
cells.length.should.eql 1
cells[0].column.should.eql 'node_column_family:'
cells[0].$.should.eql 'v 2'
next()
it 'get multiple columns', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_multiple_columns')
.delete (err, value) ->
should.not.exist err
this.put ['node_column_family:c1','node_column_family:c2','node_column_family:c3'], ['v 1','v 2','v 3'], (err, value) ->
should.not.exist err
this.get ['node_column_family:c1','node_column_family:c3'], (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].column.should.eql 'node_column_family:c1'
cells[0].$.should.eql 'v 1'
cells[1].column.should.eql 'node_column_family:c3'
cells[1].$.should.eql 'v 3'
next()
it 'get missing row', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_row_missing')
.get 'node_column_family:', (err, value) ->
(err.code is 404 or err.code is 503).should.be.true
should.not.exist value
next()
it 'get missing column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_column_missing')
.put 'node_column_family:', 'my value', (err, value) ->
this.get 'node_column_family:column_missing', (err, value) ->
err.code.should.eql 404
should.not.exist value
next()
it 'exists # row # Row exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_row')
.put 'node_column_family:', 'value', (err, value) ->
this.exists (err, exists) ->
should.not.exist err
exists.should.be.true()
next()
it 'exists # row # Row does not exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_row_missing')
.exists (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'exists # column # Row exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column')
.put 'node_column_family:', 'value', (err, value) ->
this.exists 'node_column_family:', (err, exists) ->
should.not.exist err
exists.should.be.true()
next()
it 'exists # column # Row does not exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column_with_row_missing')
.exists 'node_column_family:', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'exists # column # Row exists and column family does not exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column_with_column_missing')
.put 'node_column_family:', 'value', (err, value) ->
this.exists 'node_column_family_missing', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'exists # column # Row exists and column family exists and column does not exits', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column_with_column_missing')
.put 'node_column_family:', 'value', (err, value) ->
this.exists 'node_column_family:column_missing', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'delete row', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_delete_row')
.put 'node_column_family:column_1', 'my value', (err, value) ->
this.put 'node_column_family:column_2', 'my value', (err, value) ->
this.delete (err, success) ->
should.not.exist err
success.should.be.true
this.exists (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'delete column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_delete_column')
.put 'node_column_family:c_1', 'my value', (err, value) ->
this.put 'node_column_family:c_2', 'my value', (err, value) ->
this.delete 'node_column_family:c_2', (err, success) ->
should.not.exist err
success.should.be.true
count = 0
this.exists 'node_column_family:c_1', (err, exists) ->
should.not.exist err
exists.should.be.true()
done()
this.exists 'node_column_family:c_2', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
done()
count = 0
done = (err) ->
count++
next err if err or count is 2
it 'delete multiple columns', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_delete_multiple_columns')
.delete (err, success) ->
should.not.exist err
this.put ['node_column_family:c_1','node_column_family:c_2','node_column_family:c_3'], ['v 1','v 2','v 3'], (err, value) ->
should.not.exist err
this.delete ['node_column_family:c_1','node_column_family:c_3'], (err, success) ->
should.not.exist err
success.should.be.true
this.exists 'node_column_family:c_1', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
done()
this.exists 'node_column_family:c_2', (err, exists) ->
should.not.exist err
exists.should.be.true()
done()
this.exists 'node_column_family:c_3', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
done()
this.exists (err, exists) ->
should.not.exist err
exists.should.be.true()
done()
count = 0
done = (err) ->
count++
next err if err or count is 4
| true |
test = require './test'
Row = require '../src/row'
describe 'row', ->
@timeout 0
it 'put column family', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_column_family')
.put 'node_column_family:', 'my value', (err, data) ->
should.not.exist err
data.should.be.true()
next()
it 'put column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_column')
.put 'node_column_family:node_column', 'my value', (err, success) ->
should.not.exist err
success.should.be.true()
next()
it 'put multiple rows', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_x_rows_1')
.delete ->
client
.table('node_table')
.row('test_row_put_x_rows_2')
.delete () ->
time = Date.now()
client
.table('node_table')
.row(null) # 'test_row_put_multiple_rows'
.put [
{key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 60, $: 'v 1.1'}
{key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 40, $: 'v 1.2'}
{key: 'test_row_put_x_rows_1', column: 'node_column_family:', timestamp: time + 80, $: 'v 1.3'}
{key: 'test_row_put_x_rows_2', column: 'node_column_family:', timestamp: time + 40, $: 'v 2.2'}
], (err, success) ->
return next err if err
should.not.exist err
success.should.be.true()
client
.table('node_table')
.row('test_row_put_x_rows_*')
.get 'node_column_family:', v: 3, (err, cells) ->
should.not.exist err
cells.should.eql [
{ key: 'PI:KEY:<KEY>END_PI', column: 'node_column_family:', timestamp: time + 80, '$': 'v 1.3'}
{ key: 'PI:KEY:<KEY>END_PI', column: 'node_column_family:', timestamp: time + 60, '$': 'v 1.1'}
{ key: 'PI:KEY:<KEY>END_PI', column: 'node_column_family:', timestamp: time + 40, '$': 'v 1.2'}
{ key: 'PI:KEY:<KEY>END_PI', column: 'node_column_family:', timestamp: time + 40, '$': 'v 2.2'}
]
next()
it 'put multiple columns with multiple arguments', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_multiple_columns_multi_args')
.delete (err, success) ->
should.not.exist err
this.put [
'node_column_family:node_column_1'
'node_column_family:node_column_2'
], [
'my value 1'
'my value 2'
], (err, success) ->
should.not.exist err
success.should.be.true()
this.get (err, cells) ->
cells.length.should.eql 2
cells[0].column.should.eql 'node_column_family:node_column_1'
cells[0].$.should.eql 'my value 1'
cells[1].column.should.eql 'node_column_family:node_column_2'
cells[1].$.should.eql 'my value 2'
next()
it 'put multiple columns with one arguments', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_put_multiple_columns_one_arg')
.delete (err, success) ->
should.not.exist err
columns = [
{ column: 'node_column_family:c1', $: 'v 1' }
{ column: 'node_column_family:c2', $: 'v 2' }
]
this.put columns, (err, success) ->
should.not.exist err
success.should.be.true()
this.get (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].column.should.eql 'node_column_family:c1'
cells[0].$.should.eql 'v 1'
cells[1].column.should.eql 'node_column_family:c2'
cells[1].$.should.eql 'v 2'
next()
it 'get row', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_row')
.delete (err, value) ->
colums = ['node_column_family:column_1', 'node_column_family:column_2']
values = ['my value 1','my value 2']
this.put colums, values, (err, value) ->
this.get (err, cells) ->
should.not.exist err
cells.should.be.an.instanceof Array
cells.length.should.eql 2
should.not.exist cells[0].key
cells[0].column.should.eql 'node_column_family:column_1'
cells[0].$.should.eql 'my value 1'
cells[1].column.should.eql 'node_column_family:column_2'
cells[1].$.should.eql 'my value 2'
next()
it 'get row with suffix globbing', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_globbing_1')
.delete (err, success) ->
should.not.exist err
this.put 'node_column_family:column_1', 'my value 1', (err, success) ->
should.not.exist err
client
.table('node_table')
.row('test_row_get_globbing_2')
.delete (err, success) ->
should.not.exist err
this.put 'node_column_family:column_1', 'my value 2', (err, success) ->
should.not.exist err
client
.table('node_table')
.row('test_row_get_globbing_*')
.get (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].key.should.eql 'PI:KEY:<KEY>END_PI'
cells[1].key.should.eql 'PI:KEY:<KEY>END_PI'
next()
it 'get column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_column')
.delete (err, value) ->
this.put 'node_column_family:', 'my value', (err, value) ->
# curl -H "Accept: application/json" http:#localhost:8080/node_table/test_row_get_column/node_column_family
this.get 'node_column_family:', (err, cells) ->
should.not.exist err
cells.should.be.an.instanceof Array
cells.length.should.eql 1
cells[0].column.should.eql 'node_column_family:'
cells[0].$.should.eql 'my value'
next()
it 'get escape', (next) ->
# the "!" and "'" are not escaped by "encodeURIComponent")
# and java throw an error
row = 'test_get_escape!\'éè~:@#.? ()' # '*' is not accepted
column = 'node_column_family:!\'éè~:@#.? ()' # "*" is not accepted
test.client (err, client) ->
client
.table('node_table')
.row(row) # "/, "
.delete (err, value) ->
should.not.exist err
this.put column, 'my value', (err, success) ->
should.not.exist err
client
.table('node_table')
.row(row)
.get (err, value) ->
should.not.exist err
value.length.should.eql 1
value[0].column.should.eql column
next()
it 'get options start and end', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_start_end')
.delete (err, success) ->
time = Date.now()
rows = [
{ column: 'node_column_family:c1', timestamp: time+20, $: 'v 1' }
{ column: 'node_column_family:c1', timestamp: time+40, $: 'v 2' }
{ column: 'node_column_family:c1', timestamp: time+60, $: 'v 3' }
{ column: 'node_column_family:c1', timestamp: time+80, $: 'v 4' }
]
this.put rows, (err, success) ->
should.not.exist err
setTimeout =>
this.get 'node_column_family:c1', {start: time+40, end:time+60+1, v:10}, (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].timestamp.should.eql time+60
cells[1].timestamp.should.eql time+40
next()
, 1000
it 'get option v', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_v')
.delete (err, value) ->
this.put ['node_column_family:','node_column_family:'], ['v 1','v 2'], (err, value) ->
this.get 'node_column_family:', {v:1}, (err, cells) ->
should.not.exist err
cells.should.be.an.instanceof Array
cells.length.should.eql 1
cells[0].column.should.eql 'node_column_family:'
cells[0].$.should.eql 'v 2'
next()
it 'get multiple columns', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_multiple_columns')
.delete (err, value) ->
should.not.exist err
this.put ['node_column_family:c1','node_column_family:c2','node_column_family:c3'], ['v 1','v 2','v 3'], (err, value) ->
should.not.exist err
this.get ['node_column_family:c1','node_column_family:c3'], (err, cells) ->
should.not.exist err
cells.length.should.eql 2
cells[0].column.should.eql 'node_column_family:c1'
cells[0].$.should.eql 'v 1'
cells[1].column.should.eql 'node_column_family:c3'
cells[1].$.should.eql 'v 3'
next()
it 'get missing row', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_row_missing')
.get 'node_column_family:', (err, value) ->
(err.code is 404 or err.code is 503).should.be.true
should.not.exist value
next()
it 'get missing column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_get_column_missing')
.put 'node_column_family:', 'my value', (err, value) ->
this.get 'node_column_family:column_missing', (err, value) ->
err.code.should.eql 404
should.not.exist value
next()
it 'exists # row # Row exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_row')
.put 'node_column_family:', 'value', (err, value) ->
this.exists (err, exists) ->
should.not.exist err
exists.should.be.true()
next()
it 'exists # row # Row does not exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_row_missing')
.exists (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'exists # column # Row exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column')
.put 'node_column_family:', 'value', (err, value) ->
this.exists 'node_column_family:', (err, exists) ->
should.not.exist err
exists.should.be.true()
next()
it 'exists # column # Row does not exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column_with_row_missing')
.exists 'node_column_family:', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'exists # column # Row exists and column family does not exists', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column_with_column_missing')
.put 'node_column_family:', 'value', (err, value) ->
this.exists 'node_column_family_missing', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'exists # column # Row exists and column family exists and column does not exits', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_exist_column_with_column_missing')
.put 'node_column_family:', 'value', (err, value) ->
this.exists 'node_column_family:column_missing', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'delete row', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_delete_row')
.put 'node_column_family:column_1', 'my value', (err, value) ->
this.put 'node_column_family:column_2', 'my value', (err, value) ->
this.delete (err, success) ->
should.not.exist err
success.should.be.true
this.exists (err, exists) ->
should.not.exist err
exists.should.not.be.true()
next()
it 'delete column', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_delete_column')
.put 'node_column_family:c_1', 'my value', (err, value) ->
this.put 'node_column_family:c_2', 'my value', (err, value) ->
this.delete 'node_column_family:c_2', (err, success) ->
should.not.exist err
success.should.be.true
count = 0
this.exists 'node_column_family:c_1', (err, exists) ->
should.not.exist err
exists.should.be.true()
done()
this.exists 'node_column_family:c_2', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
done()
count = 0
done = (err) ->
count++
next err if err or count is 2
it 'delete multiple columns', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row('test_row_delete_multiple_columns')
.delete (err, success) ->
should.not.exist err
this.put ['node_column_family:c_1','node_column_family:c_2','node_column_family:c_3'], ['v 1','v 2','v 3'], (err, value) ->
should.not.exist err
this.delete ['node_column_family:c_1','node_column_family:c_3'], (err, success) ->
should.not.exist err
success.should.be.true
this.exists 'node_column_family:c_1', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
done()
this.exists 'node_column_family:c_2', (err, exists) ->
should.not.exist err
exists.should.be.true()
done()
this.exists 'node_column_family:c_3', (err, exists) ->
should.not.exist err
exists.should.not.be.true()
done()
this.exists (err, exists) ->
should.not.exist err
exists.should.be.true()
done()
count = 0
done = (err) ->
count++
next err if err or count is 4
|
[
{
"context": " 4101: 62096 # Jemeppe-Sur-Meuse\n 4367: 64021 # Crisnée\n 4720: 63040 # La Calamine\n 4721: 630",
"end": 418,
"score": 0.5913069248199463,
"start": 417,
"tag": "NAME",
"value": "C"
},
{
"context": "ée\n 4720: 63040 # La Calamine\n 4721: 63040 # Kelmis\n ... | index.coffee | rubenv/belgium-zipcodes | 2 | _ = require 'underscore'
fs = require 'fs'
csv = require 'csv'
async = require 'async'
undress = require 'undress'
hardcoded =
1120: 21004 # Neder-Over-Heembeek
1602: 23077 # Vlezenbeek
1702: 23016 # Groot-Bijgaarden
1853: 23025 # Strombeek-Bever
3018: 24062 # Wijgmaal
3391: 24135 # Meensel-Kiezegem
3461: 24008 # Molenbeek-Wersbeek
4101: 62096 # Jemeppe-Sur-Meuse
4367: 64021 # Crisnée
4720: 63040 # La Calamine
4721: 63040 # Kelmis
5352: 92097 # Ohey
5571: 91013 # Wiesme
6224: 52021 # Fleurus
6462: 56016 # Chimay
6762: 85045 # Virton
7190: 55050 # Ecaussinnes
7191: 55050 # Ecaussinnes
7711: 54007 # Moeskroen
7742: 57062 # Pecq
7780: 54010 # Komen-Waasten
7783: 54010 # Komen-Waasten
7784: 54010 # Komen-Waasten
7850: 55010 # Edingen
7880: 51019 # Vloesberg
9042: 44014 # Desteldonk
9112: 46021 # Sinaai
9180: 44045 # Moerbeke-waas
toTitleCase = (str) ->
str.replace /\w\S*/g, (txt) ->
txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase()
async.parallel
zipcodes: (cb) ->
csv().from.stream(fs.createReadStream(__dirname + '/data/zipcodes.csv'), { delimiter: ';' }).to.array (data) -> cb(null, data)
niscodes: (cb) ->
csv().from.stream(fs.createReadStream(__dirname + '/data/niscodes.csv'), { delimiter: ';' }).to.array (data) -> cb(null, data)
, (err, vars) ->
{zipcodes, niscodes} = vars
niscodes = {}
niscodes[city[0].toLowerCase().replace(/\*+$/, '')] = city[1] for city in vars.niscodes
cities = []
missing = []
for zip in zipcodes
[ zipCode, name, province ] = zip
province = province.trim()
if province == '' || province == 'Provincie'
continue # Not a real city!
province = 'Brussel' if province == 'Brussel (19 gemeenten)'
name = 'Kessel-Lo' if name == 'Kessel Lo'
name = 'Sint-Joost-ten-Node' if name == 'SINT-JOOST-TEN-NOODE' # Wrong name
name = 'Noirefontaine' if name == 'Noirfontaine'
city =
name: name
zipCode: zipCode
province: province
main: 0
if city.name == city.name.toUpperCase()
city.name = toTitleCase(city.name)
city.main = 1
nis = niscodes[name.toLowerCase()]
if nis # Direct hit
city.nisCode = nis
cities.push(city)
else
missing.push(city)
refilter = (fn) ->
missing = _.filter missing, (city) ->
nis = fn(city)
if nis
city.nisCode = nis
cities.push(city)
return false
else
return true
findNisByZip = (req) ->
for city in cities
return city.nisCode if city.zipCode == req.zipCode
return hardcoded[req.zipCode] if hardcoded[req.zipCode]
return 0
findNisByName = (req) ->
name = undress(req.name)
# Match start
regex = new RegExp('^' + name, 'i')
for city in vars.niscodes
if city[0].match(regex)
return city[1]
# Match rest
regex = new RegExp(name, 'i')
for city in vars.niscodes
if city[0].match(regex)
return city[1]
return 0
refilter(findNisByZip)
refilter(findNisByName)
cities = _.sortBy cities, (city) -> city.name
csv().from(cities).to('out/cities.csv', { columns: ['name', 'zipCode', 'nisCode', 'province', 'main'], header: true })
console.log missing
console.log missing.length
| 86280 | _ = require 'underscore'
fs = require 'fs'
csv = require 'csv'
async = require 'async'
undress = require 'undress'
hardcoded =
1120: 21004 # Neder-Over-Heembeek
1602: 23077 # Vlezenbeek
1702: 23016 # Groot-Bijgaarden
1853: 23025 # Strombeek-Bever
3018: 24062 # Wijgmaal
3391: 24135 # Meensel-Kiezegem
3461: 24008 # Molenbeek-Wersbeek
4101: 62096 # Jemeppe-Sur-Meuse
4367: 64021 # <NAME>risnée
4720: 63040 # La Calamine
4721: 63040 # <NAME>mis
5352: 92097 # Ohey
5571: 91013 # Wiesme
6224: 52021 # Fleurus
6462: 56016 # Chimay
6762: 85045 # Virton
7190: 55050 # Ecaussinnes
7191: 55050 # Ecaussinnes
7711: 54007 # Moeskroen
7742: 57062 # Pecq
7780: 54010 # Komen-Waasten
7783: 54010 # Komen-Waasten
7784: 54010 # Komen-Waasten
7850: 55010 # Edingen
7880: 51019 # Vloesberg
9042: 44014 # Desteldonk
9112: 46021 # Sinaai
9180: 44045 # Moerbeke-waas
toTitleCase = (str) ->
str.replace /\w\S*/g, (txt) ->
txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase()
async.parallel
zipcodes: (cb) ->
csv().from.stream(fs.createReadStream(__dirname + '/data/zipcodes.csv'), { delimiter: ';' }).to.array (data) -> cb(null, data)
niscodes: (cb) ->
csv().from.stream(fs.createReadStream(__dirname + '/data/niscodes.csv'), { delimiter: ';' }).to.array (data) -> cb(null, data)
, (err, vars) ->
{zipcodes, niscodes} = vars
niscodes = {}
niscodes[city[0].toLowerCase().replace(/\*+$/, '')] = city[1] for city in vars.niscodes
cities = []
missing = []
for zip in zipcodes
[ zipCode, name, province ] = zip
province = province.trim()
if province == '' || province == 'Provincie'
continue # Not a real city!
province = 'Brussel' if province == 'Brussel (19 gemeenten)'
name = '<NAME>' if name == '<NAME>'
name = 'Sint-Joost-ten-Node' if name == 'SINT-JOOST-TEN-NOODE' # Wrong name
name = '<NAME>' if name == '<NAME>'
city =
name: name
zipCode: zipCode
province: province
main: 0
if city.name == city.name.toUpperCase()
city.name = toTitleCase(city.name)
city.main = 1
nis = niscodes[name.toLowerCase()]
if nis # Direct hit
city.nisCode = nis
cities.push(city)
else
missing.push(city)
refilter = (fn) ->
missing = _.filter missing, (city) ->
nis = fn(city)
if nis
city.nisCode = nis
cities.push(city)
return false
else
return true
findNisByZip = (req) ->
for city in cities
return city.nisCode if city.zipCode == req.zipCode
return hardcoded[req.zipCode] if hardcoded[req.zipCode]
return 0
findNisByName = (req) ->
name = undress(req.name)
# Match start
regex = new RegExp('^' + name, 'i')
for city in vars.niscodes
if city[0].match(regex)
return city[1]
# Match rest
regex = new RegExp(name, 'i')
for city in vars.niscodes
if city[0].match(regex)
return city[1]
return 0
refilter(findNisByZip)
refilter(findNisByName)
cities = _.sortBy cities, (city) -> city.name
csv().from(cities).to('out/cities.csv', { columns: ['name', 'zipCode', 'nisCode', 'province', 'main'], header: true })
console.log missing
console.log missing.length
| true | _ = require 'underscore'
fs = require 'fs'
csv = require 'csv'
async = require 'async'
undress = require 'undress'
hardcoded =
1120: 21004 # Neder-Over-Heembeek
1602: 23077 # Vlezenbeek
1702: 23016 # Groot-Bijgaarden
1853: 23025 # Strombeek-Bever
3018: 24062 # Wijgmaal
3391: 24135 # Meensel-Kiezegem
3461: 24008 # Molenbeek-Wersbeek
4101: 62096 # Jemeppe-Sur-Meuse
4367: 64021 # PI:NAME:<NAME>END_PIrisnée
4720: 63040 # La Calamine
4721: 63040 # PI:NAME:<NAME>END_PImis
5352: 92097 # Ohey
5571: 91013 # Wiesme
6224: 52021 # Fleurus
6462: 56016 # Chimay
6762: 85045 # Virton
7190: 55050 # Ecaussinnes
7191: 55050 # Ecaussinnes
7711: 54007 # Moeskroen
7742: 57062 # Pecq
7780: 54010 # Komen-Waasten
7783: 54010 # Komen-Waasten
7784: 54010 # Komen-Waasten
7850: 55010 # Edingen
7880: 51019 # Vloesberg
9042: 44014 # Desteldonk
9112: 46021 # Sinaai
9180: 44045 # Moerbeke-waas
toTitleCase = (str) ->
str.replace /\w\S*/g, (txt) ->
txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase()
async.parallel
zipcodes: (cb) ->
csv().from.stream(fs.createReadStream(__dirname + '/data/zipcodes.csv'), { delimiter: ';' }).to.array (data) -> cb(null, data)
niscodes: (cb) ->
csv().from.stream(fs.createReadStream(__dirname + '/data/niscodes.csv'), { delimiter: ';' }).to.array (data) -> cb(null, data)
, (err, vars) ->
{zipcodes, niscodes} = vars
niscodes = {}
niscodes[city[0].toLowerCase().replace(/\*+$/, '')] = city[1] for city in vars.niscodes
cities = []
missing = []
for zip in zipcodes
[ zipCode, name, province ] = zip
province = province.trim()
if province == '' || province == 'Provincie'
continue # Not a real city!
province = 'Brussel' if province == 'Brussel (19 gemeenten)'
name = 'PI:NAME:<NAME>END_PI' if name == 'PI:NAME:<NAME>END_PI'
name = 'Sint-Joost-ten-Node' if name == 'SINT-JOOST-TEN-NOODE' # Wrong name
name = 'PI:NAME:<NAME>END_PI' if name == 'PI:NAME:<NAME>END_PI'
city =
name: name
zipCode: zipCode
province: province
main: 0
if city.name == city.name.toUpperCase()
city.name = toTitleCase(city.name)
city.main = 1
nis = niscodes[name.toLowerCase()]
if nis # Direct hit
city.nisCode = nis
cities.push(city)
else
missing.push(city)
refilter = (fn) ->
missing = _.filter missing, (city) ->
nis = fn(city)
if nis
city.nisCode = nis
cities.push(city)
return false
else
return true
findNisByZip = (req) ->
for city in cities
return city.nisCode if city.zipCode == req.zipCode
return hardcoded[req.zipCode] if hardcoded[req.zipCode]
return 0
findNisByName = (req) ->
name = undress(req.name)
# Match start
regex = new RegExp('^' + name, 'i')
for city in vars.niscodes
if city[0].match(regex)
return city[1]
# Match rest
regex = new RegExp(name, 'i')
for city in vars.niscodes
if city[0].match(regex)
return city[1]
return 0
refilter(findNisByZip)
refilter(findNisByName)
cities = _.sortBy cities, (city) -> city.name
csv().from(cities).to('out/cities.csv', { columns: ['name', 'zipCode', 'nisCode', 'province', 'main'], header: true })
console.log missing
console.log missing.length
|
[
{
"context": "r requestAnimationFrame, Resize, etc..\n# @author : David Ronai / @Makio64 / makiopolis.com\n#\n\nSignal \t= require(",
"end": 76,
"score": 0.9998621344566345,
"start": 65,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "tionFrame, Resize, etc..\n# @author : Davi... | test/src/coffee/core/StageRenderer.coffee | Makio64/christmasxp2015 | 65 | #
# Wrapper for requestAnimationFrame, Resize, etc..
# @author : David Ronai / @Makio64 / makiopolis.com
#
Signal = require("signals")
#---------------------------------------------------------- Class StageRenderer
class StageRenderer
@dt = 0
@lastTime = 0
@pause = false
@onResize = new Signal()
@onUpdate = new Signal()
@onBlur = new Signal()
@onFocus = new Signal()
@init:()->
@pause = false
window.onresize = ()=>
width = window.innerWidth
height = window.innerHeight
@onResize.dispatch()
return
@lastTime = Date.now()
requestAnimationFrame( @update )
return
@update:()=>
t = Date.now()
dt = t - @lastTime
@lastTime = t
if @pause then return
# update logic here
@onUpdate.dispatch(dt)
# render frame
requestAnimationFrame( @update )
return
@init()
module.exports = StageRenderer
| 217987 | #
# Wrapper for requestAnimationFrame, Resize, etc..
# @author : <NAME> / @Makio64 / m<EMAIL>
#
Signal = require("signals")
#---------------------------------------------------------- Class StageRenderer
class StageRenderer
@dt = 0
@lastTime = 0
@pause = false
@onResize = new Signal()
@onUpdate = new Signal()
@onBlur = new Signal()
@onFocus = new Signal()
@init:()->
@pause = false
window.onresize = ()=>
width = window.innerWidth
height = window.innerHeight
@onResize.dispatch()
return
@lastTime = Date.now()
requestAnimationFrame( @update )
return
@update:()=>
t = Date.now()
dt = t - @lastTime
@lastTime = t
if @pause then return
# update logic here
@onUpdate.dispatch(dt)
# render frame
requestAnimationFrame( @update )
return
@init()
module.exports = StageRenderer
| true | #
# Wrapper for requestAnimationFrame, Resize, etc..
# @author : PI:NAME:<NAME>END_PI / @Makio64 / mPI:EMAIL:<EMAIL>END_PI
#
Signal = require("signals")
#---------------------------------------------------------- Class StageRenderer
class StageRenderer
@dt = 0
@lastTime = 0
@pause = false
@onResize = new Signal()
@onUpdate = new Signal()
@onBlur = new Signal()
@onFocus = new Signal()
@init:()->
@pause = false
window.onresize = ()=>
width = window.innerWidth
height = window.innerHeight
@onResize.dispatch()
return
@lastTime = Date.now()
requestAnimationFrame( @update )
return
@update:()=>
t = Date.now()
dt = t - @lastTime
@lastTime = t
if @pause then return
# update logic here
@onUpdate.dispatch(dt)
# render frame
requestAnimationFrame( @update )
return
@init()
module.exports = StageRenderer
|
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998591542243958,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/sourcedescriptioneditor.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin handles the selection from a list of previously associated publications
((jQuery) ->
jQuery.widget 'IKS.hallosourcedescriptioneditor',
widget: null
selectables: ''
scroll_pos_before_show: 0
options:
editable: null
toolbar: null
uuid: ''
element: null
tip_element: null
back: true
data: null
loid: null
nugget_loid: null
has_changed: false
publication: {}
values: {}
orig_values: {}
default_css:
'top': 0
'left': 0
'bottom': 0
'right': 0
'position': 'fixed'
'z-index': 999999
_init: ->
#debug.log('sourcedescriptioneditor initialized',@options)
@options.tip_element.qtip('hide') if @options.tip_element && typeof @options.tip_element.data().api != 'undefined'
if jQuery('.selectBox-dropdown-menu').length
jQuery('.selectBox-dropdown-menu').remove()
if jQuery('#cite_editor').length
jQuery('#cite_editor').remove()
inputs = jQuery('<div id="cite_editor_inputs"></div>')
@widget = jQuery('<div id="cite_editor"></div>')
@widget.addClass('form_display');
jQuery('body').css({'overflow':'hidden'})
jQuery('body').append(@widget)
@widget.css(this.options.default_css);
@scroll_pos_before_show = jQuery(window).scrollTop()
jQuery('#content, #toolbar').hide();
target_nugget = jQuery('#' + @options.nugget_loid )
#@wigtet.css('width', jQuery(window).width()) if !@options.default_css.width
#@widget.css('height', jQuery(window).height()) if !@options.default_css.height
nugget = new DOMNugget()
dfd_getsdi = nugget.getAllSourceDescriptionAttributes(target_nugget, @options.loid)
dfd_getsdi.fail =>
@_cleanup()
dfd_getsdi.done (sdi) =>
@options.publication = sdi.publication
@selectables = '<option value="">' + utils.tr('more') + '</option>'
needs_number_of_pages = false
needs_number_of_pages = true if sdi.publication.instance_type_definition == 'PubBook' || sdi.publication.instance_type_definition == 'PubBookSection' || sdi.publication.instance_type_definition == 'PubJournalArticle' || sdi.publication.instance_type_definition == 'PubMagazineArticle' || sdi.publication.instance_type_definition == 'PubEncyclopediaArticle' || sdi.publication.instance_type_definition == 'PubConferencePaper' || sdi.publication.instance_type_definition == 'PubNewspaperArticle'
jQuery.each constants.publication_order[sdi.publication.instance_type_definition], (index,attribute_name) =>
return if attribute_name == '__AUTOIDENT' || attribute_name == 'loid' || attribute_name == 'type' || attribute_name == 'tr_title' || attribute_name == 'related_persons'
return if typeof sdi.instance[attribute_name] == 'undefined'
return if typeof sdi.description[attribute_name] != 'object' || !sdi.description[attribute_name].label
qvalue = sdi.instance[attribute_name]
if ( qvalue == '' )
if ( needs_number_of_pages && (attribute_name == 'page' || attribute_name == 'number_of_pages') )
#!!!
attribute_name = 'number_of_pages'
inputs.append(@_createInput(attribute_name,sdi.description[attribute_name].label,qvalue))
else if ( attribute_name == 'notes' | attribute_name == 'notes' )
inputs.append(@_createInput(attribute_name,sdi.description[attribute_name].label,qvalue))
else
inputs.append(@_createInput(attribute_name,sdi.description[attribute_name].label,qvalue))
# @widget.append('<div class="top_bar"><label> </label><div class="max_width"><select id="sourcedescriptioneditor_selectable">' + @selectables + '</select></div></div>')
inputs.append('<div class="info_text"><p>' + utils.uiString('sourcedescription information') + '</p></div>')
@widget.append(inputs)
str_html_buttons = ''
if @options.back
str_html_buttons = '<button id="sourcedescriptioneditor_back" class="action_button">' + utils.tr('back') + '</button>'
str_html_buttons+= '<button id="sourcedescriptioneditor_apply" class="action_button">' + utils.tr('apply') + '</button>'
str_html_buttons+= '<button id="sourcedescriptioneditor_goto" class="action_button">' + utils.tr('goto') + '</button>'
@widget.append('<div class="button_container">' + str_html_buttons + '</div>')
jQuery(window).resize()
# jQuery('#sourcedescriptioneditor_selectable').selectBox() if jQuery('body').selectBox
# jQuery('#sourcedescriptioneditor_selectable').bind 'change', (ev) =>
# new_input = jQuery(ev.target).val()
# return if ( new_input == '' )
# input = @_createInput(new_input,sdi.description[new_input].label,'');
# inputs.append(input)
# jQuery(window).resize()
# input.find('input').focus()
# sels = jQuery('<select>' + @selectables + '</select>')
# sels.find('option[value="' + new_input + '"]').remove();
# @selectables = sels.html()
# jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
# jQuery('#sourcedescriptioneditor_selectable').html(@selectables )
# jQuery('#sourcedescriptioneditor_selectable').selectBox()
# #/bind change selectable
jQuery('#sourcedescriptioneditor_apply').bind 'click', =>
@widget.focus() # trigger form changed
values = jQuery.extend({},@options.values)
orig_values = jQuery.extend({},@options.orig_values)
@options.values = {}
@options.orig_values = {}
loid = @options.loid
nugget_loid = @options.nugget_loid
if ( typeof window.__current_undo_command != 'undefined' ) # uses global as editable is destroyed, set in sourcedescription.coffee
undo_command = window.__current_undo_command
else
if ( typeof UndoCommand != 'undefined')
undo_command = new UndoCommand()
else
undo_command = {}
# console.log(num_updates,values)
# make editing of values undoable
undo_command.redo = (event) => # event may be undefined
undo_command.dfd = jQuery.Deferred()
dfdlist = []
jQuery.each values, (key, value) =>
dfdlist.push(nugget.storePublicationDescriptionAttribute(jQuery('#' + nugget_loid),loid,key,value))
jQuery.when(dfdlist).done () =>
undo_command.dfd.resolve()
undo_command.dfd.promise()
undo_command.postdo()
undo_command.undo = (event) => # event may be undefined
undo_command.dfd = jQuery.Deferred()
dfdlist = []
jQuery.each orig_values, (key, value) =>
dfdlist.push(nugget.storePublicationDescriptionAttribute(jQuery('#' + nugget_loid),loid,key,value))
jQuery.when.apply(jQuery,dfdlist).done () =>
undo_command.dfd.resolve()
undo_command.dfd.promise()
undo_command.postdo()
undo_command.postdo = () =>
undo_command.dfd.done () =>
if ( nugget_loid )
update_nugget = jQuery('#' + nugget_loid )
# console.log(update_nugget)
occ.UpdateNuggetSourceDescriptions
loid:nugget_loid
nugget.commitSourceDescriptionChanges(update_nugget)
# run the action
undo_command.redo()
undo_manager = (new UndoManager()).getStack()
#jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
@_cleanup()
#/bind click apply
jQuery('#sourcedescriptioneditor_back').bind 'click', =>
@options.values = {}
@options.orig_values = {}
#jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
@_cleanup()
#/bind click back
jQuery('#sourcedescriptioneditor_goto').bind 'click', =>
if ( typeof @options.publication != 'object' || parseInt(@options.publication.publication_loid,10) == 0 )
jQuery('#sourcedescriptioneditor_goto').hide()
occ.GotoObject(@options.publication.publication_loid)
@options.values = {}
@options.orig_values = {}
#jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
@_cleanup()
window.setTimeout =>
jQuery(window).resize()
if ( @widget.find('#number_of_pages').length )
pages = @widget.find('#number_of_pages')
if ( (typeof @options.publication.publication_pages != 'undefined' && @options.publication.publication_pages != '') || (typeof @options.publication.number_of_pages != 'undefined' && @options.publication.number_of_pages != ''))
publication_pages = @options.publication.publication_pages
if ( typeof publication_pages == 'undefined' )
publication_pages = @options.publication.number_of_pages
if ( typeof publication_pages == 'string' && publication_pages != '' )
page_sum = jQuery('<span class="sum_pages">')
page_sum.text(' (' + publication_pages + ')')
pages.closest('div').find('label .sum_pages').remove();
pages.closest('div').find('label').append(page_sum)
if ( @widget.find('#number_of_pages').val() == publication_pages )
pages.val('')
pages[0].focus();
, 100
jQuery(window).resize()
_cleanup: () ->
@widget.remove()
jQuery('.form_display').remove();
jQuery('#content, #toolbar').show()
jQuery('body').css({'overflow':'auto'})
jQuery(window).scrollTop(@scroll_pos_before_show)
@options.editable.focus() if ( @options.editable )
if ( jQuery('#' + @options.nugget_loid ).closest('.Document').length && typeof wkej == 'object' && typeof wkej.instance == 'object' && typeof wkej.instance.doc == 'object')
wkej.instance.doc.updateView();
_createInput: (identifier, label, value) ->
# identifier is attribute of core-type
# tooltip = utils.tr_pub_attr(@options.publication.instance_type_definition,identifier)
input_label = jQuery('<label>')
input_label.attr('for', identifier)
input_label.html(label)
input_singleline = jQuery('<input id="' + identifier + '" type="text" value="<!--user-data-->" class="max_width"/>')
input_multiline = jQuery('<textarea id="' + identifier + '" class="max_width" rows="5"><!--user-data--></textarea>')
row = jQuery('<div></div>')
row.append(input_label)
if ( identifier == 'abstract' || identifier == 'extra' || identifier == 'notes' )
input = input_multiline
input.text(value)
else
input = input_singleline
input.val(value)
if ( identifier == 'number_of_pages' || identifier == 'notes' || identifier == 'running_time' || identifier == 'code_volume' || identifier == 'code_pages' || identifier == 'code_sections' )
input_label.addClass('persistent_sourcedescription_attribute')
input.bind 'keyup', (event) =>
if ( event.keyCode == 13 )
@_formChanged(event,@options)
jQuery('#sourcedescriptioneditor_apply').trigger('click');
else
input.attr('disabled','true')
row.append(input)
# if ( tooltip )
# input.attr('title',tooltip)
if ( jQuery.datepicker && (identifier == 'date' || 'identifier' == 'accessed') )
# datepicker with issues: does not remove on control remove
fn_dp_show = =>
$('.ui-datepicker-month').selectBox()
$('.ui-datepicker-year').selectBox()
fn_update_select = () =>
window.setTimeout fn_dp_show, 100
dp = input.datepicker({showOn: "button", onChangeMonthYear: fn_update_select, beforeShow: fn_update_select, buttonImage: "../icons/actions/datepicker-p.png", buttonImageOnly: true, dateFormat: "yy-mm-dd", changeMonth: false, changeYear: false, constrainInput: false})
input.bind 'blur', (event) =>
@_formChanged(event,@options)
@options.orig_values[identifier] = value
return row
_formChanged: (event, options) ->
target = jQuery(event.target)
#debug.log('form changed' + target.html())
path = target.attr('id')
data = target.val()
if omc && typeof options.loid != 'undefined'
options.values[path] = data;
#omc.storePublicationDescriptionAttribute(options.loid,path,data)
#debug.log('stored',options.loid,path,data)
if path.indexOf("number_of_pages") == 0 && data != '' && typeof data == 'string'
# e.g.44-45
if ( typeof options.publication != 'object' || (typeof options.publication.publication_pages != 'string' && typeof options.publication.number_of_pages != 'string') )
return null;
publication_pages = options.publication.publication_pages
if ( typeof publication_pages == 'undefined' )
publication_pages = options.publication.number_of_pages
publication_page_from_to_match = publication_pages.match(/^(\d*)-(\d*)$/)
sourcedescription_from_to_match = data.match(/^(\d*)-(\d*)$/)
#e.g.44
publication_page_to_match = publication_pages.match(/^(\d*)$/)
sourcedescription_to_match = data.match(/^(\d*)$/)
#e.g.44 pp
publication_page_over_match = publication_pages.match(/^(\d+)[^-\d]+$/)
sourcedescription_over_match = data.match(/^(\d+)[^-\d]+$/)
from = 0
to = 0
sd_from = 0
sd_to = 0
if publication_page_from_to_match != null
from = parseInt(publication_page_from_to_match[1],10)
to = parseInt(publication_page_from_to_match[2],10)
else if publication_page_to_match != null
to = parseInt(publication_page_to_match[1],10)
else if publication_page_over_match != null
from = parseInt(publication_page_over_match[1],10)
to = Infinity
else
from = 0
to = Infinity
if sourcedescription_from_to_match != null
sd_from = parseInt(sourcedescription_from_to_match[1],10)
sd_to = parseInt(sourcedescription_from_to_match[2],10)
else if sourcedescription_to_match != null
sd_to = parseInt(sourcedescription_to_match[1],10)
sd_from = sd_to
else if sourcedescription_over_match != null
sd_from = parseInt(sourcedescription_over_match[1],10)
sd_to = sd_from
else
return jQuery('#' + path).attr('class', 'unparseable')
if sd_from < from || sd_to > to
utils.info(utils.tr('number_of_pages not in range'))
return jQuery('#' + path).attr('class', 'invalid')
else
return jQuery('#' + path).attr('class', 'valid')
_create: ->
#debug.log('created');
@
)(jQuery)
| 70115 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin handles the selection from a list of previously associated publications
((jQuery) ->
jQuery.widget 'IKS.hallosourcedescriptioneditor',
widget: null
selectables: ''
scroll_pos_before_show: 0
options:
editable: null
toolbar: null
uuid: ''
element: null
tip_element: null
back: true
data: null
loid: null
nugget_loid: null
has_changed: false
publication: {}
values: {}
orig_values: {}
default_css:
'top': 0
'left': 0
'bottom': 0
'right': 0
'position': 'fixed'
'z-index': 999999
_init: ->
#debug.log('sourcedescriptioneditor initialized',@options)
@options.tip_element.qtip('hide') if @options.tip_element && typeof @options.tip_element.data().api != 'undefined'
if jQuery('.selectBox-dropdown-menu').length
jQuery('.selectBox-dropdown-menu').remove()
if jQuery('#cite_editor').length
jQuery('#cite_editor').remove()
inputs = jQuery('<div id="cite_editor_inputs"></div>')
@widget = jQuery('<div id="cite_editor"></div>')
@widget.addClass('form_display');
jQuery('body').css({'overflow':'hidden'})
jQuery('body').append(@widget)
@widget.css(this.options.default_css);
@scroll_pos_before_show = jQuery(window).scrollTop()
jQuery('#content, #toolbar').hide();
target_nugget = jQuery('#' + @options.nugget_loid )
#@wigtet.css('width', jQuery(window).width()) if !@options.default_css.width
#@widget.css('height', jQuery(window).height()) if !@options.default_css.height
nugget = new DOMNugget()
dfd_getsdi = nugget.getAllSourceDescriptionAttributes(target_nugget, @options.loid)
dfd_getsdi.fail =>
@_cleanup()
dfd_getsdi.done (sdi) =>
@options.publication = sdi.publication
@selectables = '<option value="">' + utils.tr('more') + '</option>'
needs_number_of_pages = false
needs_number_of_pages = true if sdi.publication.instance_type_definition == 'PubBook' || sdi.publication.instance_type_definition == 'PubBookSection' || sdi.publication.instance_type_definition == 'PubJournalArticle' || sdi.publication.instance_type_definition == 'PubMagazineArticle' || sdi.publication.instance_type_definition == 'PubEncyclopediaArticle' || sdi.publication.instance_type_definition == 'PubConferencePaper' || sdi.publication.instance_type_definition == 'PubNewspaperArticle'
jQuery.each constants.publication_order[sdi.publication.instance_type_definition], (index,attribute_name) =>
return if attribute_name == '__AUTOIDENT' || attribute_name == 'loid' || attribute_name == 'type' || attribute_name == 'tr_title' || attribute_name == 'related_persons'
return if typeof sdi.instance[attribute_name] == 'undefined'
return if typeof sdi.description[attribute_name] != 'object' || !sdi.description[attribute_name].label
qvalue = sdi.instance[attribute_name]
if ( qvalue == '' )
if ( needs_number_of_pages && (attribute_name == 'page' || attribute_name == 'number_of_pages') )
#!!!
attribute_name = 'number_of_pages'
inputs.append(@_createInput(attribute_name,sdi.description[attribute_name].label,qvalue))
else if ( attribute_name == 'notes' | attribute_name == 'notes' )
inputs.append(@_createInput(attribute_name,sdi.description[attribute_name].label,qvalue))
else
inputs.append(@_createInput(attribute_name,sdi.description[attribute_name].label,qvalue))
# @widget.append('<div class="top_bar"><label> </label><div class="max_width"><select id="sourcedescriptioneditor_selectable">' + @selectables + '</select></div></div>')
inputs.append('<div class="info_text"><p>' + utils.uiString('sourcedescription information') + '</p></div>')
@widget.append(inputs)
str_html_buttons = ''
if @options.back
str_html_buttons = '<button id="sourcedescriptioneditor_back" class="action_button">' + utils.tr('back') + '</button>'
str_html_buttons+= '<button id="sourcedescriptioneditor_apply" class="action_button">' + utils.tr('apply') + '</button>'
str_html_buttons+= '<button id="sourcedescriptioneditor_goto" class="action_button">' + utils.tr('goto') + '</button>'
@widget.append('<div class="button_container">' + str_html_buttons + '</div>')
jQuery(window).resize()
# jQuery('#sourcedescriptioneditor_selectable').selectBox() if jQuery('body').selectBox
# jQuery('#sourcedescriptioneditor_selectable').bind 'change', (ev) =>
# new_input = jQuery(ev.target).val()
# return if ( new_input == '' )
# input = @_createInput(new_input,sdi.description[new_input].label,'');
# inputs.append(input)
# jQuery(window).resize()
# input.find('input').focus()
# sels = jQuery('<select>' + @selectables + '</select>')
# sels.find('option[value="' + new_input + '"]').remove();
# @selectables = sels.html()
# jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
# jQuery('#sourcedescriptioneditor_selectable').html(@selectables )
# jQuery('#sourcedescriptioneditor_selectable').selectBox()
# #/bind change selectable
jQuery('#sourcedescriptioneditor_apply').bind 'click', =>
@widget.focus() # trigger form changed
values = jQuery.extend({},@options.values)
orig_values = jQuery.extend({},@options.orig_values)
@options.values = {}
@options.orig_values = {}
loid = @options.loid
nugget_loid = @options.nugget_loid
if ( typeof window.__current_undo_command != 'undefined' ) # uses global as editable is destroyed, set in sourcedescription.coffee
undo_command = window.__current_undo_command
else
if ( typeof UndoCommand != 'undefined')
undo_command = new UndoCommand()
else
undo_command = {}
# console.log(num_updates,values)
# make editing of values undoable
undo_command.redo = (event) => # event may be undefined
undo_command.dfd = jQuery.Deferred()
dfdlist = []
jQuery.each values, (key, value) =>
dfdlist.push(nugget.storePublicationDescriptionAttribute(jQuery('#' + nugget_loid),loid,key,value))
jQuery.when(dfdlist).done () =>
undo_command.dfd.resolve()
undo_command.dfd.promise()
undo_command.postdo()
undo_command.undo = (event) => # event may be undefined
undo_command.dfd = jQuery.Deferred()
dfdlist = []
jQuery.each orig_values, (key, value) =>
dfdlist.push(nugget.storePublicationDescriptionAttribute(jQuery('#' + nugget_loid),loid,key,value))
jQuery.when.apply(jQuery,dfdlist).done () =>
undo_command.dfd.resolve()
undo_command.dfd.promise()
undo_command.postdo()
undo_command.postdo = () =>
undo_command.dfd.done () =>
if ( nugget_loid )
update_nugget = jQuery('#' + nugget_loid )
# console.log(update_nugget)
occ.UpdateNuggetSourceDescriptions
loid:nugget_loid
nugget.commitSourceDescriptionChanges(update_nugget)
# run the action
undo_command.redo()
undo_manager = (new UndoManager()).getStack()
#jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
@_cleanup()
#/bind click apply
jQuery('#sourcedescriptioneditor_back').bind 'click', =>
@options.values = {}
@options.orig_values = {}
#jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
@_cleanup()
#/bind click back
jQuery('#sourcedescriptioneditor_goto').bind 'click', =>
if ( typeof @options.publication != 'object' || parseInt(@options.publication.publication_loid,10) == 0 )
jQuery('#sourcedescriptioneditor_goto').hide()
occ.GotoObject(@options.publication.publication_loid)
@options.values = {}
@options.orig_values = {}
#jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
@_cleanup()
window.setTimeout =>
jQuery(window).resize()
if ( @widget.find('#number_of_pages').length )
pages = @widget.find('#number_of_pages')
if ( (typeof @options.publication.publication_pages != 'undefined' && @options.publication.publication_pages != '') || (typeof @options.publication.number_of_pages != 'undefined' && @options.publication.number_of_pages != ''))
publication_pages = @options.publication.publication_pages
if ( typeof publication_pages == 'undefined' )
publication_pages = @options.publication.number_of_pages
if ( typeof publication_pages == 'string' && publication_pages != '' )
page_sum = jQuery('<span class="sum_pages">')
page_sum.text(' (' + publication_pages + ')')
pages.closest('div').find('label .sum_pages').remove();
pages.closest('div').find('label').append(page_sum)
if ( @widget.find('#number_of_pages').val() == publication_pages )
pages.val('')
pages[0].focus();
, 100
jQuery(window).resize()
_cleanup: () ->
@widget.remove()
jQuery('.form_display').remove();
jQuery('#content, #toolbar').show()
jQuery('body').css({'overflow':'auto'})
jQuery(window).scrollTop(@scroll_pos_before_show)
@options.editable.focus() if ( @options.editable )
if ( jQuery('#' + @options.nugget_loid ).closest('.Document').length && typeof wkej == 'object' && typeof wkej.instance == 'object' && typeof wkej.instance.doc == 'object')
wkej.instance.doc.updateView();
_createInput: (identifier, label, value) ->
# identifier is attribute of core-type
# tooltip = utils.tr_pub_attr(@options.publication.instance_type_definition,identifier)
input_label = jQuery('<label>')
input_label.attr('for', identifier)
input_label.html(label)
input_singleline = jQuery('<input id="' + identifier + '" type="text" value="<!--user-data-->" class="max_width"/>')
input_multiline = jQuery('<textarea id="' + identifier + '" class="max_width" rows="5"><!--user-data--></textarea>')
row = jQuery('<div></div>')
row.append(input_label)
if ( identifier == 'abstract' || identifier == 'extra' || identifier == 'notes' )
input = input_multiline
input.text(value)
else
input = input_singleline
input.val(value)
if ( identifier == 'number_of_pages' || identifier == 'notes' || identifier == 'running_time' || identifier == 'code_volume' || identifier == 'code_pages' || identifier == 'code_sections' )
input_label.addClass('persistent_sourcedescription_attribute')
input.bind 'keyup', (event) =>
if ( event.keyCode == 13 )
@_formChanged(event,@options)
jQuery('#sourcedescriptioneditor_apply').trigger('click');
else
input.attr('disabled','true')
row.append(input)
# if ( tooltip )
# input.attr('title',tooltip)
if ( jQuery.datepicker && (identifier == 'date' || 'identifier' == 'accessed') )
# datepicker with issues: does not remove on control remove
fn_dp_show = =>
$('.ui-datepicker-month').selectBox()
$('.ui-datepicker-year').selectBox()
fn_update_select = () =>
window.setTimeout fn_dp_show, 100
dp = input.datepicker({showOn: "button", onChangeMonthYear: fn_update_select, beforeShow: fn_update_select, buttonImage: "../icons/actions/datepicker-p.png", buttonImageOnly: true, dateFormat: "yy-mm-dd", changeMonth: false, changeYear: false, constrainInput: false})
input.bind 'blur', (event) =>
@_formChanged(event,@options)
@options.orig_values[identifier] = value
return row
_formChanged: (event, options) ->
target = jQuery(event.target)
#debug.log('form changed' + target.html())
path = target.attr('id')
data = target.val()
if omc && typeof options.loid != 'undefined'
options.values[path] = data;
#omc.storePublicationDescriptionAttribute(options.loid,path,data)
#debug.log('stored',options.loid,path,data)
if path.indexOf("number_of_pages") == 0 && data != '' && typeof data == 'string'
# e.g.44-45
if ( typeof options.publication != 'object' || (typeof options.publication.publication_pages != 'string' && typeof options.publication.number_of_pages != 'string') )
return null;
publication_pages = options.publication.publication_pages
if ( typeof publication_pages == 'undefined' )
publication_pages = options.publication.number_of_pages
publication_page_from_to_match = publication_pages.match(/^(\d*)-(\d*)$/)
sourcedescription_from_to_match = data.match(/^(\d*)-(\d*)$/)
#e.g.44
publication_page_to_match = publication_pages.match(/^(\d*)$/)
sourcedescription_to_match = data.match(/^(\d*)$/)
#e.g.44 pp
publication_page_over_match = publication_pages.match(/^(\d+)[^-\d]+$/)
sourcedescription_over_match = data.match(/^(\d+)[^-\d]+$/)
from = 0
to = 0
sd_from = 0
sd_to = 0
if publication_page_from_to_match != null
from = parseInt(publication_page_from_to_match[1],10)
to = parseInt(publication_page_from_to_match[2],10)
else if publication_page_to_match != null
to = parseInt(publication_page_to_match[1],10)
else if publication_page_over_match != null
from = parseInt(publication_page_over_match[1],10)
to = Infinity
else
from = 0
to = Infinity
if sourcedescription_from_to_match != null
sd_from = parseInt(sourcedescription_from_to_match[1],10)
sd_to = parseInt(sourcedescription_from_to_match[2],10)
else if sourcedescription_to_match != null
sd_to = parseInt(sourcedescription_to_match[1],10)
sd_from = sd_to
else if sourcedescription_over_match != null
sd_from = parseInt(sourcedescription_over_match[1],10)
sd_to = sd_from
else
return jQuery('#' + path).attr('class', 'unparseable')
if sd_from < from || sd_to > to
utils.info(utils.tr('number_of_pages not in range'))
return jQuery('#' + path).attr('class', 'invalid')
else
return jQuery('#' + path).attr('class', 'valid')
_create: ->
#debug.log('created');
@
)(jQuery)
| true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin handles the selection from a list of previously associated publications
((jQuery) ->
jQuery.widget 'IKS.hallosourcedescriptioneditor',
widget: null
selectables: ''
scroll_pos_before_show: 0
options:
editable: null
toolbar: null
uuid: ''
element: null
tip_element: null
back: true
data: null
loid: null
nugget_loid: null
has_changed: false
publication: {}
values: {}
orig_values: {}
default_css:
'top': 0
'left': 0
'bottom': 0
'right': 0
'position': 'fixed'
'z-index': 999999
_init: ->
#debug.log('sourcedescriptioneditor initialized',@options)
@options.tip_element.qtip('hide') if @options.tip_element && typeof @options.tip_element.data().api != 'undefined'
if jQuery('.selectBox-dropdown-menu').length
jQuery('.selectBox-dropdown-menu').remove()
if jQuery('#cite_editor').length
jQuery('#cite_editor').remove()
inputs = jQuery('<div id="cite_editor_inputs"></div>')
@widget = jQuery('<div id="cite_editor"></div>')
@widget.addClass('form_display');
jQuery('body').css({'overflow':'hidden'})
jQuery('body').append(@widget)
@widget.css(this.options.default_css);
@scroll_pos_before_show = jQuery(window).scrollTop()
jQuery('#content, #toolbar').hide();
target_nugget = jQuery('#' + @options.nugget_loid )
#@wigtet.css('width', jQuery(window).width()) if !@options.default_css.width
#@widget.css('height', jQuery(window).height()) if !@options.default_css.height
nugget = new DOMNugget()
dfd_getsdi = nugget.getAllSourceDescriptionAttributes(target_nugget, @options.loid)
dfd_getsdi.fail =>
@_cleanup()
dfd_getsdi.done (sdi) =>
@options.publication = sdi.publication
@selectables = '<option value="">' + utils.tr('more') + '</option>'
needs_number_of_pages = false
needs_number_of_pages = true if sdi.publication.instance_type_definition == 'PubBook' || sdi.publication.instance_type_definition == 'PubBookSection' || sdi.publication.instance_type_definition == 'PubJournalArticle' || sdi.publication.instance_type_definition == 'PubMagazineArticle' || sdi.publication.instance_type_definition == 'PubEncyclopediaArticle' || sdi.publication.instance_type_definition == 'PubConferencePaper' || sdi.publication.instance_type_definition == 'PubNewspaperArticle'
jQuery.each constants.publication_order[sdi.publication.instance_type_definition], (index,attribute_name) =>
return if attribute_name == '__AUTOIDENT' || attribute_name == 'loid' || attribute_name == 'type' || attribute_name == 'tr_title' || attribute_name == 'related_persons'
return if typeof sdi.instance[attribute_name] == 'undefined'
return if typeof sdi.description[attribute_name] != 'object' || !sdi.description[attribute_name].label
qvalue = sdi.instance[attribute_name]
if ( qvalue == '' )
if ( needs_number_of_pages && (attribute_name == 'page' || attribute_name == 'number_of_pages') )
#!!!
attribute_name = 'number_of_pages'
inputs.append(@_createInput(attribute_name,sdi.description[attribute_name].label,qvalue))
else if ( attribute_name == 'notes' | attribute_name == 'notes' )
inputs.append(@_createInput(attribute_name,sdi.description[attribute_name].label,qvalue))
else
inputs.append(@_createInput(attribute_name,sdi.description[attribute_name].label,qvalue))
# @widget.append('<div class="top_bar"><label> </label><div class="max_width"><select id="sourcedescriptioneditor_selectable">' + @selectables + '</select></div></div>')
inputs.append('<div class="info_text"><p>' + utils.uiString('sourcedescription information') + '</p></div>')
@widget.append(inputs)
str_html_buttons = ''
if @options.back
str_html_buttons = '<button id="sourcedescriptioneditor_back" class="action_button">' + utils.tr('back') + '</button>'
str_html_buttons+= '<button id="sourcedescriptioneditor_apply" class="action_button">' + utils.tr('apply') + '</button>'
str_html_buttons+= '<button id="sourcedescriptioneditor_goto" class="action_button">' + utils.tr('goto') + '</button>'
@widget.append('<div class="button_container">' + str_html_buttons + '</div>')
jQuery(window).resize()
# jQuery('#sourcedescriptioneditor_selectable').selectBox() if jQuery('body').selectBox
# jQuery('#sourcedescriptioneditor_selectable').bind 'change', (ev) =>
# new_input = jQuery(ev.target).val()
# return if ( new_input == '' )
# input = @_createInput(new_input,sdi.description[new_input].label,'');
# inputs.append(input)
# jQuery(window).resize()
# input.find('input').focus()
# sels = jQuery('<select>' + @selectables + '</select>')
# sels.find('option[value="' + new_input + '"]').remove();
# @selectables = sels.html()
# jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
# jQuery('#sourcedescriptioneditor_selectable').html(@selectables )
# jQuery('#sourcedescriptioneditor_selectable').selectBox()
# #/bind change selectable
jQuery('#sourcedescriptioneditor_apply').bind 'click', =>
@widget.focus() # trigger form changed
values = jQuery.extend({},@options.values)
orig_values = jQuery.extend({},@options.orig_values)
@options.values = {}
@options.orig_values = {}
loid = @options.loid
nugget_loid = @options.nugget_loid
if ( typeof window.__current_undo_command != 'undefined' ) # uses global as editable is destroyed, set in sourcedescription.coffee
undo_command = window.__current_undo_command
else
if ( typeof UndoCommand != 'undefined')
undo_command = new UndoCommand()
else
undo_command = {}
# console.log(num_updates,values)
# make editing of values undoable
undo_command.redo = (event) => # event may be undefined
undo_command.dfd = jQuery.Deferred()
dfdlist = []
jQuery.each values, (key, value) =>
dfdlist.push(nugget.storePublicationDescriptionAttribute(jQuery('#' + nugget_loid),loid,key,value))
jQuery.when(dfdlist).done () =>
undo_command.dfd.resolve()
undo_command.dfd.promise()
undo_command.postdo()
undo_command.undo = (event) => # event may be undefined
undo_command.dfd = jQuery.Deferred()
dfdlist = []
jQuery.each orig_values, (key, value) =>
dfdlist.push(nugget.storePublicationDescriptionAttribute(jQuery('#' + nugget_loid),loid,key,value))
jQuery.when.apply(jQuery,dfdlist).done () =>
undo_command.dfd.resolve()
undo_command.dfd.promise()
undo_command.postdo()
undo_command.postdo = () =>
undo_command.dfd.done () =>
if ( nugget_loid )
update_nugget = jQuery('#' + nugget_loid )
# console.log(update_nugget)
occ.UpdateNuggetSourceDescriptions
loid:nugget_loid
nugget.commitSourceDescriptionChanges(update_nugget)
# run the action
undo_command.redo()
undo_manager = (new UndoManager()).getStack()
#jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
@_cleanup()
#/bind click apply
jQuery('#sourcedescriptioneditor_back').bind 'click', =>
@options.values = {}
@options.orig_values = {}
#jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
@_cleanup()
#/bind click back
jQuery('#sourcedescriptioneditor_goto').bind 'click', =>
if ( typeof @options.publication != 'object' || parseInt(@options.publication.publication_loid,10) == 0 )
jQuery('#sourcedescriptioneditor_goto').hide()
occ.GotoObject(@options.publication.publication_loid)
@options.values = {}
@options.orig_values = {}
#jQuery('#sourcedescriptioneditor_selectable').selectBox('destroy')
@_cleanup()
window.setTimeout =>
jQuery(window).resize()
if ( @widget.find('#number_of_pages').length )
pages = @widget.find('#number_of_pages')
if ( (typeof @options.publication.publication_pages != 'undefined' && @options.publication.publication_pages != '') || (typeof @options.publication.number_of_pages != 'undefined' && @options.publication.number_of_pages != ''))
publication_pages = @options.publication.publication_pages
if ( typeof publication_pages == 'undefined' )
publication_pages = @options.publication.number_of_pages
if ( typeof publication_pages == 'string' && publication_pages != '' )
page_sum = jQuery('<span class="sum_pages">')
page_sum.text(' (' + publication_pages + ')')
pages.closest('div').find('label .sum_pages').remove();
pages.closest('div').find('label').append(page_sum)
if ( @widget.find('#number_of_pages').val() == publication_pages )
pages.val('')
pages[0].focus();
, 100
jQuery(window).resize()
_cleanup: () ->
@widget.remove()
jQuery('.form_display').remove();
jQuery('#content, #toolbar').show()
jQuery('body').css({'overflow':'auto'})
jQuery(window).scrollTop(@scroll_pos_before_show)
@options.editable.focus() if ( @options.editable )
if ( jQuery('#' + @options.nugget_loid ).closest('.Document').length && typeof wkej == 'object' && typeof wkej.instance == 'object' && typeof wkej.instance.doc == 'object')
wkej.instance.doc.updateView();
_createInput: (identifier, label, value) ->
# identifier is attribute of core-type
# tooltip = utils.tr_pub_attr(@options.publication.instance_type_definition,identifier)
input_label = jQuery('<label>')
input_label.attr('for', identifier)
input_label.html(label)
input_singleline = jQuery('<input id="' + identifier + '" type="text" value="<!--user-data-->" class="max_width"/>')
input_multiline = jQuery('<textarea id="' + identifier + '" class="max_width" rows="5"><!--user-data--></textarea>')
row = jQuery('<div></div>')
row.append(input_label)
if ( identifier == 'abstract' || identifier == 'extra' || identifier == 'notes' )
input = input_multiline
input.text(value)
else
input = input_singleline
input.val(value)
if ( identifier == 'number_of_pages' || identifier == 'notes' || identifier == 'running_time' || identifier == 'code_volume' || identifier == 'code_pages' || identifier == 'code_sections' )
input_label.addClass('persistent_sourcedescription_attribute')
input.bind 'keyup', (event) =>
if ( event.keyCode == 13 )
@_formChanged(event,@options)
jQuery('#sourcedescriptioneditor_apply').trigger('click');
else
input.attr('disabled','true')
row.append(input)
# if ( tooltip )
# input.attr('title',tooltip)
if ( jQuery.datepicker && (identifier == 'date' || 'identifier' == 'accessed') )
# datepicker with issues: does not remove on control remove
fn_dp_show = =>
$('.ui-datepicker-month').selectBox()
$('.ui-datepicker-year').selectBox()
fn_update_select = () =>
window.setTimeout fn_dp_show, 100
dp = input.datepicker({showOn: "button", onChangeMonthYear: fn_update_select, beforeShow: fn_update_select, buttonImage: "../icons/actions/datepicker-p.png", buttonImageOnly: true, dateFormat: "yy-mm-dd", changeMonth: false, changeYear: false, constrainInput: false})
input.bind 'blur', (event) =>
@_formChanged(event,@options)
@options.orig_values[identifier] = value
return row
_formChanged: (event, options) ->
target = jQuery(event.target)
#debug.log('form changed' + target.html())
path = target.attr('id')
data = target.val()
if omc && typeof options.loid != 'undefined'
options.values[path] = data;
#omc.storePublicationDescriptionAttribute(options.loid,path,data)
#debug.log('stored',options.loid,path,data)
if path.indexOf("number_of_pages") == 0 && data != '' && typeof data == 'string'
# e.g.44-45
if ( typeof options.publication != 'object' || (typeof options.publication.publication_pages != 'string' && typeof options.publication.number_of_pages != 'string') )
return null;
publication_pages = options.publication.publication_pages
if ( typeof publication_pages == 'undefined' )
publication_pages = options.publication.number_of_pages
publication_page_from_to_match = publication_pages.match(/^(\d*)-(\d*)$/)
sourcedescription_from_to_match = data.match(/^(\d*)-(\d*)$/)
#e.g.44
publication_page_to_match = publication_pages.match(/^(\d*)$/)
sourcedescription_to_match = data.match(/^(\d*)$/)
#e.g.44 pp
publication_page_over_match = publication_pages.match(/^(\d+)[^-\d]+$/)
sourcedescription_over_match = data.match(/^(\d+)[^-\d]+$/)
from = 0
to = 0
sd_from = 0
sd_to = 0
if publication_page_from_to_match != null
from = parseInt(publication_page_from_to_match[1],10)
to = parseInt(publication_page_from_to_match[2],10)
else if publication_page_to_match != null
to = parseInt(publication_page_to_match[1],10)
else if publication_page_over_match != null
from = parseInt(publication_page_over_match[1],10)
to = Infinity
else
from = 0
to = Infinity
if sourcedescription_from_to_match != null
sd_from = parseInt(sourcedescription_from_to_match[1],10)
sd_to = parseInt(sourcedescription_from_to_match[2],10)
else if sourcedescription_to_match != null
sd_to = parseInt(sourcedescription_to_match[1],10)
sd_from = sd_to
else if sourcedescription_over_match != null
sd_from = parseInt(sourcedescription_over_match[1],10)
sd_to = sd_from
else
return jQuery('#' + path).attr('class', 'unparseable')
if sd_from < from || sd_to > to
utils.info(utils.tr('number_of_pages not in range'))
return jQuery('#' + path).attr('class', 'invalid')
else
return jQuery('#' + path).attr('class', 'valid')
_create: ->
#debug.log('created');
@
)(jQuery)
|
[
{
"context": "#\n# Copyright (c) 2015 by James Fenwick. See LICENSE for details.\n#\n\nCodo = require '../l",
"end": 39,
"score": 0.9998385310173035,
"start": 26,
"tag": "NAME",
"value": "James Fenwick"
},
{
"context": "it', ->\n expect(helper(8)).toEqual({name: 'Vader', 'exte... | spec/codo-spec.coffee | jmsfwk/codo | 1 | #
# Copyright (c) 2015 by James Fenwick. See LICENSE for details.
#
Codo = require '../lib/codo'
describe 'codo', ->
[editor, codo] = []
beforeEach ->
codo = new Codo()
waitsForPromise ->
atom.workspace.open('testfile.txt').then (o) -> editor = o
describe 'when we try to generate function documentation', ->
it 'detects the lines with functions correctly', ->
expect(codo.isFunctionDef(editor, 0)).toBe(true)
expect(codo.isFunctionDef(editor, 1)).toBe(true)
expect(codo.isFunctionDef(editor, 2)).toBe(true)
expect(codo.isFunctionDef(editor, 3)).toBe(false)
expect(codo.isFunctionDef(editor, 4)).toBe(true)
expect(codo.isFunctionDef(editor, 5)).toBe(true)
expect(codo.isFunctionDef(editor, 6)).toBe(true)
it 'returns the right function names', ->
expect(codo.getFunctionDef(editor, 0).name).toBe('luke')
expect(codo.getFunctionDef(editor, 1).name).toBe('yoda')
expect(codo.getFunctionDef(editor, 2).name).toBe('obiwan')
expect(codo.getFunctionDef(editor, 4).name).toBe('quigon')
expect(codo.getFunctionDef(editor, 5).name).toBe('windu')
expect(codo.getFunctionDef(editor, 6).name).toBe('anakin')
it 'returns the right function arguments or none if there are none', ->
expect(codo.getFunctionDef(editor, 0).args).toEqual([])
expect(codo.getFunctionDef(editor, 1).args).toEqual(['arg1'])
expect(codo.getFunctionDef(editor, 2).args).toEqual(['arg1','arg2','arg3'])
expect(codo.getFunctionDef(editor, 4).args).toEqual([])
expect(codo.getFunctionDef(editor, 5).args).toEqual(['arg1'])
expect(codo.getFunctionDef(editor, 6).args).toEqual(['arg1','arg2','arg3'])
describe 'when we try to generate class documentation', ->
helper = (row) -> codo.getClassDef(editor, row)
describe 'when the line contains an anonymous class', ->
it 'parses it', ->
expect(helper(7)).toEqual({name: null, 'extends': null})
describe 'when the line contains a named class', ->
it 'parses it', ->
expect(helper(8)).toEqual({name: 'Vader', 'extends': null})
describe 'when the line contains a named subclass', ->
it 'parses it', ->
expect(helper(9)).toEqual({name: 'Vader', 'extends': 'Luke'})
| 154542 | #
# Copyright (c) 2015 by <NAME>. See LICENSE for details.
#
Codo = require '../lib/codo'
describe 'codo', ->
[editor, codo] = []
beforeEach ->
codo = new Codo()
waitsForPromise ->
atom.workspace.open('testfile.txt').then (o) -> editor = o
describe 'when we try to generate function documentation', ->
it 'detects the lines with functions correctly', ->
expect(codo.isFunctionDef(editor, 0)).toBe(true)
expect(codo.isFunctionDef(editor, 1)).toBe(true)
expect(codo.isFunctionDef(editor, 2)).toBe(true)
expect(codo.isFunctionDef(editor, 3)).toBe(false)
expect(codo.isFunctionDef(editor, 4)).toBe(true)
expect(codo.isFunctionDef(editor, 5)).toBe(true)
expect(codo.isFunctionDef(editor, 6)).toBe(true)
it 'returns the right function names', ->
expect(codo.getFunctionDef(editor, 0).name).toBe('luke')
expect(codo.getFunctionDef(editor, 1).name).toBe('yoda')
expect(codo.getFunctionDef(editor, 2).name).toBe('obiwan')
expect(codo.getFunctionDef(editor, 4).name).toBe('quigon')
expect(codo.getFunctionDef(editor, 5).name).toBe('windu')
expect(codo.getFunctionDef(editor, 6).name).toBe('anakin')
it 'returns the right function arguments or none if there are none', ->
expect(codo.getFunctionDef(editor, 0).args).toEqual([])
expect(codo.getFunctionDef(editor, 1).args).toEqual(['arg1'])
expect(codo.getFunctionDef(editor, 2).args).toEqual(['arg1','arg2','arg3'])
expect(codo.getFunctionDef(editor, 4).args).toEqual([])
expect(codo.getFunctionDef(editor, 5).args).toEqual(['arg1'])
expect(codo.getFunctionDef(editor, 6).args).toEqual(['arg1','arg2','arg3'])
describe 'when we try to generate class documentation', ->
helper = (row) -> codo.getClassDef(editor, row)
describe 'when the line contains an anonymous class', ->
it 'parses it', ->
expect(helper(7)).toEqual({name: null, 'extends': null})
describe 'when the line contains a named class', ->
it 'parses it', ->
expect(helper(8)).toEqual({name: '<NAME>', 'extends': null})
describe 'when the line contains a named subclass', ->
it 'parses it', ->
expect(helper(9)).toEqual({name: '<NAME>', 'extends': 'Luke'})
| true | #
# Copyright (c) 2015 by PI:NAME:<NAME>END_PI. See LICENSE for details.
#
Codo = require '../lib/codo'
describe 'codo', ->
[editor, codo] = []
beforeEach ->
codo = new Codo()
waitsForPromise ->
atom.workspace.open('testfile.txt').then (o) -> editor = o
describe 'when we try to generate function documentation', ->
it 'detects the lines with functions correctly', ->
expect(codo.isFunctionDef(editor, 0)).toBe(true)
expect(codo.isFunctionDef(editor, 1)).toBe(true)
expect(codo.isFunctionDef(editor, 2)).toBe(true)
expect(codo.isFunctionDef(editor, 3)).toBe(false)
expect(codo.isFunctionDef(editor, 4)).toBe(true)
expect(codo.isFunctionDef(editor, 5)).toBe(true)
expect(codo.isFunctionDef(editor, 6)).toBe(true)
it 'returns the right function names', ->
expect(codo.getFunctionDef(editor, 0).name).toBe('luke')
expect(codo.getFunctionDef(editor, 1).name).toBe('yoda')
expect(codo.getFunctionDef(editor, 2).name).toBe('obiwan')
expect(codo.getFunctionDef(editor, 4).name).toBe('quigon')
expect(codo.getFunctionDef(editor, 5).name).toBe('windu')
expect(codo.getFunctionDef(editor, 6).name).toBe('anakin')
it 'returns the right function arguments or none if there are none', ->
expect(codo.getFunctionDef(editor, 0).args).toEqual([])
expect(codo.getFunctionDef(editor, 1).args).toEqual(['arg1'])
expect(codo.getFunctionDef(editor, 2).args).toEqual(['arg1','arg2','arg3'])
expect(codo.getFunctionDef(editor, 4).args).toEqual([])
expect(codo.getFunctionDef(editor, 5).args).toEqual(['arg1'])
expect(codo.getFunctionDef(editor, 6).args).toEqual(['arg1','arg2','arg3'])
describe 'when we try to generate class documentation', ->
helper = (row) -> codo.getClassDef(editor, row)
describe 'when the line contains an anonymous class', ->
it 'parses it', ->
expect(helper(7)).toEqual({name: null, 'extends': null})
describe 'when the line contains a named class', ->
it 'parses it', ->
expect(helper(8)).toEqual({name: 'PI:NAME:<NAME>END_PI', 'extends': null})
describe 'when the line contains a named subclass', ->
it 'parses it', ->
expect(helper(9)).toEqual({name: 'PI:NAME:<NAME>END_PI', 'extends': 'Luke'})
|
[
{
"context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\n{SpeechSynth} = ",
"end": 146,
"score": 0.9995529651641846,
"start": 142,
"tag": "NAME",
"value": "Tony"
}
] | 66speech.framer/app.coffee | gremjua-forks/100daysofframer | 26 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "Tony"
twitter: ""
description: ""
{SpeechSynth} = require "SpeechSynth"
narrator = new SpeechSynth
volume: 1, rate: 0.9, pitch: 1, voice: "Daniel"
joke = new Layer
size: Screen.width*0.9, backgroundColor: null, x: Align.center
html: "Chuck Norris Facts", maxY: Screen.height
style: textAlign: "center", fontSize: "2.5rem", lineHeight: "4rem"
button = new Layer
width: Screen.width/2.2, x: Align.center, y: Align.center(-300), borderRadius: 10
height: Screen.height/13, backgroundColor: Color.random().darken(20)
html: "Give Me"
style: textAlign: "center", lineHeight: "7rem", fontSize: "2.2rem"
button.onClick ->
Utils.domLoadJSON "http://api.icndb.com/jokes/random?limitTo=[nerdy]",(err, response) ->
if response.type is "success"
narrator.text = response.value.joke
else
narrator.text =
"If you're hearing this, then the proper response did not load."
narrator.speak()
joke.html = response.value.joke
Utils.delay 2.2, ->
button.html = "Give me another" | 178371 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "<NAME>"
twitter: ""
description: ""
{SpeechSynth} = require "SpeechSynth"
narrator = new SpeechSynth
volume: 1, rate: 0.9, pitch: 1, voice: "Daniel"
joke = new Layer
size: Screen.width*0.9, backgroundColor: null, x: Align.center
html: "Chuck Norris Facts", maxY: Screen.height
style: textAlign: "center", fontSize: "2.5rem", lineHeight: "4rem"
button = new Layer
width: Screen.width/2.2, x: Align.center, y: Align.center(-300), borderRadius: 10
height: Screen.height/13, backgroundColor: Color.random().darken(20)
html: "Give Me"
style: textAlign: "center", lineHeight: "7rem", fontSize: "2.2rem"
button.onClick ->
Utils.domLoadJSON "http://api.icndb.com/jokes/random?limitTo=[nerdy]",(err, response) ->
if response.type is "success"
narrator.text = response.value.joke
else
narrator.text =
"If you're hearing this, then the proper response did not load."
narrator.speak()
joke.html = response.value.joke
Utils.delay 2.2, ->
button.html = "Give me another" | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "PI:NAME:<NAME>END_PI"
twitter: ""
description: ""
{SpeechSynth} = require "SpeechSynth"
narrator = new SpeechSynth
volume: 1, rate: 0.9, pitch: 1, voice: "Daniel"
joke = new Layer
size: Screen.width*0.9, backgroundColor: null, x: Align.center
html: "Chuck Norris Facts", maxY: Screen.height
style: textAlign: "center", fontSize: "2.5rem", lineHeight: "4rem"
button = new Layer
width: Screen.width/2.2, x: Align.center, y: Align.center(-300), borderRadius: 10
height: Screen.height/13, backgroundColor: Color.random().darken(20)
html: "Give Me"
style: textAlign: "center", lineHeight: "7rem", fontSize: "2.2rem"
button.onClick ->
Utils.domLoadJSON "http://api.icndb.com/jokes/random?limitTo=[nerdy]",(err, response) ->
if response.type is "success"
narrator.text = response.value.joke
else
narrator.text =
"If you're hearing this, then the proper response did not load."
narrator.speak()
joke.html = response.value.joke
Utils.delay 2.2, ->
button.html = "Give me another" |
[
{
"context": "oGLib\n# Module | Stat Methods\n# Author | Sherif Emabrak\n# Description | Find minimum spanning in graph\n# ",
"end": 163,
"score": 0.9998793005943298,
"start": 149,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/link/mst.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | Sherif Emabrak
# Description | Find minimum spanning in graph
# ------------------------------------------------------------------------------
mst = () -> | 91691 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | <NAME>
# Description | Find minimum spanning in graph
# ------------------------------------------------------------------------------
mst = () -> | true | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | PI:NAME:<NAME>END_PI
# Description | Find minimum spanning in graph
# ------------------------------------------------------------------------------
mst = () -> |
[
{
"context": "##\n knockback.js 1.2.3\n Copyright (c) 2011-2016 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 66,
"score": 0.9998379945755005,
"start": 52,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/core/collection-observable.coffee | kmalakoff/knockback | 160 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###
{_, ko} = kb = require './kb'
COMPARE_EQUAL = 0
COMPARE_ASCENDING = -1
COMPARE_DESCENDING = 1
KEYS_PUBLISH = ['destroy', 'shareOptions', 'filters', 'comparator', 'sortAttribute', 'viewModelByModel', 'hasViewModels']
kb.compare = (value_a, value_b) ->
# String compare
return value_a.localeCompare("#{value_b}") if _.isString(value_a)
return value_b.localeCompare("#{value_a}") if _.isString(value_b)
# compare raw values
return if (value_a is value_b) then COMPARE_EQUAL else (if (value_a < value_b) then COMPARE_ASCENDING else COMPARE_DESCENDING)
# Base class for observing collections.
#
# @example How to create a ko.CollectionObservable using the ko.collectionObservable factory.
# var collection = new Collection([{name: 'name1'}, {name: 'name2'}]);
# var view_model = {
# todos: kb.collectionObservable(collection)
# };
#
# @example How to access and change the observed collection.
# var todos = new kb.CollectionObservable(new kb.Collection([{name: 'name1'}, {name: 'name2'}]);
# var current_collection = todos.collection(); // get
# todos.collection(new Backbone.Collection([{name: 'name3'}, {name: 'name4'}])); // set
#
# @method .extend(prototype_properties, class_properties)
# Class method for JavaScript inheritance.
# @param [Object] prototype_properties the properties to add to the prototype
# @param [Object] class_properties the properties to add to the class
# @return [ko.observable] the constructor does not return 'this' but a ko.observableArray
# @example
# var MyCollectionObservable = kb.CollectionObservable.extend({
# constructor: function(collection, options) {
# // the constructor does not return 'this' but a ko.observableArray
# return kb.CollectionObservable.prototype.constructor.call(this, collection, {
# view_model: MyViewModel,
# options: options
# });
# });
#
# @method #collection()
# Dual-purpose getter/setter ko.computed for the observed collection.
# @return [Collection|void] getter: the collection whose models are being observed (can be null) OR setter: void
#
class kb.CollectionObservable
# @nodoc
@extend = kb.extend # for Backbone non-Coffeescript inheritance (use "kb.SuperClass.extend({})" in Javascript instead of "class MyClass extends kb.SuperClass")
# Used to create a new kb.CollectionObservable.
#
# When the observable is updated, the following Backbone.Events are triggered:
#
# * ***add***: (view_model, collection_observable) or if batch: (collection_observable)
# * ***resort***: (view_model, collection_observable, new_index) or if batch: (collection_observable)
# * ***remove***: (view_model, collection_observable) or if batch: (collection_observable)
#
# @param [Collection] collection the collection to observe (can be null)
# @param [Object] options the create options
# @option options [Boolean] models_only flag for skipping the creation of view models. The collection observable will be populated with (possibly sorted) models.
# @option options [Boolean] auto_compact flag used to compact memory used by the collection observable when large changes occur, eg. resetting the collection.
# @option options [Constructor] view_model the view model constructor used for models in the collection. Signature: constructor(model, options)
# @option options [Function] create a function used to create a view model for models in the collection. Signature: create(model, options)
# @option options [Object] factories a map of dot-deliminated paths; for example 'models.owner': kb.ViewModel to either constructors or create functions. Signature: 'some.path': function(object, options)
# @option options [Function] comparator a function that is used to sort an object. Signature: `function(model_a, model_b)` returns negative value for ascending, 0 for equal, and positive for descending
# @option options [String] sort_attribute the name of an attribute. Default: resort on all changes to a model.
# @option options [Id|Function|Array] filters filters can be individual ids (observable or simple) or arrays of ids, functions, or arrays of functions.
# @option options [String] path the path to the value (used to create related observables from the factory).
# @option options [kb.Store] store a store used to cache and share view models.
# @option options [kb.Factory] factory a factory used to create view models.
# @option options [Object] options a set of options merge into these options. Useful for extending options when deriving classes rather than merging them by hand.
# @return [ko.observableArray] the constructor does not return 'this' but a ko.observableArray
# @note the constructor does not return 'this' but a ko.observableArray
constructor: (collection, view_model, options) -> args = Array.prototype.slice.call(if _.isArguments(collection) then collection else arguments); return kb.ignore =>
collection = if args[0] instanceof kb.Collection then args.shift() else (if _.isArray(args[0]) then new kb.Collection(args.shift()) else new kb.Collection())
args[0] = {view_model: args[0]} if _.isFunction(args[0])
options = {}; _.extend(options, arg) for arg in args
observable = kb.utils.wrappedObservable(@, ko.observableArray([]))
observable.__kb_is_co = true # mark as a kb.CollectionObservable
@in_edit = 0
# bind callbacks
@__kb or= {}
# options
options = kb.utils.collapseOptions(options)
@auto_compact = true if options.auto_compact
if options.sort_attribute
@_comparator = ko.observable(@_attributeComparator(options.sort_attribute))
else
@_comparator = ko.observable(options.comparator)
if options.filters
@_filters = ko.observableArray(if _.isArray(options.filters) then options.filters else [options.filters] if options.filters)
else
@_filters = ko.observableArray([])
create_options = @create_options = {store: kb.Store.useOptionsOrCreate(options, collection, observable)} # create options
kb.utils.wrappedObject(observable, collection)
# view model factory create factories
@path = options.path
create_options.factory = kb.utils.wrappedFactory(observable, @_shareOrCreateFactory(options))
create_options.path = kb.utils.pathJoin(options.path, 'models')
# check for models only
create_options.creator = create_options.factory.creatorForPath(null, create_options.path)
@models_only = create_options.creator.models_only if create_options.creator
# publish public interface on the observable and return instead of this
kb.publishMethods(observable, @, KEYS_PUBLISH)
# start the processing
@_collection = ko.observable(collection)
observable.collection = @collection = ko.computed {
read: => return @_collection()
write: (new_collection) => kb.ignore =>
return if ((previous_collection = @_collection()) is new_collection) # no change
# @create_options.store.reuse(@, new_collection) # not meant to be shared
kb.utils.wrappedObject(observable, new_collection)
# clean up
previous_collection.unbind('all', @_onCollectionChange) if previous_collection
# store in _kb_collection so that a collection() function can be exposed on the observable and so the collection can be
new_collection.bind('all', @_onCollectionChange) if new_collection
# update references (including notification)
@_collection(new_collection)
}
collection.bind('all', @_onCollectionChange) if collection # bind now
# observable that will re-trigger when sort or filters or collection changes
@_mapper = ko.computed =>
comparator = @_comparator() # create dependency
filters = @_filters() # create dependency
(ko.utils.unwrapObservable(filter) for filter in filters) if filters # create a dependency
current_collection = @_collection() # create dependency
return if @in_edit # we are doing the editing
# no models
observable = kb.utils.wrappedObservable(@)
previous_view_models = kb.peek(observable)
models = current_collection.models if current_collection
if not models or (current_collection.models.length is 0) then view_models = []
# process filters, sorting, etc
else
# apply filters
models = _.filter(models, (model) => not filters.length or @_selectModel(model))
# apply sorting
if comparator
view_models = _.map(models, (model) => @_createViewModel(model)).sort(comparator)
# no sorting
else
if @models_only
view_models = if filters.length then models else models.slice() # clone the array if it wasn't filtered
else
view_models = _.map(models, (model) => @_createViewModel(model))
# update the observable array for this collection observable
@in_edit++
observable(view_models)
@in_edit--
# TODO: release previous
# unless @models_only
# create_options.store.release(view_model) for view_model in previous_view_models
return
# start subscribing
observable.subscribe(_.bind(@_onObservableArrayChange, @))
not kb.statistics or kb.statistics.register('CollectionObservable', @) # collect memory management statistics
return observable
# Required clean up function to break cycles, release view models, etc.
# Can be called directly, via kb.release(object) or as a consequence of ko.releaseNode(element).
destroy: ->
@__kb_released = true
observable = kb.utils.wrappedObservable(@)
collection = kb.peek(@_collection); kb.utils.wrappedObject(observable, null)
if collection
collection.unbind('all', @_onCollectionChange)
array = kb.peek(observable); array.splice(0, array.length) # clear the view models or models
@collection.dispose(); @_collection = observable.collection = @collection = null
@_mapper.dispose(); @_mapper = null
kb.release(@_filters); @_filters = null
@_comparator(null); @_comparator = null
@create_options = null
observable.collection = null; kb.utils.wrappedDestroy(@)
not kb.statistics or kb.statistics.unregister('CollectionObservable', @) # collect memory management statistics
# Get the options for a new collection that can be used for sharing view models.
#
# @example Sharing view models for an HTML select element.
# var selected_collection = new Backbone.Collection();
# var available_collection = new Backbone.Collection([{name: 'Bob'}, {name: 'Fred'}]);
# var selected = kb.collectionObservable(available_collection);
# var available = kb.collectionObservable(available_collection, available_collection.shareOptions()); // view models shared with selected collection observable
shareOptions: ->
observable = kb.utils.wrappedObservable(@)
return {store: kb.utils.wrappedStore(observable), factory: kb.utils.wrappedFactory(observable)}
# Setter for the filters array for excluding models in the collection observable.
#
# @param [Id|Function|Array] filters filters can be individual ids (observable or simple) or arrays of ids, functions, or arrays of functions.
#
# @example
# // exclude a single model by id
# collection_observable.filters(model.id);
filters: (filters) ->
if filters
@_filters(if _.isArray(filters) then filters else [filters])
else
@_filters([])
# Setter for the sorted index function for auto-sorting the ViewModels or Models in a kb.CollectionObservable.
#
# @param [Function] comparator a function that returns an index where to insert the model. Signature: function(models, model)
# @param [Function] comparator a function that is used to sort an object. Signature: `function(model_a, model_b)` returns negative value for ascending, 0 for equal, and positive for descending
#
# @example
# // change the sorting function
# collection_observable.comparator(
# function(view_models, vm){
# return _.comparator(view_models, vm, (test) -> kb.utils.wrappedModel(test).get('name'));
# }
# );
comparator: (comparator) -> @_comparator(comparator)
# Setter for the sort attribute name for auto-sorting the ViewModels or Models in a kb.CollectionObservable.
#
# @param [String] sort_attribute the name of an attribute. Default: resort on all changes to a model.
#
# @example
# var todos = new kb.CollectionObservable(new Backbone.Collection([{name: 'Zanadu', name: 'Alex'}]));
# // in order of Zanadu then Alex
# todos.sortAttribute('name');
# // in order of Alex then Zanadu
sortAttribute: (sort_attribute) -> @_comparator(if sort_attribute then @_attributeComparator(sort_attribute) else null)
# Reverse lookup for a view model by model. If created with models_only option, will return null.
viewModelByModel: (model) ->
return null if @models_only
id_attribute = if model.hasOwnProperty(model.idAttribute) then model.idAttribute else 'cid'
return _.find(kb.peek(kb.utils.wrappedObservable(@)), (test) -> return if test?.__kb?.object then (test.__kb.object[id_attribute] == model[id_attribute]) else false)
# Will return true unless created with models_only option.
#
# @example
# var todos1 = new kb.CollectionObservable(new Backbone.Collection(), {models_only: true});
# todos1.hasViewModels(); // false
# var todos2 = new kb.CollectionObservable(new Backbone.Collection());
# todos2.hasViewModels(); // true
hasViewModels: -> return not @models_only
# Compacts the Collection Observable to use the least amount of memory. Currently, this is brute force meaning it releases than regenerates all view models when called.
#
compact: -> return kb.ignore =>
observable = kb.utils.wrappedObservable(@)
return unless kb.utils.wrappedStoreIsOwned(observable)
kb.utils.wrappedStore(observable).clear()
@_collection.notifySubscribers(@_collection())
####################################################
# Internal
####################################################
# @nodoc
_shareOrCreateFactory: (options) ->
absolute_models_path = kb.utils.pathJoin(options.path, 'models')
factories = options.factories
# check the existing factory
if (factory = options.factory)
# models matches, check additional paths
if (existing_creator = factory.creatorForPath(null, absolute_models_path)) and (not factories or (factories['models'] is existing_creator))
return factory unless factories # all match, share the factory
# all match, share the factory
return factory if factory.hasPathMappings(factories, options.path)
# need to create a new factory
factory = new kb.Factory(options.factory)
factory.addPathMappings(factories, options.path) if factories
# set up the default create function
unless factory.creatorForPath(null, absolute_models_path)
if options.hasOwnProperty('models_only')
if options.models_only
factory.addPathMapping(absolute_models_path, {models_only: true})
else
factory.addPathMapping(absolute_models_path, kb.ViewModel)
else if options.view_model
factory.addPathMapping(absolute_models_path, options.view_model)
else if options.create
factory.addPathMapping(absolute_models_path, {create: options.create})
else
factory.addPathMapping(absolute_models_path, kb.ViewModel)
return factory
# @nodoc
_onCollectionChange: (event, arg) => return kb.ignore =>
return if @in_edit or kb.wasReleased(@) # we are doing the editing or have been released
switch event
when 'reset'
if @auto_compact then @compact() else @_collection.notifySubscribers(@_collection())
when 'sort', 'resort'
@_collection.notifySubscribers(@_collection())
when 'new', 'add'
return unless @_selectModel(arg) # filtered
observable = kb.utils.wrappedObservable(@)
collection = @_collection()
return if (collection.indexOf(arg) == -1) # the model may have been removed before we got a chance to add it
return if (view_model = @viewModelByModel(arg)) # it may have already been added by a change event
@in_edit++
if (comparator = @_comparator())
observable().push(@_createViewModel(arg))
observable.sort(comparator)
else
observable.splice(collection.indexOf(arg), 0, @_createViewModel(arg))
@in_edit--
when 'remove', 'destroy' then @_onModelRemove(arg)
when 'change'
# filtered, remove
return @_onModelRemove(arg) unless @_selectModel(arg)
view_model = if @models_only then arg else @viewModelByModel(arg)
return @_onCollectionChange('add', arg) unless view_model # add new
return unless (comparator = @_comparator())
@in_edit++
kb.utils.wrappedObservable(@).sort(comparator)
@in_edit--
return
# @nodoc
_onModelRemove: (model) ->
view_model = if @models_only then model else @viewModelByModel(model) # either remove a view model or a model
return unless view_model # it may have already been removed
observable = kb.utils.wrappedObservable(@)
@in_edit++
observable.remove(view_model)
@in_edit--
# @nodoc
_onObservableArrayChange: (models_or_view_models) -> return kb.ignore =>
return if @in_edit # we are doing the editing
# validate input
(@models_only and (not models_or_view_models.length or kb.isModel(models_or_view_models[0]))) or (not @models_only and (not models_or_view_models.length or (_.isObject(models_or_view_models[0]) and not kb.isModel(models_or_view_models[0])))) or kb._throwUnexpected(@, 'incorrect type passed')
observable = kb.utils.wrappedObservable(@)
collection = kb.peek(@_collection)
has_filters = kb.peek(@_filters).length
return if not collection # no collection or we are updating ourselves
view_models = models_or_view_models
# set Models
if @models_only
models = _.filter(models_or_view_models, (model) => not has_filters or @_selectModel(model))
# set ViewModels
else
not has_filters or (view_models = []) # check for filtering of ViewModels
models = []
for view_model in models_or_view_models
model = kb.utils.wrappedObject(view_model)
if has_filters
continue unless @_selectModel(model) # filtered so skip
view_models.push(view_model)
# check for view models being different (will occur if a ko select selectedOptions is bound to this collection observable) -> update our store
if current_view_model = @create_options.store.find(model, @create_options.creator)
(current_view_model.constructor is view_model.constructor) or kb._throwUnexpected(@, 'replacing different type of view model')
@create_options.store.retain(view_model, model, @create_options.creator)
models.push(model)
# a change, update models
@in_edit++
(models_or_view_models.length is view_models.length) or observable(view_models) # replace the ViewModels because they were filtered
_.isEqual(collection.models, models) or collection.reset(models)
@in_edit--
return
# @nodoc
_attributeComparator: (sort_attribute) ->
modelAttributeCompare = (model_a, model_b) ->
attribute_name = ko.utils.unwrapObservable(sort_attribute)
kb.compare(model_a.get(attribute_name), model_b.get(attribute_name))
return (if @models_only then modelAttributeCompare else (model_a, model_b) -> modelAttributeCompare(kb.utils.wrappedModel(model_a), kb.utils.wrappedModel(model_b)))
# @nodoc
_createViewModel: (model) ->
return model if @models_only
return @create_options.store.retainOrCreate(model, @create_options)
# @nodoc
_selectModel: (model) ->
filters = kb.peek(@_filters)
for filter in filters
filter = kb.peek(filter)
if _.isFunction(filter)
return false if not filter(model)
else if _.isArray(filter)
return false unless model.id in filter
else
return false unless model.id is filter
return true
# factory function
kb.collectionObservable = (collection, view_model, options) -> return new kb.CollectionObservable(arguments)
kb.observableCollection = kb.collectionObservable
| 170145 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###
{_, ko} = kb = require './kb'
COMPARE_EQUAL = 0
COMPARE_ASCENDING = -1
COMPARE_DESCENDING = 1
KEYS_PUBLISH = ['destroy', 'shareOptions', 'filters', 'comparator', 'sortAttribute', 'viewModelByModel', 'hasViewModels']
kb.compare = (value_a, value_b) ->
# String compare
return value_a.localeCompare("#{value_b}") if _.isString(value_a)
return value_b.localeCompare("#{value_a}") if _.isString(value_b)
# compare raw values
return if (value_a is value_b) then COMPARE_EQUAL else (if (value_a < value_b) then COMPARE_ASCENDING else COMPARE_DESCENDING)
# Base class for observing collections.
#
# @example How to create a ko.CollectionObservable using the ko.collectionObservable factory.
# var collection = new Collection([{name: 'name1'}, {name: 'name2'}]);
# var view_model = {
# todos: kb.collectionObservable(collection)
# };
#
# @example How to access and change the observed collection.
# var todos = new kb.CollectionObservable(new kb.Collection([{name: 'name1'}, {name: 'name2'}]);
# var current_collection = todos.collection(); // get
# todos.collection(new Backbone.Collection([{name: 'name3'}, {name: 'name4'}])); // set
#
# @method .extend(prototype_properties, class_properties)
# Class method for JavaScript inheritance.
# @param [Object] prototype_properties the properties to add to the prototype
# @param [Object] class_properties the properties to add to the class
# @return [ko.observable] the constructor does not return 'this' but a ko.observableArray
# @example
# var MyCollectionObservable = kb.CollectionObservable.extend({
# constructor: function(collection, options) {
# // the constructor does not return 'this' but a ko.observableArray
# return kb.CollectionObservable.prototype.constructor.call(this, collection, {
# view_model: MyViewModel,
# options: options
# });
# });
#
# @method #collection()
# Dual-purpose getter/setter ko.computed for the observed collection.
# @return [Collection|void] getter: the collection whose models are being observed (can be null) OR setter: void
#
class kb.CollectionObservable
# @nodoc
@extend = kb.extend # for Backbone non-Coffeescript inheritance (use "kb.SuperClass.extend({})" in Javascript instead of "class MyClass extends kb.SuperClass")
# Used to create a new kb.CollectionObservable.
#
# When the observable is updated, the following Backbone.Events are triggered:
#
# * ***add***: (view_model, collection_observable) or if batch: (collection_observable)
# * ***resort***: (view_model, collection_observable, new_index) or if batch: (collection_observable)
# * ***remove***: (view_model, collection_observable) or if batch: (collection_observable)
#
# @param [Collection] collection the collection to observe (can be null)
# @param [Object] options the create options
# @option options [Boolean] models_only flag for skipping the creation of view models. The collection observable will be populated with (possibly sorted) models.
# @option options [Boolean] auto_compact flag used to compact memory used by the collection observable when large changes occur, eg. resetting the collection.
# @option options [Constructor] view_model the view model constructor used for models in the collection. Signature: constructor(model, options)
# @option options [Function] create a function used to create a view model for models in the collection. Signature: create(model, options)
# @option options [Object] factories a map of dot-deliminated paths; for example 'models.owner': kb.ViewModel to either constructors or create functions. Signature: 'some.path': function(object, options)
# @option options [Function] comparator a function that is used to sort an object. Signature: `function(model_a, model_b)` returns negative value for ascending, 0 for equal, and positive for descending
# @option options [String] sort_attribute the name of an attribute. Default: resort on all changes to a model.
# @option options [Id|Function|Array] filters filters can be individual ids (observable or simple) or arrays of ids, functions, or arrays of functions.
# @option options [String] path the path to the value (used to create related observables from the factory).
# @option options [kb.Store] store a store used to cache and share view models.
# @option options [kb.Factory] factory a factory used to create view models.
# @option options [Object] options a set of options merge into these options. Useful for extending options when deriving classes rather than merging them by hand.
# @return [ko.observableArray] the constructor does not return 'this' but a ko.observableArray
# @note the constructor does not return 'this' but a ko.observableArray
constructor: (collection, view_model, options) -> args = Array.prototype.slice.call(if _.isArguments(collection) then collection else arguments); return kb.ignore =>
collection = if args[0] instanceof kb.Collection then args.shift() else (if _.isArray(args[0]) then new kb.Collection(args.shift()) else new kb.Collection())
args[0] = {view_model: args[0]} if _.isFunction(args[0])
options = {}; _.extend(options, arg) for arg in args
observable = kb.utils.wrappedObservable(@, ko.observableArray([]))
observable.__kb_is_co = true # mark as a kb.CollectionObservable
@in_edit = 0
# bind callbacks
@__kb or= {}
# options
options = kb.utils.collapseOptions(options)
@auto_compact = true if options.auto_compact
if options.sort_attribute
@_comparator = ko.observable(@_attributeComparator(options.sort_attribute))
else
@_comparator = ko.observable(options.comparator)
if options.filters
@_filters = ko.observableArray(if _.isArray(options.filters) then options.filters else [options.filters] if options.filters)
else
@_filters = ko.observableArray([])
create_options = @create_options = {store: kb.Store.useOptionsOrCreate(options, collection, observable)} # create options
kb.utils.wrappedObject(observable, collection)
# view model factory create factories
@path = options.path
create_options.factory = kb.utils.wrappedFactory(observable, @_shareOrCreateFactory(options))
create_options.path = kb.utils.pathJoin(options.path, 'models')
# check for models only
create_options.creator = create_options.factory.creatorForPath(null, create_options.path)
@models_only = create_options.creator.models_only if create_options.creator
# publish public interface on the observable and return instead of this
kb.publishMethods(observable, @, KEYS_PUBLISH)
# start the processing
@_collection = ko.observable(collection)
observable.collection = @collection = ko.computed {
read: => return @_collection()
write: (new_collection) => kb.ignore =>
return if ((previous_collection = @_collection()) is new_collection) # no change
# @create_options.store.reuse(@, new_collection) # not meant to be shared
kb.utils.wrappedObject(observable, new_collection)
# clean up
previous_collection.unbind('all', @_onCollectionChange) if previous_collection
# store in _kb_collection so that a collection() function can be exposed on the observable and so the collection can be
new_collection.bind('all', @_onCollectionChange) if new_collection
# update references (including notification)
@_collection(new_collection)
}
collection.bind('all', @_onCollectionChange) if collection # bind now
# observable that will re-trigger when sort or filters or collection changes
@_mapper = ko.computed =>
comparator = @_comparator() # create dependency
filters = @_filters() # create dependency
(ko.utils.unwrapObservable(filter) for filter in filters) if filters # create a dependency
current_collection = @_collection() # create dependency
return if @in_edit # we are doing the editing
# no models
observable = kb.utils.wrappedObservable(@)
previous_view_models = kb.peek(observable)
models = current_collection.models if current_collection
if not models or (current_collection.models.length is 0) then view_models = []
# process filters, sorting, etc
else
# apply filters
models = _.filter(models, (model) => not filters.length or @_selectModel(model))
# apply sorting
if comparator
view_models = _.map(models, (model) => @_createViewModel(model)).sort(comparator)
# no sorting
else
if @models_only
view_models = if filters.length then models else models.slice() # clone the array if it wasn't filtered
else
view_models = _.map(models, (model) => @_createViewModel(model))
# update the observable array for this collection observable
@in_edit++
observable(view_models)
@in_edit--
# TODO: release previous
# unless @models_only
# create_options.store.release(view_model) for view_model in previous_view_models
return
# start subscribing
observable.subscribe(_.bind(@_onObservableArrayChange, @))
not kb.statistics or kb.statistics.register('CollectionObservable', @) # collect memory management statistics
return observable
# Required clean up function to break cycles, release view models, etc.
# Can be called directly, via kb.release(object) or as a consequence of ko.releaseNode(element).
destroy: ->
@__kb_released = true
observable = kb.utils.wrappedObservable(@)
collection = kb.peek(@_collection); kb.utils.wrappedObject(observable, null)
if collection
collection.unbind('all', @_onCollectionChange)
array = kb.peek(observable); array.splice(0, array.length) # clear the view models or models
@collection.dispose(); @_collection = observable.collection = @collection = null
@_mapper.dispose(); @_mapper = null
kb.release(@_filters); @_filters = null
@_comparator(null); @_comparator = null
@create_options = null
observable.collection = null; kb.utils.wrappedDestroy(@)
not kb.statistics or kb.statistics.unregister('CollectionObservable', @) # collect memory management statistics
# Get the options for a new collection that can be used for sharing view models.
#
# @example Sharing view models for an HTML select element.
# var selected_collection = new Backbone.Collection();
# var available_collection = new Backbone.Collection([{name: '<NAME>'}, {name: '<NAME>'}]);
# var selected = kb.collectionObservable(available_collection);
# var available = kb.collectionObservable(available_collection, available_collection.shareOptions()); // view models shared with selected collection observable
shareOptions: ->
observable = kb.utils.wrappedObservable(@)
return {store: kb.utils.wrappedStore(observable), factory: kb.utils.wrappedFactory(observable)}
# Setter for the filters array for excluding models in the collection observable.
#
# @param [Id|Function|Array] filters filters can be individual ids (observable or simple) or arrays of ids, functions, or arrays of functions.
#
# @example
# // exclude a single model by id
# collection_observable.filters(model.id);
filters: (filters) ->
if filters
@_filters(if _.isArray(filters) then filters else [filters])
else
@_filters([])
# Setter for the sorted index function for auto-sorting the ViewModels or Models in a kb.CollectionObservable.
#
# @param [Function] comparator a function that returns an index where to insert the model. Signature: function(models, model)
# @param [Function] comparator a function that is used to sort an object. Signature: `function(model_a, model_b)` returns negative value for ascending, 0 for equal, and positive for descending
#
# @example
# // change the sorting function
# collection_observable.comparator(
# function(view_models, vm){
# return _.comparator(view_models, vm, (test) -> kb.utils.wrappedModel(test).get('name'));
# }
# );
comparator: (comparator) -> @_comparator(comparator)
# Setter for the sort attribute name for auto-sorting the ViewModels or Models in a kb.CollectionObservable.
#
# @param [String] sort_attribute the name of an attribute. Default: resort on all changes to a model.
#
# @example
# var todos = new kb.CollectionObservable(new Backbone.Collection([{name: '<NAME>', name: '<NAME>'}]));
# // in order of <NAME> then <NAME>
# todos.sortAttribute('name');
# // in order of <NAME> then <NAME>
sortAttribute: (sort_attribute) -> @_comparator(if sort_attribute then @_attributeComparator(sort_attribute) else null)
# Reverse lookup for a view model by model. If created with models_only option, will return null.
viewModelByModel: (model) ->
return null if @models_only
id_attribute = if model.hasOwnProperty(model.idAttribute) then model.idAttribute else 'cid'
return _.find(kb.peek(kb.utils.wrappedObservable(@)), (test) -> return if test?.__kb?.object then (test.__kb.object[id_attribute] == model[id_attribute]) else false)
# Will return true unless created with models_only option.
#
# @example
# var todos1 = new kb.CollectionObservable(new Backbone.Collection(), {models_only: true});
# todos1.hasViewModels(); // false
# var todos2 = new kb.CollectionObservable(new Backbone.Collection());
# todos2.hasViewModels(); // true
hasViewModels: -> return not @models_only
# Compacts the Collection Observable to use the least amount of memory. Currently, this is brute force meaning it releases than regenerates all view models when called.
#
compact: -> return kb.ignore =>
observable = kb.utils.wrappedObservable(@)
return unless kb.utils.wrappedStoreIsOwned(observable)
kb.utils.wrappedStore(observable).clear()
@_collection.notifySubscribers(@_collection())
####################################################
# Internal
####################################################
# @nodoc
_shareOrCreateFactory: (options) ->
absolute_models_path = kb.utils.pathJoin(options.path, 'models')
factories = options.factories
# check the existing factory
if (factory = options.factory)
# models matches, check additional paths
if (existing_creator = factory.creatorForPath(null, absolute_models_path)) and (not factories or (factories['models'] is existing_creator))
return factory unless factories # all match, share the factory
# all match, share the factory
return factory if factory.hasPathMappings(factories, options.path)
# need to create a new factory
factory = new kb.Factory(options.factory)
factory.addPathMappings(factories, options.path) if factories
# set up the default create function
unless factory.creatorForPath(null, absolute_models_path)
if options.hasOwnProperty('models_only')
if options.models_only
factory.addPathMapping(absolute_models_path, {models_only: true})
else
factory.addPathMapping(absolute_models_path, kb.ViewModel)
else if options.view_model
factory.addPathMapping(absolute_models_path, options.view_model)
else if options.create
factory.addPathMapping(absolute_models_path, {create: options.create})
else
factory.addPathMapping(absolute_models_path, kb.ViewModel)
return factory
# @nodoc
_onCollectionChange: (event, arg) => return kb.ignore =>
return if @in_edit or kb.wasReleased(@) # we are doing the editing or have been released
switch event
when 'reset'
if @auto_compact then @compact() else @_collection.notifySubscribers(@_collection())
when 'sort', 'resort'
@_collection.notifySubscribers(@_collection())
when 'new', 'add'
return unless @_selectModel(arg) # filtered
observable = kb.utils.wrappedObservable(@)
collection = @_collection()
return if (collection.indexOf(arg) == -1) # the model may have been removed before we got a chance to add it
return if (view_model = @viewModelByModel(arg)) # it may have already been added by a change event
@in_edit++
if (comparator = @_comparator())
observable().push(@_createViewModel(arg))
observable.sort(comparator)
else
observable.splice(collection.indexOf(arg), 0, @_createViewModel(arg))
@in_edit--
when 'remove', 'destroy' then @_onModelRemove(arg)
when 'change'
# filtered, remove
return @_onModelRemove(arg) unless @_selectModel(arg)
view_model = if @models_only then arg else @viewModelByModel(arg)
return @_onCollectionChange('add', arg) unless view_model # add new
return unless (comparator = @_comparator())
@in_edit++
kb.utils.wrappedObservable(@).sort(comparator)
@in_edit--
return
# @nodoc
_onModelRemove: (model) ->
view_model = if @models_only then model else @viewModelByModel(model) # either remove a view model or a model
return unless view_model # it may have already been removed
observable = kb.utils.wrappedObservable(@)
@in_edit++
observable.remove(view_model)
@in_edit--
# @nodoc
_onObservableArrayChange: (models_or_view_models) -> return kb.ignore =>
return if @in_edit # we are doing the editing
# validate input
(@models_only and (not models_or_view_models.length or kb.isModel(models_or_view_models[0]))) or (not @models_only and (not models_or_view_models.length or (_.isObject(models_or_view_models[0]) and not kb.isModel(models_or_view_models[0])))) or kb._throwUnexpected(@, 'incorrect type passed')
observable = kb.utils.wrappedObservable(@)
collection = kb.peek(@_collection)
has_filters = kb.peek(@_filters).length
return if not collection # no collection or we are updating ourselves
view_models = models_or_view_models
# set Models
if @models_only
models = _.filter(models_or_view_models, (model) => not has_filters or @_selectModel(model))
# set ViewModels
else
not has_filters or (view_models = []) # check for filtering of ViewModels
models = []
for view_model in models_or_view_models
model = kb.utils.wrappedObject(view_model)
if has_filters
continue unless @_selectModel(model) # filtered so skip
view_models.push(view_model)
# check for view models being different (will occur if a ko select selectedOptions is bound to this collection observable) -> update our store
if current_view_model = @create_options.store.find(model, @create_options.creator)
(current_view_model.constructor is view_model.constructor) or kb._throwUnexpected(@, 'replacing different type of view model')
@create_options.store.retain(view_model, model, @create_options.creator)
models.push(model)
# a change, update models
@in_edit++
(models_or_view_models.length is view_models.length) or observable(view_models) # replace the ViewModels because they were filtered
_.isEqual(collection.models, models) or collection.reset(models)
@in_edit--
return
# @nodoc
_attributeComparator: (sort_attribute) ->
modelAttributeCompare = (model_a, model_b) ->
attribute_name = ko.utils.unwrapObservable(sort_attribute)
kb.compare(model_a.get(attribute_name), model_b.get(attribute_name))
return (if @models_only then modelAttributeCompare else (model_a, model_b) -> modelAttributeCompare(kb.utils.wrappedModel(model_a), kb.utils.wrappedModel(model_b)))
# @nodoc
_createViewModel: (model) ->
return model if @models_only
return @create_options.store.retainOrCreate(model, @create_options)
# @nodoc
_selectModel: (model) ->
filters = kb.peek(@_filters)
for filter in filters
filter = kb.peek(filter)
if _.isFunction(filter)
return false if not filter(model)
else if _.isArray(filter)
return false unless model.id in filter
else
return false unless model.id is filter
return true
# factory function
kb.collectionObservable = (collection, view_model, options) -> return new kb.CollectionObservable(arguments)
kb.observableCollection = kb.collectionObservable
| true | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###
{_, ko} = kb = require './kb'
COMPARE_EQUAL = 0
COMPARE_ASCENDING = -1
COMPARE_DESCENDING = 1
KEYS_PUBLISH = ['destroy', 'shareOptions', 'filters', 'comparator', 'sortAttribute', 'viewModelByModel', 'hasViewModels']
kb.compare = (value_a, value_b) ->
# String compare
return value_a.localeCompare("#{value_b}") if _.isString(value_a)
return value_b.localeCompare("#{value_a}") if _.isString(value_b)
# compare raw values
return if (value_a is value_b) then COMPARE_EQUAL else (if (value_a < value_b) then COMPARE_ASCENDING else COMPARE_DESCENDING)
# Base class for observing collections.
#
# @example How to create a ko.CollectionObservable using the ko.collectionObservable factory.
# var collection = new Collection([{name: 'name1'}, {name: 'name2'}]);
# var view_model = {
# todos: kb.collectionObservable(collection)
# };
#
# @example How to access and change the observed collection.
# var todos = new kb.CollectionObservable(new kb.Collection([{name: 'name1'}, {name: 'name2'}]);
# var current_collection = todos.collection(); // get
# todos.collection(new Backbone.Collection([{name: 'name3'}, {name: 'name4'}])); // set
#
# @method .extend(prototype_properties, class_properties)
# Class method for JavaScript inheritance.
# @param [Object] prototype_properties the properties to add to the prototype
# @param [Object] class_properties the properties to add to the class
# @return [ko.observable] the constructor does not return 'this' but a ko.observableArray
# @example
# var MyCollectionObservable = kb.CollectionObservable.extend({
# constructor: function(collection, options) {
# // the constructor does not return 'this' but a ko.observableArray
# return kb.CollectionObservable.prototype.constructor.call(this, collection, {
# view_model: MyViewModel,
# options: options
# });
# });
#
# @method #collection()
# Dual-purpose getter/setter ko.computed for the observed collection.
# @return [Collection|void] getter: the collection whose models are being observed (can be null) OR setter: void
#
class kb.CollectionObservable
# @nodoc
@extend = kb.extend # for Backbone non-Coffeescript inheritance (use "kb.SuperClass.extend({})" in Javascript instead of "class MyClass extends kb.SuperClass")
# Used to create a new kb.CollectionObservable.
#
# When the observable is updated, the following Backbone.Events are triggered:
#
# * ***add***: (view_model, collection_observable) or if batch: (collection_observable)
# * ***resort***: (view_model, collection_observable, new_index) or if batch: (collection_observable)
# * ***remove***: (view_model, collection_observable) or if batch: (collection_observable)
#
# @param [Collection] collection the collection to observe (can be null)
# @param [Object] options the create options
# @option options [Boolean] models_only flag for skipping the creation of view models. The collection observable will be populated with (possibly sorted) models.
# @option options [Boolean] auto_compact flag used to compact memory used by the collection observable when large changes occur, eg. resetting the collection.
# @option options [Constructor] view_model the view model constructor used for models in the collection. Signature: constructor(model, options)
# @option options [Function] create a function used to create a view model for models in the collection. Signature: create(model, options)
# @option options [Object] factories a map of dot-deliminated paths; for example 'models.owner': kb.ViewModel to either constructors or create functions. Signature: 'some.path': function(object, options)
# @option options [Function] comparator a function that is used to sort an object. Signature: `function(model_a, model_b)` returns negative value for ascending, 0 for equal, and positive for descending
# @option options [String] sort_attribute the name of an attribute. Default: resort on all changes to a model.
# @option options [Id|Function|Array] filters filters can be individual ids (observable or simple) or arrays of ids, functions, or arrays of functions.
# @option options [String] path the path to the value (used to create related observables from the factory).
# @option options [kb.Store] store a store used to cache and share view models.
# @option options [kb.Factory] factory a factory used to create view models.
# @option options [Object] options a set of options merge into these options. Useful for extending options when deriving classes rather than merging them by hand.
# @return [ko.observableArray] the constructor does not return 'this' but a ko.observableArray
# @note the constructor does not return 'this' but a ko.observableArray
constructor: (collection, view_model, options) -> args = Array.prototype.slice.call(if _.isArguments(collection) then collection else arguments); return kb.ignore =>
collection = if args[0] instanceof kb.Collection then args.shift() else (if _.isArray(args[0]) then new kb.Collection(args.shift()) else new kb.Collection())
args[0] = {view_model: args[0]} if _.isFunction(args[0])
options = {}; _.extend(options, arg) for arg in args
observable = kb.utils.wrappedObservable(@, ko.observableArray([]))
observable.__kb_is_co = true # mark as a kb.CollectionObservable
@in_edit = 0
# bind callbacks
@__kb or= {}
# options
options = kb.utils.collapseOptions(options)
@auto_compact = true if options.auto_compact
if options.sort_attribute
@_comparator = ko.observable(@_attributeComparator(options.sort_attribute))
else
@_comparator = ko.observable(options.comparator)
if options.filters
@_filters = ko.observableArray(if _.isArray(options.filters) then options.filters else [options.filters] if options.filters)
else
@_filters = ko.observableArray([])
create_options = @create_options = {store: kb.Store.useOptionsOrCreate(options, collection, observable)} # create options
kb.utils.wrappedObject(observable, collection)
# view model factory create factories
@path = options.path
create_options.factory = kb.utils.wrappedFactory(observable, @_shareOrCreateFactory(options))
create_options.path = kb.utils.pathJoin(options.path, 'models')
# check for models only
create_options.creator = create_options.factory.creatorForPath(null, create_options.path)
@models_only = create_options.creator.models_only if create_options.creator
# publish public interface on the observable and return instead of this
kb.publishMethods(observable, @, KEYS_PUBLISH)
# start the processing
@_collection = ko.observable(collection)
observable.collection = @collection = ko.computed {
read: => return @_collection()
write: (new_collection) => kb.ignore =>
return if ((previous_collection = @_collection()) is new_collection) # no change
# @create_options.store.reuse(@, new_collection) # not meant to be shared
kb.utils.wrappedObject(observable, new_collection)
# clean up
previous_collection.unbind('all', @_onCollectionChange) if previous_collection
# store in _kb_collection so that a collection() function can be exposed on the observable and so the collection can be
new_collection.bind('all', @_onCollectionChange) if new_collection
# update references (including notification)
@_collection(new_collection)
}
collection.bind('all', @_onCollectionChange) if collection # bind now
# observable that will re-trigger when sort or filters or collection changes
@_mapper = ko.computed =>
comparator = @_comparator() # create dependency
filters = @_filters() # create dependency
(ko.utils.unwrapObservable(filter) for filter in filters) if filters # create a dependency
current_collection = @_collection() # create dependency
return if @in_edit # we are doing the editing
# no models
observable = kb.utils.wrappedObservable(@)
previous_view_models = kb.peek(observable)
models = current_collection.models if current_collection
if not models or (current_collection.models.length is 0) then view_models = []
# process filters, sorting, etc
else
# apply filters
models = _.filter(models, (model) => not filters.length or @_selectModel(model))
# apply sorting
if comparator
view_models = _.map(models, (model) => @_createViewModel(model)).sort(comparator)
# no sorting
else
if @models_only
view_models = if filters.length then models else models.slice() # clone the array if it wasn't filtered
else
view_models = _.map(models, (model) => @_createViewModel(model))
# update the observable array for this collection observable
@in_edit++
observable(view_models)
@in_edit--
# TODO: release previous
# unless @models_only
# create_options.store.release(view_model) for view_model in previous_view_models
return
# start subscribing
observable.subscribe(_.bind(@_onObservableArrayChange, @))
not kb.statistics or kb.statistics.register('CollectionObservable', @) # collect memory management statistics
return observable
# Required clean up function to break cycles, release view models, etc.
# Can be called directly, via kb.release(object) or as a consequence of ko.releaseNode(element).
destroy: ->
@__kb_released = true
observable = kb.utils.wrappedObservable(@)
collection = kb.peek(@_collection); kb.utils.wrappedObject(observable, null)
if collection
collection.unbind('all', @_onCollectionChange)
array = kb.peek(observable); array.splice(0, array.length) # clear the view models or models
@collection.dispose(); @_collection = observable.collection = @collection = null
@_mapper.dispose(); @_mapper = null
kb.release(@_filters); @_filters = null
@_comparator(null); @_comparator = null
@create_options = null
observable.collection = null; kb.utils.wrappedDestroy(@)
not kb.statistics or kb.statistics.unregister('CollectionObservable', @) # collect memory management statistics
# Get the options for a new collection that can be used for sharing view models.
#
# @example Sharing view models for an HTML select element.
# var selected_collection = new Backbone.Collection();
# var available_collection = new Backbone.Collection([{name: 'PI:NAME:<NAME>END_PI'}, {name: 'PI:NAME:<NAME>END_PI'}]);
# var selected = kb.collectionObservable(available_collection);
# var available = kb.collectionObservable(available_collection, available_collection.shareOptions()); // view models shared with selected collection observable
shareOptions: ->
observable = kb.utils.wrappedObservable(@)
return {store: kb.utils.wrappedStore(observable), factory: kb.utils.wrappedFactory(observable)}
# Setter for the filters array for excluding models in the collection observable.
#
# @param [Id|Function|Array] filters filters can be individual ids (observable or simple) or arrays of ids, functions, or arrays of functions.
#
# @example
# // exclude a single model by id
# collection_observable.filters(model.id);
filters: (filters) ->
if filters
@_filters(if _.isArray(filters) then filters else [filters])
else
@_filters([])
# Setter for the sorted index function for auto-sorting the ViewModels or Models in a kb.CollectionObservable.
#
# @param [Function] comparator a function that returns an index where to insert the model. Signature: function(models, model)
# @param [Function] comparator a function that is used to sort an object. Signature: `function(model_a, model_b)` returns negative value for ascending, 0 for equal, and positive for descending
#
# @example
# // change the sorting function
# collection_observable.comparator(
# function(view_models, vm){
# return _.comparator(view_models, vm, (test) -> kb.utils.wrappedModel(test).get('name'));
# }
# );
comparator: (comparator) -> @_comparator(comparator)
# Setter for the sort attribute name for auto-sorting the ViewModels or Models in a kb.CollectionObservable.
#
# @param [String] sort_attribute the name of an attribute. Default: resort on all changes to a model.
#
# @example
# var todos = new kb.CollectionObservable(new Backbone.Collection([{name: 'PI:NAME:<NAME>END_PI', name: 'PI:NAME:<NAME>END_PI'}]));
# // in order of PI:NAME:<NAME>END_PI then PI:NAME:<NAME>END_PI
# todos.sortAttribute('name');
# // in order of PI:NAME:<NAME>END_PI then PI:NAME:<NAME>END_PI
sortAttribute: (sort_attribute) -> @_comparator(if sort_attribute then @_attributeComparator(sort_attribute) else null)
# Reverse lookup for a view model by model. If created with models_only option, will return null.
viewModelByModel: (model) ->
return null if @models_only
id_attribute = if model.hasOwnProperty(model.idAttribute) then model.idAttribute else 'cid'
return _.find(kb.peek(kb.utils.wrappedObservable(@)), (test) -> return if test?.__kb?.object then (test.__kb.object[id_attribute] == model[id_attribute]) else false)
# Will return true unless created with models_only option.
#
# @example
# var todos1 = new kb.CollectionObservable(new Backbone.Collection(), {models_only: true});
# todos1.hasViewModels(); // false
# var todos2 = new kb.CollectionObservable(new Backbone.Collection());
# todos2.hasViewModels(); // true
hasViewModels: -> return not @models_only
# Compacts the Collection Observable to use the least amount of memory. Currently, this is brute force meaning it releases than regenerates all view models when called.
#
compact: -> return kb.ignore =>
observable = kb.utils.wrappedObservable(@)
return unless kb.utils.wrappedStoreIsOwned(observable)
kb.utils.wrappedStore(observable).clear()
@_collection.notifySubscribers(@_collection())
####################################################
# Internal
####################################################
# @nodoc
_shareOrCreateFactory: (options) ->
absolute_models_path = kb.utils.pathJoin(options.path, 'models')
factories = options.factories
# check the existing factory
if (factory = options.factory)
# models matches, check additional paths
if (existing_creator = factory.creatorForPath(null, absolute_models_path)) and (not factories or (factories['models'] is existing_creator))
return factory unless factories # all match, share the factory
# all match, share the factory
return factory if factory.hasPathMappings(factories, options.path)
# need to create a new factory
factory = new kb.Factory(options.factory)
factory.addPathMappings(factories, options.path) if factories
# set up the default create function
unless factory.creatorForPath(null, absolute_models_path)
if options.hasOwnProperty('models_only')
if options.models_only
factory.addPathMapping(absolute_models_path, {models_only: true})
else
factory.addPathMapping(absolute_models_path, kb.ViewModel)
else if options.view_model
factory.addPathMapping(absolute_models_path, options.view_model)
else if options.create
factory.addPathMapping(absolute_models_path, {create: options.create})
else
factory.addPathMapping(absolute_models_path, kb.ViewModel)
return factory
# @nodoc
_onCollectionChange: (event, arg) => return kb.ignore =>
return if @in_edit or kb.wasReleased(@) # we are doing the editing or have been released
switch event
when 'reset'
if @auto_compact then @compact() else @_collection.notifySubscribers(@_collection())
when 'sort', 'resort'
@_collection.notifySubscribers(@_collection())
when 'new', 'add'
return unless @_selectModel(arg) # filtered
observable = kb.utils.wrappedObservable(@)
collection = @_collection()
return if (collection.indexOf(arg) == -1) # the model may have been removed before we got a chance to add it
return if (view_model = @viewModelByModel(arg)) # it may have already been added by a change event
@in_edit++
if (comparator = @_comparator())
observable().push(@_createViewModel(arg))
observable.sort(comparator)
else
observable.splice(collection.indexOf(arg), 0, @_createViewModel(arg))
@in_edit--
when 'remove', 'destroy' then @_onModelRemove(arg)
when 'change'
# filtered, remove
return @_onModelRemove(arg) unless @_selectModel(arg)
view_model = if @models_only then arg else @viewModelByModel(arg)
return @_onCollectionChange('add', arg) unless view_model # add new
return unless (comparator = @_comparator())
@in_edit++
kb.utils.wrappedObservable(@).sort(comparator)
@in_edit--
return
# @nodoc
_onModelRemove: (model) ->
view_model = if @models_only then model else @viewModelByModel(model) # either remove a view model or a model
return unless view_model # it may have already been removed
observable = kb.utils.wrappedObservable(@)
@in_edit++
observable.remove(view_model)
@in_edit--
# @nodoc
_onObservableArrayChange: (models_or_view_models) -> return kb.ignore =>
return if @in_edit # we are doing the editing
# validate input
(@models_only and (not models_or_view_models.length or kb.isModel(models_or_view_models[0]))) or (not @models_only and (not models_or_view_models.length or (_.isObject(models_or_view_models[0]) and not kb.isModel(models_or_view_models[0])))) or kb._throwUnexpected(@, 'incorrect type passed')
observable = kb.utils.wrappedObservable(@)
collection = kb.peek(@_collection)
has_filters = kb.peek(@_filters).length
return if not collection # no collection or we are updating ourselves
view_models = models_or_view_models
# set Models
if @models_only
models = _.filter(models_or_view_models, (model) => not has_filters or @_selectModel(model))
# set ViewModels
else
not has_filters or (view_models = []) # check for filtering of ViewModels
models = []
for view_model in models_or_view_models
model = kb.utils.wrappedObject(view_model)
if has_filters
continue unless @_selectModel(model) # filtered so skip
view_models.push(view_model)
# check for view models being different (will occur if a ko select selectedOptions is bound to this collection observable) -> update our store
if current_view_model = @create_options.store.find(model, @create_options.creator)
(current_view_model.constructor is view_model.constructor) or kb._throwUnexpected(@, 'replacing different type of view model')
@create_options.store.retain(view_model, model, @create_options.creator)
models.push(model)
# a change, update models
@in_edit++
(models_or_view_models.length is view_models.length) or observable(view_models) # replace the ViewModels because they were filtered
_.isEqual(collection.models, models) or collection.reset(models)
@in_edit--
return
# @nodoc
_attributeComparator: (sort_attribute) ->
modelAttributeCompare = (model_a, model_b) ->
attribute_name = ko.utils.unwrapObservable(sort_attribute)
kb.compare(model_a.get(attribute_name), model_b.get(attribute_name))
return (if @models_only then modelAttributeCompare else (model_a, model_b) -> modelAttributeCompare(kb.utils.wrappedModel(model_a), kb.utils.wrappedModel(model_b)))
# @nodoc
_createViewModel: (model) ->
return model if @models_only
return @create_options.store.retainOrCreate(model, @create_options)
# @nodoc
_selectModel: (model) ->
filters = kb.peek(@_filters)
for filter in filters
filter = kb.peek(filter)
if _.isFunction(filter)
return false if not filter(model)
else if _.isArray(filter)
return false unless model.id in filter
else
return false unless model.id is filter
return true
# factory function
kb.collectionObservable = (collection, view_model, options) -> return new kb.CollectionObservable(arguments)
kb.observableCollection = kb.collectionObservable
|
[
{
"context": "h', 1]\n\n lang = criterion\n username: 'user'\n password: 'hash'\n $or: [{active: ",
"end": 10186,
"score": 0.9995073080062866,
"start": 10182,
"tag": "USERNAME",
"value": "user"
},
{
"context": "erion\n username: 'user'\n passwo... | test/criterion.coffee | snd/criterion | 6 | criterion = C = require '../src/criterion'
escape = (x) -> '"' + x + '"'
module.exports =
'successfully making criteria':
'x = 7': (test) ->
SQL = 'x = ?'
ESCAPED = '"x" = ?'
PARAMS = [7]
lang1 = criterion {x: 7}
lang2 = criterion {x: {$eq: 7}}
raw = criterion SQL, PARAMS...
dsl = C.eq(C.escape('x'), 7)
dslReversed = C.eq(7, C.escape('x'))
test.equal lang1.sql(), SQL
test.equal lang1.sql(escape), ESCAPED
test.deepEqual lang1.params(), PARAMS
test.equal lang2.sql(), SQL
test.equal lang2.sql(escape), ESCAPED
test.deepEqual lang2.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.equal dslReversed.sql(), '? = x'
test.done()
'!=': (test) ->
SQL = 'x != ?'
ESCAPED = '"x" != ?'
PARAMS = ['a']
lang = criterion {x: {$ne: 'a'}}
raw = criterion SQL, PARAMS...
dsl = C.ne(C.escape('x'), 'a')
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'< AND <=': (test) ->
SQL = '(x < ?) AND (y <= ?)'
ESCAPED = '("x" < ?) AND ("y" <= ?)'
PARAMS = [3, 4]
lang = criterion {x: {$lt: 3}, y: {$lte: 4}}
raw = criterion SQL, PARAMS...
dsl = C.and(
C.lt(C.escape('x'), 3)
C.lte(C.escape('y'), 4)
)
combined = criterion(x: {$lt: 3})
.and(y: {$lte: 4})
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.equal combined.sql(), SQL
test.equal combined.sql(escape), ESCAPED
test.deepEqual combined.params(), PARAMS
test.done()
'> AND >=': (test) ->
SQL = '(x > ?) AND (y >= ?)'
ESCAPED = '("x" > ?) AND ("y" >= ?)'
PARAMS = [5, 6]
lang = criterion {x: {$gt: 5}, y: {$gte: 6}}
raw = criterion SQL, PARAMS...
dsl = C.and(
C.gt(C.escape('x'), 5)
C.gte(C.escape('y'), 6)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'x IS NULL': (test) ->
SQL = 'x IS NULL'
ESCAPED = '"x" IS NULL'
PARAMS = []
lang = criterion {x: {$null: true}}
raw = criterion SQL
dsl = C.null(C.escape('x'))
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'x IS NOT NULL': (test) ->
SQL = 'x IS NOT NULL'
ESCAPED = '"x" IS NOT NULL'
PARAMS = []
lang = criterion {x: {$null: false}}
raw = criterion SQL
dsl = C.null(C.escape('x'), false)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'x IN (?, ?, ?)': (test) ->
SQL = 'x IN (?, ?, ?)'
ESCAPED = '"x" IN (?, ?, ?)'
PARAMS = [1, 2, 3]
lang = criterion {x: [1, 2, 3]}
langLong = criterion {x: {$in: [1, 2, 3]}}
raw1 = criterion SQL, 1, 2, 3
raw2 = criterion 'x IN (?)', [1, 2, 3]
dsl = C.in(C.escape('x'), [1, 2, 3])
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal langLong.sql(), SQL
test.equal langLong.sql(escape), ESCAPED
test.deepEqual langLong.params(), PARAMS
test.equal raw1.sql(), SQL
test.equal raw1.sql(escape), SQL
test.deepEqual raw1.params(), PARAMS
test.equal raw2.sql(), SQL
test.equal raw2.sql(escape), SQL
test.deepEqual raw2.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'NOT IN': (test) ->
SQL = 'x NOT IN (?, ?, ?)'
ESCAPED = '"x" NOT IN (?, ?, ?)'
PARAMS = [1, 2, 3]
lang = criterion {x: {$nin: [1, 2, 3]}}
raw = criterion SQL, PARAMS...
dsl = C.nin(C.escape('x'), [1, 2, 3])
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'AND': (test) ->
SQL = '(x = ?) AND (y = ?) AND (z = ?) AND a = ?'
ESCAPED = '("x" = ?) AND ("y" = ?) AND ("z" = ?) AND a = ?'
PARAMS = [7, 'foo', 2.5, 6]
lang1 = criterion {x: 7, y: 'foo'}, {z: 2.5}, [criterion('a = ?', 6)]
lang2 = criterion [{x: 7, y: 'foo'}, {z: 2.5}, criterion('a = ?', 6)]
lang3 = criterion {$and: [{x: 7, y: 'foo'}, {z: 2.5}, criterion('a = ?', 6)]}
lang4 = criterion {x: 7, y: 'foo', $and: [{z: 2.5}, criterion('a = ?', 6)]}
raw = criterion SQL, PARAMS...
dsl1 = C.and(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
dsl2 = C.and(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.and(
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
)
dsl3 = C(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C(
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
)
test.equal lang1.sql(), SQL
test.equal lang1.sql(escape), ESCAPED
test.deepEqual lang1.params(), PARAMS
test.equal lang2.sql(), SQL
test.equal lang2.sql(escape), ESCAPED
test.deepEqual lang2.params(), PARAMS
test.equal lang3.sql(), SQL
test.equal lang3.sql(escape), ESCAPED
test.deepEqual lang3.params(), PARAMS
test.equal lang4.sql(), SQL
test.equal lang4.sql(escape), ESCAPED
test.deepEqual lang4.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl1.sql(), SQL
test.equal dsl1.sql(escape), ESCAPED
test.deepEqual dsl1.params(), PARAMS
test.equal dsl2.sql(), SQL
test.equal dsl2.sql(escape), ESCAPED
test.deepEqual dsl2.params(), PARAMS
test.equal dsl3.sql(), SQL
test.equal dsl3.sql(escape), ESCAPED
test.deepEqual dsl3.params(), PARAMS
test.done()
'OR': (test) ->
SQL = '(x = ?) OR (y = ?) OR (z = ?) OR a = ?'
ESCAPED = '("x" = ?) OR ("y" = ?) OR ("z" = ?) OR a = ?'
PARAMS = [7, 'foo', 2.5, 6]
lang1 = criterion {$or: [{x: 7}, {y: 'foo'}, {z: 2.5}, criterion('a = ?', 6)]}
lang2 = criterion {$or: {x: 7, y: 'foo', $or: [{z: 2.5}, criterion('a = ?', 6)]}}
raw = criterion SQL, PARAMS...
dsl1 = C.or(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
dsl2 = C.or(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.or(
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
)
test.equal lang1.sql(), SQL
test.equal lang1.sql(escape), ESCAPED
test.deepEqual lang1.params(), PARAMS
test.equal lang2.sql(), SQL
test.equal lang2.sql(escape), ESCAPED
test.deepEqual lang2.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl1.sql(), SQL
test.equal dsl1.sql(escape), ESCAPED
test.deepEqual dsl1.params(), PARAMS
test.equal dsl2.sql(), SQL
test.equal dsl2.sql(escape), ESCAPED
test.deepEqual dsl2.params(), PARAMS
test.done()
'NOT': (test) ->
SQL = 'NOT ((x > ?) AND (y >= ?))'
ESCAPED = 'NOT (("x" > ?) AND ("y" >= ?))'
PARAMS = [3, 4]
lang = criterion {$not: {x: {$gt: 3}, y: {$gte: 4}}}
raw = criterion SQL, PARAMS...
dsl = C.not(
C.and(
C.gt(C.escape('x'), 3)
C.gte(C.escape('y'), 4)
)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'OR inside AND (is wrapped in parentheses)': (test) ->
SQL = '(username = ?) AND (password = ?) AND ((active = ?) OR (active IS NULL))'
ESCAPED = '("username" = ?) AND ("password" = ?) AND (("active" = ?) OR ("active" IS NULL))'
PARAMS = ['user', 'hash', 1]
lang = criterion
username: 'user'
password: 'hash'
$or: [{active: 1}, {active: {$null: true}}]
raw = criterion SQL, PARAMS...
dsl = C.and(
C.eq(C.escape('username'), 'user')
C.eq(C.escape('password'), 'hash')
C.or(
C.eq(C.escape('active'), 1)
C.null(C.escape('active'))
)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'AND, OR and NOT can be deeply nested': (test) ->
SQL = '(alpha = ?) OR ((charlie != ?) AND (NOT (((delta = ?) OR (delta IS NULL)) AND (echo = ?)))) OR ((echo < ?) AND ((golf = ?) OR (NOT (lima != ?)))) OR (foxtrot = ?) OR (NOT (alpha = ? OR (NOT (echo < ?)) OR (alpha < ?) OR (bravo = ?) OR ((alpha = ?) AND (bravo = ?)))) OR (bravo = ?)'
ESCAPED = '("alpha" = ?) OR (("charlie" != ?) AND (NOT ((("delta" = ?) OR ("delta" IS NULL)) AND ("echo" = ?)))) OR (("echo" < ?) AND (("golf" = ?) OR (NOT ("lima" != ?)))) OR ("foxtrot" = ?) OR (NOT (alpha = ? OR (NOT ("echo" < ?)) OR ("alpha" < ?) OR ("bravo" = ?) OR (("alpha" = ?) AND ("bravo" = ?)))) OR ("bravo" = ?)'
PARAMS = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
lang = criterion {
$or: {
alpha: 1
$and: {
charlie: {$ne: 2}
$not: {
$and: {
$or: [
{delta: 3},
{delta: {$null: true}}
]
echo: 4
}
}
}
$or: [
[
{echo: {$lt: 5}}
{$or: {
golf: 6
$not: {lima: {$ne: 7}}
}}
]
{foxtrot: 8}
]
$not: {
$or: [
criterion('alpha = ?', 9)
{$not: {echo: {$lt: 10}}}
{alpha: {$lt: 11}}
{bravo: 12}
[
{alpha: 13}
{bravo: 14}
]
]
}
bravo: 15
}
}
raw = criterion SQL, PARAMS...
dsl = C.or(
C.eq(C.escape('alpha'), 1)
C.and(
C.ne(C.escape('charlie'), 2)
C.not(
C.and(
C.or(
C.eq(C.escape('delta'), 3)
C.null(C.escape('delta'))
)
C.eq(C.escape('echo'), 4)
)
)
)
C.or(
C.and(
C.lt(C.escape('echo'), 5)
C.or(
C.eq(C.escape('golf'), 6)
C.not(
C.ne(C.escape('lima'), 7)
)
)
)
C.eq(C.escape('foxtrot'), 8)
)
C.not(
C.or(
C('alpha = ?', 9)
C.not(
C.lt(C.escape('echo'), 10)
)
C.lt(C.escape('alpha'), 11)
C.eq(C.escape('bravo'), 12)
C(
C.eq(C.escape('alpha'), 13)
C.eq(C.escape('bravo'), 14)
)
)
)
C.eq(C.escape('bravo'), 15)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'IN and $nin': (test) ->
subquery =
sql: (escape) ->
"SELECT #{escape 'id'} FROM \"user\" WHERE #{escape 'is_active'}"
params: -> []
subqueryWithParams =
sql: (escape) ->
"SELECT #{escape 'id'} FROM \"user\" WHERE #{escape 'is_active'} = ?"
params: ->
[true]
inWithoutParams = criterion {x: {$in: subquery}}
test.equal inWithoutParams.sql(), 'x IN (SELECT id FROM "user" WHERE is_active)'
test.equal inWithoutParams.sql(escape), '"x" IN (SELECT "id" FROM "user" WHERE "is_active")'
test.deepEqual inWithoutParams.params(), []
inWithParams = criterion {x: {$in: subqueryWithParams}}
test.equal inWithParams.sql(), 'x IN (SELECT id FROM "user" WHERE is_active = ?)'
test.equal inWithParams.sql(escape), '"x" IN (SELECT "id" FROM "user" WHERE "is_active" = ?)'
test.deepEqual inWithParams.params(), [true]
ninWithoutParams = criterion {x: {$nin: subquery}}
test.equal ninWithoutParams.sql(), 'x NOT IN (SELECT id FROM "user" WHERE is_active)'
test.equal ninWithoutParams.sql(escape), '"x" NOT IN (SELECT "id" FROM "user" WHERE "is_active")'
test.deepEqual ninWithoutParams.params(), []
ninWithParams = criterion {x: {$nin: subqueryWithParams}}
test.equal ninWithParams.sql(), 'x NOT IN (SELECT id FROM "user" WHERE is_active = ?)'
test.equal ninWithParams.sql(escape), '"x" NOT IN (SELECT "id" FROM "user" WHERE "is_active" = ?)'
test.deepEqual ninWithParams.params(), [true]
test.done()
'$exists': (test) ->
subquery =
sql: (escape) ->
"SELECT * FROM \"user\" WHERE #{escape 'is_active'}"
params: -> []
subqueryWithParams =
sql: (escape) ->
"SELECT * FROM \"user\" WHERE #{escape 'is_active'} = ?"
params: ->
[true]
existsWithoutParams = criterion {id: 7, $exists: subquery}
test.equal existsWithoutParams.sql(), '(id = ?) AND (EXISTS (SELECT * FROM "user" WHERE is_active))'
test.equal existsWithoutParams.sql(escape), '("id" = ?) AND (EXISTS (SELECT * FROM "user" WHERE "is_active"))'
test.deepEqual existsWithoutParams.params(), [7]
existsWithParams = criterion {id: 7, $exists: subqueryWithParams}
test.equal existsWithParams.sql(), '(id = ?) AND (EXISTS (SELECT * FROM "user" WHERE is_active = ?))'
test.equal existsWithParams.sql(escape), '("id" = ?) AND (EXISTS (SELECT * FROM "user" WHERE "is_active" = ?))'
test.deepEqual existsWithParams.params(), [7, true]
test.done()
'$any, $neAny, $ltAny, $lteAny, $gtAny, $gteAny, $all, $neAll, $ltAll, $lteAll, $gtAll, $gteAll': (test) ->
subquery =
sql: (escape) ->
"SELECT * FROM #{escape "user"}"
params: -> []
subqueryWithParams =
sql: (escape) ->
"SELECT * FROM #{escape "user"} WHERE #{escape "id"} = ?"
params: ->
[7]
anyWithoutParams = criterion {x: {$any: subquery}}
test.equal anyWithoutParams.sql(), 'x = ANY (SELECT * FROM user)'
test.equal anyWithoutParams.sql(escape), '"x" = ANY (SELECT * FROM "user")'
test.deepEqual anyWithoutParams.params(), []
anyWithParams = criterion {x: {$any: subqueryWithParams}, y: 6}
test.equal anyWithParams.sql(), '(x = ANY (SELECT * FROM user WHERE id = ?)) AND (y = ?)'
test.equal anyWithParams.sql(escape), '("x" = ANY (SELECT * FROM "user" WHERE "id" = ?)) AND ("y" = ?)'
test.deepEqual anyWithParams.params(), [7, 6]
# since all other subqueries follow the same code path
# we omit testing with params and escaping for them
test.equal criterion({x: {$neAny: subquery}}).sql(), 'x != ANY (SELECT * FROM user)'
test.equal criterion({x: {$ltAny: subquery}}).sql(), 'x < ANY (SELECT * FROM user)'
test.equal criterion({x: {$lteAny: subquery}}).sql(), 'x <= ANY (SELECT * FROM user)'
test.equal criterion({x: {$gtAny: subquery}}).sql(), 'x > ANY (SELECT * FROM user)'
test.equal criterion({x: {$gteAny: subquery}}).sql(), 'x >= ANY (SELECT * FROM user)'
test.equal criterion({x: {$all: subquery}}).sql(), 'x = ALL (SELECT * FROM user)'
test.equal criterion({x: {$neAll: subquery}}).sql(), 'x != ALL (SELECT * FROM user)'
test.equal criterion({x: {$ltAll: subquery}}).sql(), 'x < ALL (SELECT * FROM user)'
test.equal criterion({x: {$lteAll: subquery}}).sql(), 'x <= ALL (SELECT * FROM user)'
test.equal criterion({x: {$gtAll: subquery}}).sql(), 'x > ALL (SELECT * FROM user)'
test.equal criterion({x: {$gteAll: subquery}}).sql(), 'x >= ALL (SELECT * FROM user)'
test.done()
'row-wise comparison': (test) ->
subquery =
sql: (escape) ->
"SELECT #{escape 'created_at'} FROM #{escape 'message'} WHERE #{escape 'id'} = ?"
params: ->
[1]
c = criterion {is_active: true, created_at: {$lte: subquery}}
test.equal c.sql(), '(is_active = ?) AND (created_at <= (SELECT created_at FROM message WHERE id = ?))'
test.equal c.sql(escape), '("is_active" = ?) AND ("created_at" <= (SELECT "created_at" FROM "message" WHERE "id" = ?))'
test.deepEqual c.params(), [true, 1]
test.done()
'with one param and one array': (test) ->
c = criterion 'x = ? AND y IN (?)', 7, [8,9,10]
test.equal c.sql(), 'x = ? AND y IN (?, ?, ?)'
test.deepEqual c.params(), [7, 8, 9, 10]
test.done()
'with two params and array': (test) ->
c = criterion 'x = ? AND y = ? AND z IN (?)', 7, 8, [9,10,11]
test.equal c.sql(), 'x = ? AND y = ? AND z IN (?, ?, ?)'
test.deepEqual c.params(), [7, 8, 9, 10, 11]
test.done()
'with two params and two arrays': (test) ->
c = criterion 'x = ? AND y = ? AND z IN (?) AND (a && ARRAY[?])', 7, 8, [9,10,11], [12,13,14]
test.equal c.sql(), 'x = ? AND y = ? AND z IN (?, ?, ?) AND (a && ARRAY[?, ?, ?])'
test.deepEqual c.params(), [7, 8, 9, 10, 11, 12, 13, 14]
test.done()
'equality with criterion argument': (test) ->
c = criterion {x: criterion('crypt(?, gen_salt(?, ?))', 'password', 'bf', 4)}
test.equal c.sql(), 'x = crypt(?, gen_salt(?, ?))'
test.equal c.sql(escape), '"x" = crypt(?, gen_salt(?, ?))'
test.deepEqual c.params(), ['password', 'bf', 4]
test.done()
'$ne with criterion argument': (test) ->
c = criterion {x: {$ne: criterion('crypt(?, gen_salt(?, ?))', 'password', 'bf', 4)}}
test.equal c.sql(), 'x != crypt(?, gen_salt(?, ?))'
test.equal c.sql(escape), '"x" != crypt(?, gen_salt(?, ?))'
test.deepEqual c.params(), ['password', 'bf', 4]
test.done()
'$lt with criterion argument': (test) ->
c = criterion {x: {$lt: criterion('NOW()')}}
test.equal c.sql(), 'x < NOW()'
test.equal c.sql(escape), '"x" < NOW()'
test.deepEqual c.params(), []
test.done()
'successfully manipulating criteria':
'and': (test) ->
fst = criterion {x: 7, y: 'foo'}
snd = criterion 'z = ?', true
fstAndSnd = fst.and snd
test.equal fstAndSnd.sql(), '(x = ?) AND (y = ?) AND z = ?'
test.deepEqual fstAndSnd.params(), [7, 'foo', true]
test.done()
'or': (test) ->
fst = criterion {x: 7, y: 'foo'}
snd = criterion 'z = ?', true
sndOrFst = snd.or fst
test.equal sndOrFst.sql(), 'z = ? OR ((x = ?) AND (y = ?))'
test.deepEqual sndOrFst.params(), [true, 7, 'foo']
test.done()
'not': (test) ->
c = criterion {x: 7, y: 'foo'}
test.equal c.not().sql(), 'NOT ((x = ?) AND (y = ?))'
test.deepEqual c.not().params(), [7, 'foo']
test.done()
'double negation is removed': (test) ->
c = criterion {x: 7, y: 'foo'}
test.equal c.not().not().sql(), '(x = ?) AND (y = ?)'
test.deepEqual c.not().not().params(), [7, 'foo']
test.equal c.not().not().not().sql(), 'NOT ((x = ?) AND (y = ?))'
test.deepEqual c.not().not().not().params(), [7, 'foo']
test.done()
'errors when making criteria':
'not string or object': (test) ->
try
criterion 6
catch e
test.equal e.message, 'string or object expected as first argument but number given'
test.done()
'empty object': (test) ->
try
criterion {}
catch e
test.equal e.message, 'empty condition-object'
try
criterion [{}]
catch e
test.equal e.message, 'empty condition-object'
test.done()
'empty array param': (test) ->
try
criterion 'b < ? AND a IN(?) AND c < ?', 6, [], 7
catch e
test.equal e.message, 'params[1] is an empty array'
test.done()
'null value with modifier': (test) ->
try
criterion {x: {$lt: null}}
catch e
test.equal e.message, 'value undefined or null for key x and modifier key $lt'
test.done()
'null value without modifier': (test) ->
try
criterion {x: null}
catch e
test.equal e.message, 'value undefined or null for key x'
test.done()
'in with empty array': (test) ->
try
criterion {x: []}
catch e
test.equal e.message, '`in` with empty array as right operand'
test.done()
'$nin with empty array': (test) ->
try
criterion {x: {$nin: []}}
catch e
test.equal e.message, '`nin` with empty array as right operand'
test.done()
'$any with array': (test) ->
try
criterion {x: {$any: [1]}}
catch e
test.equal e.message, "`any` doesn't support array as right operand. only `in` and `nin` do!"
test.done()
'$any with number': (test) ->
try
criterion {x: {$any: 6}}
catch e
test.equal e.message, "`any` requires right operand that implements sql-fragment interface"
test.done()
'unknown modifier': (test) ->
try
criterion {x: {$not: 6}}
catch e
test.equal e.message, 'unknown modifier key $not'
try
criterion {x: {$foo: 6}}
catch e
test.equal e.message, 'unknown modifier key $foo'
test.done()
'$exists without sql-fragment': (test) ->
try
criterion {$exists: 6}
catch e
test.equal e.message, "`exists` operand must implement sql-fragment interface"
test.done()
'$in without array or sql-fragment': (test) ->
try
criterion({x: {$in: 6}})
catch e
test.equal e.message, "`in` requires right operand that is an array or implements sql-fragment interface"
test.done()
'$nin without array or sql-fragment': (test) ->
try
criterion({x: {$nin: 6}})
catch e
test.equal e.message, "`nin` requires right operand that is an array or implements sql-fragment interface"
test.done()
| 60346 | criterion = C = require '../src/criterion'
escape = (x) -> '"' + x + '"'
module.exports =
'successfully making criteria':
'x = 7': (test) ->
SQL = 'x = ?'
ESCAPED = '"x" = ?'
PARAMS = [7]
lang1 = criterion {x: 7}
lang2 = criterion {x: {$eq: 7}}
raw = criterion SQL, PARAMS...
dsl = C.eq(C.escape('x'), 7)
dslReversed = C.eq(7, C.escape('x'))
test.equal lang1.sql(), SQL
test.equal lang1.sql(escape), ESCAPED
test.deepEqual lang1.params(), PARAMS
test.equal lang2.sql(), SQL
test.equal lang2.sql(escape), ESCAPED
test.deepEqual lang2.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.equal dslReversed.sql(), '? = x'
test.done()
'!=': (test) ->
SQL = 'x != ?'
ESCAPED = '"x" != ?'
PARAMS = ['a']
lang = criterion {x: {$ne: 'a'}}
raw = criterion SQL, PARAMS...
dsl = C.ne(C.escape('x'), 'a')
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'< AND <=': (test) ->
SQL = '(x < ?) AND (y <= ?)'
ESCAPED = '("x" < ?) AND ("y" <= ?)'
PARAMS = [3, 4]
lang = criterion {x: {$lt: 3}, y: {$lte: 4}}
raw = criterion SQL, PARAMS...
dsl = C.and(
C.lt(C.escape('x'), 3)
C.lte(C.escape('y'), 4)
)
combined = criterion(x: {$lt: 3})
.and(y: {$lte: 4})
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.equal combined.sql(), SQL
test.equal combined.sql(escape), ESCAPED
test.deepEqual combined.params(), PARAMS
test.done()
'> AND >=': (test) ->
SQL = '(x > ?) AND (y >= ?)'
ESCAPED = '("x" > ?) AND ("y" >= ?)'
PARAMS = [5, 6]
lang = criterion {x: {$gt: 5}, y: {$gte: 6}}
raw = criterion SQL, PARAMS...
dsl = C.and(
C.gt(C.escape('x'), 5)
C.gte(C.escape('y'), 6)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'x IS NULL': (test) ->
SQL = 'x IS NULL'
ESCAPED = '"x" IS NULL'
PARAMS = []
lang = criterion {x: {$null: true}}
raw = criterion SQL
dsl = C.null(C.escape('x'))
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'x IS NOT NULL': (test) ->
SQL = 'x IS NOT NULL'
ESCAPED = '"x" IS NOT NULL'
PARAMS = []
lang = criterion {x: {$null: false}}
raw = criterion SQL
dsl = C.null(C.escape('x'), false)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'x IN (?, ?, ?)': (test) ->
SQL = 'x IN (?, ?, ?)'
ESCAPED = '"x" IN (?, ?, ?)'
PARAMS = [1, 2, 3]
lang = criterion {x: [1, 2, 3]}
langLong = criterion {x: {$in: [1, 2, 3]}}
raw1 = criterion SQL, 1, 2, 3
raw2 = criterion 'x IN (?)', [1, 2, 3]
dsl = C.in(C.escape('x'), [1, 2, 3])
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal langLong.sql(), SQL
test.equal langLong.sql(escape), ESCAPED
test.deepEqual langLong.params(), PARAMS
test.equal raw1.sql(), SQL
test.equal raw1.sql(escape), SQL
test.deepEqual raw1.params(), PARAMS
test.equal raw2.sql(), SQL
test.equal raw2.sql(escape), SQL
test.deepEqual raw2.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'NOT IN': (test) ->
SQL = 'x NOT IN (?, ?, ?)'
ESCAPED = '"x" NOT IN (?, ?, ?)'
PARAMS = [1, 2, 3]
lang = criterion {x: {$nin: [1, 2, 3]}}
raw = criterion SQL, PARAMS...
dsl = C.nin(C.escape('x'), [1, 2, 3])
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'AND': (test) ->
SQL = '(x = ?) AND (y = ?) AND (z = ?) AND a = ?'
ESCAPED = '("x" = ?) AND ("y" = ?) AND ("z" = ?) AND a = ?'
PARAMS = [7, 'foo', 2.5, 6]
lang1 = criterion {x: 7, y: 'foo'}, {z: 2.5}, [criterion('a = ?', 6)]
lang2 = criterion [{x: 7, y: 'foo'}, {z: 2.5}, criterion('a = ?', 6)]
lang3 = criterion {$and: [{x: 7, y: 'foo'}, {z: 2.5}, criterion('a = ?', 6)]}
lang4 = criterion {x: 7, y: 'foo', $and: [{z: 2.5}, criterion('a = ?', 6)]}
raw = criterion SQL, PARAMS...
dsl1 = C.and(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
dsl2 = C.and(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.and(
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
)
dsl3 = C(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C(
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
)
test.equal lang1.sql(), SQL
test.equal lang1.sql(escape), ESCAPED
test.deepEqual lang1.params(), PARAMS
test.equal lang2.sql(), SQL
test.equal lang2.sql(escape), ESCAPED
test.deepEqual lang2.params(), PARAMS
test.equal lang3.sql(), SQL
test.equal lang3.sql(escape), ESCAPED
test.deepEqual lang3.params(), PARAMS
test.equal lang4.sql(), SQL
test.equal lang4.sql(escape), ESCAPED
test.deepEqual lang4.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl1.sql(), SQL
test.equal dsl1.sql(escape), ESCAPED
test.deepEqual dsl1.params(), PARAMS
test.equal dsl2.sql(), SQL
test.equal dsl2.sql(escape), ESCAPED
test.deepEqual dsl2.params(), PARAMS
test.equal dsl3.sql(), SQL
test.equal dsl3.sql(escape), ESCAPED
test.deepEqual dsl3.params(), PARAMS
test.done()
'OR': (test) ->
SQL = '(x = ?) OR (y = ?) OR (z = ?) OR a = ?'
ESCAPED = '("x" = ?) OR ("y" = ?) OR ("z" = ?) OR a = ?'
PARAMS = [7, 'foo', 2.5, 6]
lang1 = criterion {$or: [{x: 7}, {y: 'foo'}, {z: 2.5}, criterion('a = ?', 6)]}
lang2 = criterion {$or: {x: 7, y: 'foo', $or: [{z: 2.5}, criterion('a = ?', 6)]}}
raw = criterion SQL, PARAMS...
dsl1 = C.or(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
dsl2 = C.or(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.or(
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
)
test.equal lang1.sql(), SQL
test.equal lang1.sql(escape), ESCAPED
test.deepEqual lang1.params(), PARAMS
test.equal lang2.sql(), SQL
test.equal lang2.sql(escape), ESCAPED
test.deepEqual lang2.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl1.sql(), SQL
test.equal dsl1.sql(escape), ESCAPED
test.deepEqual dsl1.params(), PARAMS
test.equal dsl2.sql(), SQL
test.equal dsl2.sql(escape), ESCAPED
test.deepEqual dsl2.params(), PARAMS
test.done()
'NOT': (test) ->
SQL = 'NOT ((x > ?) AND (y >= ?))'
ESCAPED = 'NOT (("x" > ?) AND ("y" >= ?))'
PARAMS = [3, 4]
lang = criterion {$not: {x: {$gt: 3}, y: {$gte: 4}}}
raw = criterion SQL, PARAMS...
dsl = C.not(
C.and(
C.gt(C.escape('x'), 3)
C.gte(C.escape('y'), 4)
)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'OR inside AND (is wrapped in parentheses)': (test) ->
SQL = '(username = ?) AND (password = ?) AND ((active = ?) OR (active IS NULL))'
ESCAPED = '("username" = ?) AND ("password" = ?) AND (("active" = ?) OR ("active" IS NULL))'
PARAMS = ['user', 'hash', 1]
lang = criterion
username: 'user'
password: '<PASSWORD>'
$or: [{active: 1}, {active: {$null: true}}]
raw = criterion SQL, PARAMS...
dsl = C.and(
C.eq(C.escape('username'), 'user')
C.eq(C.escape('password'), '<PASSWORD>')
C.or(
C.eq(C.escape('active'), 1)
C.null(C.escape('active'))
)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'AND, OR and NOT can be deeply nested': (test) ->
SQL = '(alpha = ?) OR ((charlie != ?) AND (NOT (((delta = ?) OR (delta IS NULL)) AND (echo = ?)))) OR ((echo < ?) AND ((golf = ?) OR (NOT (lima != ?)))) OR (foxtrot = ?) OR (NOT (alpha = ? OR (NOT (echo < ?)) OR (alpha < ?) OR (bravo = ?) OR ((alpha = ?) AND (bravo = ?)))) OR (bravo = ?)'
ESCAPED = '("alpha" = ?) OR (("charlie" != ?) AND (NOT ((("delta" = ?) OR ("delta" IS NULL)) AND ("echo" = ?)))) OR (("echo" < ?) AND (("golf" = ?) OR (NOT ("lima" != ?)))) OR ("foxtrot" = ?) OR (NOT (alpha = ? OR (NOT ("echo" < ?)) OR ("alpha" < ?) OR ("bravo" = ?) OR (("alpha" = ?) AND ("bravo" = ?)))) OR ("bravo" = ?)'
PARAMS = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
lang = criterion {
$or: {
alpha: 1
$and: {
charlie: {$ne: 2}
$not: {
$and: {
$or: [
{delta: 3},
{delta: {$null: true}}
]
echo: 4
}
}
}
$or: [
[
{echo: {$lt: 5}}
{$or: {
golf: 6
$not: {lima: {$ne: 7}}
}}
]
{foxtrot: 8}
]
$not: {
$or: [
criterion('alpha = ?', 9)
{$not: {echo: {$lt: 10}}}
{alpha: {$lt: 11}}
{bravo: 12}
[
{alpha: 13}
{bravo: 14}
]
]
}
bravo: 15
}
}
raw = criterion SQL, PARAMS...
dsl = C.or(
C.eq(C.escape('alpha'), 1)
C.and(
C.ne(C.escape('charlie'), 2)
C.not(
C.and(
C.or(
C.eq(C.escape('delta'), 3)
C.null(C.escape('delta'))
)
C.eq(C.escape('echo'), 4)
)
)
)
C.or(
C.and(
C.lt(C.escape('echo'), 5)
C.or(
C.eq(C.escape('golf'), 6)
C.not(
C.ne(C.escape('lima'), 7)
)
)
)
C.eq(C.escape('foxtrot'), 8)
)
C.not(
C.or(
C('alpha = ?', 9)
C.not(
C.lt(C.escape('echo'), 10)
)
C.lt(C.escape('alpha'), 11)
C.eq(C.escape('bravo'), 12)
C(
C.eq(C.escape('alpha'), 13)
C.eq(C.escape('bravo'), 14)
)
)
)
C.eq(C.escape('bravo'), 15)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'IN and $nin': (test) ->
subquery =
sql: (escape) ->
"SELECT #{escape 'id'} FROM \"user\" WHERE #{escape 'is_active'}"
params: -> []
subqueryWithParams =
sql: (escape) ->
"SELECT #{escape 'id'} FROM \"user\" WHERE #{escape 'is_active'} = ?"
params: ->
[true]
inWithoutParams = criterion {x: {$in: subquery}}
test.equal inWithoutParams.sql(), 'x IN (SELECT id FROM "user" WHERE is_active)'
test.equal inWithoutParams.sql(escape), '"x" IN (SELECT "id" FROM "user" WHERE "is_active")'
test.deepEqual inWithoutParams.params(), []
inWithParams = criterion {x: {$in: subqueryWithParams}}
test.equal inWithParams.sql(), 'x IN (SELECT id FROM "user" WHERE is_active = ?)'
test.equal inWithParams.sql(escape), '"x" IN (SELECT "id" FROM "user" WHERE "is_active" = ?)'
test.deepEqual inWithParams.params(), [true]
ninWithoutParams = criterion {x: {$nin: subquery}}
test.equal ninWithoutParams.sql(), 'x NOT IN (SELECT id FROM "user" WHERE is_active)'
test.equal ninWithoutParams.sql(escape), '"x" NOT IN (SELECT "id" FROM "user" WHERE "is_active")'
test.deepEqual ninWithoutParams.params(), []
ninWithParams = criterion {x: {$nin: subqueryWithParams}}
test.equal ninWithParams.sql(), 'x NOT IN (SELECT id FROM "user" WHERE is_active = ?)'
test.equal ninWithParams.sql(escape), '"x" NOT IN (SELECT "id" FROM "user" WHERE "is_active" = ?)'
test.deepEqual ninWithParams.params(), [true]
test.done()
'$exists': (test) ->
subquery =
sql: (escape) ->
"SELECT * FROM \"user\" WHERE #{escape 'is_active'}"
params: -> []
subqueryWithParams =
sql: (escape) ->
"SELECT * FROM \"user\" WHERE #{escape 'is_active'} = ?"
params: ->
[true]
existsWithoutParams = criterion {id: 7, $exists: subquery}
test.equal existsWithoutParams.sql(), '(id = ?) AND (EXISTS (SELECT * FROM "user" WHERE is_active))'
test.equal existsWithoutParams.sql(escape), '("id" = ?) AND (EXISTS (SELECT * FROM "user" WHERE "is_active"))'
test.deepEqual existsWithoutParams.params(), [7]
existsWithParams = criterion {id: 7, $exists: subqueryWithParams}
test.equal existsWithParams.sql(), '(id = ?) AND (EXISTS (SELECT * FROM "user" WHERE is_active = ?))'
test.equal existsWithParams.sql(escape), '("id" = ?) AND (EXISTS (SELECT * FROM "user" WHERE "is_active" = ?))'
test.deepEqual existsWithParams.params(), [7, true]
test.done()
'$any, $neAny, $ltAny, $lteAny, $gtAny, $gteAny, $all, $neAll, $ltAll, $lteAll, $gtAll, $gteAll': (test) ->
subquery =
sql: (escape) ->
"SELECT * FROM #{escape "user"}"
params: -> []
subqueryWithParams =
sql: (escape) ->
"SELECT * FROM #{escape "user"} WHERE #{escape "id"} = ?"
params: ->
[7]
anyWithoutParams = criterion {x: {$any: subquery}}
test.equal anyWithoutParams.sql(), 'x = ANY (SELECT * FROM user)'
test.equal anyWithoutParams.sql(escape), '"x" = ANY (SELECT * FROM "user")'
test.deepEqual anyWithoutParams.params(), []
anyWithParams = criterion {x: {$any: subqueryWithParams}, y: 6}
test.equal anyWithParams.sql(), '(x = ANY (SELECT * FROM user WHERE id = ?)) AND (y = ?)'
test.equal anyWithParams.sql(escape), '("x" = ANY (SELECT * FROM "user" WHERE "id" = ?)) AND ("y" = ?)'
test.deepEqual anyWithParams.params(), [7, 6]
# since all other subqueries follow the same code path
# we omit testing with params and escaping for them
test.equal criterion({x: {$neAny: subquery}}).sql(), 'x != ANY (SELECT * FROM user)'
test.equal criterion({x: {$ltAny: subquery}}).sql(), 'x < ANY (SELECT * FROM user)'
test.equal criterion({x: {$lteAny: subquery}}).sql(), 'x <= ANY (SELECT * FROM user)'
test.equal criterion({x: {$gtAny: subquery}}).sql(), 'x > ANY (SELECT * FROM user)'
test.equal criterion({x: {$gteAny: subquery}}).sql(), 'x >= ANY (SELECT * FROM user)'
test.equal criterion({x: {$all: subquery}}).sql(), 'x = ALL (SELECT * FROM user)'
test.equal criterion({x: {$neAll: subquery}}).sql(), 'x != ALL (SELECT * FROM user)'
test.equal criterion({x: {$ltAll: subquery}}).sql(), 'x < ALL (SELECT * FROM user)'
test.equal criterion({x: {$lteAll: subquery}}).sql(), 'x <= ALL (SELECT * FROM user)'
test.equal criterion({x: {$gtAll: subquery}}).sql(), 'x > ALL (SELECT * FROM user)'
test.equal criterion({x: {$gteAll: subquery}}).sql(), 'x >= ALL (SELECT * FROM user)'
test.done()
'row-wise comparison': (test) ->
subquery =
sql: (escape) ->
"SELECT #{escape 'created_at'} FROM #{escape 'message'} WHERE #{escape 'id'} = ?"
params: ->
[1]
c = criterion {is_active: true, created_at: {$lte: subquery}}
test.equal c.sql(), '(is_active = ?) AND (created_at <= (SELECT created_at FROM message WHERE id = ?))'
test.equal c.sql(escape), '("is_active" = ?) AND ("created_at" <= (SELECT "created_at" FROM "message" WHERE "id" = ?))'
test.deepEqual c.params(), [true, 1]
test.done()
'with one param and one array': (test) ->
c = criterion 'x = ? AND y IN (?)', 7, [8,9,10]
test.equal c.sql(), 'x = ? AND y IN (?, ?, ?)'
test.deepEqual c.params(), [7, 8, 9, 10]
test.done()
'with two params and array': (test) ->
c = criterion 'x = ? AND y = ? AND z IN (?)', 7, 8, [9,10,11]
test.equal c.sql(), 'x = ? AND y = ? AND z IN (?, ?, ?)'
test.deepEqual c.params(), [7, 8, 9, 10, 11]
test.done()
'with two params and two arrays': (test) ->
c = criterion 'x = ? AND y = ? AND z IN (?) AND (a && ARRAY[?])', 7, 8, [9,10,11], [12,13,14]
test.equal c.sql(), 'x = ? AND y = ? AND z IN (?, ?, ?) AND (a && ARRAY[?, ?, ?])'
test.deepEqual c.params(), [7, 8, 9, 10, 11, 12, 13, 14]
test.done()
'equality with criterion argument': (test) ->
c = criterion {x: criterion('crypt(?, gen_salt(?, ?))', 'password', 'bf', 4)}
test.equal c.sql(), 'x = crypt(?, gen_salt(?, ?))'
test.equal c.sql(escape), '"x" = crypt(?, gen_salt(?, ?))'
test.deepEqual c.params(), ['password', 'bf', 4]
test.done()
'$ne with criterion argument': (test) ->
c = criterion {x: {$ne: criterion('crypt(?, gen_salt(?, ?))', 'password', 'bf', 4)}}
test.equal c.sql(), 'x != crypt(?, gen_salt(?, ?))'
test.equal c.sql(escape), '"x" != crypt(?, gen_salt(?, ?))'
test.deepEqual c.params(), ['password', 'bf', 4]
test.done()
'$lt with criterion argument': (test) ->
c = criterion {x: {$lt: criterion('NOW()')}}
test.equal c.sql(), 'x < NOW()'
test.equal c.sql(escape), '"x" < NOW()'
test.deepEqual c.params(), []
test.done()
'successfully manipulating criteria':
'and': (test) ->
fst = criterion {x: 7, y: 'foo'}
snd = criterion 'z = ?', true
fstAndSnd = fst.and snd
test.equal fstAndSnd.sql(), '(x = ?) AND (y = ?) AND z = ?'
test.deepEqual fstAndSnd.params(), [7, 'foo', true]
test.done()
'or': (test) ->
fst = criterion {x: 7, y: 'foo'}
snd = criterion 'z = ?', true
sndOrFst = snd.or fst
test.equal sndOrFst.sql(), 'z = ? OR ((x = ?) AND (y = ?))'
test.deepEqual sndOrFst.params(), [true, 7, 'foo']
test.done()
'not': (test) ->
c = criterion {x: 7, y: 'foo'}
test.equal c.not().sql(), 'NOT ((x = ?) AND (y = ?))'
test.deepEqual c.not().params(), [7, 'foo']
test.done()
'double negation is removed': (test) ->
c = criterion {x: 7, y: 'foo'}
test.equal c.not().not().sql(), '(x = ?) AND (y = ?)'
test.deepEqual c.not().not().params(), [7, 'foo']
test.equal c.not().not().not().sql(), 'NOT ((x = ?) AND (y = ?))'
test.deepEqual c.not().not().not().params(), [7, 'foo']
test.done()
'errors when making criteria':
'not string or object': (test) ->
try
criterion 6
catch e
test.equal e.message, 'string or object expected as first argument but number given'
test.done()
'empty object': (test) ->
try
criterion {}
catch e
test.equal e.message, 'empty condition-object'
try
criterion [{}]
catch e
test.equal e.message, 'empty condition-object'
test.done()
'empty array param': (test) ->
try
criterion 'b < ? AND a IN(?) AND c < ?', 6, [], 7
catch e
test.equal e.message, 'params[1] is an empty array'
test.done()
'null value with modifier': (test) ->
try
criterion {x: {$lt: null}}
catch e
test.equal e.message, 'value undefined or null for key x and modifier key $lt'
test.done()
'null value without modifier': (test) ->
try
criterion {x: null}
catch e
test.equal e.message, 'value undefined or null for key x'
test.done()
'in with empty array': (test) ->
try
criterion {x: []}
catch e
test.equal e.message, '`in` with empty array as right operand'
test.done()
'$nin with empty array': (test) ->
try
criterion {x: {$nin: []}}
catch e
test.equal e.message, '`nin` with empty array as right operand'
test.done()
'$any with array': (test) ->
try
criterion {x: {$any: [1]}}
catch e
test.equal e.message, "`any` doesn't support array as right operand. only `in` and `nin` do!"
test.done()
'$any with number': (test) ->
try
criterion {x: {$any: 6}}
catch e
test.equal e.message, "`any` requires right operand that implements sql-fragment interface"
test.done()
'unknown modifier': (test) ->
try
criterion {x: {$not: 6}}
catch e
test.equal e.message, 'unknown modifier key $not'
try
criterion {x: {$foo: 6}}
catch e
test.equal e.message, 'unknown modifier key $foo'
test.done()
'$exists without sql-fragment': (test) ->
try
criterion {$exists: 6}
catch e
test.equal e.message, "`exists` operand must implement sql-fragment interface"
test.done()
'$in without array or sql-fragment': (test) ->
try
criterion({x: {$in: 6}})
catch e
test.equal e.message, "`in` requires right operand that is an array or implements sql-fragment interface"
test.done()
'$nin without array or sql-fragment': (test) ->
try
criterion({x: {$nin: 6}})
catch e
test.equal e.message, "`nin` requires right operand that is an array or implements sql-fragment interface"
test.done()
| true | criterion = C = require '../src/criterion'
escape = (x) -> '"' + x + '"'
module.exports =
'successfully making criteria':
'x = 7': (test) ->
SQL = 'x = ?'
ESCAPED = '"x" = ?'
PARAMS = [7]
lang1 = criterion {x: 7}
lang2 = criterion {x: {$eq: 7}}
raw = criterion SQL, PARAMS...
dsl = C.eq(C.escape('x'), 7)
dslReversed = C.eq(7, C.escape('x'))
test.equal lang1.sql(), SQL
test.equal lang1.sql(escape), ESCAPED
test.deepEqual lang1.params(), PARAMS
test.equal lang2.sql(), SQL
test.equal lang2.sql(escape), ESCAPED
test.deepEqual lang2.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.equal dslReversed.sql(), '? = x'
test.done()
'!=': (test) ->
SQL = 'x != ?'
ESCAPED = '"x" != ?'
PARAMS = ['a']
lang = criterion {x: {$ne: 'a'}}
raw = criterion SQL, PARAMS...
dsl = C.ne(C.escape('x'), 'a')
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'< AND <=': (test) ->
SQL = '(x < ?) AND (y <= ?)'
ESCAPED = '("x" < ?) AND ("y" <= ?)'
PARAMS = [3, 4]
lang = criterion {x: {$lt: 3}, y: {$lte: 4}}
raw = criterion SQL, PARAMS...
dsl = C.and(
C.lt(C.escape('x'), 3)
C.lte(C.escape('y'), 4)
)
combined = criterion(x: {$lt: 3})
.and(y: {$lte: 4})
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.equal combined.sql(), SQL
test.equal combined.sql(escape), ESCAPED
test.deepEqual combined.params(), PARAMS
test.done()
'> AND >=': (test) ->
SQL = '(x > ?) AND (y >= ?)'
ESCAPED = '("x" > ?) AND ("y" >= ?)'
PARAMS = [5, 6]
lang = criterion {x: {$gt: 5}, y: {$gte: 6}}
raw = criterion SQL, PARAMS...
dsl = C.and(
C.gt(C.escape('x'), 5)
C.gte(C.escape('y'), 6)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'x IS NULL': (test) ->
SQL = 'x IS NULL'
ESCAPED = '"x" IS NULL'
PARAMS = []
lang = criterion {x: {$null: true}}
raw = criterion SQL
dsl = C.null(C.escape('x'))
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'x IS NOT NULL': (test) ->
SQL = 'x IS NOT NULL'
ESCAPED = '"x" IS NOT NULL'
PARAMS = []
lang = criterion {x: {$null: false}}
raw = criterion SQL
dsl = C.null(C.escape('x'), false)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'x IN (?, ?, ?)': (test) ->
SQL = 'x IN (?, ?, ?)'
ESCAPED = '"x" IN (?, ?, ?)'
PARAMS = [1, 2, 3]
lang = criterion {x: [1, 2, 3]}
langLong = criterion {x: {$in: [1, 2, 3]}}
raw1 = criterion SQL, 1, 2, 3
raw2 = criterion 'x IN (?)', [1, 2, 3]
dsl = C.in(C.escape('x'), [1, 2, 3])
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal langLong.sql(), SQL
test.equal langLong.sql(escape), ESCAPED
test.deepEqual langLong.params(), PARAMS
test.equal raw1.sql(), SQL
test.equal raw1.sql(escape), SQL
test.deepEqual raw1.params(), PARAMS
test.equal raw2.sql(), SQL
test.equal raw2.sql(escape), SQL
test.deepEqual raw2.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'NOT IN': (test) ->
SQL = 'x NOT IN (?, ?, ?)'
ESCAPED = '"x" NOT IN (?, ?, ?)'
PARAMS = [1, 2, 3]
lang = criterion {x: {$nin: [1, 2, 3]}}
raw = criterion SQL, PARAMS...
dsl = C.nin(C.escape('x'), [1, 2, 3])
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'AND': (test) ->
SQL = '(x = ?) AND (y = ?) AND (z = ?) AND a = ?'
ESCAPED = '("x" = ?) AND ("y" = ?) AND ("z" = ?) AND a = ?'
PARAMS = [7, 'foo', 2.5, 6]
lang1 = criterion {x: 7, y: 'foo'}, {z: 2.5}, [criterion('a = ?', 6)]
lang2 = criterion [{x: 7, y: 'foo'}, {z: 2.5}, criterion('a = ?', 6)]
lang3 = criterion {$and: [{x: 7, y: 'foo'}, {z: 2.5}, criterion('a = ?', 6)]}
lang4 = criterion {x: 7, y: 'foo', $and: [{z: 2.5}, criterion('a = ?', 6)]}
raw = criterion SQL, PARAMS...
dsl1 = C.and(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
dsl2 = C.and(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.and(
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
)
dsl3 = C(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C(
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
)
test.equal lang1.sql(), SQL
test.equal lang1.sql(escape), ESCAPED
test.deepEqual lang1.params(), PARAMS
test.equal lang2.sql(), SQL
test.equal lang2.sql(escape), ESCAPED
test.deepEqual lang2.params(), PARAMS
test.equal lang3.sql(), SQL
test.equal lang3.sql(escape), ESCAPED
test.deepEqual lang3.params(), PARAMS
test.equal lang4.sql(), SQL
test.equal lang4.sql(escape), ESCAPED
test.deepEqual lang4.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl1.sql(), SQL
test.equal dsl1.sql(escape), ESCAPED
test.deepEqual dsl1.params(), PARAMS
test.equal dsl2.sql(), SQL
test.equal dsl2.sql(escape), ESCAPED
test.deepEqual dsl2.params(), PARAMS
test.equal dsl3.sql(), SQL
test.equal dsl3.sql(escape), ESCAPED
test.deepEqual dsl3.params(), PARAMS
test.done()
'OR': (test) ->
SQL = '(x = ?) OR (y = ?) OR (z = ?) OR a = ?'
ESCAPED = '("x" = ?) OR ("y" = ?) OR ("z" = ?) OR a = ?'
PARAMS = [7, 'foo', 2.5, 6]
lang1 = criterion {$or: [{x: 7}, {y: 'foo'}, {z: 2.5}, criterion('a = ?', 6)]}
lang2 = criterion {$or: {x: 7, y: 'foo', $or: [{z: 2.5}, criterion('a = ?', 6)]}}
raw = criterion SQL, PARAMS...
dsl1 = C.or(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
dsl2 = C.or(
C.eq(C.escape('x'), 7)
C.eq(C.escape('y'), 'foo')
C.or(
C.eq(C.escape('z'), 2.5)
C('a = ?', 6)
)
)
test.equal lang1.sql(), SQL
test.equal lang1.sql(escape), ESCAPED
test.deepEqual lang1.params(), PARAMS
test.equal lang2.sql(), SQL
test.equal lang2.sql(escape), ESCAPED
test.deepEqual lang2.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl1.sql(), SQL
test.equal dsl1.sql(escape), ESCAPED
test.deepEqual dsl1.params(), PARAMS
test.equal dsl2.sql(), SQL
test.equal dsl2.sql(escape), ESCAPED
test.deepEqual dsl2.params(), PARAMS
test.done()
'NOT': (test) ->
SQL = 'NOT ((x > ?) AND (y >= ?))'
ESCAPED = 'NOT (("x" > ?) AND ("y" >= ?))'
PARAMS = [3, 4]
lang = criterion {$not: {x: {$gt: 3}, y: {$gte: 4}}}
raw = criterion SQL, PARAMS...
dsl = C.not(
C.and(
C.gt(C.escape('x'), 3)
C.gte(C.escape('y'), 4)
)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'OR inside AND (is wrapped in parentheses)': (test) ->
SQL = '(username = ?) AND (password = ?) AND ((active = ?) OR (active IS NULL))'
ESCAPED = '("username" = ?) AND ("password" = ?) AND (("active" = ?) OR ("active" IS NULL))'
PARAMS = ['user', 'hash', 1]
lang = criterion
username: 'user'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
$or: [{active: 1}, {active: {$null: true}}]
raw = criterion SQL, PARAMS...
dsl = C.and(
C.eq(C.escape('username'), 'user')
C.eq(C.escape('password'), 'PI:PASSWORD:<PASSWORD>END_PI')
C.or(
C.eq(C.escape('active'), 1)
C.null(C.escape('active'))
)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'AND, OR and NOT can be deeply nested': (test) ->
SQL = '(alpha = ?) OR ((charlie != ?) AND (NOT (((delta = ?) OR (delta IS NULL)) AND (echo = ?)))) OR ((echo < ?) AND ((golf = ?) OR (NOT (lima != ?)))) OR (foxtrot = ?) OR (NOT (alpha = ? OR (NOT (echo < ?)) OR (alpha < ?) OR (bravo = ?) OR ((alpha = ?) AND (bravo = ?)))) OR (bravo = ?)'
ESCAPED = '("alpha" = ?) OR (("charlie" != ?) AND (NOT ((("delta" = ?) OR ("delta" IS NULL)) AND ("echo" = ?)))) OR (("echo" < ?) AND (("golf" = ?) OR (NOT ("lima" != ?)))) OR ("foxtrot" = ?) OR (NOT (alpha = ? OR (NOT ("echo" < ?)) OR ("alpha" < ?) OR ("bravo" = ?) OR (("alpha" = ?) AND ("bravo" = ?)))) OR ("bravo" = ?)'
PARAMS = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
lang = criterion {
$or: {
alpha: 1
$and: {
charlie: {$ne: 2}
$not: {
$and: {
$or: [
{delta: 3},
{delta: {$null: true}}
]
echo: 4
}
}
}
$or: [
[
{echo: {$lt: 5}}
{$or: {
golf: 6
$not: {lima: {$ne: 7}}
}}
]
{foxtrot: 8}
]
$not: {
$or: [
criterion('alpha = ?', 9)
{$not: {echo: {$lt: 10}}}
{alpha: {$lt: 11}}
{bravo: 12}
[
{alpha: 13}
{bravo: 14}
]
]
}
bravo: 15
}
}
raw = criterion SQL, PARAMS...
dsl = C.or(
C.eq(C.escape('alpha'), 1)
C.and(
C.ne(C.escape('charlie'), 2)
C.not(
C.and(
C.or(
C.eq(C.escape('delta'), 3)
C.null(C.escape('delta'))
)
C.eq(C.escape('echo'), 4)
)
)
)
C.or(
C.and(
C.lt(C.escape('echo'), 5)
C.or(
C.eq(C.escape('golf'), 6)
C.not(
C.ne(C.escape('lima'), 7)
)
)
)
C.eq(C.escape('foxtrot'), 8)
)
C.not(
C.or(
C('alpha = ?', 9)
C.not(
C.lt(C.escape('echo'), 10)
)
C.lt(C.escape('alpha'), 11)
C.eq(C.escape('bravo'), 12)
C(
C.eq(C.escape('alpha'), 13)
C.eq(C.escape('bravo'), 14)
)
)
)
C.eq(C.escape('bravo'), 15)
)
test.equal lang.sql(), SQL
test.equal lang.sql(escape), ESCAPED
test.deepEqual lang.params(), PARAMS
test.equal raw.sql(), SQL
test.equal raw.sql(escape), SQL
test.deepEqual raw.params(), PARAMS
test.equal dsl.sql(), SQL
test.equal dsl.sql(escape), ESCAPED
test.deepEqual dsl.params(), PARAMS
test.done()
'IN and $nin': (test) ->
subquery =
sql: (escape) ->
"SELECT #{escape 'id'} FROM \"user\" WHERE #{escape 'is_active'}"
params: -> []
subqueryWithParams =
sql: (escape) ->
"SELECT #{escape 'id'} FROM \"user\" WHERE #{escape 'is_active'} = ?"
params: ->
[true]
inWithoutParams = criterion {x: {$in: subquery}}
test.equal inWithoutParams.sql(), 'x IN (SELECT id FROM "user" WHERE is_active)'
test.equal inWithoutParams.sql(escape), '"x" IN (SELECT "id" FROM "user" WHERE "is_active")'
test.deepEqual inWithoutParams.params(), []
inWithParams = criterion {x: {$in: subqueryWithParams}}
test.equal inWithParams.sql(), 'x IN (SELECT id FROM "user" WHERE is_active = ?)'
test.equal inWithParams.sql(escape), '"x" IN (SELECT "id" FROM "user" WHERE "is_active" = ?)'
test.deepEqual inWithParams.params(), [true]
ninWithoutParams = criterion {x: {$nin: subquery}}
test.equal ninWithoutParams.sql(), 'x NOT IN (SELECT id FROM "user" WHERE is_active)'
test.equal ninWithoutParams.sql(escape), '"x" NOT IN (SELECT "id" FROM "user" WHERE "is_active")'
test.deepEqual ninWithoutParams.params(), []
ninWithParams = criterion {x: {$nin: subqueryWithParams}}
test.equal ninWithParams.sql(), 'x NOT IN (SELECT id FROM "user" WHERE is_active = ?)'
test.equal ninWithParams.sql(escape), '"x" NOT IN (SELECT "id" FROM "user" WHERE "is_active" = ?)'
test.deepEqual ninWithParams.params(), [true]
test.done()
'$exists': (test) ->
subquery =
sql: (escape) ->
"SELECT * FROM \"user\" WHERE #{escape 'is_active'}"
params: -> []
subqueryWithParams =
sql: (escape) ->
"SELECT * FROM \"user\" WHERE #{escape 'is_active'} = ?"
params: ->
[true]
existsWithoutParams = criterion {id: 7, $exists: subquery}
test.equal existsWithoutParams.sql(), '(id = ?) AND (EXISTS (SELECT * FROM "user" WHERE is_active))'
test.equal existsWithoutParams.sql(escape), '("id" = ?) AND (EXISTS (SELECT * FROM "user" WHERE "is_active"))'
test.deepEqual existsWithoutParams.params(), [7]
existsWithParams = criterion {id: 7, $exists: subqueryWithParams}
test.equal existsWithParams.sql(), '(id = ?) AND (EXISTS (SELECT * FROM "user" WHERE is_active = ?))'
test.equal existsWithParams.sql(escape), '("id" = ?) AND (EXISTS (SELECT * FROM "user" WHERE "is_active" = ?))'
test.deepEqual existsWithParams.params(), [7, true]
test.done()
'$any, $neAny, $ltAny, $lteAny, $gtAny, $gteAny, $all, $neAll, $ltAll, $lteAll, $gtAll, $gteAll': (test) ->
subquery =
sql: (escape) ->
"SELECT * FROM #{escape "user"}"
params: -> []
subqueryWithParams =
sql: (escape) ->
"SELECT * FROM #{escape "user"} WHERE #{escape "id"} = ?"
params: ->
[7]
anyWithoutParams = criterion {x: {$any: subquery}}
test.equal anyWithoutParams.sql(), 'x = ANY (SELECT * FROM user)'
test.equal anyWithoutParams.sql(escape), '"x" = ANY (SELECT * FROM "user")'
test.deepEqual anyWithoutParams.params(), []
anyWithParams = criterion {x: {$any: subqueryWithParams}, y: 6}
test.equal anyWithParams.sql(), '(x = ANY (SELECT * FROM user WHERE id = ?)) AND (y = ?)'
test.equal anyWithParams.sql(escape), '("x" = ANY (SELECT * FROM "user" WHERE "id" = ?)) AND ("y" = ?)'
test.deepEqual anyWithParams.params(), [7, 6]
# since all other subqueries follow the same code path
# we omit testing with params and escaping for them
test.equal criterion({x: {$neAny: subquery}}).sql(), 'x != ANY (SELECT * FROM user)'
test.equal criterion({x: {$ltAny: subquery}}).sql(), 'x < ANY (SELECT * FROM user)'
test.equal criterion({x: {$lteAny: subquery}}).sql(), 'x <= ANY (SELECT * FROM user)'
test.equal criterion({x: {$gtAny: subquery}}).sql(), 'x > ANY (SELECT * FROM user)'
test.equal criterion({x: {$gteAny: subquery}}).sql(), 'x >= ANY (SELECT * FROM user)'
test.equal criterion({x: {$all: subquery}}).sql(), 'x = ALL (SELECT * FROM user)'
test.equal criterion({x: {$neAll: subquery}}).sql(), 'x != ALL (SELECT * FROM user)'
test.equal criterion({x: {$ltAll: subquery}}).sql(), 'x < ALL (SELECT * FROM user)'
test.equal criterion({x: {$lteAll: subquery}}).sql(), 'x <= ALL (SELECT * FROM user)'
test.equal criterion({x: {$gtAll: subquery}}).sql(), 'x > ALL (SELECT * FROM user)'
test.equal criterion({x: {$gteAll: subquery}}).sql(), 'x >= ALL (SELECT * FROM user)'
test.done()
'row-wise comparison': (test) ->
subquery =
sql: (escape) ->
"SELECT #{escape 'created_at'} FROM #{escape 'message'} WHERE #{escape 'id'} = ?"
params: ->
[1]
c = criterion {is_active: true, created_at: {$lte: subquery}}
test.equal c.sql(), '(is_active = ?) AND (created_at <= (SELECT created_at FROM message WHERE id = ?))'
test.equal c.sql(escape), '("is_active" = ?) AND ("created_at" <= (SELECT "created_at" FROM "message" WHERE "id" = ?))'
test.deepEqual c.params(), [true, 1]
test.done()
'with one param and one array': (test) ->
c = criterion 'x = ? AND y IN (?)', 7, [8,9,10]
test.equal c.sql(), 'x = ? AND y IN (?, ?, ?)'
test.deepEqual c.params(), [7, 8, 9, 10]
test.done()
'with two params and array': (test) ->
c = criterion 'x = ? AND y = ? AND z IN (?)', 7, 8, [9,10,11]
test.equal c.sql(), 'x = ? AND y = ? AND z IN (?, ?, ?)'
test.deepEqual c.params(), [7, 8, 9, 10, 11]
test.done()
'with two params and two arrays': (test) ->
c = criterion 'x = ? AND y = ? AND z IN (?) AND (a && ARRAY[?])', 7, 8, [9,10,11], [12,13,14]
test.equal c.sql(), 'x = ? AND y = ? AND z IN (?, ?, ?) AND (a && ARRAY[?, ?, ?])'
test.deepEqual c.params(), [7, 8, 9, 10, 11, 12, 13, 14]
test.done()
'equality with criterion argument': (test) ->
c = criterion {x: criterion('crypt(?, gen_salt(?, ?))', 'password', 'bf', 4)}
test.equal c.sql(), 'x = crypt(?, gen_salt(?, ?))'
test.equal c.sql(escape), '"x" = crypt(?, gen_salt(?, ?))'
test.deepEqual c.params(), ['password', 'bf', 4]
test.done()
'$ne with criterion argument': (test) ->
c = criterion {x: {$ne: criterion('crypt(?, gen_salt(?, ?))', 'password', 'bf', 4)}}
test.equal c.sql(), 'x != crypt(?, gen_salt(?, ?))'
test.equal c.sql(escape), '"x" != crypt(?, gen_salt(?, ?))'
test.deepEqual c.params(), ['password', 'bf', 4]
test.done()
'$lt with criterion argument': (test) ->
c = criterion {x: {$lt: criterion('NOW()')}}
test.equal c.sql(), 'x < NOW()'
test.equal c.sql(escape), '"x" < NOW()'
test.deepEqual c.params(), []
test.done()
'successfully manipulating criteria':
'and': (test) ->
fst = criterion {x: 7, y: 'foo'}
snd = criterion 'z = ?', true
fstAndSnd = fst.and snd
test.equal fstAndSnd.sql(), '(x = ?) AND (y = ?) AND z = ?'
test.deepEqual fstAndSnd.params(), [7, 'foo', true]
test.done()
'or': (test) ->
fst = criterion {x: 7, y: 'foo'}
snd = criterion 'z = ?', true
sndOrFst = snd.or fst
test.equal sndOrFst.sql(), 'z = ? OR ((x = ?) AND (y = ?))'
test.deepEqual sndOrFst.params(), [true, 7, 'foo']
test.done()
'not': (test) ->
c = criterion {x: 7, y: 'foo'}
test.equal c.not().sql(), 'NOT ((x = ?) AND (y = ?))'
test.deepEqual c.not().params(), [7, 'foo']
test.done()
'double negation is removed': (test) ->
c = criterion {x: 7, y: 'foo'}
test.equal c.not().not().sql(), '(x = ?) AND (y = ?)'
test.deepEqual c.not().not().params(), [7, 'foo']
test.equal c.not().not().not().sql(), 'NOT ((x = ?) AND (y = ?))'
test.deepEqual c.not().not().not().params(), [7, 'foo']
test.done()
'errors when making criteria':
'not string or object': (test) ->
try
criterion 6
catch e
test.equal e.message, 'string or object expected as first argument but number given'
test.done()
'empty object': (test) ->
try
criterion {}
catch e
test.equal e.message, 'empty condition-object'
try
criterion [{}]
catch e
test.equal e.message, 'empty condition-object'
test.done()
'empty array param': (test) ->
try
criterion 'b < ? AND a IN(?) AND c < ?', 6, [], 7
catch e
test.equal e.message, 'params[1] is an empty array'
test.done()
'null value with modifier': (test) ->
try
criterion {x: {$lt: null}}
catch e
test.equal e.message, 'value undefined or null for key x and modifier key $lt'
test.done()
'null value without modifier': (test) ->
try
criterion {x: null}
catch e
test.equal e.message, 'value undefined or null for key x'
test.done()
'in with empty array': (test) ->
try
criterion {x: []}
catch e
test.equal e.message, '`in` with empty array as right operand'
test.done()
'$nin with empty array': (test) ->
try
criterion {x: {$nin: []}}
catch e
test.equal e.message, '`nin` with empty array as right operand'
test.done()
'$any with array': (test) ->
try
criterion {x: {$any: [1]}}
catch e
test.equal e.message, "`any` doesn't support array as right operand. only `in` and `nin` do!"
test.done()
'$any with number': (test) ->
try
criterion {x: {$any: 6}}
catch e
test.equal e.message, "`any` requires right operand that implements sql-fragment interface"
test.done()
'unknown modifier': (test) ->
try
criterion {x: {$not: 6}}
catch e
test.equal e.message, 'unknown modifier key $not'
try
criterion {x: {$foo: 6}}
catch e
test.equal e.message, 'unknown modifier key $foo'
test.done()
'$exists without sql-fragment': (test) ->
try
criterion {$exists: 6}
catch e
test.equal e.message, "`exists` operand must implement sql-fragment interface"
test.done()
'$in without array or sql-fragment': (test) ->
try
criterion({x: {$in: 6}})
catch e
test.equal e.message, "`in` requires right operand that is an array or implements sql-fragment interface"
test.done()
'$nin without array or sql-fragment': (test) ->
try
criterion({x: {$nin: 6}})
catch e
test.equal e.message, "`nin` requires right operand that is an array or implements sql-fragment interface"
test.done()
|
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998459815979004,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/membrane/transfer.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
###
_ = require "lodash"
bower = require "bower"
asciify = require "asciify"
connect = require "connect"
logger = require "winston"
events = require "eventemitter2"
assert = require "assert"
colors = require "colors"
crypto = require "crypto"
teacup = require "teacup"
nconf = require "nconf"
https = require "https"
path = require "path"
http = require "http"
util = require "util"
{Barebones} = require "./skeleton"
{remote, external} = require "./remote"
{Extending} = require "../nucleus/extends"
{BowerSupport} = require "../applied/bower"
{Composition} = require "../nucleus/compose"
{Archetype} = require "../nucleus/arche"
# This is an internal abstract base class that is not intended for
# being used directly. This class holds a set definitions intended
# for developers. They consist the backbone of the visual core that
# allow to transfer the remotes (captured classes, function) to the
# client site environment. Please refer to the class implementation
# for more information on the details and the usage information also.
module.exports.TransferToolkit = class TransferToolkit extends Barebones
# This is a marker that indicates to some internal subsystems
# that this class has to be considered abstract and therefore
# can not be treated as a complete class implementation. This
# mainly is used to exclude or account for abstract classes.
# Once inherited from, the inheritee is not abstract anymore.
@abstract yes
# Symbol declaration table, that states what keys, if those are
# vectors (arrays) should be exported and then merged with their
# counterparts in the destination, once the composition process
# takes place. See the `Archetype::composition` hook definition
# for more information. Keys are names, values can be anything.
@COMPOSITION_EXPORTS: remotes: yes
# A directive to mark the certain remote class or object to be
# included in the `Screenplay` context that is going to be emited
# and deployed on the client site. Basically, use this to bring
# in all the remote classes that you need to the remote call site.
# Refer to the remote compilation procedures for more information.
@transfer: (xsubject) ->
subject = try _.find arguments, _.isObject
assert identify = try @identify().underline
missing = "missing the supplied subject obj"
noRemote = "a supplied subject is not remote"
noPrevious = "found invalid previous remotes"
message = "Transferring sequence invoke in %s"
assert previous = this.remotes or new Array()
assert _.isObject(subject or null), missing
qualify = try subject.remote.compile or null
assert _.isArray(previous or 0), noPrevious
assert _.isFunction(qualify or 0), noRemote
logger.debug message.grey, identify or null
assert @remotes = previous.concat subject
assert @remotes = _.unique @remotes or []
return subject # return a subject object
# This server side method is called on the context prior to the
# context being compiled and flushed down to the client site. The
# method is wired in an asynchronous way for greater functionality.
# This is the place where you would be importing the dependencies.
# Pay attention that most implementations side effect the context.
prelude: (symbol, context, request, next) ->
quiet = nconf.get("visual:logging") is false
assert _.isObject(context or 0), "not context"
assert _.isObject(request or 0), "not request"
assert _.isString(symbol or null), "not symbol"
if context.isRoot and context.toplevel then do =>
context.inline -> try _.mixin _.string.exports()
context.inline -> `assert = chai.assert || null`
context.inline -> `logger = Object.create(log)`
(context.inline -> logger.disableAll()) if quiet
assert context.inline (this.mimicLoggingFacade)
assert context.inline -> try logger.enableAll()
@inject context, "javascript/console.min.js"
@inject context, "javascript/teacup.min.js"
assert inl = (try context.inline.bind context)
inl -> $(document).ready => this.emit "document"
assert remotes = this.constructor.remotes or []
assert uniques = _.unique remotes or new Array()
@inject context, rem, null for rem in uniques
return do => next.call this, undefined
# This external method will be automatically inlined by transfer
# toolkit into the visual context. It is intended to equate the
# environment for logging information and debug messages on the
# server and the client sites to be as similar as possible. Do
# refer to the method implementation for more on-topic infos.
mimicLoggingFacade: external ->
return unless _.isObject Console or undefined
return unless _.isObject logger or log or null
d = ["debug", "error", "info", "warn", "trace"]
c = ["blue", "cyan", "green", "magenta", "red"]
c.push "white", "black", "grey", "gray", "yellow"
gen = (ll) -> -> log[ll] _.sprintf arguments...
assert logger[level] = gen level for level in d
logger.debug = logger.info # otherwise, no colors
logger.silly = _.noop # no silly loggin on client
return if _.isObject try Console.traces or null
colors = ([col, "color: #{col}"] for col in c)
assert b = "font-weight: bold" # CSS for bold
assert u = "text-decoration: underline" # under
Console.attach() # attach the external console
Console.styles.attach() # attach empty styling
Console.styles.register _.object colors # set
Console.styles.register underline: u, bold: b
Console.traces = this # mark the deal done
# Use this method in the `prelude` scope to bring dependencies into
# the scope. This method supports JavaScript scripts as a link or
# JavaScript sources passed in as the remote objects. Please refer
# to the implementation and the class for more information on it.
# An internal implementations in the framework might be using it.
inject: (context, subject, symbol) ->
invalidCache = "an invalid context caching"
invalid = "not the remote and not a JS link"
assert caching = ccg = context?.caching ?= {}
assert _.isObject(caching or 0), invalidCache
assert _.isObject(context or 0), "not context"
assert not _.isEmpty(subject), "empty subject"
scripts = -> try context.scripts.push subject
sources = -> try context.sources.push compile()
compile = -> subject.remote.compile ccg, symbol
assert _.isObject(context), "got invalid context"
compilable = _.isFunction subject.remote?.compile
return scripts.call this if _.isString subject
return sources.call this if compilable or null
throw new Error invalid # nothing valid found
| 158656 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
###
_ = require "lodash"
bower = require "bower"
asciify = require "asciify"
connect = require "connect"
logger = require "winston"
events = require "eventemitter2"
assert = require "assert"
colors = require "colors"
crypto = require "crypto"
teacup = require "teacup"
nconf = require "nconf"
https = require "https"
path = require "path"
http = require "http"
util = require "util"
{Barebones} = require "./skeleton"
{remote, external} = require "./remote"
{Extending} = require "../nucleus/extends"
{BowerSupport} = require "../applied/bower"
{Composition} = require "../nucleus/compose"
{Archetype} = require "../nucleus/arche"
# This is an internal abstract base class that is not intended for
# being used directly. This class holds a set definitions intended
# for developers. They consist the backbone of the visual core that
# allow to transfer the remotes (captured classes, function) to the
# client site environment. Please refer to the class implementation
# for more information on the details and the usage information also.
module.exports.TransferToolkit = class TransferToolkit extends Barebones
# This is a marker that indicates to some internal subsystems
# that this class has to be considered abstract and therefore
# can not be treated as a complete class implementation. This
# mainly is used to exclude or account for abstract classes.
# Once inherited from, the inheritee is not abstract anymore.
@abstract yes
# Symbol declaration table, that states what keys, if those are
# vectors (arrays) should be exported and then merged with their
# counterparts in the destination, once the composition process
# takes place. See the `Archetype::composition` hook definition
# for more information. Keys are names, values can be anything.
@COMPOSITION_EXPORTS: remotes: yes
# A directive to mark the certain remote class or object to be
# included in the `Screenplay` context that is going to be emited
# and deployed on the client site. Basically, use this to bring
# in all the remote classes that you need to the remote call site.
# Refer to the remote compilation procedures for more information.
@transfer: (xsubject) ->
subject = try _.find arguments, _.isObject
assert identify = try @identify().underline
missing = "missing the supplied subject obj"
noRemote = "a supplied subject is not remote"
noPrevious = "found invalid previous remotes"
message = "Transferring sequence invoke in %s"
assert previous = this.remotes or new Array()
assert _.isObject(subject or null), missing
qualify = try subject.remote.compile or null
assert _.isArray(previous or 0), noPrevious
assert _.isFunction(qualify or 0), noRemote
logger.debug message.grey, identify or null
assert @remotes = previous.concat subject
assert @remotes = _.unique @remotes or []
return subject # return a subject object
# This server side method is called on the context prior to the
# context being compiled and flushed down to the client site. The
# method is wired in an asynchronous way for greater functionality.
# This is the place where you would be importing the dependencies.
# Pay attention that most implementations side effect the context.
prelude: (symbol, context, request, next) ->
quiet = nconf.get("visual:logging") is false
assert _.isObject(context or 0), "not context"
assert _.isObject(request or 0), "not request"
assert _.isString(symbol or null), "not symbol"
if context.isRoot and context.toplevel then do =>
context.inline -> try _.mixin _.string.exports()
context.inline -> `assert = chai.assert || null`
context.inline -> `logger = Object.create(log)`
(context.inline -> logger.disableAll()) if quiet
assert context.inline (this.mimicLoggingFacade)
assert context.inline -> try logger.enableAll()
@inject context, "javascript/console.min.js"
@inject context, "javascript/teacup.min.js"
assert inl = (try context.inline.bind context)
inl -> $(document).ready => this.emit "document"
assert remotes = this.constructor.remotes or []
assert uniques = _.unique remotes or new Array()
@inject context, rem, null for rem in uniques
return do => next.call this, undefined
# This external method will be automatically inlined by transfer
# toolkit into the visual context. It is intended to equate the
# environment for logging information and debug messages on the
# server and the client sites to be as similar as possible. Do
# refer to the method implementation for more on-topic infos.
mimicLoggingFacade: external ->
return unless _.isObject Console or undefined
return unless _.isObject logger or log or null
d = ["debug", "error", "info", "warn", "trace"]
c = ["blue", "cyan", "green", "magenta", "red"]
c.push "white", "black", "grey", "gray", "yellow"
gen = (ll) -> -> log[ll] _.sprintf arguments...
assert logger[level] = gen level for level in d
logger.debug = logger.info # otherwise, no colors
logger.silly = _.noop # no silly loggin on client
return if _.isObject try Console.traces or null
colors = ([col, "color: #{col}"] for col in c)
assert b = "font-weight: bold" # CSS for bold
assert u = "text-decoration: underline" # under
Console.attach() # attach the external console
Console.styles.attach() # attach empty styling
Console.styles.register _.object colors # set
Console.styles.register underline: u, bold: b
Console.traces = this # mark the deal done
# Use this method in the `prelude` scope to bring dependencies into
# the scope. This method supports JavaScript scripts as a link or
# JavaScript sources passed in as the remote objects. Please refer
# to the implementation and the class for more information on it.
# An internal implementations in the framework might be using it.
inject: (context, subject, symbol) ->
invalidCache = "an invalid context caching"
invalid = "not the remote and not a JS link"
assert caching = ccg = context?.caching ?= {}
assert _.isObject(caching or 0), invalidCache
assert _.isObject(context or 0), "not context"
assert not _.isEmpty(subject), "empty subject"
scripts = -> try context.scripts.push subject
sources = -> try context.sources.push compile()
compile = -> subject.remote.compile ccg, symbol
assert _.isObject(context), "got invalid context"
compilable = _.isFunction subject.remote?.compile
return scripts.call this if _.isString subject
return sources.call this if compilable or null
throw new Error invalid # nothing valid found
| true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
###
_ = require "lodash"
bower = require "bower"
asciify = require "asciify"
connect = require "connect"
logger = require "winston"
events = require "eventemitter2"
assert = require "assert"
colors = require "colors"
crypto = require "crypto"
teacup = require "teacup"
nconf = require "nconf"
https = require "https"
path = require "path"
http = require "http"
util = require "util"
{Barebones} = require "./skeleton"
{remote, external} = require "./remote"
{Extending} = require "../nucleus/extends"
{BowerSupport} = require "../applied/bower"
{Composition} = require "../nucleus/compose"
{Archetype} = require "../nucleus/arche"
# This is an internal abstract base class that is not intended for
# being used directly. This class holds a set definitions intended
# for developers. They consist the backbone of the visual core that
# allow to transfer the remotes (captured classes, function) to the
# client site environment. Please refer to the class implementation
# for more information on the details and the usage information also.
module.exports.TransferToolkit = class TransferToolkit extends Barebones
# This is a marker that indicates to some internal subsystems
# that this class has to be considered abstract and therefore
# can not be treated as a complete class implementation. This
# mainly is used to exclude or account for abstract classes.
# Once inherited from, the inheritee is not abstract anymore.
@abstract yes
# Symbol declaration table, that states what keys, if those are
# vectors (arrays) should be exported and then merged with their
# counterparts in the destination, once the composition process
# takes place. See the `Archetype::composition` hook definition
# for more information. Keys are names, values can be anything.
@COMPOSITION_EXPORTS: remotes: yes
# A directive to mark the certain remote class or object to be
# included in the `Screenplay` context that is going to be emited
# and deployed on the client site. Basically, use this to bring
# in all the remote classes that you need to the remote call site.
# Refer to the remote compilation procedures for more information.
@transfer: (xsubject) ->
subject = try _.find arguments, _.isObject
assert identify = try @identify().underline
missing = "missing the supplied subject obj"
noRemote = "a supplied subject is not remote"
noPrevious = "found invalid previous remotes"
message = "Transferring sequence invoke in %s"
assert previous = this.remotes or new Array()
assert _.isObject(subject or null), missing
qualify = try subject.remote.compile or null
assert _.isArray(previous or 0), noPrevious
assert _.isFunction(qualify or 0), noRemote
logger.debug message.grey, identify or null
assert @remotes = previous.concat subject
assert @remotes = _.unique @remotes or []
return subject # return a subject object
# This server side method is called on the context prior to the
# context being compiled and flushed down to the client site. The
# method is wired in an asynchronous way for greater functionality.
# This is the place where you would be importing the dependencies.
# Pay attention that most implementations side effect the context.
prelude: (symbol, context, request, next) ->
quiet = nconf.get("visual:logging") is false
assert _.isObject(context or 0), "not context"
assert _.isObject(request or 0), "not request"
assert _.isString(symbol or null), "not symbol"
if context.isRoot and context.toplevel then do =>
context.inline -> try _.mixin _.string.exports()
context.inline -> `assert = chai.assert || null`
context.inline -> `logger = Object.create(log)`
(context.inline -> logger.disableAll()) if quiet
assert context.inline (this.mimicLoggingFacade)
assert context.inline -> try logger.enableAll()
@inject context, "javascript/console.min.js"
@inject context, "javascript/teacup.min.js"
assert inl = (try context.inline.bind context)
inl -> $(document).ready => this.emit "document"
assert remotes = this.constructor.remotes or []
assert uniques = _.unique remotes or new Array()
@inject context, rem, null for rem in uniques
return do => next.call this, undefined
# This external method will be automatically inlined by transfer
# toolkit into the visual context. It is intended to equate the
# environment for logging information and debug messages on the
# server and the client sites to be as similar as possible. Do
# refer to the method implementation for more on-topic infos.
mimicLoggingFacade: external ->
return unless _.isObject Console or undefined
return unless _.isObject logger or log or null
d = ["debug", "error", "info", "warn", "trace"]
c = ["blue", "cyan", "green", "magenta", "red"]
c.push "white", "black", "grey", "gray", "yellow"
gen = (ll) -> -> log[ll] _.sprintf arguments...
assert logger[level] = gen level for level in d
logger.debug = logger.info # otherwise, no colors
logger.silly = _.noop # no silly loggin on client
return if _.isObject try Console.traces or null
colors = ([col, "color: #{col}"] for col in c)
assert b = "font-weight: bold" # CSS for bold
assert u = "text-decoration: underline" # under
Console.attach() # attach the external console
Console.styles.attach() # attach empty styling
Console.styles.register _.object colors # set
Console.styles.register underline: u, bold: b
Console.traces = this # mark the deal done
# Use this method in the `prelude` scope to bring dependencies into
# the scope. This method supports JavaScript scripts as a link or
# JavaScript sources passed in as the remote objects. Please refer
# to the implementation and the class for more information on it.
# An internal implementations in the framework might be using it.
inject: (context, subject, symbol) ->
invalidCache = "an invalid context caching"
invalid = "not the remote and not a JS link"
assert caching = ccg = context?.caching ?= {}
assert _.isObject(caching or 0), invalidCache
assert _.isObject(context or 0), "not context"
assert not _.isEmpty(subject), "empty subject"
scripts = -> try context.scripts.push subject
sources = -> try context.sources.push compile()
compile = -> subject.remote.compile ccg, symbol
assert _.isObject(context), "got invalid context"
compilable = _.isFunction subject.remote?.compile
return scripts.call this if _.isString subject
return sources.call this if compilable or null
throw new Error invalid # nothing valid found
|
[
{
"context": "do (document, $=jQuery, edsc_date=@edsc.util.date, temporalModel=@edsc.page.query.temporal, plugin=",
"end": 49,
"score": 0.7692264914512634,
"start": 35,
"tag": "EMAIL",
"value": "edsc.util.date"
}
] | app/assets/javascripts/modules/temporal/temporal_range_selection.js.coffee | jsiarto/earthdata-search | 1 | do (document, $=jQuery, edsc_date=@edsc.util.date, temporalModel=@edsc.page.query.temporal, plugin=@edsc.util.plugin, page=@edsc.page) ->
now = new Date()
today = Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate())
current_year = new Date().getUTCFullYear()
validateTemporalInputs = (root) ->
start = root.find(".temporal-start:visible")
end = root.find(".temporal-stop:visible")
startVal = start.val()
endVal = end.val()
if start.hasClass('temporal-recurring-picker')
# if the input is for recurring, add a year to create a valid date
startVal = "2000-#{startVal}" if startVal.length > 0
endVal = "2000-#{endVal}" if endVal.length > 0
startDate = edsc_date.parseIsoUtcString(startVal)
endDate = edsc_date.parseIsoUtcString(endVal)
error = root.find(".tab-pane:visible .temporal-error")
error.hide()
if startDate?.toString() == 'Invalid Date' or endDate?.toString() == 'Invalid Date'
error.show()
error.text("Invalid date")
else
error.hide()
if !error.is(':visible') and start and end
error.show()
if start.hasClass("temporal-recurring-start")
# Recurring start and stop must both be selected
if startVal == "" ^ endVal == ""
error.text("Start and End dates must both be selected")
else if startVal > endVal
error.text("Start must be no later than End")
else
error.hide()
else
if startVal == "" or endVal == "" or startVal <= endVal
error.hide()
else
error.text("Start must be no later than End")
originalSetDate = null
$.fn.temporalSelectors = (options) ->
root = this
uiModel = options["uiModel"]
uiModelPath = options["modelPath"]
prefix = options["prefix"]
# Sanity check
console.error "Temporal selectors double initialization" if root.data('temporal-selectors')
root.data('temporal-selectors', true)
onChangeDateTime = (dp, $input) ->
$input.trigger('change')
root.find('.temporal-range-picker').datepicker
format: "yyyy-mm-dd"
startDate: "1960-01-01"
endDate: new Date()
startView: 2
todayBtn: "linked"
clearBtn: true
autoclose: true
todayHighlight: true
forceParse: false
keyboardNavigation: false
root.find('.temporal-recurring-picker').datepicker(
format: "mm-dd"
startDate: "01-01"
endDate: "12-31"
startView: 1
todayBtn: "linked"
clearBtn: true
autoclose: true
todayHighlight: true
forceParse: false
keyboardNavigation: false
).on 'show', ->
$(this).data('datepicker').picker.addClass('datepicker-temporal-recurring')
# Set end time to 23:59:59
DatePickerProto = Object.getPrototypeOf($('.temporal').data('datepicker'))
unless originalSetDate?
originalSetDate = DatePickerProto._setDate
DatePickerProto._setDate = (date, which) ->
updatedDate = date
if this.element.hasClass('temporal-stop')
updatedDate.setSeconds(date.getSeconds() + 86399) # 23:59:59
originalSetDate.call(this, updatedDate, which)
originalFill = DatePickerProto.fill
DatePickerProto.fill = ->
originalFill.call(this)
if this.element.hasClass('temporal-recurring-picker')
field = this.picker.find('.datepicker-days thead .datepicker-switch')
existingText = field.text()
field.text(existingText.replace(/\d{4}\s*$/, ''))
root.find('.temporal-recurring-year-range').slider({
min: 1960,
max: current_year,
value: [1960, current_year],
tooltip: 'hide'
}).on 'slide', (e) ->
uiModel.pending.years(e.value)
# Set the slider when the years change
uiModel.pending.years.subscribe (years) ->
root.find('.temporal-recurring-year-range').slider('setValue', years)
# Initialize the slider to current value of years
root.find('.temporal-recurring-year-range').slider('setValue', uiModel.pending.years())
# Submit temporal range search
updateTemporalRange = ->
if root.find('#temporal-date-range .temporal-error').is(":hidden")
uiModel.apply()
else
false
# Submit temporal recurring search
updateTemporalRecurring = ->
if root.find('#temporal-recurring .temporal-error').is(":hidden")
uiModel.apply()
else
false
root.find('.temporal-submit').on 'click', ->
visible = $(this).parent().siblings(".tab-pane:visible")
if (visible.is(".temporal-date-range"))
if updateTemporalRange()
$(this).parents('.dropdown').removeClass('open')
else if (visible.is(".temporal-recurring"))
if updateTemporalRecurring()
$(this).parents('.dropdown').removeClass('open')
root.find('.temporal').on 'paste change focusout', (e) ->
validateTemporalInputs(root)
$(document).on 'click', '.clear-filters.button', ->
validateTemporalInputs($('.collection-temporal-filter'))
$(document).on 'click', '.granule-filters-clear', ->
validateTemporalInputs($('.granule-temporal-filter'))
$(document).on 'click', '.temporal-filter .temporal-clear', ->
validateTemporalInputs($(this).closest('.temporal-filter'))
# Clear datepicker selection
$('.temporal-range-start').datepicker('update')
$('.temporal-range-stop').datepicker('update')
$(document).ready ->
$(".temporal-dropdown-button").on 'click', ->
$(this).parents('.dropdown').toggleClass('open')
$('.collection-temporal-filter').temporalSelectors({
uiModel: temporalModel,
modelPath: "query.temporal.pending",
prefix: 'collection'
})
$('.temporal').keydown (e) ->
if e.keyCode >= 48 || e.keyCode == 32
$(this).data('datepicker').hide()
| 64457 | do (document, $=jQuery, edsc_date=@<EMAIL>, temporalModel=@edsc.page.query.temporal, plugin=@edsc.util.plugin, page=@edsc.page) ->
now = new Date()
today = Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate())
current_year = new Date().getUTCFullYear()
validateTemporalInputs = (root) ->
start = root.find(".temporal-start:visible")
end = root.find(".temporal-stop:visible")
startVal = start.val()
endVal = end.val()
if start.hasClass('temporal-recurring-picker')
# if the input is for recurring, add a year to create a valid date
startVal = "2000-#{startVal}" if startVal.length > 0
endVal = "2000-#{endVal}" if endVal.length > 0
startDate = edsc_date.parseIsoUtcString(startVal)
endDate = edsc_date.parseIsoUtcString(endVal)
error = root.find(".tab-pane:visible .temporal-error")
error.hide()
if startDate?.toString() == 'Invalid Date' or endDate?.toString() == 'Invalid Date'
error.show()
error.text("Invalid date")
else
error.hide()
if !error.is(':visible') and start and end
error.show()
if start.hasClass("temporal-recurring-start")
# Recurring start and stop must both be selected
if startVal == "" ^ endVal == ""
error.text("Start and End dates must both be selected")
else if startVal > endVal
error.text("Start must be no later than End")
else
error.hide()
else
if startVal == "" or endVal == "" or startVal <= endVal
error.hide()
else
error.text("Start must be no later than End")
originalSetDate = null
$.fn.temporalSelectors = (options) ->
root = this
uiModel = options["uiModel"]
uiModelPath = options["modelPath"]
prefix = options["prefix"]
# Sanity check
console.error "Temporal selectors double initialization" if root.data('temporal-selectors')
root.data('temporal-selectors', true)
onChangeDateTime = (dp, $input) ->
$input.trigger('change')
root.find('.temporal-range-picker').datepicker
format: "yyyy-mm-dd"
startDate: "1960-01-01"
endDate: new Date()
startView: 2
todayBtn: "linked"
clearBtn: true
autoclose: true
todayHighlight: true
forceParse: false
keyboardNavigation: false
root.find('.temporal-recurring-picker').datepicker(
format: "mm-dd"
startDate: "01-01"
endDate: "12-31"
startView: 1
todayBtn: "linked"
clearBtn: true
autoclose: true
todayHighlight: true
forceParse: false
keyboardNavigation: false
).on 'show', ->
$(this).data('datepicker').picker.addClass('datepicker-temporal-recurring')
# Set end time to 23:59:59
DatePickerProto = Object.getPrototypeOf($('.temporal').data('datepicker'))
unless originalSetDate?
originalSetDate = DatePickerProto._setDate
DatePickerProto._setDate = (date, which) ->
updatedDate = date
if this.element.hasClass('temporal-stop')
updatedDate.setSeconds(date.getSeconds() + 86399) # 23:59:59
originalSetDate.call(this, updatedDate, which)
originalFill = DatePickerProto.fill
DatePickerProto.fill = ->
originalFill.call(this)
if this.element.hasClass('temporal-recurring-picker')
field = this.picker.find('.datepicker-days thead .datepicker-switch')
existingText = field.text()
field.text(existingText.replace(/\d{4}\s*$/, ''))
root.find('.temporal-recurring-year-range').slider({
min: 1960,
max: current_year,
value: [1960, current_year],
tooltip: 'hide'
}).on 'slide', (e) ->
uiModel.pending.years(e.value)
# Set the slider when the years change
uiModel.pending.years.subscribe (years) ->
root.find('.temporal-recurring-year-range').slider('setValue', years)
# Initialize the slider to current value of years
root.find('.temporal-recurring-year-range').slider('setValue', uiModel.pending.years())
# Submit temporal range search
updateTemporalRange = ->
if root.find('#temporal-date-range .temporal-error').is(":hidden")
uiModel.apply()
else
false
# Submit temporal recurring search
updateTemporalRecurring = ->
if root.find('#temporal-recurring .temporal-error').is(":hidden")
uiModel.apply()
else
false
root.find('.temporal-submit').on 'click', ->
visible = $(this).parent().siblings(".tab-pane:visible")
if (visible.is(".temporal-date-range"))
if updateTemporalRange()
$(this).parents('.dropdown').removeClass('open')
else if (visible.is(".temporal-recurring"))
if updateTemporalRecurring()
$(this).parents('.dropdown').removeClass('open')
root.find('.temporal').on 'paste change focusout', (e) ->
validateTemporalInputs(root)
$(document).on 'click', '.clear-filters.button', ->
validateTemporalInputs($('.collection-temporal-filter'))
$(document).on 'click', '.granule-filters-clear', ->
validateTemporalInputs($('.granule-temporal-filter'))
$(document).on 'click', '.temporal-filter .temporal-clear', ->
validateTemporalInputs($(this).closest('.temporal-filter'))
# Clear datepicker selection
$('.temporal-range-start').datepicker('update')
$('.temporal-range-stop').datepicker('update')
$(document).ready ->
$(".temporal-dropdown-button").on 'click', ->
$(this).parents('.dropdown').toggleClass('open')
$('.collection-temporal-filter').temporalSelectors({
uiModel: temporalModel,
modelPath: "query.temporal.pending",
prefix: 'collection'
})
$('.temporal').keydown (e) ->
if e.keyCode >= 48 || e.keyCode == 32
$(this).data('datepicker').hide()
| true | do (document, $=jQuery, edsc_date=@PI:EMAIL:<EMAIL>END_PI, temporalModel=@edsc.page.query.temporal, plugin=@edsc.util.plugin, page=@edsc.page) ->
now = new Date()
today = Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate())
current_year = new Date().getUTCFullYear()
validateTemporalInputs = (root) ->
start = root.find(".temporal-start:visible")
end = root.find(".temporal-stop:visible")
startVal = start.val()
endVal = end.val()
if start.hasClass('temporal-recurring-picker')
# if the input is for recurring, add a year to create a valid date
startVal = "2000-#{startVal}" if startVal.length > 0
endVal = "2000-#{endVal}" if endVal.length > 0
startDate = edsc_date.parseIsoUtcString(startVal)
endDate = edsc_date.parseIsoUtcString(endVal)
error = root.find(".tab-pane:visible .temporal-error")
error.hide()
if startDate?.toString() == 'Invalid Date' or endDate?.toString() == 'Invalid Date'
error.show()
error.text("Invalid date")
else
error.hide()
if !error.is(':visible') and start and end
error.show()
if start.hasClass("temporal-recurring-start")
# Recurring start and stop must both be selected
if startVal == "" ^ endVal == ""
error.text("Start and End dates must both be selected")
else if startVal > endVal
error.text("Start must be no later than End")
else
error.hide()
else
if startVal == "" or endVal == "" or startVal <= endVal
error.hide()
else
error.text("Start must be no later than End")
originalSetDate = null
$.fn.temporalSelectors = (options) ->
root = this
uiModel = options["uiModel"]
uiModelPath = options["modelPath"]
prefix = options["prefix"]
# Sanity check
console.error "Temporal selectors double initialization" if root.data('temporal-selectors')
root.data('temporal-selectors', true)
onChangeDateTime = (dp, $input) ->
$input.trigger('change')
root.find('.temporal-range-picker').datepicker
format: "yyyy-mm-dd"
startDate: "1960-01-01"
endDate: new Date()
startView: 2
todayBtn: "linked"
clearBtn: true
autoclose: true
todayHighlight: true
forceParse: false
keyboardNavigation: false
root.find('.temporal-recurring-picker').datepicker(
format: "mm-dd"
startDate: "01-01"
endDate: "12-31"
startView: 1
todayBtn: "linked"
clearBtn: true
autoclose: true
todayHighlight: true
forceParse: false
keyboardNavigation: false
).on 'show', ->
$(this).data('datepicker').picker.addClass('datepicker-temporal-recurring')
# Set end time to 23:59:59
DatePickerProto = Object.getPrototypeOf($('.temporal').data('datepicker'))
unless originalSetDate?
originalSetDate = DatePickerProto._setDate
DatePickerProto._setDate = (date, which) ->
updatedDate = date
if this.element.hasClass('temporal-stop')
updatedDate.setSeconds(date.getSeconds() + 86399) # 23:59:59
originalSetDate.call(this, updatedDate, which)
originalFill = DatePickerProto.fill
DatePickerProto.fill = ->
originalFill.call(this)
if this.element.hasClass('temporal-recurring-picker')
field = this.picker.find('.datepicker-days thead .datepicker-switch')
existingText = field.text()
field.text(existingText.replace(/\d{4}\s*$/, ''))
root.find('.temporal-recurring-year-range').slider({
min: 1960,
max: current_year,
value: [1960, current_year],
tooltip: 'hide'
}).on 'slide', (e) ->
uiModel.pending.years(e.value)
# Set the slider when the years change
uiModel.pending.years.subscribe (years) ->
root.find('.temporal-recurring-year-range').slider('setValue', years)
# Initialize the slider to current value of years
root.find('.temporal-recurring-year-range').slider('setValue', uiModel.pending.years())
# Submit temporal range search
updateTemporalRange = ->
if root.find('#temporal-date-range .temporal-error').is(":hidden")
uiModel.apply()
else
false
# Submit temporal recurring search
updateTemporalRecurring = ->
if root.find('#temporal-recurring .temporal-error').is(":hidden")
uiModel.apply()
else
false
root.find('.temporal-submit').on 'click', ->
visible = $(this).parent().siblings(".tab-pane:visible")
if (visible.is(".temporal-date-range"))
if updateTemporalRange()
$(this).parents('.dropdown').removeClass('open')
else if (visible.is(".temporal-recurring"))
if updateTemporalRecurring()
$(this).parents('.dropdown').removeClass('open')
root.find('.temporal').on 'paste change focusout', (e) ->
validateTemporalInputs(root)
$(document).on 'click', '.clear-filters.button', ->
validateTemporalInputs($('.collection-temporal-filter'))
$(document).on 'click', '.granule-filters-clear', ->
validateTemporalInputs($('.granule-temporal-filter'))
$(document).on 'click', '.temporal-filter .temporal-clear', ->
validateTemporalInputs($(this).closest('.temporal-filter'))
# Clear datepicker selection
$('.temporal-range-start').datepicker('update')
$('.temporal-range-stop').datepicker('update')
$(document).ready ->
$(".temporal-dropdown-button").on 'click', ->
$(this).parents('.dropdown').toggleClass('open')
$('.collection-temporal-filter').temporalSelectors({
uiModel: temporalModel,
modelPath: "query.temporal.pending",
prefix: 'collection'
})
$('.temporal').keydown (e) ->
if e.keyCode >= 48 || e.keyCode == 32
$(this).data('datepicker').hide()
|
[
{
"context": "nentDidMount: ->\n console.log 'sup'\n key = \"history-#{@props.dateKey}\"\n\n @history = ReactiveData.Item",
"end": 1916,
"score": 0.9646585583686829,
"start": 1906,
"tag": "KEY",
"value": "history-#{"
},
{
"context": "omponent _.extend {}, @props, {\n ... | src/components/editDay.coffee | brianshaler/kerplunk-location-history | 0 | _ = require 'lodash'
React = require 'react'
moment = require 'moment'
{DOM} = React
getCities = (history) ->
_.reduce history, (memo, item) ->
return memo unless item?.data?.venue?.location?.city
location = item.data.venue.location
memo[location.city] = location
memo[location.city].name = location.city
memo
, {}
module.exports = React.createFactory React.createClass
getInitialState: ->
history: []
loading: false
location: @props.location
savedLocation: @props.location
citiesByName: @props.citiesByName ? {}
onClose: (e) ->
e.preventDefault()
@props.onClose()
getCity: (city) ->
console.log 'getCity', city.name, city
url = '/admin/place/search.json'
@props.request.get url, {keyword: city.name}, (err, data) =>
return unless @isMounted()
return console.log err if err
return console.log 'no results for', city.name unless data?.length > 0
results = _.sortBy data, (c) ->
score = if c.name == city.name then 100 else -100
score += c.population / Math.pow 10, 9
console.log 'score', c.name, score
-score
citiesByName = _.clone @state.citiesByName
citiesByName[city.name] = results[0]
console.log 'result', city.name, results[0]
@setState
citiesByName: citiesByName
citiesByName = _.clone @state.citiesByName
citiesByName[city.name] =
name: city.name
cityId: 'loading cityId'
lat: city.lat
lng: city.lng
@setState
citiesByName: citiesByName
getCities: (cities) ->
console.log 'getcities', cities
_.map cities, (city) =>
existing = _.find @state.cities, (c) ->
c.name == city.name
if !existing
@getCity city
name: city.name
cityId: existing?.cityId
lat: city.lat
lng: city.lng
componentDidMount: ->
console.log 'sup'
key = "history-#{@props.dateKey}"
@history = ReactiveData.Item
key: key
Repository: @props.Repository
@history.listen @, 'history'
history = @props.Repository.getLatest(key) ? []
if history.length > 0
cities = getCities history
@setState
loading: false
history: history
cities: @getCities cities
return
@setState
loading: true
history: history
year = @props.year
month = @props.month
day = @props.day
url = "/admin/location/posts/#{moment.utc([year,month,day]).format('YYYY/MM/DD')}.json"
# console.log url
@props.request.get url, null, (err, data) =>
return unless @isMounted()
return console.log err if err
return unless data?.posts?.length > 0
history = @props.Repository.getLatest(key) ? {}
@props.Repository.update key, data.posts
cities = getCities data.posts
console.log 'getCitiesByName', cities
@setState
loading: false
cities: @getCities cities
componentWillUnmount: ->
@history.unlisten @
search: (e) ->
value = e.target.value
console.log 'search', value
commitLocation: (e) ->
e.preventDefault?()
{year, month, day} = @props
url = "/admin/location/edit/#{moment.utc([year,month,day]).format('YYYY/MM/DD')}.json"
options =
cityId: @state.location.cityId
@props.request.post url, options, (err, data) =>
if data?.state?.location
@setState
savedLocation: data.state.location
location: data.state.location
console.log 'response', err, data
render: ->
ItemComponent = @props.getComponent @props.globals.public.streamItem
locationSegments = [@state.location.name]
if @state.location.region
locationSegments.push @state.location.region
if @state.location.country
locationSegments.push @state.location.country
displayCurrentLocation = locationSegments.join ', '
history = @state.history ? []
CityAutocomplete = @props.getComponent 'kerplunk-city-autocomplete:input'
#cities = getCities history
cities = @state.citiesByName
YMD = [@props.year, @props.month, @props.day]
yesterdayYMD = new Date Date.UTC YMD[0], YMD[1], YMD[2] - 1
tomorrowYMD = new Date Date.UTC YMD[0], YMD[1], YMD[2] + 1
DOM.section
className: 'content'
,
# a
# style:
# float: 'right'
# href: '#'
# onClick: @onClose
# , '[x]'
DOM.h3 null, 'edit day'
DOM.div null,
DOM.div null,
DOM.a
href: "/admin/location/edit/#{moment.utc(yesterdayYMD).format('YYYY/MM/DD')}"
onClick: @props.pushState
style:
float: 'left'
, "< #{moment.utc(yesterdayYMD).format('MMM D')}"
DOM.a
href: "/admin/location/edit/#{moment.utc(tomorrowYMD).format('YYYY/MM/DD')}"
onClick: @props.pushState
style:
float: 'right'
, "#{moment.utc(tomorrowYMD).format('MMM D')} >"
DOM.div className: 'clearfix'
DOM.div null,
CityAutocomplete _.extend {}, @props,
onChange: @search
city: @state.location
location: @props.location?.location ? @state.location?.location
onSelect: (city) =>
console.log 'setting location', city
@setState
location: city
# DOM.input
# defaultValue: displayCurrentLocation
# onChange: @search
# city: @state.location
DOM.input
style:
display: 'none' if @state?.location?.name == @state.savedLocation?.name
type: 'button'
onClick: @commitLocation
value: 'save'
_.map cities, (city, index) =>
DOM.div
key: "city-#{index}"
,
city.name
' '
DOM.a
href: '#' + city.cityId
onClick: (e) =>
e.preventDefault()
@setState
location: city
, 'save'
DOM.div null,
DOM.strong null, displayCurrentLocation
# DOM.pre null, JSON.stringify @props, null, 2
# DOM.pre null, JSON.stringify @state, null, 2
if history?.length > 0
_.map history, (item) =>
ItemComponent _.extend {}, @props, {
key: "history-#{item._id}"
item: item
itemId: item._id
}
else
DOM.div null, 'no items..'
| 174927 | _ = require 'lodash'
React = require 'react'
moment = require 'moment'
{DOM} = React
getCities = (history) ->
_.reduce history, (memo, item) ->
return memo unless item?.data?.venue?.location?.city
location = item.data.venue.location
memo[location.city] = location
memo[location.city].name = location.city
memo
, {}
module.exports = React.createFactory React.createClass
getInitialState: ->
history: []
loading: false
location: @props.location
savedLocation: @props.location
citiesByName: @props.citiesByName ? {}
onClose: (e) ->
e.preventDefault()
@props.onClose()
getCity: (city) ->
console.log 'getCity', city.name, city
url = '/admin/place/search.json'
@props.request.get url, {keyword: city.name}, (err, data) =>
return unless @isMounted()
return console.log err if err
return console.log 'no results for', city.name unless data?.length > 0
results = _.sortBy data, (c) ->
score = if c.name == city.name then 100 else -100
score += c.population / Math.pow 10, 9
console.log 'score', c.name, score
-score
citiesByName = _.clone @state.citiesByName
citiesByName[city.name] = results[0]
console.log 'result', city.name, results[0]
@setState
citiesByName: citiesByName
citiesByName = _.clone @state.citiesByName
citiesByName[city.name] =
name: city.name
cityId: 'loading cityId'
lat: city.lat
lng: city.lng
@setState
citiesByName: citiesByName
getCities: (cities) ->
console.log 'getcities', cities
_.map cities, (city) =>
existing = _.find @state.cities, (c) ->
c.name == city.name
if !existing
@getCity city
name: city.name
cityId: existing?.cityId
lat: city.lat
lng: city.lng
componentDidMount: ->
console.log 'sup'
key = "<KEY>@props.dateKey}"
@history = ReactiveData.Item
key: key
Repository: @props.Repository
@history.listen @, 'history'
history = @props.Repository.getLatest(key) ? []
if history.length > 0
cities = getCities history
@setState
loading: false
history: history
cities: @getCities cities
return
@setState
loading: true
history: history
year = @props.year
month = @props.month
day = @props.day
url = "/admin/location/posts/#{moment.utc([year,month,day]).format('YYYY/MM/DD')}.json"
# console.log url
@props.request.get url, null, (err, data) =>
return unless @isMounted()
return console.log err if err
return unless data?.posts?.length > 0
history = @props.Repository.getLatest(key) ? {}
@props.Repository.update key, data.posts
cities = getCities data.posts
console.log 'getCitiesByName', cities
@setState
loading: false
cities: @getCities cities
componentWillUnmount: ->
@history.unlisten @
search: (e) ->
value = e.target.value
console.log 'search', value
commitLocation: (e) ->
e.preventDefault?()
{year, month, day} = @props
url = "/admin/location/edit/#{moment.utc([year,month,day]).format('YYYY/MM/DD')}.json"
options =
cityId: @state.location.cityId
@props.request.post url, options, (err, data) =>
if data?.state?.location
@setState
savedLocation: data.state.location
location: data.state.location
console.log 'response', err, data
render: ->
ItemComponent = @props.getComponent @props.globals.public.streamItem
locationSegments = [@state.location.name]
if @state.location.region
locationSegments.push @state.location.region
if @state.location.country
locationSegments.push @state.location.country
displayCurrentLocation = locationSegments.join ', '
history = @state.history ? []
CityAutocomplete = @props.getComponent 'kerplunk-city-autocomplete:input'
#cities = getCities history
cities = @state.citiesByName
YMD = [@props.year, @props.month, @props.day]
yesterdayYMD = new Date Date.UTC YMD[0], YMD[1], YMD[2] - 1
tomorrowYMD = new Date Date.UTC YMD[0], YMD[1], YMD[2] + 1
DOM.section
className: 'content'
,
# a
# style:
# float: 'right'
# href: '#'
# onClick: @onClose
# , '[x]'
DOM.h3 null, 'edit day'
DOM.div null,
DOM.div null,
DOM.a
href: "/admin/location/edit/#{moment.utc(yesterdayYMD).format('YYYY/MM/DD')}"
onClick: @props.pushState
style:
float: 'left'
, "< #{moment.utc(yesterdayYMD).format('MMM D')}"
DOM.a
href: "/admin/location/edit/#{moment.utc(tomorrowYMD).format('YYYY/MM/DD')}"
onClick: @props.pushState
style:
float: 'right'
, "#{moment.utc(tomorrowYMD).format('MMM D')} >"
DOM.div className: 'clearfix'
DOM.div null,
CityAutocomplete _.extend {}, @props,
onChange: @search
city: @state.location
location: @props.location?.location ? @state.location?.location
onSelect: (city) =>
console.log 'setting location', city
@setState
location: city
# DOM.input
# defaultValue: displayCurrentLocation
# onChange: @search
# city: @state.location
DOM.input
style:
display: 'none' if @state?.location?.name == @state.savedLocation?.name
type: 'button'
onClick: @commitLocation
value: 'save'
_.map cities, (city, index) =>
DOM.div
key: "city-#{index}"
,
city.name
' '
DOM.a
href: '#' + city.cityId
onClick: (e) =>
e.preventDefault()
@setState
location: city
, 'save'
DOM.div null,
DOM.strong null, displayCurrentLocation
# DOM.pre null, JSON.stringify @props, null, 2
# DOM.pre null, JSON.stringify @state, null, 2
if history?.length > 0
_.map history, (item) =>
ItemComponent _.extend {}, @props, {
key: "<KEY>
item: item
itemId: item._id
}
else
DOM.div null, 'no items..'
| true | _ = require 'lodash'
React = require 'react'
moment = require 'moment'
{DOM} = React
getCities = (history) ->
_.reduce history, (memo, item) ->
return memo unless item?.data?.venue?.location?.city
location = item.data.venue.location
memo[location.city] = location
memo[location.city].name = location.city
memo
, {}
module.exports = React.createFactory React.createClass
getInitialState: ->
history: []
loading: false
location: @props.location
savedLocation: @props.location
citiesByName: @props.citiesByName ? {}
onClose: (e) ->
e.preventDefault()
@props.onClose()
getCity: (city) ->
console.log 'getCity', city.name, city
url = '/admin/place/search.json'
@props.request.get url, {keyword: city.name}, (err, data) =>
return unless @isMounted()
return console.log err if err
return console.log 'no results for', city.name unless data?.length > 0
results = _.sortBy data, (c) ->
score = if c.name == city.name then 100 else -100
score += c.population / Math.pow 10, 9
console.log 'score', c.name, score
-score
citiesByName = _.clone @state.citiesByName
citiesByName[city.name] = results[0]
console.log 'result', city.name, results[0]
@setState
citiesByName: citiesByName
citiesByName = _.clone @state.citiesByName
citiesByName[city.name] =
name: city.name
cityId: 'loading cityId'
lat: city.lat
lng: city.lng
@setState
citiesByName: citiesByName
getCities: (cities) ->
console.log 'getcities', cities
_.map cities, (city) =>
existing = _.find @state.cities, (c) ->
c.name == city.name
if !existing
@getCity city
name: city.name
cityId: existing?.cityId
lat: city.lat
lng: city.lng
componentDidMount: ->
console.log 'sup'
key = "PI:KEY:<KEY>END_PI@props.dateKey}"
@history = ReactiveData.Item
key: key
Repository: @props.Repository
@history.listen @, 'history'
history = @props.Repository.getLatest(key) ? []
if history.length > 0
cities = getCities history
@setState
loading: false
history: history
cities: @getCities cities
return
@setState
loading: true
history: history
year = @props.year
month = @props.month
day = @props.day
url = "/admin/location/posts/#{moment.utc([year,month,day]).format('YYYY/MM/DD')}.json"
# console.log url
@props.request.get url, null, (err, data) =>
return unless @isMounted()
return console.log err if err
return unless data?.posts?.length > 0
history = @props.Repository.getLatest(key) ? {}
@props.Repository.update key, data.posts
cities = getCities data.posts
console.log 'getCitiesByName', cities
@setState
loading: false
cities: @getCities cities
componentWillUnmount: ->
@history.unlisten @
search: (e) ->
value = e.target.value
console.log 'search', value
commitLocation: (e) ->
e.preventDefault?()
{year, month, day} = @props
url = "/admin/location/edit/#{moment.utc([year,month,day]).format('YYYY/MM/DD')}.json"
options =
cityId: @state.location.cityId
@props.request.post url, options, (err, data) =>
if data?.state?.location
@setState
savedLocation: data.state.location
location: data.state.location
console.log 'response', err, data
render: ->
ItemComponent = @props.getComponent @props.globals.public.streamItem
locationSegments = [@state.location.name]
if @state.location.region
locationSegments.push @state.location.region
if @state.location.country
locationSegments.push @state.location.country
displayCurrentLocation = locationSegments.join ', '
history = @state.history ? []
CityAutocomplete = @props.getComponent 'kerplunk-city-autocomplete:input'
#cities = getCities history
cities = @state.citiesByName
YMD = [@props.year, @props.month, @props.day]
yesterdayYMD = new Date Date.UTC YMD[0], YMD[1], YMD[2] - 1
tomorrowYMD = new Date Date.UTC YMD[0], YMD[1], YMD[2] + 1
DOM.section
className: 'content'
,
# a
# style:
# float: 'right'
# href: '#'
# onClick: @onClose
# , '[x]'
DOM.h3 null, 'edit day'
DOM.div null,
DOM.div null,
DOM.a
href: "/admin/location/edit/#{moment.utc(yesterdayYMD).format('YYYY/MM/DD')}"
onClick: @props.pushState
style:
float: 'left'
, "< #{moment.utc(yesterdayYMD).format('MMM D')}"
DOM.a
href: "/admin/location/edit/#{moment.utc(tomorrowYMD).format('YYYY/MM/DD')}"
onClick: @props.pushState
style:
float: 'right'
, "#{moment.utc(tomorrowYMD).format('MMM D')} >"
DOM.div className: 'clearfix'
DOM.div null,
CityAutocomplete _.extend {}, @props,
onChange: @search
city: @state.location
location: @props.location?.location ? @state.location?.location
onSelect: (city) =>
console.log 'setting location', city
@setState
location: city
# DOM.input
# defaultValue: displayCurrentLocation
# onChange: @search
# city: @state.location
DOM.input
style:
display: 'none' if @state?.location?.name == @state.savedLocation?.name
type: 'button'
onClick: @commitLocation
value: 'save'
_.map cities, (city, index) =>
DOM.div
key: "city-#{index}"
,
city.name
' '
DOM.a
href: '#' + city.cityId
onClick: (e) =>
e.preventDefault()
@setState
location: city
, 'save'
DOM.div null,
DOM.strong null, displayCurrentLocation
# DOM.pre null, JSON.stringify @props, null, 2
# DOM.pre null, JSON.stringify @state, null, 2
if history?.length > 0
_.map history, (item) =>
ItemComponent _.extend {}, @props, {
key: "PI:KEY:<KEY>END_PI
item: item
itemId: item._id
}
else
DOM.div null, 'no items..'
|
[
{
"context": " _rev: '946B7D1C',\n # username: 'pgte',\n # email: 'pedro.teixeira@gmai",
"end": 479,
"score": 0.9954428672790527,
"start": 475,
"tag": "USERNAME",
"value": "pgte"
},
{
"context": " username: 'pgte',\n # email: 'ped... | test/specs/nest-api.coffee | Tommylans/node-nest-api | 8 | # NestApi
NestApi = require('../../lib/nest-api')
# Nock
nock = require('nock');
# Chai
chai = require('chai')
assert = chai.assert
should = chai.should()
expect = chai.expect
# NestAPI
describe 'NestApi', ->
nestApi = new NestApi
# Nock example:
# couchdb = nock('http://myapp.iriscouch.com')
# .get('/users/1')
# .reply(200, {
# _id: '123ABC',
# _rev: '946B7D1C',
# username: 'pgte',
# email: 'pedro.teixeira@gmail.com'
# });
beforeEach () ->
nestApi = new NestApi("nest_username", "nest_password")
describe 'NestApi Setup', ->
it "exists", ->
NestApi.should.be.ok
expect(nestApi).to.be.instanceOf(NestApi)
it "should construct a username and password", ->
expect(nestApi.username).to.equal "nest_username"
expect(nestApi.password).to.equal "nest_password"
it "should set a username", ->
nestApi.setUsername("new_nest_username")
expect(nestApi.username).to.not.equal "nest_username"
expect(nestApi.username).to.equal "new_nest_username"
it "should set a password", ->
nestApi.setPassword("new_nest_password")
expect(nestApi.username).to.not.equal "nest_password"
expect(nestApi.password).to.equal "new_nest_password"
# TODO: Finish this
# describe "NestApi Login", ->
# it "is a function", ->
# expect(nestApi.login()).to.equal true
| 120628 | # NestApi
NestApi = require('../../lib/nest-api')
# Nock
nock = require('nock');
# Chai
chai = require('chai')
assert = chai.assert
should = chai.should()
expect = chai.expect
# NestAPI
describe 'NestApi', ->
nestApi = new NestApi
# Nock example:
# couchdb = nock('http://myapp.iriscouch.com')
# .get('/users/1')
# .reply(200, {
# _id: '123ABC',
# _rev: '946B7D1C',
# username: 'pgte',
# email: '<EMAIL>'
# });
beforeEach () ->
nestApi = new NestApi("nest_username", "nest_password")
describe 'NestApi Setup', ->
it "exists", ->
NestApi.should.be.ok
expect(nestApi).to.be.instanceOf(NestApi)
it "should construct a username and password", ->
expect(nestApi.username).to.equal "nest_username"
expect(nestApi.password).to.equal "<PASSWORD>"
it "should set a username", ->
nestApi.setUsername("new_nest_username")
expect(nestApi.username).to.not.equal "nest_username"
expect(nestApi.username).to.equal "new_nest_username"
it "should set a password", ->
nestApi.setPassword("<PASSWORD>")
expect(nestApi.username).to.not.equal "nest_password"
expect(nestApi.password).to.equal "<PASSWORD>"
# TODO: Finish this
# describe "NestApi Login", ->
# it "is a function", ->
# expect(nestApi.login()).to.equal true
| true | # NestApi
NestApi = require('../../lib/nest-api')
# Nock
nock = require('nock');
# Chai
chai = require('chai')
assert = chai.assert
should = chai.should()
expect = chai.expect
# NestAPI
describe 'NestApi', ->
nestApi = new NestApi
# Nock example:
# couchdb = nock('http://myapp.iriscouch.com')
# .get('/users/1')
# .reply(200, {
# _id: '123ABC',
# _rev: '946B7D1C',
# username: 'pgte',
# email: 'PI:EMAIL:<EMAIL>END_PI'
# });
beforeEach () ->
nestApi = new NestApi("nest_username", "nest_password")
describe 'NestApi Setup', ->
it "exists", ->
NestApi.should.be.ok
expect(nestApi).to.be.instanceOf(NestApi)
it "should construct a username and password", ->
expect(nestApi.username).to.equal "nest_username"
expect(nestApi.password).to.equal "PI:PASSWORD:<PASSWORD>END_PI"
it "should set a username", ->
nestApi.setUsername("new_nest_username")
expect(nestApi.username).to.not.equal "nest_username"
expect(nestApi.username).to.equal "new_nest_username"
it "should set a password", ->
nestApi.setPassword("PI:PASSWORD:<PASSWORD>END_PI")
expect(nestApi.username).to.not.equal "nest_password"
expect(nestApi.password).to.equal "PI:PASSWORD:<PASSWORD>END_PI"
# TODO: Finish this
# describe "NestApi Login", ->
# it "is a function", ->
# expect(nestApi.login()).to.equal true
|
[
{
"context": "|| 3000\n secret: process.env.SERVER_SECRET || 'nicolas cage'\n db:\n name: process.env.DB_NAME || 'angular-",
"end": 127,
"score": 0.9996914863586426,
"start": 115,
"tag": "NAME",
"value": "nicolas cage"
}
] | config.coffee | jamiebuilds/angular-blog | 0 | module.exports =
server:
port: process.env.SERVER_PORT || 3000
secret: process.env.SERVER_SECRET || 'nicolas cage'
db:
name: process.env.DB_NAME || 'angular-blog'
host: process.env.DB_HOST || 'localhost'
port: process.env.DB_PORT || 27017
| 99164 | module.exports =
server:
port: process.env.SERVER_PORT || 3000
secret: process.env.SERVER_SECRET || '<NAME>'
db:
name: process.env.DB_NAME || 'angular-blog'
host: process.env.DB_HOST || 'localhost'
port: process.env.DB_PORT || 27017
| true | module.exports =
server:
port: process.env.SERVER_PORT || 3000
secret: process.env.SERVER_SECRET || 'PI:NAME:<NAME>END_PI'
db:
name: process.env.DB_NAME || 'angular-blog'
host: process.env.DB_HOST || 'localhost'
port: process.env.DB_PORT || 27017
|
[
{
"context": "\n storage = res\n done null\n key = 'test-key'\n val = { foo: 1, bar: 2, stuff: [1, 2, 3] }\n",
"end": 331,
"score": 0.6312330961227417,
"start": 326,
"tag": "KEY",
"value": "test-"
}
] | test/storage.coffee | yinso/keybox | 1 | Storage = require '../src/storage'
{ assert } = require 'chai'
fs = require 'fs'
describe 'storage test', ->
storage = null
path = './test.keybox'
it 'can create storage', (done) ->
Storage.initialize path, (err, res) ->
if err
done err
else
storage = res
done null
key = 'test-key'
val = { foo: 1, bar: 2, stuff: [1, 2, 3] }
it 'can storage key/object', (done) ->
storage.set key, val, done
it 'can retrieve value', (done) ->
storage.get key, (err, res) ->
if err
done err
else
assert.deepEqual res, val
done null
it 'can delete key', (done) ->
storage.delete key, done
it 'can close storage', (done) ->
storage.close done
it 'can destroy storage', (done) ->
storage.destroy done
| 169732 | Storage = require '../src/storage'
{ assert } = require 'chai'
fs = require 'fs'
describe 'storage test', ->
storage = null
path = './test.keybox'
it 'can create storage', (done) ->
Storage.initialize path, (err, res) ->
if err
done err
else
storage = res
done null
key = '<KEY>key'
val = { foo: 1, bar: 2, stuff: [1, 2, 3] }
it 'can storage key/object', (done) ->
storage.set key, val, done
it 'can retrieve value', (done) ->
storage.get key, (err, res) ->
if err
done err
else
assert.deepEqual res, val
done null
it 'can delete key', (done) ->
storage.delete key, done
it 'can close storage', (done) ->
storage.close done
it 'can destroy storage', (done) ->
storage.destroy done
| true | Storage = require '../src/storage'
{ assert } = require 'chai'
fs = require 'fs'
describe 'storage test', ->
storage = null
path = './test.keybox'
it 'can create storage', (done) ->
Storage.initialize path, (err, res) ->
if err
done err
else
storage = res
done null
key = 'PI:KEY:<KEY>END_PIkey'
val = { foo: 1, bar: 2, stuff: [1, 2, 3] }
it 'can storage key/object', (done) ->
storage.set key, val, done
it 'can retrieve value', (done) ->
storage.get key, (err, res) ->
if err
done err
else
assert.deepEqual res, val
done null
it 'can delete key', (done) ->
storage.delete key, done
it 'can close storage', (done) ->
storage.close done
it 'can destroy storage', (done) ->
storage.destroy done
|
[
{
"context": "r.Info =\n\ttitle: \"Center scale up list\"\n\tauthor: \"Jungho song\"\n\ttwitter: \"threeword\"\n\tdescription: \"- Infinity ",
"end": 173,
"score": 0.9997695684432983,
"start": 162,
"tag": "NAME",
"value": "Jungho song"
},
{
"context": " scale up list\"\n\tauthor: \"J... | app.coffee | framer-modules/infinity-list-center.framer | 1 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Center scale up list"
author: "Jungho song"
twitter: "threeword"
description: "- Infinity scroll up/down\n- Recycle list item layer"
Framer.Extras.ShareInfo.enable()
#
FONT = Utils.deviceFont()
FONT_SIZE_MIN = 20
FONT_SIZE_MAX = 40
MAX_COUNT = 4
SPACE = 0
#
items = []
#
dummi = [1..12]
#
getItem = (position) -> dummi[position]
getView = (position, view, parent) ->
view = new Layer
width: parent.width, height: parent.height * 1/3
backgroundColor: "transparent"
view.label = new Layer
name: ".label"
x: Align.center, y: Align.center
width: view.width, height: view.height
backgroundColor: "transparent"
style:
font: "500 20px/#{view.height}px #{FONT}"
textAlign: "center"
color: "gray"
parent: view
view.update = (position) ->
index = position
if position < 0
index = _.size(dummi) - 1
else if position > _.size(dummi) - 1
index = 0
@custom = index
#
@data = data = getItem index
if data
@label.html = "#{data}"
view.update position
view
#
wrap = new Layer
x: Align.center, y: Align.center
backgroundColor: "rgba(0,0,0,.1)"
borderRadius: 10
clip: true
#
center = new Layer
y: Align.center
width: wrap.width, height: wrap.height * 1/3
backgroundColor: "rgba(0,0,0,.1)"
parent: wrap
centerFrame = center.screenFrame
centerPoint = Utils.frameCenterPoint(centerFrame)
#
contents = new Layer
x: Align.center, y: Align.center
backgroundColor: "transparent"
parent: wrap
contents.draggable.enabled = true
contents.draggable.horizontal = false
contents.onMove onMove = ()->
f = _.first(items)
l = _.last(items)
# Last item move to top
if Utils.frameInFrame(f.screenFrame, wrap.screenFrame)
contents.removeChild l
contents.addChild l
# Update contents data
l.update l.custom = f.custom - 1
# Set y position
l.maxY = f.y - SPACE
# Reorder list item
items.unshift(items.pop())
# First item move to bottom
else if !Utils.frameInFrame(items[1].screenFrame, wrap.screenFrame)
contents.removeChild f
contents.addChild f
# Update contents data
f.update f.custom = l.custom + 1
# Set y position
f.y = l.maxY + SPACE
# Reorder list item
items.push(items.shift())
# Center item scale up
for item, i in items
distance = Utils.pointDistance(Utils.frameCenterPoint(item.screenFrame), centerPoint)
item.label.style.fontSize = "#{Utils.modulate distance, [item.height, 0], [FONT_SIZE_MIN, FONT_SIZE_MAX], true}px"
# Draw list items
for i in [0...MAX_COUNT]
# Draw
item = getView i, null, contents
item.name = "item - #{i+1}"
item.y = contents.contentFrame().height
item.y += SPACE if i isnt 1
# Events
item.ignoreEvents = false
item.onClick -> print @data
# Add item to list view
contents.addChild item
# Add item to array
items.push item
#
onMove() | 181753 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Center scale up list"
author: "<NAME>"
twitter: "threeword"
description: "- Infinity scroll up/down\n- Recycle list item layer"
Framer.Extras.ShareInfo.enable()
#
FONT = Utils.deviceFont()
FONT_SIZE_MIN = 20
FONT_SIZE_MAX = 40
MAX_COUNT = 4
SPACE = 0
#
items = []
#
dummi = [1..12]
#
getItem = (position) -> dummi[position]
getView = (position, view, parent) ->
view = new Layer
width: parent.width, height: parent.height * 1/3
backgroundColor: "transparent"
view.label = new Layer
name: ".label"
x: Align.center, y: Align.center
width: view.width, height: view.height
backgroundColor: "transparent"
style:
font: "500 20px/#{view.height}px #{FONT}"
textAlign: "center"
color: "gray"
parent: view
view.update = (position) ->
index = position
if position < 0
index = _.size(dummi) - 1
else if position > _.size(dummi) - 1
index = 0
@custom = index
#
@data = data = getItem index
if data
@label.html = "#{data}"
view.update position
view
#
wrap = new Layer
x: Align.center, y: Align.center
backgroundColor: "rgba(0,0,0,.1)"
borderRadius: 10
clip: true
#
center = new Layer
y: Align.center
width: wrap.width, height: wrap.height * 1/3
backgroundColor: "rgba(0,0,0,.1)"
parent: wrap
centerFrame = center.screenFrame
centerPoint = Utils.frameCenterPoint(centerFrame)
#
contents = new Layer
x: Align.center, y: Align.center
backgroundColor: "transparent"
parent: wrap
contents.draggable.enabled = true
contents.draggable.horizontal = false
contents.onMove onMove = ()->
f = _.first(items)
l = _.last(items)
# Last item move to top
if Utils.frameInFrame(f.screenFrame, wrap.screenFrame)
contents.removeChild l
contents.addChild l
# Update contents data
l.update l.custom = f.custom - 1
# Set y position
l.maxY = f.y - SPACE
# Reorder list item
items.unshift(items.pop())
# First item move to bottom
else if !Utils.frameInFrame(items[1].screenFrame, wrap.screenFrame)
contents.removeChild f
contents.addChild f
# Update contents data
f.update f.custom = l.custom + 1
# Set y position
f.y = l.maxY + SPACE
# Reorder list item
items.push(items.shift())
# Center item scale up
for item, i in items
distance = Utils.pointDistance(Utils.frameCenterPoint(item.screenFrame), centerPoint)
item.label.style.fontSize = "#{Utils.modulate distance, [item.height, 0], [FONT_SIZE_MIN, FONT_SIZE_MAX], true}px"
# Draw list items
for i in [0...MAX_COUNT]
# Draw
item = getView i, null, contents
item.name = "item - #{i+1}"
item.y = contents.contentFrame().height
item.y += SPACE if i isnt 1
# Events
item.ignoreEvents = false
item.onClick -> print @data
# Add item to list view
contents.addChild item
# Add item to array
items.push item
#
onMove() | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Center scale up list"
author: "PI:NAME:<NAME>END_PI"
twitter: "threeword"
description: "- Infinity scroll up/down\n- Recycle list item layer"
Framer.Extras.ShareInfo.enable()
#
FONT = Utils.deviceFont()
FONT_SIZE_MIN = 20
FONT_SIZE_MAX = 40
MAX_COUNT = 4
SPACE = 0
#
items = []
#
dummi = [1..12]
#
getItem = (position) -> dummi[position]
getView = (position, view, parent) ->
view = new Layer
width: parent.width, height: parent.height * 1/3
backgroundColor: "transparent"
view.label = new Layer
name: ".label"
x: Align.center, y: Align.center
width: view.width, height: view.height
backgroundColor: "transparent"
style:
font: "500 20px/#{view.height}px #{FONT}"
textAlign: "center"
color: "gray"
parent: view
view.update = (position) ->
index = position
if position < 0
index = _.size(dummi) - 1
else if position > _.size(dummi) - 1
index = 0
@custom = index
#
@data = data = getItem index
if data
@label.html = "#{data}"
view.update position
view
#
wrap = new Layer
x: Align.center, y: Align.center
backgroundColor: "rgba(0,0,0,.1)"
borderRadius: 10
clip: true
#
center = new Layer
y: Align.center
width: wrap.width, height: wrap.height * 1/3
backgroundColor: "rgba(0,0,0,.1)"
parent: wrap
centerFrame = center.screenFrame
centerPoint = Utils.frameCenterPoint(centerFrame)
#
contents = new Layer
x: Align.center, y: Align.center
backgroundColor: "transparent"
parent: wrap
contents.draggable.enabled = true
contents.draggable.horizontal = false
contents.onMove onMove = ()->
f = _.first(items)
l = _.last(items)
# Last item move to top
if Utils.frameInFrame(f.screenFrame, wrap.screenFrame)
contents.removeChild l
contents.addChild l
# Update contents data
l.update l.custom = f.custom - 1
# Set y position
l.maxY = f.y - SPACE
# Reorder list item
items.unshift(items.pop())
# First item move to bottom
else if !Utils.frameInFrame(items[1].screenFrame, wrap.screenFrame)
contents.removeChild f
contents.addChild f
# Update contents data
f.update f.custom = l.custom + 1
# Set y position
f.y = l.maxY + SPACE
# Reorder list item
items.push(items.shift())
# Center item scale up
for item, i in items
distance = Utils.pointDistance(Utils.frameCenterPoint(item.screenFrame), centerPoint)
item.label.style.fontSize = "#{Utils.modulate distance, [item.height, 0], [FONT_SIZE_MIN, FONT_SIZE_MAX], true}px"
# Draw list items
for i in [0...MAX_COUNT]
# Draw
item = getView i, null, contents
item.name = "item - #{i+1}"
item.y = contents.contentFrame().height
item.y += SPACE if i isnt 1
# Events
item.ignoreEvents = false
item.onClick -> print @data
# Add item to list view
contents.addChild item
# Add item to array
items.push item
#
onMove() |
[
{
"context": "ncrement user's karma score\n # @param string user Name of user\n # @param string dir Direction property, 't",
"end": 707,
"score": 0.8876175284385681,
"start": 700,
"tag": "NAME",
"value": "Name of"
},
{
"context": " user's karma score\n # @param string user Name of... | node_modules/hubot-code-review-flowdock/src/CodeReviewKarma.coffee | ketchalegend/hubot-Mattermost | 0 | sendFancyMessage = require './lib/sendFancyMessage'
class CodeReviewKarma
constructor: (@robot) ->
@scores = {}
@monthly_scores = {}
# Note: 'Schedule Monthly Award and Score Reset'
# cron task managed by CodeReviews
@robot.brain.on 'loaded', =>
if @robot.brain.data.code_review_karma
cache = @robot.brain.data.code_review_karma
@scores = cache.scores || {}
@monthly_scores = cache.monthly_scores || {}
# Update Redis store of CR queues and karma scores
# @return none
update_redis: ->
@robot.brain.data.code_review_karma = { scores: @scores, monthly_scores: @monthly_scores }
# Increment user's karma score
# @param string user Name of user
# @param string dir Direction property, 'take' or 'give'
# @param int qty Amount to increment by
# @return none
incr_score: (user, dir, qty = 1) ->
qty -= 0
@scores[user] ||= { give: 0, take: 0 }
@scores[user][dir] += qty
@monthly_scores[user] ||= { give: 0, take: 0 }
@monthly_scores[user][dir] += qty
@update_redis()
# Decrement user's karma score
# @param string user Name of user
# @param string dir Direction property, 'take' or 'give'
# @param int qty Amount to decrement by
# @return none
decr_score: (user, dir, qty = 1) ->
qty -= 0
if @scores[user] and @scores[user][dir]
@scores[user][dir] -= qty
@scores[user][dir] = 0 if @scores[user][dir] < 0
if @monthly_scores[user] and @monthly_scores[user][dir]
@monthly_scores[user][dir] -= qty
@monthly_scores[user][dir] = 0 if @monthly_scores[user][dir] < 0
@update_redis()
# Calculate karm score
# @param int give CRs given
# @param int take CRs taken
# @return int Karma score
karma: (give, take) ->
if take is 0
return give
return Math.round( ( give / take - 1 ) * 100 ) / 100
# Get leaderboard of gives, takes, and karma score
# @return array Array of most CRs given, most CRs taken, best karma score
rankings: ->
gives = takes = karmas = { score: -1, user: 'Nobody' }
for user, scores of @scores
if scores.give > gives.score
gives = { score: scores.give, user: user }
else if scores.give == gives.score
gives.user = gives.user + ', ' + user
if scores.take > takes.score
takes = { score: scores.take, user: user }
else if scores.take == takes.score
takes.user = takes.user + ', ' + user
karma = @karma(scores.give, scores.take)
if karma > karmas.score
karmas = { score: karma, user: user }
else if karma == karmas.score
karmas.user = karmas.user + ', ' + user
[gives, takes, karmas ]
# Get user's score
# @param string user User name
# @return obj Key-value of CRs given and taken
scores_for_user: (user) ->
all_scores = @scores[user] || { give: 0, take: 0 }
month_scores = @monthly_scores[user] || { give: 0, take: 0 }
return {
all_scores,
month_scores
}
# Remove user from scores
# @return bool True if user was found; false if user not found
remove_user: (user) ->
if @scores[user] || @monthly_scores[user]
if @scores[user]
delete @scores[user]
if @monthly_scores[user]
delete @monthly_scores[user]
@update_redis()
return true
return false
# Reset all scores
# @return none
flush_scores: ->
console.log "CodeReviewKarma.flush_scores: resetting all scores..."
@scores = {}
@monthly_scores = {}
@update_redis()
# Reset monthly scores
# @return none
flush_monthly_scores: ->
console.log "CodeReviewKarma.flush_monthly_scores: resetting monthly_scores..."
@monthly_scores = {}
@update_redis()
# Announce top reviewers this month:
# Most reviews (up to three)
# Most requests (up to three)
# Best karma (up to 1)
#
# If called:
# via cron: to HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM (if set)
# Note: cron scheduled from CodeReviews to avoid duplicate schedules
# via msg: to the original room
#
# @return none
monthly_rankings: (msg = null) ->
msg_prefix = ""
attachments = []
if (msg)?
# function start from message (not cron)
msg_prefix = "Here's how things stand this month:"
announce_room = msg.message.room
else if (process.env.HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM)?
# Triggered from cron and HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM set
msg_prefix = "Here's the final code review leaderboard for last month:"
announce_room = "\##{process.env.HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM}"
else
# Triggered from cron, no room set... clear monthly_scores and return
@flush_monthly_scores()
return
reviews_this_month = Object.keys(@monthly_scores).length
if reviews_this_month is 0
attachments.push
fallback: "No code reviews seen this month yet."
text: "No code reviews seen this month yet. :cricket:"
color: "#C0C0C0"
else
attachments.push
fallback: msg_prefix
pretext: msg_prefix
# Top three most reviews given followed by karma
top_3_reviewers = Object.keys(@monthly_scores)
.map((index) =>
return {
user: index,
list: 'Most Reviews',
give: @monthly_scores[index].give,
take: @monthly_scores[index].take,
karma: @karma(@monthly_scores[index].give, @monthly_scores[index].take)
}
).sort((a, b) ->
if b.give is a.give
return b.karma - a.karma
else
return b.give - a.give
).map((winner, rank) ->
return Object.assign({}, winner, { placement: rank + 1 })
).slice(0, 3)
# Top three most reviews requested followed by karma
top_3_requesters = Object.keys(@monthly_scores)
.map((index) =>
return {
user: index,
list: 'Most Requests',
give: @monthly_scores[index].give,
take: @monthly_scores[index].take,
karma: @karma(@monthly_scores[index].give, @monthly_scores[index].take)
}
).sort((a, b) -> # Sort by most reviews given followed by karma
if b.take is a.take
return b.karma - a.karma
else
return b.take - a.take
).map((winner, rank) ->
return Object.assign({}, winner, { placement: rank + 1 })
).slice(0, 3)
# Top three best karma followed by reviews
top_1_karma = Object.keys(@monthly_scores)
.map((index) =>
return {
user: index,
list: 'Best Karma'
give: @monthly_scores[index].give,
take: @monthly_scores[index].take,
karma: @karma(@monthly_scores[index].give, @monthly_scores[index].take)
}
).sort((a, b) -> # Sort by most reviews given followed by karma
if b.karma is a.karma
return b.give - a.give
else
return b.karma - a.karma
).map((winner, rank) ->
return Object.assign({}, winner, { placement: rank + 1 })
).slice(0, 1)
monthly_leaderboard = [top_3_reviewers..., top_3_requesters..., top_1_karma...]
for index of monthly_leaderboard
entry = monthly_leaderboard[index]
switch(entry.placement)
when 1 then medal_color = "#D4AF37" # gold
when 2 then medal_color = "#BCC6CC" # silver
when 3 then medal_color = "#5B391E" # bronze
else medal_color = "#FFFFFF" # white
user_detail = @robot.brain.userForName("#{entry.user}")
if (user_detail)? and (user_detail.slack)? # if slack, add some deeper data
gravatar = user_detail.slack.profile.image_72
full_name = user_detail.slack.real_name
else
full_name = entry.user
score_field_array = []
switch (entry.list)
when 'Most Reviews'
reviewed_requested_text = "*#{entry.give}* / #{entry.take}"
karma_text = "#{entry.karma}"
when 'Most Requests'
reviewed_requested_text = "#{entry.give} / *#{entry.take}*"
karma_text = "#{entry.karma}"
when 'Best Karma'
reviewed_requested_text = "#{entry.give} / #{entry.take}"
karma_text = "*#{entry.karma}*"
score_field_array.push
title: "Reviewed / Requested",
value: reviewed_requested_text,
short: true
score_field_array.push
title: "Karma Score",
value: karma_text,
short: true
attachments.push
fallback:
"#{full_name}: Reviewed #{entry.give}, Requested #{entry.take}, Karma: #{entry.karma}"
text: "\#*_#{entry.placement}_ #{entry.list}* - *#{full_name}* (@#{entry.user}): "
fields: score_field_array
mrkdwn_in: ["text", "fields"]
color: medal_color
thumb_url: gravatar
sendFancyMessage(@robot, "#{announce_room}", attachments)
# If triggered by monthly cron task, reset the monthly scores
unless (msg)?
@flush_monthly_scores()
module.exports = CodeReviewKarma | 201181 | sendFancyMessage = require './lib/sendFancyMessage'
class CodeReviewKarma
constructor: (@robot) ->
@scores = {}
@monthly_scores = {}
# Note: 'Schedule Monthly Award and Score Reset'
# cron task managed by CodeReviews
@robot.brain.on 'loaded', =>
if @robot.brain.data.code_review_karma
cache = @robot.brain.data.code_review_karma
@scores = cache.scores || {}
@monthly_scores = cache.monthly_scores || {}
# Update Redis store of CR queues and karma scores
# @return none
update_redis: ->
@robot.brain.data.code_review_karma = { scores: @scores, monthly_scores: @monthly_scores }
# Increment user's karma score
# @param string user <NAME> <NAME>
# @param string dir Direction property, 'take' or 'give'
# @param int qty Amount to increment by
# @return none
incr_score: (user, dir, qty = 1) ->
qty -= 0
@scores[user] ||= { give: 0, take: 0 }
@scores[user][dir] += qty
@monthly_scores[user] ||= { give: 0, take: 0 }
@monthly_scores[user][dir] += qty
@update_redis()
# Decrement user's karma score
# @param string user <NAME> <NAME>
# @param string dir Direction property, 'take' or 'give'
# @param int qty Amount to decrement by
# @return none
decr_score: (user, dir, qty = 1) ->
qty -= 0
if @scores[user] and @scores[user][dir]
@scores[user][dir] -= qty
@scores[user][dir] = 0 if @scores[user][dir] < 0
if @monthly_scores[user] and @monthly_scores[user][dir]
@monthly_scores[user][dir] -= qty
@monthly_scores[user][dir] = 0 if @monthly_scores[user][dir] < 0
@update_redis()
# Calculate karm score
# @param int give CRs given
# @param int take CRs taken
# @return int Karma score
karma: (give, take) ->
if take is 0
return give
return Math.round( ( give / take - 1 ) * 100 ) / 100
# Get leaderboard of gives, takes, and karma score
# @return array Array of most CRs given, most CRs taken, best karma score
rankings: ->
gives = takes = karmas = { score: -1, user: 'Nobody' }
for user, scores of @scores
if scores.give > gives.score
gives = { score: scores.give, user: user }
else if scores.give == gives.score
gives.user = gives.user + ', ' + user
if scores.take > takes.score
takes = { score: scores.take, user: user }
else if scores.take == takes.score
takes.user = takes.user + ', ' + user
karma = @karma(scores.give, scores.take)
if karma > karmas.score
karmas = { score: karma, user: user }
else if karma == karmas.score
karmas.user = karmas.user + ', ' + user
[gives, takes, karmas ]
# Get user's score
# @param string user User name
# @return obj Key-value of CRs given and taken
scores_for_user: (user) ->
all_scores = @scores[user] || { give: 0, take: 0 }
month_scores = @monthly_scores[user] || { give: 0, take: 0 }
return {
all_scores,
month_scores
}
# Remove user from scores
# @return bool True if user was found; false if user not found
remove_user: (user) ->
if @scores[user] || @monthly_scores[user]
if @scores[user]
delete @scores[user]
if @monthly_scores[user]
delete @monthly_scores[user]
@update_redis()
return true
return false
# Reset all scores
# @return none
flush_scores: ->
console.log "CodeReviewKarma.flush_scores: resetting all scores..."
@scores = {}
@monthly_scores = {}
@update_redis()
# Reset monthly scores
# @return none
flush_monthly_scores: ->
console.log "CodeReviewKarma.flush_monthly_scores: resetting monthly_scores..."
@monthly_scores = {}
@update_redis()
# Announce top reviewers this month:
# Most reviews (up to three)
# Most requests (up to three)
# Best karma (up to 1)
#
# If called:
# via cron: to HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM (if set)
# Note: cron scheduled from CodeReviews to avoid duplicate schedules
# via msg: to the original room
#
# @return none
monthly_rankings: (msg = null) ->
msg_prefix = ""
attachments = []
if (msg)?
# function start from message (not cron)
msg_prefix = "Here's how things stand this month:"
announce_room = msg.message.room
else if (process.env.HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM)?
# Triggered from cron and HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM set
msg_prefix = "Here's the final code review leaderboard for last month:"
announce_room = "\##{process.env.HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM}"
else
# Triggered from cron, no room set... clear monthly_scores and return
@flush_monthly_scores()
return
reviews_this_month = Object.keys(@monthly_scores).length
if reviews_this_month is 0
attachments.push
fallback: "No code reviews seen this month yet."
text: "No code reviews seen this month yet. :cricket:"
color: "#C0C0C0"
else
attachments.push
fallback: msg_prefix
pretext: msg_prefix
# Top three most reviews given followed by karma
top_3_reviewers = Object.keys(@monthly_scores)
.map((index) =>
return {
user: index,
list: 'Most Reviews',
give: @monthly_scores[index].give,
take: @monthly_scores[index].take,
karma: @karma(@monthly_scores[index].give, @monthly_scores[index].take)
}
).sort((a, b) ->
if b.give is a.give
return b.karma - a.karma
else
return b.give - a.give
).map((winner, rank) ->
return Object.assign({}, winner, { placement: rank + 1 })
).slice(0, 3)
# Top three most reviews requested followed by karma
top_3_requesters = Object.keys(@monthly_scores)
.map((index) =>
return {
user: index,
list: 'Most Requests',
give: @monthly_scores[index].give,
take: @monthly_scores[index].take,
karma: @karma(@monthly_scores[index].give, @monthly_scores[index].take)
}
).sort((a, b) -> # Sort by most reviews given followed by karma
if b.take is a.take
return b.karma - a.karma
else
return b.take - a.take
).map((winner, rank) ->
return Object.assign({}, winner, { placement: rank + 1 })
).slice(0, 3)
# Top three best karma followed by reviews
top_1_karma = Object.keys(@monthly_scores)
.map((index) =>
return {
user: index,
list: 'Best Karma'
give: @monthly_scores[index].give,
take: @monthly_scores[index].take,
karma: @karma(@monthly_scores[index].give, @monthly_scores[index].take)
}
).sort((a, b) -> # Sort by most reviews given followed by karma
if b.karma is a.karma
return b.give - a.give
else
return b.karma - a.karma
).map((winner, rank) ->
return Object.assign({}, winner, { placement: rank + 1 })
).slice(0, 1)
monthly_leaderboard = [top_3_reviewers..., top_3_requesters..., top_1_karma...]
for index of monthly_leaderboard
entry = monthly_leaderboard[index]
switch(entry.placement)
when 1 then medal_color = "#D4AF37" # gold
when 2 then medal_color = "#BCC6CC" # silver
when 3 then medal_color = "#5B391E" # bronze
else medal_color = "#FFFFFF" # white
user_detail = @robot.brain.userForName("#{entry.user}")
if (user_detail)? and (user_detail.slack)? # if slack, add some deeper data
gravatar = user_detail.slack.profile.image_72
full_name = user_detail.slack.real_name
else
full_name = entry.user
score_field_array = []
switch (entry.list)
when 'Most Reviews'
reviewed_requested_text = "*#{entry.give}* / #{entry.take}"
karma_text = "#{entry.karma}"
when 'Most Requests'
reviewed_requested_text = "#{entry.give} / *#{entry.take}*"
karma_text = "#{entry.karma}"
when 'Best Karma'
reviewed_requested_text = "#{entry.give} / #{entry.take}"
karma_text = "*#{entry.karma}*"
score_field_array.push
title: "Reviewed / Requested",
value: reviewed_requested_text,
short: true
score_field_array.push
title: "Karma Score",
value: karma_text,
short: true
attachments.push
fallback:
"#{full_name}: Reviewed #{entry.give}, Requested #{entry.take}, Karma: #{entry.karma}"
text: "\#*_#{entry.placement}_ #{entry.list}* - *#{full_name}* (@#{entry.user}): "
fields: score_field_array
mrkdwn_in: ["text", "fields"]
color: medal_color
thumb_url: gravatar
sendFancyMessage(@robot, "#{announce_room}", attachments)
# If triggered by monthly cron task, reset the monthly scores
unless (msg)?
@flush_monthly_scores()
module.exports = CodeReviewKarma | true | sendFancyMessage = require './lib/sendFancyMessage'
class CodeReviewKarma
constructor: (@robot) ->
@scores = {}
@monthly_scores = {}
# Note: 'Schedule Monthly Award and Score Reset'
# cron task managed by CodeReviews
@robot.brain.on 'loaded', =>
if @robot.brain.data.code_review_karma
cache = @robot.brain.data.code_review_karma
@scores = cache.scores || {}
@monthly_scores = cache.monthly_scores || {}
# Update Redis store of CR queues and karma scores
# @return none
update_redis: ->
@robot.brain.data.code_review_karma = { scores: @scores, monthly_scores: @monthly_scores }
# Increment user's karma score
# @param string user PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI
# @param string dir Direction property, 'take' or 'give'
# @param int qty Amount to increment by
# @return none
incr_score: (user, dir, qty = 1) ->
qty -= 0
@scores[user] ||= { give: 0, take: 0 }
@scores[user][dir] += qty
@monthly_scores[user] ||= { give: 0, take: 0 }
@monthly_scores[user][dir] += qty
@update_redis()
# Decrement user's karma score
# @param string user PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI
# @param string dir Direction property, 'take' or 'give'
# @param int qty Amount to decrement by
# @return none
decr_score: (user, dir, qty = 1) ->
qty -= 0
if @scores[user] and @scores[user][dir]
@scores[user][dir] -= qty
@scores[user][dir] = 0 if @scores[user][dir] < 0
if @monthly_scores[user] and @monthly_scores[user][dir]
@monthly_scores[user][dir] -= qty
@monthly_scores[user][dir] = 0 if @monthly_scores[user][dir] < 0
@update_redis()
# Calculate karm score
# @param int give CRs given
# @param int take CRs taken
# @return int Karma score
karma: (give, take) ->
if take is 0
return give
return Math.round( ( give / take - 1 ) * 100 ) / 100
# Get leaderboard of gives, takes, and karma score
# @return array Array of most CRs given, most CRs taken, best karma score
rankings: ->
gives = takes = karmas = { score: -1, user: 'Nobody' }
for user, scores of @scores
if scores.give > gives.score
gives = { score: scores.give, user: user }
else if scores.give == gives.score
gives.user = gives.user + ', ' + user
if scores.take > takes.score
takes = { score: scores.take, user: user }
else if scores.take == takes.score
takes.user = takes.user + ', ' + user
karma = @karma(scores.give, scores.take)
if karma > karmas.score
karmas = { score: karma, user: user }
else if karma == karmas.score
karmas.user = karmas.user + ', ' + user
[gives, takes, karmas ]
# Get user's score
# @param string user User name
# @return obj Key-value of CRs given and taken
scores_for_user: (user) ->
all_scores = @scores[user] || { give: 0, take: 0 }
month_scores = @monthly_scores[user] || { give: 0, take: 0 }
return {
all_scores,
month_scores
}
# Remove user from scores
# @return bool True if user was found; false if user not found
remove_user: (user) ->
if @scores[user] || @monthly_scores[user]
if @scores[user]
delete @scores[user]
if @monthly_scores[user]
delete @monthly_scores[user]
@update_redis()
return true
return false
# Reset all scores
# @return none
flush_scores: ->
console.log "CodeReviewKarma.flush_scores: resetting all scores..."
@scores = {}
@monthly_scores = {}
@update_redis()
# Reset monthly scores
# @return none
flush_monthly_scores: ->
console.log "CodeReviewKarma.flush_monthly_scores: resetting monthly_scores..."
@monthly_scores = {}
@update_redis()
# Announce top reviewers this month:
# Most reviews (up to three)
# Most requests (up to three)
# Best karma (up to 1)
#
# If called:
# via cron: to HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM (if set)
# Note: cron scheduled from CodeReviews to avoid duplicate schedules
# via msg: to the original room
#
# @return none
monthly_rankings: (msg = null) ->
msg_prefix = ""
attachments = []
if (msg)?
# function start from message (not cron)
msg_prefix = "Here's how things stand this month:"
announce_room = msg.message.room
else if (process.env.HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM)?
# Triggered from cron and HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM set
msg_prefix = "Here's the final code review leaderboard for last month:"
announce_room = "\##{process.env.HUBOT_CODE_REVIEW_KARMA_MONTHLY_AWARD_ROOM}"
else
# Triggered from cron, no room set... clear monthly_scores and return
@flush_monthly_scores()
return
reviews_this_month = Object.keys(@monthly_scores).length
if reviews_this_month is 0
attachments.push
fallback: "No code reviews seen this month yet."
text: "No code reviews seen this month yet. :cricket:"
color: "#C0C0C0"
else
attachments.push
fallback: msg_prefix
pretext: msg_prefix
# Top three most reviews given followed by karma
top_3_reviewers = Object.keys(@monthly_scores)
.map((index) =>
return {
user: index,
list: 'Most Reviews',
give: @monthly_scores[index].give,
take: @monthly_scores[index].take,
karma: @karma(@monthly_scores[index].give, @monthly_scores[index].take)
}
).sort((a, b) ->
if b.give is a.give
return b.karma - a.karma
else
return b.give - a.give
).map((winner, rank) ->
return Object.assign({}, winner, { placement: rank + 1 })
).slice(0, 3)
# Top three most reviews requested followed by karma
top_3_requesters = Object.keys(@monthly_scores)
.map((index) =>
return {
user: index,
list: 'Most Requests',
give: @monthly_scores[index].give,
take: @monthly_scores[index].take,
karma: @karma(@monthly_scores[index].give, @monthly_scores[index].take)
}
).sort((a, b) -> # Sort by most reviews given followed by karma
if b.take is a.take
return b.karma - a.karma
else
return b.take - a.take
).map((winner, rank) ->
return Object.assign({}, winner, { placement: rank + 1 })
).slice(0, 3)
# Top three best karma followed by reviews
top_1_karma = Object.keys(@monthly_scores)
.map((index) =>
return {
user: index,
list: 'Best Karma'
give: @monthly_scores[index].give,
take: @monthly_scores[index].take,
karma: @karma(@monthly_scores[index].give, @monthly_scores[index].take)
}
).sort((a, b) -> # Sort by most reviews given followed by karma
if b.karma is a.karma
return b.give - a.give
else
return b.karma - a.karma
).map((winner, rank) ->
return Object.assign({}, winner, { placement: rank + 1 })
).slice(0, 1)
monthly_leaderboard = [top_3_reviewers..., top_3_requesters..., top_1_karma...]
for index of monthly_leaderboard
entry = monthly_leaderboard[index]
switch(entry.placement)
when 1 then medal_color = "#D4AF37" # gold
when 2 then medal_color = "#BCC6CC" # silver
when 3 then medal_color = "#5B391E" # bronze
else medal_color = "#FFFFFF" # white
user_detail = @robot.brain.userForName("#{entry.user}")
if (user_detail)? and (user_detail.slack)? # if slack, add some deeper data
gravatar = user_detail.slack.profile.image_72
full_name = user_detail.slack.real_name
else
full_name = entry.user
score_field_array = []
switch (entry.list)
when 'Most Reviews'
reviewed_requested_text = "*#{entry.give}* / #{entry.take}"
karma_text = "#{entry.karma}"
when 'Most Requests'
reviewed_requested_text = "#{entry.give} / *#{entry.take}*"
karma_text = "#{entry.karma}"
when 'Best Karma'
reviewed_requested_text = "#{entry.give} / #{entry.take}"
karma_text = "*#{entry.karma}*"
score_field_array.push
title: "Reviewed / Requested",
value: reviewed_requested_text,
short: true
score_field_array.push
title: "Karma Score",
value: karma_text,
short: true
attachments.push
fallback:
"#{full_name}: Reviewed #{entry.give}, Requested #{entry.take}, Karma: #{entry.karma}"
text: "\#*_#{entry.placement}_ #{entry.list}* - *#{full_name}* (@#{entry.user}): "
fields: score_field_array
mrkdwn_in: ["text", "fields"]
color: medal_color
thumb_url: gravatar
sendFancyMessage(@robot, "#{announce_room}", attachments)
# If triggered by monthly cron task, reset the monthly scores
unless (msg)?
@flush_monthly_scores()
module.exports = CodeReviewKarma |
[
{
"context": "lor: do ->\n map = MusicTheory.Synesthesia.map('August Aeppli (1940)')\n offset = MIDI.pianoKeyOffset\n (no",
"end": 1028,
"score": 0.9769460558891296,
"start": 1015,
"tag": "NAME",
"value": "August Aeppli"
}
] | src/coffee/PianoKeyboard.coffee | dineshkummarc/euphony | 1 | # design(specification) of piano key
# based on MIDITrail(http://en.sourceforge.jp/projects/miditrail/)
class PianoKeyboardDesign
KeyType:
WhiteC : 0
WhiteD : 1
WhiteE : 2
WhiteF : 3
WhiteG : 4
WhiteA : 5
WhiteB : 6
Black : 7
whiteKeyStep : 0.236
whiteKeyWidth : 0.226
whiteKeyHeight : 0.22
whiteKeyLength : 1.50
blackKeyWidth : 0.10
blackKeyHeight : 0.32
blackKeyLength : 1.00
blackKeyShiftCDE : 0.0216
blackKeyShiftFGAB : 0.0340
blackKeyPosY : 0.052
blackKeyPosZ : -0.24
noteDropPosZ4WhiteKey : 0.25
noteDropPosZ4BlackKey : 0.75
whiteKeyColor : 0xffffff
blackKeyColor : 0x111111
keyDip : 0.08
keyUpSpeed : 0.03
keyInfo : [] # an array holding each key's type and position
# function to convert a note to the corresponding color(synesthesia)
noteToColor: do ->
map = MusicTheory.Synesthesia.map('August Aeppli (1940)')
offset = MIDI.pianoKeyOffset
(note) ->
return 0x000000 unless map[note - offset]?
parseInt(map[note - offset].hex, 16)
constructor: ->
@keyInfo[i] = {} for i in [0...128]
@_initKeyType()
@_initKeyPos()
_initKeyType: ->
{keyInfo, KeyType} = this
{WhiteC, WhiteD, WhiteE, WhiteF, WhiteG, WhiteA, WhiteB, Black} = KeyType
for i in [0...10]
noteNo = i * 12 # ________
keyInfo[noteNo + 0].keyType = WhiteC # | |C
keyInfo[noteNo + 1].keyType = Black # |----####|
keyInfo[noteNo + 2].keyType = WhiteD # | |D
keyInfo[noteNo + 3].keyType = Black # |----####|
keyInfo[noteNo + 4].keyType = WhiteE # |________|E
keyInfo[noteNo + 5].keyType = WhiteF # | |F
keyInfo[noteNo + 6].keyType = Black # |----####|
keyInfo[noteNo + 7].keyType = WhiteG # | |G
keyInfo[noteNo + 8].keyType = Black # |----####|
keyInfo[noteNo + 9].keyType = WhiteA # | |A
keyInfo[noteNo + 10].keyType = Black # |----####|
keyInfo[noteNo + 11].keyType = WhiteB # |________|B
noteNo = 120 # ________
keyInfo[noteNo + 0].keyType = WhiteC # | |C
keyInfo[noteNo + 1].keyType = Black # |----####|
keyInfo[noteNo + 2].keyType = WhiteD # | |D
keyInfo[noteNo + 3].keyType = Black # |----####|
keyInfo[noteNo + 4].keyType = WhiteE # |________|E
keyInfo[noteNo + 5].keyType = WhiteF # | |F
keyInfo[noteNo + 6].keyType = Black # |----####|
keyInfo[noteNo + 7].keyType = WhiteB # |________|G <= shape is B
_initKeyPos: ->
# save references of instance variables
{KeyType, keyInfo, whiteKeyStep, blackKeyShiftCDE, blackKeyShiftFGAB} = this
{WhiteC, WhiteD, WhiteE, WhiteF, WhiteG, WhiteA, WhiteB, Black} = KeyType
noteNo = 0
prevKeyType = WhiteB
posX = 0.0
shift = 0.0
# position of the first note
keyInfo[noteNo].keyCenterPosX = posX
prevKeyType = keyInfo[noteNo].keyType
# position of the second and subsequent notes
for noteNo in [1...128]
if prevKeyType is Black
if keyInfo[noteNo].keyType is Black
# it's impossible to have two adjacent black keys
else
# place the black key between two white keys
posX += whiteKeyStep / 2.0
else # previous key is white
if keyInfo[noteNo].keyType is Black
posX += whiteKeyStep / 2.0
else
posX += whiteKeyStep
keyInfo[noteNo].keyCenterPosX = posX
prevKeyType = keyInfo[noteNo].keyType
# fix the position of black keys
prevKeyType = WhiteC
for noteNo in [0...128]
if keyInfo[noteNo].keyType is Black
# get shift amount of black key
switch prevKeyType
when WhiteC then shift = -blackKeyShiftCDE
when WhiteD then shift = +blackKeyShiftCDE
when WhiteF then shift = -blackKeyShiftFGAB
when WhiteG then shift = 0.0
when WhiteA then shift = +blackKeyShiftFGAB
else shift = 0.0
# set the center position of last black key
if (noteNo == 126)
shift = 0.0
# fix the position
keyInfo[noteNo].keyCenterPosX += shift
prevKeyType = keyInfo[noteNo].keyType
# model of a single piano key
# usage:
# key = new PianoKey(desing, note)
# # key.model is an instance of THREE.Mesh and can be added into scenes
# key.press()
# key.release()
# setInterval((-> key.update()), 1000 / 60)
class PianoKey
constructor: (design, note) ->
{
blackKeyWidth, blackKeyHeight, blackKeyLength, blackKeyColor,
whiteKeyWidth, whiteKeyHeight, whiteKeyLength, whiteKeyColor,
blackKeyPosY, blackKeyPosZ, keyDip, keyInfo,
noteToColor, keyUpSpeed, KeyType
} = design
{Black} = KeyType
{keyType, keyCenterPosX} = keyInfo[note]
if keyType is Black
geometry = new THREE.CubeGeometry(blackKeyWidth, blackKeyHeight, blackKeyLength)
material = new THREE.MeshPhongMaterial(color: blackKeyColor)
position = new THREE.Vector3(keyCenterPosX, blackKeyPosY, blackKeyPosZ)
else
geometry = new THREE.CubeGeometry(whiteKeyWidth, whiteKeyHeight, whiteKeyLength)
material = new THREE.MeshPhongMaterial(color: whiteKeyColor)
position = new THREE.Vector3(keyCenterPosX, 0, 0)
# create key mesh
@model = new THREE.Mesh(geometry, material)
@model.position.copy(position)
@keyUpSpeed = keyUpSpeed
@originalColor = material.color.getHex()
@pressedColor = noteToColor(note)
# set original and pressed y coordinate
@originalY = position.y
@pressedY = @originalY - keyDip
press: ->
@model.position.y = @pressedY
@model.material.color.setHex(@pressedColor)
@model.material.emissive.setHex(@pressedColor)
@isPressed = true
release: ->
@model.material.color.setHex(@originalColor)
@model.material.emissive.setHex(0x000000)
@isPressed = false
update: ->
if @model.position.y < @originalY and !@isPressed
offset = @originalY - @model.position.y
@model.position.y += Math.min(offset, @keyUpSpeed)
# model of piano keyboard
# usage:
# keyboard = new PianoKeyboard(new PianoKeyboardDesign)
# scene.add(keyboard.model) # scene is an instance of THREE.Scene
# setInterval(keyboard.update, 1000 / 60)
# keyboard.press(30) # press the key of note 30(G1)
# keyboard.release(60) # release the key of note 60(C4)
class PianoKeyboard
constructor: (design, noteToColor) ->
@model = new THREE.Object3D()
@keys = []
# create piano keys
for note in [0...design.keyInfo.length]
key = new PianoKey(design, note)
@keys.push(key)
if 20 < note < 109 # strip to 88 keys
@model.add(key.model)
@model.y -= design.whiteKeyHeight / 2
press: (note) ->
@keys[note].press()
release: (note) ->
@keys[note].release()
update: =>
key.update() for key in @keys
# export to global
@PianoKeyboardDesign = PianoKeyboardDesign
@PianoKeyboard = PianoKeyboard
| 97174 | # design(specification) of piano key
# based on MIDITrail(http://en.sourceforge.jp/projects/miditrail/)
class PianoKeyboardDesign
KeyType:
WhiteC : 0
WhiteD : 1
WhiteE : 2
WhiteF : 3
WhiteG : 4
WhiteA : 5
WhiteB : 6
Black : 7
whiteKeyStep : 0.236
whiteKeyWidth : 0.226
whiteKeyHeight : 0.22
whiteKeyLength : 1.50
blackKeyWidth : 0.10
blackKeyHeight : 0.32
blackKeyLength : 1.00
blackKeyShiftCDE : 0.0216
blackKeyShiftFGAB : 0.0340
blackKeyPosY : 0.052
blackKeyPosZ : -0.24
noteDropPosZ4WhiteKey : 0.25
noteDropPosZ4BlackKey : 0.75
whiteKeyColor : 0xffffff
blackKeyColor : 0x111111
keyDip : 0.08
keyUpSpeed : 0.03
keyInfo : [] # an array holding each key's type and position
# function to convert a note to the corresponding color(synesthesia)
noteToColor: do ->
map = MusicTheory.Synesthesia.map('<NAME> (1940)')
offset = MIDI.pianoKeyOffset
(note) ->
return 0x000000 unless map[note - offset]?
parseInt(map[note - offset].hex, 16)
constructor: ->
@keyInfo[i] = {} for i in [0...128]
@_initKeyType()
@_initKeyPos()
_initKeyType: ->
{keyInfo, KeyType} = this
{WhiteC, WhiteD, WhiteE, WhiteF, WhiteG, WhiteA, WhiteB, Black} = KeyType
for i in [0...10]
noteNo = i * 12 # ________
keyInfo[noteNo + 0].keyType = WhiteC # | |C
keyInfo[noteNo + 1].keyType = Black # |----####|
keyInfo[noteNo + 2].keyType = WhiteD # | |D
keyInfo[noteNo + 3].keyType = Black # |----####|
keyInfo[noteNo + 4].keyType = WhiteE # |________|E
keyInfo[noteNo + 5].keyType = WhiteF # | |F
keyInfo[noteNo + 6].keyType = Black # |----####|
keyInfo[noteNo + 7].keyType = WhiteG # | |G
keyInfo[noteNo + 8].keyType = Black # |----####|
keyInfo[noteNo + 9].keyType = WhiteA # | |A
keyInfo[noteNo + 10].keyType = Black # |----####|
keyInfo[noteNo + 11].keyType = WhiteB # |________|B
noteNo = 120 # ________
keyInfo[noteNo + 0].keyType = WhiteC # | |C
keyInfo[noteNo + 1].keyType = Black # |----####|
keyInfo[noteNo + 2].keyType = WhiteD # | |D
keyInfo[noteNo + 3].keyType = Black # |----####|
keyInfo[noteNo + 4].keyType = WhiteE # |________|E
keyInfo[noteNo + 5].keyType = WhiteF # | |F
keyInfo[noteNo + 6].keyType = Black # |----####|
keyInfo[noteNo + 7].keyType = WhiteB # |________|G <= shape is B
_initKeyPos: ->
# save references of instance variables
{KeyType, keyInfo, whiteKeyStep, blackKeyShiftCDE, blackKeyShiftFGAB} = this
{WhiteC, WhiteD, WhiteE, WhiteF, WhiteG, WhiteA, WhiteB, Black} = KeyType
noteNo = 0
prevKeyType = WhiteB
posX = 0.0
shift = 0.0
# position of the first note
keyInfo[noteNo].keyCenterPosX = posX
prevKeyType = keyInfo[noteNo].keyType
# position of the second and subsequent notes
for noteNo in [1...128]
if prevKeyType is Black
if keyInfo[noteNo].keyType is Black
# it's impossible to have two adjacent black keys
else
# place the black key between two white keys
posX += whiteKeyStep / 2.0
else # previous key is white
if keyInfo[noteNo].keyType is Black
posX += whiteKeyStep / 2.0
else
posX += whiteKeyStep
keyInfo[noteNo].keyCenterPosX = posX
prevKeyType = keyInfo[noteNo].keyType
# fix the position of black keys
prevKeyType = WhiteC
for noteNo in [0...128]
if keyInfo[noteNo].keyType is Black
# get shift amount of black key
switch prevKeyType
when WhiteC then shift = -blackKeyShiftCDE
when WhiteD then shift = +blackKeyShiftCDE
when WhiteF then shift = -blackKeyShiftFGAB
when WhiteG then shift = 0.0
when WhiteA then shift = +blackKeyShiftFGAB
else shift = 0.0
# set the center position of last black key
if (noteNo == 126)
shift = 0.0
# fix the position
keyInfo[noteNo].keyCenterPosX += shift
prevKeyType = keyInfo[noteNo].keyType
# model of a single piano key
# usage:
# key = new PianoKey(desing, note)
# # key.model is an instance of THREE.Mesh and can be added into scenes
# key.press()
# key.release()
# setInterval((-> key.update()), 1000 / 60)
class PianoKey
constructor: (design, note) ->
{
blackKeyWidth, blackKeyHeight, blackKeyLength, blackKeyColor,
whiteKeyWidth, whiteKeyHeight, whiteKeyLength, whiteKeyColor,
blackKeyPosY, blackKeyPosZ, keyDip, keyInfo,
noteToColor, keyUpSpeed, KeyType
} = design
{Black} = KeyType
{keyType, keyCenterPosX} = keyInfo[note]
if keyType is Black
geometry = new THREE.CubeGeometry(blackKeyWidth, blackKeyHeight, blackKeyLength)
material = new THREE.MeshPhongMaterial(color: blackKeyColor)
position = new THREE.Vector3(keyCenterPosX, blackKeyPosY, blackKeyPosZ)
else
geometry = new THREE.CubeGeometry(whiteKeyWidth, whiteKeyHeight, whiteKeyLength)
material = new THREE.MeshPhongMaterial(color: whiteKeyColor)
position = new THREE.Vector3(keyCenterPosX, 0, 0)
# create key mesh
@model = new THREE.Mesh(geometry, material)
@model.position.copy(position)
@keyUpSpeed = keyUpSpeed
@originalColor = material.color.getHex()
@pressedColor = noteToColor(note)
# set original and pressed y coordinate
@originalY = position.y
@pressedY = @originalY - keyDip
press: ->
@model.position.y = @pressedY
@model.material.color.setHex(@pressedColor)
@model.material.emissive.setHex(@pressedColor)
@isPressed = true
release: ->
@model.material.color.setHex(@originalColor)
@model.material.emissive.setHex(0x000000)
@isPressed = false
update: ->
if @model.position.y < @originalY and !@isPressed
offset = @originalY - @model.position.y
@model.position.y += Math.min(offset, @keyUpSpeed)
# model of piano keyboard
# usage:
# keyboard = new PianoKeyboard(new PianoKeyboardDesign)
# scene.add(keyboard.model) # scene is an instance of THREE.Scene
# setInterval(keyboard.update, 1000 / 60)
# keyboard.press(30) # press the key of note 30(G1)
# keyboard.release(60) # release the key of note 60(C4)
class PianoKeyboard
constructor: (design, noteToColor) ->
@model = new THREE.Object3D()
@keys = []
# create piano keys
for note in [0...design.keyInfo.length]
key = new PianoKey(design, note)
@keys.push(key)
if 20 < note < 109 # strip to 88 keys
@model.add(key.model)
@model.y -= design.whiteKeyHeight / 2
press: (note) ->
@keys[note].press()
release: (note) ->
@keys[note].release()
update: =>
key.update() for key in @keys
# export to global
@PianoKeyboardDesign = PianoKeyboardDesign
@PianoKeyboard = PianoKeyboard
| true | # design(specification) of piano key
# based on MIDITrail(http://en.sourceforge.jp/projects/miditrail/)
class PianoKeyboardDesign
KeyType:
WhiteC : 0
WhiteD : 1
WhiteE : 2
WhiteF : 3
WhiteG : 4
WhiteA : 5
WhiteB : 6
Black : 7
whiteKeyStep : 0.236
whiteKeyWidth : 0.226
whiteKeyHeight : 0.22
whiteKeyLength : 1.50
blackKeyWidth : 0.10
blackKeyHeight : 0.32
blackKeyLength : 1.00
blackKeyShiftCDE : 0.0216
blackKeyShiftFGAB : 0.0340
blackKeyPosY : 0.052
blackKeyPosZ : -0.24
noteDropPosZ4WhiteKey : 0.25
noteDropPosZ4BlackKey : 0.75
whiteKeyColor : 0xffffff
blackKeyColor : 0x111111
keyDip : 0.08
keyUpSpeed : 0.03
keyInfo : [] # an array holding each key's type and position
# function to convert a note to the corresponding color(synesthesia)
noteToColor: do ->
map = MusicTheory.Synesthesia.map('PI:NAME:<NAME>END_PI (1940)')
offset = MIDI.pianoKeyOffset
(note) ->
return 0x000000 unless map[note - offset]?
parseInt(map[note - offset].hex, 16)
constructor: ->
@keyInfo[i] = {} for i in [0...128]
@_initKeyType()
@_initKeyPos()
_initKeyType: ->
{keyInfo, KeyType} = this
{WhiteC, WhiteD, WhiteE, WhiteF, WhiteG, WhiteA, WhiteB, Black} = KeyType
for i in [0...10]
noteNo = i * 12 # ________
keyInfo[noteNo + 0].keyType = WhiteC # | |C
keyInfo[noteNo + 1].keyType = Black # |----####|
keyInfo[noteNo + 2].keyType = WhiteD # | |D
keyInfo[noteNo + 3].keyType = Black # |----####|
keyInfo[noteNo + 4].keyType = WhiteE # |________|E
keyInfo[noteNo + 5].keyType = WhiteF # | |F
keyInfo[noteNo + 6].keyType = Black # |----####|
keyInfo[noteNo + 7].keyType = WhiteG # | |G
keyInfo[noteNo + 8].keyType = Black # |----####|
keyInfo[noteNo + 9].keyType = WhiteA # | |A
keyInfo[noteNo + 10].keyType = Black # |----####|
keyInfo[noteNo + 11].keyType = WhiteB # |________|B
noteNo = 120 # ________
keyInfo[noteNo + 0].keyType = WhiteC # | |C
keyInfo[noteNo + 1].keyType = Black # |----####|
keyInfo[noteNo + 2].keyType = WhiteD # | |D
keyInfo[noteNo + 3].keyType = Black # |----####|
keyInfo[noteNo + 4].keyType = WhiteE # |________|E
keyInfo[noteNo + 5].keyType = WhiteF # | |F
keyInfo[noteNo + 6].keyType = Black # |----####|
keyInfo[noteNo + 7].keyType = WhiteB # |________|G <= shape is B
_initKeyPos: ->
# save references of instance variables
{KeyType, keyInfo, whiteKeyStep, blackKeyShiftCDE, blackKeyShiftFGAB} = this
{WhiteC, WhiteD, WhiteE, WhiteF, WhiteG, WhiteA, WhiteB, Black} = KeyType
noteNo = 0
prevKeyType = WhiteB
posX = 0.0
shift = 0.0
# position of the first note
keyInfo[noteNo].keyCenterPosX = posX
prevKeyType = keyInfo[noteNo].keyType
# position of the second and subsequent notes
for noteNo in [1...128]
if prevKeyType is Black
if keyInfo[noteNo].keyType is Black
# it's impossible to have two adjacent black keys
else
# place the black key between two white keys
posX += whiteKeyStep / 2.0
else # previous key is white
if keyInfo[noteNo].keyType is Black
posX += whiteKeyStep / 2.0
else
posX += whiteKeyStep
keyInfo[noteNo].keyCenterPosX = posX
prevKeyType = keyInfo[noteNo].keyType
# fix the position of black keys
prevKeyType = WhiteC
for noteNo in [0...128]
if keyInfo[noteNo].keyType is Black
# get shift amount of black key
switch prevKeyType
when WhiteC then shift = -blackKeyShiftCDE
when WhiteD then shift = +blackKeyShiftCDE
when WhiteF then shift = -blackKeyShiftFGAB
when WhiteG then shift = 0.0
when WhiteA then shift = +blackKeyShiftFGAB
else shift = 0.0
# set the center position of last black key
if (noteNo == 126)
shift = 0.0
# fix the position
keyInfo[noteNo].keyCenterPosX += shift
prevKeyType = keyInfo[noteNo].keyType
# model of a single piano key
# usage:
# key = new PianoKey(desing, note)
# # key.model is an instance of THREE.Mesh and can be added into scenes
# key.press()
# key.release()
# setInterval((-> key.update()), 1000 / 60)
class PianoKey
constructor: (design, note) ->
{
blackKeyWidth, blackKeyHeight, blackKeyLength, blackKeyColor,
whiteKeyWidth, whiteKeyHeight, whiteKeyLength, whiteKeyColor,
blackKeyPosY, blackKeyPosZ, keyDip, keyInfo,
noteToColor, keyUpSpeed, KeyType
} = design
{Black} = KeyType
{keyType, keyCenterPosX} = keyInfo[note]
if keyType is Black
geometry = new THREE.CubeGeometry(blackKeyWidth, blackKeyHeight, blackKeyLength)
material = new THREE.MeshPhongMaterial(color: blackKeyColor)
position = new THREE.Vector3(keyCenterPosX, blackKeyPosY, blackKeyPosZ)
else
geometry = new THREE.CubeGeometry(whiteKeyWidth, whiteKeyHeight, whiteKeyLength)
material = new THREE.MeshPhongMaterial(color: whiteKeyColor)
position = new THREE.Vector3(keyCenterPosX, 0, 0)
# create key mesh
@model = new THREE.Mesh(geometry, material)
@model.position.copy(position)
@keyUpSpeed = keyUpSpeed
@originalColor = material.color.getHex()
@pressedColor = noteToColor(note)
# set original and pressed y coordinate
@originalY = position.y
@pressedY = @originalY - keyDip
press: ->
@model.position.y = @pressedY
@model.material.color.setHex(@pressedColor)
@model.material.emissive.setHex(@pressedColor)
@isPressed = true
release: ->
@model.material.color.setHex(@originalColor)
@model.material.emissive.setHex(0x000000)
@isPressed = false
update: ->
if @model.position.y < @originalY and !@isPressed
offset = @originalY - @model.position.y
@model.position.y += Math.min(offset, @keyUpSpeed)
# model of piano keyboard
# usage:
# keyboard = new PianoKeyboard(new PianoKeyboardDesign)
# scene.add(keyboard.model) # scene is an instance of THREE.Scene
# setInterval(keyboard.update, 1000 / 60)
# keyboard.press(30) # press the key of note 30(G1)
# keyboard.release(60) # release the key of note 60(C4)
class PianoKeyboard
constructor: (design, noteToColor) ->
@model = new THREE.Object3D()
@keys = []
# create piano keys
for note in [0...design.keyInfo.length]
key = new PianoKey(design, note)
@keys.push(key)
if 20 < note < 109 # strip to 88 keys
@model.add(key.model)
@model.y -= design.whiteKeyHeight / 2
press: (note) ->
@keys[note].press()
release: (note) ->
@keys[note].release()
update: =>
key.update() for key in @keys
# export to global
@PianoKeyboardDesign = PianoKeyboardDesign
@PianoKeyboard = PianoKeyboard
|
[
{
"context": " _cls: 'Drug'\n name: 'trastuzumab'\n amount: 2.3\n star",
"end": 2747,
"score": 0.9933953285217285,
"start": 2736,
"tag": "NAME",
"value": "trastuzumab"
},
{
"context": " _cls: 'Drug'\n ... | test/unit/subjectSpec.coffee | ohsu-qin/qiprofile | 0 | define ['ngmocks', 'lodash', 'expect', 'moment', 'subject', 'helpers'],
(ng, _, expect, moment) ->
describe 'Unit Testing the Subject Service', ->
# The mock Subject service module.
Subject = null
# The mock Angular $http service provider.
$httpBackend = null
$rootScope = null
$timeout = null
# The fetched subject
subject = null
# The mock objects.
mock =
subject:
_id: 's1'
project: 'QIN_Test'
collection: 'Breast'
number: 1
birth_date: moment('Aug 21, 1986', 'MMM DD, YYYY').valueOf()
encounters: [
{
_cls: 'Session'
number: 1
acquisition_date: moment('Jul 1, 2013', 'MMM DD, YYYY').valueOf()
detail: 'sd1'
modelings: [
resource: 'pk_01'
protocol: 'mp1'
source:
registration: 'rp1'
result:
delta_k_trans:
name: "path/to/first/delta_k_trans.nii.gz"
average: 2.3
label_map:
name: "path/to/first/delta_k_trans_color.nii.gz"
color_table: "path/to/color_table.txt"
]
}
{
_cls: 'Session'
number: 2
acquisition_date: moment('Aug 1, 2013', 'MMM DD, YYYY').valueOf()
detail: 'sd2'
modelings: [
resource: 'pk_02'
protocol: 'mp1'
source:
registration: 'rp1'
result:
delta_k_trans:
name: "path/to/second/delta_k_trans.nii.gz"
average: 2.4
label_map:
name: "path/to/second/delta_k_trans_color.nii.gz"
color_table: "path/to/color_table.txt"
]
}
{
_cls: 'BreastSurgery'
date: moment('Jul 12, 2013', 'MMM DD, YYYY').valueOf()
pathology:
_cls: 'PathologyReport'
tumors: [
_cls: 'BreastPathology'
tnm:
size:
prefix: 'p'
tumor_size: 3
]
}
]
treatments: [
treatment_type: 'neodjuvant'
start_date: moment('Jun 4, 2013', 'MMM DD, YYYY').valueOf()
end_date: moment('Jul 16, 2013', 'MMM DD, YYYY').valueOf()
dosages: [
{
agent:
_cls: 'Drug'
name: 'trastuzumab'
amount: 2.3
start_date: moment('Jun 4, 2013', 'MMM DD, YYYY').valueOf()
duration: 20
}
{
agent:
_cls: 'Drug'
name: 'pertuzumab'
amount: 4.1
start_date: moment('Jun 16, 2013', 'MMM DD, YYYY').valueOf()
duration: 30
}
]
]
beforeEach ->
# Fake the router service module.
ng.module('qiprofile.subject')
inject [
'Subject', '$httpBackend', '$rootScope', '$timeout',
(_Subject_, _$httpBackend_, _$rootScope_, _timeout_) ->
Subject = _Subject_
$httpBackend = _$httpBackend_
$rootScope = _$rootScope_
$timeout = _timeout_
# The mock subjects http call.
url = encodeURI('/api/subject?where=' +
'{"project":"QIN_Test","collection":"Breast","number":1}')
$httpBackend.whenGET(url)
.respond(JSON.stringify(_items: [mock.subject]))
# The mock subject http call.
url = encodeURI('/api/subject/s1')
$httpBackend.whenGET(url).respond(JSON.stringify(mock.subject))
]
# Fetch the subject.
condition = id: mock.subject._id
Subject.find(condition).then (fetched) ->
subject = fetched
$httpBackend.flush()
afterEach ->
# Note: Angular 1.2.5 and after issue a 'Digest in progress' message
# unless the digest argment is set to false as shown below.
$httpBackend.verifyNoOutstandingExpectation(false)
$httpBackend.verifyNoOutstandingRequest()
describe 'find', ->
it 'should fetch the subject by id', ->
expect(subject, "Subject not fetched").to.exist
it 'should fetch the subject by _id', ->
condition = _id: mock.subject._id
subject = Subject.find(condition)
expect(subject, "Subject not fetched").to.eventually.exist
$httpBackend.flush()
it 'should fetch the subject by secondary key', ->
condition =
project: mock.subject.project
collection: mock.subject.collection
number: mock.subject.number
subject = Subject.find(condition)
expect(subject, "Subject not fetched").to.eventually.exist
$httpBackend.flush()
describe 'Encounters', ->
it 'should have subject encounters', ->
expect(subject.encounters, "Subject is missing encounters")
.to.exist
expect(subject.encounters.length, "Subject encounters" +
" length is incorrect")
.to.equal(3)
describe 'Demographics', ->
# Validate the birth date.
it 'should anonymize the subject birth date', ->
expect(subject.birthDate, "Subject is missing a birth date")
.to.exist
expect(subject.birthDate.valueOf(), "Subject birth date is" +
" incorrect")
.to.equal(moment('Jul 7, 1986', 'MMM DD, YYYY').valueOf())
describe 'Clinical', ->
# Validate the clinical encounters.
it 'should set the clinical encounters', ->
expect(subject.clinicalEncounters,
"Subject is missing clinical encounters")
.to.exist
expect(subject.clinicalEncounters.length,
"Subject clinical encounters length is incorrect")
.to.equal(1)
it 'should set the clinical encounter title', ->
enc = subject.clinicalEncounters[0]
expect(enc.title, "Encounter is missing a title").to.exist
expect(enc.title, "Encounter title is incorrect")
.to.equal('Surgery')
# Validate the treatments.
it 'should extend the subject treatments', ->
expect(subject.treatments, "Subject is missing treatments")
.to.exist
expect(subject.treatments.length, "Subject encounters length" +
" is incorrect").to.equal(1)
trt = subject.treatments[0]
mockTrt = mock.subject.treatments[0]
expect(trt.treatmentType, "Treatment type is missing").to.exist
expect(trt.treatmentType, "Treatment type is incorrect")
.to.equal(mockTrt.treatment_type)
expect(trt.start_date.valueOf(),
"Treatment start date is incorrect")
.to.equal(mockTrt.start_date)
expect(trt.dosages, "Treatment dosages is missing")
.to.exist.and.not.be.empty
expect(trt.dosages.length, "Treatment dosages count is incorrect")
.to.equal(2)
dsg = trt.dosages[0]
mockDsg = mockTrt.dosages[0]
expect(dsg.agent, "Dosage agent is missing").to.exist
expect(dsg.agent.name, "Dosage agent name is missing").to.exist
expect(dsg.start_date.valueOf(), "Treatment dosage start date" +
" is incorrect")
.to.equal(mockDsg.start_date)
expect(dsg.duration, "Treatment dosage duration is incorrect")
.to.equal(mockDsg.duration)
describe 'Session', ->
# Validate the sessions (without detail).
it 'should have a subject session', ->
expect(subject.sessions, "Subject is missing sessions").to.exist
expect(subject.sessions.length, "Subject session count is" +
" incorrect")
.to.equal(2)
it 'should set the subject multiSession flag', ->
expect(subject.isMultiSession(), "Subject multi-session flag" +
" is incorrect")
.to.be.true
| 130415 | define ['ngmocks', 'lodash', 'expect', 'moment', 'subject', 'helpers'],
(ng, _, expect, moment) ->
describe 'Unit Testing the Subject Service', ->
# The mock Subject service module.
Subject = null
# The mock Angular $http service provider.
$httpBackend = null
$rootScope = null
$timeout = null
# The fetched subject
subject = null
# The mock objects.
mock =
subject:
_id: 's1'
project: 'QIN_Test'
collection: 'Breast'
number: 1
birth_date: moment('Aug 21, 1986', 'MMM DD, YYYY').valueOf()
encounters: [
{
_cls: 'Session'
number: 1
acquisition_date: moment('Jul 1, 2013', 'MMM DD, YYYY').valueOf()
detail: 'sd1'
modelings: [
resource: 'pk_01'
protocol: 'mp1'
source:
registration: 'rp1'
result:
delta_k_trans:
name: "path/to/first/delta_k_trans.nii.gz"
average: 2.3
label_map:
name: "path/to/first/delta_k_trans_color.nii.gz"
color_table: "path/to/color_table.txt"
]
}
{
_cls: 'Session'
number: 2
acquisition_date: moment('Aug 1, 2013', 'MMM DD, YYYY').valueOf()
detail: 'sd2'
modelings: [
resource: 'pk_02'
protocol: 'mp1'
source:
registration: 'rp1'
result:
delta_k_trans:
name: "path/to/second/delta_k_trans.nii.gz"
average: 2.4
label_map:
name: "path/to/second/delta_k_trans_color.nii.gz"
color_table: "path/to/color_table.txt"
]
}
{
_cls: 'BreastSurgery'
date: moment('Jul 12, 2013', 'MMM DD, YYYY').valueOf()
pathology:
_cls: 'PathologyReport'
tumors: [
_cls: 'BreastPathology'
tnm:
size:
prefix: 'p'
tumor_size: 3
]
}
]
treatments: [
treatment_type: 'neodjuvant'
start_date: moment('Jun 4, 2013', 'MMM DD, YYYY').valueOf()
end_date: moment('Jul 16, 2013', 'MMM DD, YYYY').valueOf()
dosages: [
{
agent:
_cls: 'Drug'
name: '<NAME>'
amount: 2.3
start_date: moment('Jun 4, 2013', 'MMM DD, YYYY').valueOf()
duration: 20
}
{
agent:
_cls: 'Drug'
name: '<NAME>'
amount: 4.1
start_date: moment('Jun 16, 2013', 'MMM DD, YYYY').valueOf()
duration: 30
}
]
]
beforeEach ->
# Fake the router service module.
ng.module('qiprofile.subject')
inject [
'Subject', '$httpBackend', '$rootScope', '$timeout',
(_Subject_, _$httpBackend_, _$rootScope_, _timeout_) ->
Subject = _Subject_
$httpBackend = _$httpBackend_
$rootScope = _$rootScope_
$timeout = _timeout_
# The mock subjects http call.
url = encodeURI('/api/subject?where=' +
'{"project":"QIN_Test","collection":"Breast","number":1}')
$httpBackend.whenGET(url)
.respond(JSON.stringify(_items: [mock.subject]))
# The mock subject http call.
url = encodeURI('/api/subject/s1')
$httpBackend.whenGET(url).respond(JSON.stringify(mock.subject))
]
# Fetch the subject.
condition = id: mock.subject._id
Subject.find(condition).then (fetched) ->
subject = fetched
$httpBackend.flush()
afterEach ->
# Note: Angular 1.2.5 and after issue a 'Digest in progress' message
# unless the digest argment is set to false as shown below.
$httpBackend.verifyNoOutstandingExpectation(false)
$httpBackend.verifyNoOutstandingRequest()
describe 'find', ->
it 'should fetch the subject by id', ->
expect(subject, "Subject not fetched").to.exist
it 'should fetch the subject by _id', ->
condition = _id: mock.subject._id
subject = Subject.find(condition)
expect(subject, "Subject not fetched").to.eventually.exist
$httpBackend.flush()
it 'should fetch the subject by secondary key', ->
condition =
project: mock.subject.project
collection: mock.subject.collection
number: mock.subject.number
subject = Subject.find(condition)
expect(subject, "Subject not fetched").to.eventually.exist
$httpBackend.flush()
describe 'Encounters', ->
it 'should have subject encounters', ->
expect(subject.encounters, "Subject is missing encounters")
.to.exist
expect(subject.encounters.length, "Subject encounters" +
" length is incorrect")
.to.equal(3)
describe 'Demographics', ->
# Validate the birth date.
it 'should anonymize the subject birth date', ->
expect(subject.birthDate, "Subject is missing a birth date")
.to.exist
expect(subject.birthDate.valueOf(), "Subject birth date is" +
" incorrect")
.to.equal(moment('Jul 7, 1986', 'MMM DD, YYYY').valueOf())
describe 'Clinical', ->
# Validate the clinical encounters.
it 'should set the clinical encounters', ->
expect(subject.clinicalEncounters,
"Subject is missing clinical encounters")
.to.exist
expect(subject.clinicalEncounters.length,
"Subject clinical encounters length is incorrect")
.to.equal(1)
it 'should set the clinical encounter title', ->
enc = subject.clinicalEncounters[0]
expect(enc.title, "Encounter is missing a title").to.exist
expect(enc.title, "Encounter title is incorrect")
.to.equal('Surg<NAME>')
# Validate the treatments.
it 'should extend the subject treatments', ->
expect(subject.treatments, "Subject is missing treatments")
.to.exist
expect(subject.treatments.length, "Subject encounters length" +
" is incorrect").to.equal(1)
trt = subject.treatments[0]
mockTrt = mock.subject.treatments[0]
expect(trt.treatmentType, "Treatment type is missing").to.exist
expect(trt.treatmentType, "Treatment type is incorrect")
.to.equal(mockTrt.treatment_type)
expect(trt.start_date.valueOf(),
"Treatment start date is incorrect")
.to.equal(mockTrt.start_date)
expect(trt.dosages, "Treatment dosages is missing")
.to.exist.and.not.be.empty
expect(trt.dosages.length, "Treatment dosages count is incorrect")
.to.equal(2)
dsg = trt.dosages[0]
mockDsg = mockTrt.dosages[0]
expect(dsg.agent, "Dosage agent is missing").to.exist
expect(dsg.agent.name, "Dosage agent name is missing").to.exist
expect(dsg.start_date.valueOf(), "Treatment dosage start date" +
" is incorrect")
.to.equal(mockDsg.start_date)
expect(dsg.duration, "Treatment dosage duration is incorrect")
.to.equal(mockDsg.duration)
describe 'Session', ->
# Validate the sessions (without detail).
it 'should have a subject session', ->
expect(subject.sessions, "Subject is missing sessions").to.exist
expect(subject.sessions.length, "Subject session count is" +
" incorrect")
.to.equal(2)
it 'should set the subject multiSession flag', ->
expect(subject.isMultiSession(), "Subject multi-session flag" +
" is incorrect")
.to.be.true
| true | define ['ngmocks', 'lodash', 'expect', 'moment', 'subject', 'helpers'],
(ng, _, expect, moment) ->
describe 'Unit Testing the Subject Service', ->
# The mock Subject service module.
Subject = null
# The mock Angular $http service provider.
$httpBackend = null
$rootScope = null
$timeout = null
# The fetched subject
subject = null
# The mock objects.
mock =
subject:
_id: 's1'
project: 'QIN_Test'
collection: 'Breast'
number: 1
birth_date: moment('Aug 21, 1986', 'MMM DD, YYYY').valueOf()
encounters: [
{
_cls: 'Session'
number: 1
acquisition_date: moment('Jul 1, 2013', 'MMM DD, YYYY').valueOf()
detail: 'sd1'
modelings: [
resource: 'pk_01'
protocol: 'mp1'
source:
registration: 'rp1'
result:
delta_k_trans:
name: "path/to/first/delta_k_trans.nii.gz"
average: 2.3
label_map:
name: "path/to/first/delta_k_trans_color.nii.gz"
color_table: "path/to/color_table.txt"
]
}
{
_cls: 'Session'
number: 2
acquisition_date: moment('Aug 1, 2013', 'MMM DD, YYYY').valueOf()
detail: 'sd2'
modelings: [
resource: 'pk_02'
protocol: 'mp1'
source:
registration: 'rp1'
result:
delta_k_trans:
name: "path/to/second/delta_k_trans.nii.gz"
average: 2.4
label_map:
name: "path/to/second/delta_k_trans_color.nii.gz"
color_table: "path/to/color_table.txt"
]
}
{
_cls: 'BreastSurgery'
date: moment('Jul 12, 2013', 'MMM DD, YYYY').valueOf()
pathology:
_cls: 'PathologyReport'
tumors: [
_cls: 'BreastPathology'
tnm:
size:
prefix: 'p'
tumor_size: 3
]
}
]
treatments: [
treatment_type: 'neodjuvant'
start_date: moment('Jun 4, 2013', 'MMM DD, YYYY').valueOf()
end_date: moment('Jul 16, 2013', 'MMM DD, YYYY').valueOf()
dosages: [
{
agent:
_cls: 'Drug'
name: 'PI:NAME:<NAME>END_PI'
amount: 2.3
start_date: moment('Jun 4, 2013', 'MMM DD, YYYY').valueOf()
duration: 20
}
{
agent:
_cls: 'Drug'
name: 'PI:NAME:<NAME>END_PI'
amount: 4.1
start_date: moment('Jun 16, 2013', 'MMM DD, YYYY').valueOf()
duration: 30
}
]
]
beforeEach ->
# Fake the router service module.
ng.module('qiprofile.subject')
inject [
'Subject', '$httpBackend', '$rootScope', '$timeout',
(_Subject_, _$httpBackend_, _$rootScope_, _timeout_) ->
Subject = _Subject_
$httpBackend = _$httpBackend_
$rootScope = _$rootScope_
$timeout = _timeout_
# The mock subjects http call.
url = encodeURI('/api/subject?where=' +
'{"project":"QIN_Test","collection":"Breast","number":1}')
$httpBackend.whenGET(url)
.respond(JSON.stringify(_items: [mock.subject]))
# The mock subject http call.
url = encodeURI('/api/subject/s1')
$httpBackend.whenGET(url).respond(JSON.stringify(mock.subject))
]
# Fetch the subject.
condition = id: mock.subject._id
Subject.find(condition).then (fetched) ->
subject = fetched
$httpBackend.flush()
afterEach ->
# Note: Angular 1.2.5 and after issue a 'Digest in progress' message
# unless the digest argment is set to false as shown below.
$httpBackend.verifyNoOutstandingExpectation(false)
$httpBackend.verifyNoOutstandingRequest()
describe 'find', ->
it 'should fetch the subject by id', ->
expect(subject, "Subject not fetched").to.exist
it 'should fetch the subject by _id', ->
condition = _id: mock.subject._id
subject = Subject.find(condition)
expect(subject, "Subject not fetched").to.eventually.exist
$httpBackend.flush()
it 'should fetch the subject by secondary key', ->
condition =
project: mock.subject.project
collection: mock.subject.collection
number: mock.subject.number
subject = Subject.find(condition)
expect(subject, "Subject not fetched").to.eventually.exist
$httpBackend.flush()
describe 'Encounters', ->
it 'should have subject encounters', ->
expect(subject.encounters, "Subject is missing encounters")
.to.exist
expect(subject.encounters.length, "Subject encounters" +
" length is incorrect")
.to.equal(3)
describe 'Demographics', ->
# Validate the birth date.
it 'should anonymize the subject birth date', ->
expect(subject.birthDate, "Subject is missing a birth date")
.to.exist
expect(subject.birthDate.valueOf(), "Subject birth date is" +
" incorrect")
.to.equal(moment('Jul 7, 1986', 'MMM DD, YYYY').valueOf())
describe 'Clinical', ->
# Validate the clinical encounters.
it 'should set the clinical encounters', ->
expect(subject.clinicalEncounters,
"Subject is missing clinical encounters")
.to.exist
expect(subject.clinicalEncounters.length,
"Subject clinical encounters length is incorrect")
.to.equal(1)
it 'should set the clinical encounter title', ->
enc = subject.clinicalEncounters[0]
expect(enc.title, "Encounter is missing a title").to.exist
expect(enc.title, "Encounter title is incorrect")
.to.equal('SurgPI:NAME:<NAME>END_PI')
# Validate the treatments.
it 'should extend the subject treatments', ->
expect(subject.treatments, "Subject is missing treatments")
.to.exist
expect(subject.treatments.length, "Subject encounters length" +
" is incorrect").to.equal(1)
trt = subject.treatments[0]
mockTrt = mock.subject.treatments[0]
expect(trt.treatmentType, "Treatment type is missing").to.exist
expect(trt.treatmentType, "Treatment type is incorrect")
.to.equal(mockTrt.treatment_type)
expect(trt.start_date.valueOf(),
"Treatment start date is incorrect")
.to.equal(mockTrt.start_date)
expect(trt.dosages, "Treatment dosages is missing")
.to.exist.and.not.be.empty
expect(trt.dosages.length, "Treatment dosages count is incorrect")
.to.equal(2)
dsg = trt.dosages[0]
mockDsg = mockTrt.dosages[0]
expect(dsg.agent, "Dosage agent is missing").to.exist
expect(dsg.agent.name, "Dosage agent name is missing").to.exist
expect(dsg.start_date.valueOf(), "Treatment dosage start date" +
" is incorrect")
.to.equal(mockDsg.start_date)
expect(dsg.duration, "Treatment dosage duration is incorrect")
.to.equal(mockDsg.duration)
describe 'Session', ->
# Validate the sessions (without detail).
it 'should have a subject session', ->
expect(subject.sessions, "Subject is missing sessions").to.exist
expect(subject.sessions.length, "Subject session count is" +
" incorrect")
.to.equal(2)
it 'should set the subject multiSession flag', ->
expect(subject.isMultiSession(), "Subject multi-session flag" +
" is incorrect")
.to.be.true
|
[
{
"context": "#Language: German\n#Translators: softwarerero, robhunt3r, sclausen, sarasate\n\nde =\n\n t9Name: '",
"end": 44,
"score": 0.999343991279602,
"start": 32,
"tag": "USERNAME",
"value": "softwarerero"
},
{
"context": "#Language: German\n#Translators: softwarerero, robhunt3r... | t9n/de.coffee | coWorkr-InSights/meteor-accounts-t9n | 0 | #Language: German
#Translators: softwarerero, robhunt3r, sclausen, sarasate
de =
t9Name: 'Deutsch'
add: "hinzufügen"
and: "und"
back: "zurück"
changePassword: "Passwort ändern"
choosePassword: "Passwort auswählen"
clickAgree: "Die Registrierung impliziert die Akzeptanz unserer"
configure: "Konfigurieren"
createAccount: "Konto erstellen"
currentPassword: "Aktuelles Passwort"
dontHaveAnAccount: "Noch kein Konto?"
email: "E-Mail"
emailAddress: "E-Mail Adresse"
emailResetLink: "Senden"
forgotPassword: "Passwort vergessen?"
ifYouAlreadyHaveAnAccount: "Falls bereits ein Konto existiert, bitte hier"
newPassword: "Neues Passwort"
newPasswordAgain: "Neues Passwort (wiederholen)"
optional: "Optional"
OR: "ODER"
password: "Passwort"
passwordAgain: "Passwort (wiederholen)"
privacyPolicy: "Datenschutzerklärung"
remove: "entfernen"
resetYourPassword: "Passwort zurücksetzen"
setPassword: "Passwort festlegen"
sign: "Anmelden"
signIn: "Anmelden"
signin: "anmelden"
signOut: "Abmelden"
signUp: "Registrieren"
signupCode: "Registrierungscode"
signUpWithYourEmailAddress: "Mit E-Mail registrieren"
terms: "Geschäftsbedingungen"
updateYourPassword: "Passwort aktualisieren"
username: "Benutzername"
usernameOrEmail: "Benutzername oder E-Mail"
with: "mit"
"Verification email lost?" : "Verifizierungsemail verloren?"
"Send again" : "Erneut senden"
"Send the verification email again" : "Verifizierungsemail erneut senden"
"Send email again" : "Email erneut senden"
"A new email has been sent to you. If the email doesn't show up in your inbox, be sure to check your spam folder." : "Eine neue Email wurde verschickt. Sollte sich die Email nicht im Posteingang befinden, empfiehlt es sich, den Spamordner zu überprüfen."
"Required Field": "Feld benötigt"
info:
emailSent: "E-Mail gesendet"
emailVerified: "E-Mail verifiziert"
PasswordChanged: "Passwort geändert"
PasswordReset: "Passwort zurückgesetzt"
error:
emailRequired: "E-Mail benötigt."
minChar: "Passwort muss mindestens 7 Zeichen lang sein."
pwdsDontMatch: "Passwörter stimmen nicht überein."
pwOneDigit: "Passwort muss mindestens eine Ziffer enthalten."
pwOneLetter: "Passwort muss mindestens einen Buchstaben enthalten."
signInRequired: "Eine Anmeldung ist erforderlich."
signupCodeIncorrect: "Registrierungscode ungültig."
signupCodeRequired: "Registrierungscode benötigt."
usernameIsEmail: "Benutzername darf keine E-Mail Adresse sein."
usernameRequired: "Benutzername benötigt."
accounts:
#---- accounts-base
#"@" + domain + " email required":
#"A login handler should return a result or undefined":
"Email already exists.": "Die E-Mail Adresse wird bereits verwendet."
"Email doesn't match the criteria.": "E-Mail Adresse erfüllt die Anforderungen nicht."
"Invalid login token": "Ungültiger Login-Token"
"Login forbidden": "Anmeldedaten ungültig"
#"Service " + options.service + " already configured":
"Service unknown": "Dienst unbekannt"
"Unrecognized options for login request": "Unbekannte Optionen für Login Request"
"User validation failed": "Die Benutzerdaten sind nicht korrekt"
"Username already exists.": "Der Benutzer existiert bereits."
"You are not logged in.": "Eine Anmeldung ist erforderlich."
"You've been logged out by the server. Please log in again.": "Die Sitzung ist abgelaufen, eine neue Anmeldung ist nötig."
"Your session has expired. Please log in again.": "Die Sitzung ist abgelaufen, eine neue Anmeldung ist nötig."
#---- accounts-oauth
"No matching login attempt found": "Kein passender Loginversuch gefunden."
#---- accounts-password-client
"Password is old. Please reset your password.": "Das Passwort ist abgelaufen, ein Zurücksetzen ist erforderlich."
#---- accounts-password
"Incorrect password": "Falsches Passwort"
"Invalid email": "Ungültige E-Mail Adresse"
"Must be logged in": "Eine Anmeldung ist erforderlich"
"Need to set a username or email": "Benutzername oder E-Mail Adresse müssen angegeben werden"
#> "old password format":
"Password may not be empty": "Das Passwort darf nicht leer sein"
"Signups forbidden": "Anmeldungen sind nicht erlaubt"
"Token expired": "Token ist abgelaufen"
"Token has invalid email address": "E-Mail Adresse passt nicht zum Token"
"User has no password set": "Kein Passwort für den Benutzer angegeben"
"User not found": "Benutzer nicht gefunden"
"Verify email link expired": "Link zur E-Mail Verifizierung ist abgelaufen"
"Verify email link is for unknown address": "Link zur Verifizierung ist für eine unbekannte E-Mail Adresse"
"Already verified" : "Diese E-Mail-Adresse ist bereits verifiziert"
#---- match
"Match failed": "Abgleich fehlgeschlagen"
#---- Misc...
"Unknown error": "Unbekannter Fehler"
T9n?.map "de", de
module?.exports = de
| 119630 | #Language: German
#Translators: softwarerero, robhunt3r, sclausen, sarasate
de =
t9Name: 'Deutsch'
add: "hinzufügen"
and: "und"
back: "zurück"
changePassword: "<PASSWORD>"
choosePassword: "<PASSWORD>"
clickAgree: "Die Registrierung impliziert die Akzeptanz unserer"
configure: "Konfigurieren"
createAccount: "Konto erstellen"
currentPassword: "<PASSWORD>"
dontHaveAnAccount: "Noch kein Konto?"
email: "E-Mail"
emailAddress: "E-Mail Adresse"
emailResetLink: "Senden"
forgotPassword: "<PASSWORD>?"
ifYouAlreadyHaveAnAccount: "Falls bereits ein Konto existiert, bitte hier"
newPassword: "<PASSWORD>"
newPasswordAgain: "<PASSWORD> (wiederholen)"
optional: "Optional"
OR: "ODER"
password: "<PASSWORD>"
passwordAgain: "<PASSWORD> (w<PASSWORD>)"
privacyPolicy: "Datenschutzerklärung"
remove: "entfernen"
resetYourPassword: "<PASSWORD>"
setPassword: "<PASSWORD>"
sign: "Anmelden"
signIn: "Anmelden"
signin: "anmelden"
signOut: "Abmelden"
signUp: "Registrieren"
signupCode: "Registrierungscode"
signUpWithYourEmailAddress: "Mit E-Mail registrieren"
terms: "Geschäftsbedingungen"
updateYourPassword: "<PASSWORD>"
username: "Benutzername"
usernameOrEmail: "Benutzername oder E-Mail"
with: "mit"
"Verification email lost?" : "Verifizierungsemail verloren?"
"Send again" : "Erneut senden"
"Send the verification email again" : "Verifizierungsemail erneut senden"
"Send email again" : "Email erneut senden"
"A new email has been sent to you. If the email doesn't show up in your inbox, be sure to check your spam folder." : "Eine neue Email wurde verschickt. Sollte sich die Email nicht im Posteingang befinden, empfiehlt es sich, den Spamordner zu überprüfen."
"Required Field": "Feld benötigt"
info:
emailSent: "E-Mail gesendet"
emailVerified: "E-Mail verifiziert"
PasswordChanged: "<PASSWORD>"
PasswordReset: "<PASSWORD>"
error:
emailRequired: "E-Mail benötigt."
minChar: "Passwort muss mindestens 7 Zeichen lang sein."
pwdsDontMatch: "Passwörter stimmen nicht überein."
pwOneDigit: "Passwort muss mindestens eine Ziffer enthalten."
pwOneLetter: "Passwort muss mindestens einen Buchstaben enthalten."
signInRequired: "Eine Anmeldung ist erforderlich."
signupCodeIncorrect: "Registrierungscode ungültig."
signupCodeRequired: "Registrierungscode benötigt."
usernameIsEmail: "<NAME> darf keine E-Mail Adresse sein."
usernameRequired: "<NAME> benötigt."
accounts:
#---- accounts-base
#"@" + domain + " email required":
#"A login handler should return a result or undefined":
"Email already exists.": "Die E-Mail Adresse wird bereits verwendet."
"Email doesn't match the criteria.": "E-Mail Adresse erfüllt die Anforderungen nicht."
"Invalid login token": "Ungültiger Login-Token"
"Login forbidden": "Anmeldedaten ungültig"
#"Service " + options.service + " already configured":
"Service unknown": "Dienst unbekannt"
"Unrecognized options for login request": "Unbekannte Optionen für Login Request"
"User validation failed": "Die Benutzerdaten sind nicht korrekt"
"Username already exists.": "Der Benutzer existiert bereits."
"You are not logged in.": "Eine Anmeldung ist erforderlich."
"You've been logged out by the server. Please log in again.": "Die Sitzung ist abgelaufen, eine neue Anmeldung ist nötig."
"Your session has expired. Please log in again.": "Die Sitzung ist abgelaufen, eine neue Anmeldung ist nötig."
#---- accounts-oauth
"No matching login attempt found": "Kein passender Loginversuch gefunden."
#---- accounts-password-client
"Password is old. Please reset your password.": "Das Passwort ist abgelaufen, ein Zurücksetzen ist erforderlich."
#---- accounts-password
"Incorrect password": "<PASSWORD>"
"Invalid email": "Ungültige E-Mail Adresse"
"Must be logged in": "Eine Anmeldung ist erforderlich"
"Need to set a username or email": "Benutzername oder E-Mail Adresse müssen angegeben werden"
#> "old password format":
"Password may not be empty": "Das Passwort darf nicht leer sein"
"Signups forbidden": "Anmeldungen sind nicht erlaubt"
"Token expired": "Token ist abgelaufen"
"Token has invalid email address": "E-Mail Adresse passt nicht zum Token"
"User has no password set": "Kein Passwort für den Benutzer angegeben"
"User not found": "Benutzer nicht gefunden"
"Verify email link expired": "Link zur E-Mail Verifizierung ist abgelaufen"
"Verify email link is for unknown address": "Link zur Verifizierung ist für eine unbekannte E-Mail Adresse"
"Already verified" : "Diese E-Mail-Adresse ist bereits verifiziert"
#---- match
"Match failed": "Abgleich fehlgeschlagen"
#---- Misc...
"Unknown error": "Unbekannter Fehler"
T9n?.map "de", de
module?.exports = de
| true | #Language: German
#Translators: softwarerero, robhunt3r, sclausen, sarasate
de =
t9Name: 'Deutsch'
add: "hinzufügen"
and: "und"
back: "zurück"
changePassword: "PI:PASSWORD:<PASSWORD>END_PI"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "Die Registrierung impliziert die Akzeptanz unserer"
configure: "Konfigurieren"
createAccount: "Konto erstellen"
currentPassword: "PI:PASSWORD:<PASSWORD>END_PI"
dontHaveAnAccount: "Noch kein Konto?"
email: "E-Mail"
emailAddress: "E-Mail Adresse"
emailResetLink: "Senden"
forgotPassword: "PI:PASSWORD:<PASSWORD>END_PI?"
ifYouAlreadyHaveAnAccount: "Falls bereits ein Konto existiert, bitte hier"
newPassword: "PI:PASSWORD:<PASSWORD>END_PI"
newPasswordAgain: "PI:PASSWORD:<PASSWORD>END_PI (wiederholen)"
optional: "Optional"
OR: "ODER"
password: "PI:PASSWORD:<PASSWORD>END_PI"
passwordAgain: "PI:PASSWORD:<PASSWORD>END_PI (wPI:PASSWORD:<PASSWORD>END_PI)"
privacyPolicy: "Datenschutzerklärung"
remove: "entfernen"
resetYourPassword: "PI:PASSWORD:<PASSWORD>END_PI"
setPassword: "PI:PASSWORD:<PASSWORD>END_PI"
sign: "Anmelden"
signIn: "Anmelden"
signin: "anmelden"
signOut: "Abmelden"
signUp: "Registrieren"
signupCode: "Registrierungscode"
signUpWithYourEmailAddress: "Mit E-Mail registrieren"
terms: "Geschäftsbedingungen"
updateYourPassword: "PI:PASSWORD:<PASSWORD>END_PI"
username: "Benutzername"
usernameOrEmail: "Benutzername oder E-Mail"
with: "mit"
"Verification email lost?" : "Verifizierungsemail verloren?"
"Send again" : "Erneut senden"
"Send the verification email again" : "Verifizierungsemail erneut senden"
"Send email again" : "Email erneut senden"
"A new email has been sent to you. If the email doesn't show up in your inbox, be sure to check your spam folder." : "Eine neue Email wurde verschickt. Sollte sich die Email nicht im Posteingang befinden, empfiehlt es sich, den Spamordner zu überprüfen."
"Required Field": "Feld benötigt"
info:
emailSent: "E-Mail gesendet"
emailVerified: "E-Mail verifiziert"
PasswordChanged: "PI:PASSWORD:<PASSWORD>END_PI"
PasswordReset: "PI:PASSWORD:<PASSWORD>END_PI"
error:
emailRequired: "E-Mail benötigt."
minChar: "Passwort muss mindestens 7 Zeichen lang sein."
pwdsDontMatch: "Passwörter stimmen nicht überein."
pwOneDigit: "Passwort muss mindestens eine Ziffer enthalten."
pwOneLetter: "Passwort muss mindestens einen Buchstaben enthalten."
signInRequired: "Eine Anmeldung ist erforderlich."
signupCodeIncorrect: "Registrierungscode ungültig."
signupCodeRequired: "Registrierungscode benötigt."
usernameIsEmail: "PI:NAME:<NAME>END_PI darf keine E-Mail Adresse sein."
usernameRequired: "PI:NAME:<NAME>END_PI benötigt."
accounts:
#---- accounts-base
#"@" + domain + " email required":
#"A login handler should return a result or undefined":
"Email already exists.": "Die E-Mail Adresse wird bereits verwendet."
"Email doesn't match the criteria.": "E-Mail Adresse erfüllt die Anforderungen nicht."
"Invalid login token": "Ungültiger Login-Token"
"Login forbidden": "Anmeldedaten ungültig"
#"Service " + options.service + " already configured":
"Service unknown": "Dienst unbekannt"
"Unrecognized options for login request": "Unbekannte Optionen für Login Request"
"User validation failed": "Die Benutzerdaten sind nicht korrekt"
"Username already exists.": "Der Benutzer existiert bereits."
"You are not logged in.": "Eine Anmeldung ist erforderlich."
"You've been logged out by the server. Please log in again.": "Die Sitzung ist abgelaufen, eine neue Anmeldung ist nötig."
"Your session has expired. Please log in again.": "Die Sitzung ist abgelaufen, eine neue Anmeldung ist nötig."
#---- accounts-oauth
"No matching login attempt found": "Kein passender Loginversuch gefunden."
#---- accounts-password-client
"Password is old. Please reset your password.": "Das Passwort ist abgelaufen, ein Zurücksetzen ist erforderlich."
#---- accounts-password
"Incorrect password": "PI:PASSWORD:<PASSWORD>END_PI"
"Invalid email": "Ungültige E-Mail Adresse"
"Must be logged in": "Eine Anmeldung ist erforderlich"
"Need to set a username or email": "Benutzername oder E-Mail Adresse müssen angegeben werden"
#> "old password format":
"Password may not be empty": "Das Passwort darf nicht leer sein"
"Signups forbidden": "Anmeldungen sind nicht erlaubt"
"Token expired": "Token ist abgelaufen"
"Token has invalid email address": "E-Mail Adresse passt nicht zum Token"
"User has no password set": "Kein Passwort für den Benutzer angegeben"
"User not found": "Benutzer nicht gefunden"
"Verify email link expired": "Link zur E-Mail Verifizierung ist abgelaufen"
"Verify email link is for unknown address": "Link zur Verifizierung ist für eine unbekannte E-Mail Adresse"
"Already verified" : "Diese E-Mail-Adresse ist bereits verifiziert"
#---- match
"Match failed": "Abgleich fehlgeschlagen"
#---- Misc...
"Unknown error": "Unbekannter Fehler"
T9n?.map "de", de
module?.exports = de
|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988146424293518,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-cluster-fork-env.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject to the
# following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
# NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
# USE OR OTHER DEALINGS IN THE SOFTWARE.
common = require("../common")
assert = require("assert")
cluster = require("cluster")
if cluster.isWorker
cluster.worker.send
prop: process.env["cluster_test_prop"]
overwrite: process.env["cluster_test_overwrite"]
else if cluster.isMaster
checks =
using: false
overwrite: false
# To check that the cluster extend on the process.env we will overwrite a
# property
process.env["cluster_test_overwrite"] = "old"
# Fork worker
worker = cluster.fork(
cluster_test_prop: "custom"
cluster_test_overwrite: "new"
)
# Checks worker env
worker.on "message", (data) ->
checks.using = (data.prop is "custom")
checks.overwrite = (data.overwrite is "new")
process.exit 0
return
process.once "exit", ->
assert.ok checks.using, "The worker did not receive the correct env."
assert.ok checks.overwrite, "The custom environment did not overwrite " + "the existing environment."
return
| 105977 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject to the
# following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
# NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
# USE OR OTHER DEALINGS IN THE SOFTWARE.
common = require("../common")
assert = require("assert")
cluster = require("cluster")
if cluster.isWorker
cluster.worker.send
prop: process.env["cluster_test_prop"]
overwrite: process.env["cluster_test_overwrite"]
else if cluster.isMaster
checks =
using: false
overwrite: false
# To check that the cluster extend on the process.env we will overwrite a
# property
process.env["cluster_test_overwrite"] = "old"
# Fork worker
worker = cluster.fork(
cluster_test_prop: "custom"
cluster_test_overwrite: "new"
)
# Checks worker env
worker.on "message", (data) ->
checks.using = (data.prop is "custom")
checks.overwrite = (data.overwrite is "new")
process.exit 0
return
process.once "exit", ->
assert.ok checks.using, "The worker did not receive the correct env."
assert.ok checks.overwrite, "The custom environment did not overwrite " + "the existing environment."
return
| true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject to the
# following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
# NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
# USE OR OTHER DEALINGS IN THE SOFTWARE.
common = require("../common")
assert = require("assert")
cluster = require("cluster")
if cluster.isWorker
cluster.worker.send
prop: process.env["cluster_test_prop"]
overwrite: process.env["cluster_test_overwrite"]
else if cluster.isMaster
checks =
using: false
overwrite: false
# To check that the cluster extend on the process.env we will overwrite a
# property
process.env["cluster_test_overwrite"] = "old"
# Fork worker
worker = cluster.fork(
cluster_test_prop: "custom"
cluster_test_overwrite: "new"
)
# Checks worker env
worker.on "message", (data) ->
checks.using = (data.prop is "custom")
checks.overwrite = (data.overwrite is "new")
process.exit 0
return
process.once "exit", ->
assert.ok checks.using, "The worker did not receive the correct env."
assert.ok checks.overwrite, "The custom environment did not overwrite " + "the existing environment."
return
|
[
{
"context": "dvanced#\")\n{valid} = validator.validate\n login: \"automatthew\"\n email: \"automatthew@mailinator.com\"\n\nconsole.l",
"end": 518,
"score": 0.9996981620788574,
"start": 507,
"tag": "USERNAME",
"value": "automatthew"
},
{
"context": "lidator.validate\n login: \"aut... | examples/draft4/advanced.coffee | pandastrike/jsck | 176 | JSCK = require("../../src/index")
# using a schema that declares a URI with "id"
jsck = new JSCK.draft4
$schema: "http://json-schema.org/draft-04/schema#"
id: "urn:jsck.examples.advanced#"
definitions:
user:
type: "object"
required: ["login"]
properties:
login:
type: "string"
pattern: "^[\\w\\d_]{3,32}$"
email:
type: "string"
validator = jsck.validator(uri: "urn:jsck.examples.advanced#")
{valid} = validator.validate
login: "automatthew"
email: "automatthew@mailinator.com"
console.log "Schema with id:", valid
# validating against a subschema using a JSON Pointer
validator = jsck.validator "urn:jsck.examples.advanced#/definitions/user"
{valid} = validator.validate
login: "automatthew"
email: "automatthew@mailinator.com"
console.log "Schema identified by JSON Pointer:", valid
# Adding multiple schemas
#
# You can instantiate JSCK with multiple schemas or add them later
#
# Instantiation:
# validator = new JSCK(schema1, schema2, schema3)
jsck.add
id: "urn:jsck.examples.user_list#"
type: "array"
items: {$ref: "urn:jsck.examples.advanced#/definitions/user"}
validator = jsck.validator "urn:jsck.examples.user_list#"
{valid} = validator.validate [
{ login: "dyoder" }
{ login: "automatthew" }
]
console.log "Multiple schemas:", valid
| 121937 | JSCK = require("../../src/index")
# using a schema that declares a URI with "id"
jsck = new JSCK.draft4
$schema: "http://json-schema.org/draft-04/schema#"
id: "urn:jsck.examples.advanced#"
definitions:
user:
type: "object"
required: ["login"]
properties:
login:
type: "string"
pattern: "^[\\w\\d_]{3,32}$"
email:
type: "string"
validator = jsck.validator(uri: "urn:jsck.examples.advanced#")
{valid} = validator.validate
login: "automatthew"
email: "<EMAIL>"
console.log "Schema with id:", valid
# validating against a subschema using a JSON Pointer
validator = jsck.validator "urn:jsck.examples.advanced#/definitions/user"
{valid} = validator.validate
login: "automatthew"
email: "<EMAIL>"
console.log "Schema identified by JSON Pointer:", valid
# Adding multiple schemas
#
# You can instantiate JSCK with multiple schemas or add them later
#
# Instantiation:
# validator = new JSCK(schema1, schema2, schema3)
jsck.add
id: "urn:jsck.examples.user_list#"
type: "array"
items: {$ref: "urn:jsck.examples.advanced#/definitions/user"}
validator = jsck.validator "urn:jsck.examples.user_list#"
{valid} = validator.validate [
{ login: "dyoder" }
{ login: "automatthew" }
]
console.log "Multiple schemas:", valid
| true | JSCK = require("../../src/index")
# using a schema that declares a URI with "id"
jsck = new JSCK.draft4
$schema: "http://json-schema.org/draft-04/schema#"
id: "urn:jsck.examples.advanced#"
definitions:
user:
type: "object"
required: ["login"]
properties:
login:
type: "string"
pattern: "^[\\w\\d_]{3,32}$"
email:
type: "string"
validator = jsck.validator(uri: "urn:jsck.examples.advanced#")
{valid} = validator.validate
login: "automatthew"
email: "PI:EMAIL:<EMAIL>END_PI"
console.log "Schema with id:", valid
# validating against a subschema using a JSON Pointer
validator = jsck.validator "urn:jsck.examples.advanced#/definitions/user"
{valid} = validator.validate
login: "automatthew"
email: "PI:EMAIL:<EMAIL>END_PI"
console.log "Schema identified by JSON Pointer:", valid
# Adding multiple schemas
#
# You can instantiate JSCK with multiple schemas or add them later
#
# Instantiation:
# validator = new JSCK(schema1, schema2, schema3)
jsck.add
id: "urn:jsck.examples.user_list#"
type: "array"
items: {$ref: "urn:jsck.examples.advanced#/definitions/user"}
validator = jsck.validator "urn:jsck.examples.user_list#"
{valid} = validator.validate [
{ login: "dyoder" }
{ login: "automatthew" }
]
console.log "Multiple schemas:", valid
|
[
{
"context": "memory'\n sessions:\n store: 'memory'\n key: 'sid'\n expiry: 14 * 24 * 60 * 60\n\nmodule.exports = ",
"end": 146,
"score": 0.9972710609436035,
"start": 143,
"tag": "KEY",
"value": "sid"
}
] | examples/todo_app_coffee/config/development.coffee | ILUMY/geddy | 0 | config =
detailedErrors: false
hostname: null
port: 4000
model:
defaultAdapter: 'memory'
sessions:
store: 'memory'
key: 'sid'
expiry: 14 * 24 * 60 * 60
module.exports = config | 191918 | config =
detailedErrors: false
hostname: null
port: 4000
model:
defaultAdapter: 'memory'
sessions:
store: 'memory'
key: '<KEY>'
expiry: 14 * 24 * 60 * 60
module.exports = config | true | config =
detailedErrors: false
hostname: null
port: 4000
model:
defaultAdapter: 'memory'
sessions:
store: 'memory'
key: 'PI:KEY:<KEY>END_PI'
expiry: 14 * 24 * 60 * 60
module.exports = config |
[
{
"context": " unit = @get('OBSERV_UNIT')\n key = 'OBSERV'\n else\n expected = @get(popCrit)\n ",
"end": 3815,
"score": 0.9980760216712952,
"start": 3809,
"tag": "KEY",
"value": "OBSERV"
},
{
"context": " actual = result.get(popCrit)\n key =... | app/assets/javascripts/models/expected_value.js.coffee | projectcypress/bonnie | 33 | class Thorax.Models.ExpectedValue extends Thorax.Model
initialize: ->
# make 'OBSERV' be an empty list if CV measure and 'OBSERV' not set
if @has('MSRPOPL') && !@has('OBSERV')
@set 'OBSERV', []
# sort OBSERV when it is set to make comparison w actuals easier
if @has 'OBSERV' and Array.isArray(@get('OBSERV'))
@set 'OBSERV', @get('OBSERV').sort()
@on 'change', @changeExpectedValue, this
changeExpectedValue: (expectedValue) ->
mongooseExpectedValue = (@collection.parent.get('cqmPatient').expectedValues.filter (val) -> val.population_index is expectedValue.get('population_index') && val.measure_id is expectedValue.get('measure_id'))[0]
if !mongooseExpectedValue
@collection.parent.get('cqmPatient').expectedValues.push({population_index: expectedValue.get('population_index'), measure_id: expectedValue.get('measure_id')})
mongooseExpectedValue = (@collection.parent.get('cqmPatient').expectedValues.filter (val) -> val.population_index is expectedValue.get('population_index') && val.measure_id is expectedValue.get('measure_id'))[0]
if expectedValue.has('IPP') then mongooseExpectedValue.IPP = expectedValue.get('IPP')
if expectedValue.has('DENOM') then mongooseExpectedValue.DENOM = expectedValue.get('DENOM')
if expectedValue.has('DENEX') then mongooseExpectedValue.DENEX = expectedValue.get('DENEX')
if expectedValue.has('DENEXCEP') then mongooseExpectedValue.DENEXCEP = expectedValue.get('DENEXCEP')
if expectedValue.has('NUMER') then mongooseExpectedValue.NUMER = expectedValue.get('NUMER')
if expectedValue.has('NUMEX') then mongooseExpectedValue.NUMEX = expectedValue.get('NUMEX')
if expectedValue.has('MSRPOPL') then mongooseExpectedValue.MSRPOPL = expectedValue.get('MSRPOPL')
if expectedValue.has('MSRPOPLEX') then mongooseExpectedValue.MSRPOPLEX = expectedValue.get('MSRPOPLEX')
if expectedValue.has('OBSERV') then mongooseExpectedValue.OBSERV = expectedValue.get('OBSERV')
if expectedValue.has('OBSERV_UNIT') then mongooseExpectedValue.OBSERV_UNIT = expectedValue.get('OBSERV_UNIT')
if expectedValue.has('STRAT') then mongooseExpectedValue.STRAT = expectedValue.get('STRAT')
populationCriteria: ->
defaults = _(@pick(Thorax.Models.Measure.allPopulationCodes)).keys()
# create OBSERV_index keys for multiple OBSERV values
if @has('OBSERV') and @get('OBSERV')?.length
defaults = _(defaults).without('OBSERV')
for val, index in @get('OBSERV')
defaults.push "OBSERV_#{index+1}"
defaults
isMatch: (result) ->
# account for OBSERV if an actual value exists
unless @has 'OBSERV'
if result.get('observation_values')?.length
@set 'OBSERV', (undefined for val in result.get('observation_values'))
else
if result.get('observation_values')?.length
if @get('OBSERV').length - result.get('observation_values').length < 0
@get('OBSERV').push(undefined) for n in [(@get('OBSERV').length + 1)..result.get('observation_values').length]
for popCrit in @populationCriteria()
if popCrit.indexOf('OBSERV') != -1 then return false unless @compareObservs(@get('OBSERV')?[@observIndex(popCrit)], result.get('observation_values')?[@observIndex(popCrit)])
else return false unless @get(popCrit) == result.get(popCrit)
return true
comparison: (result) ->
for popCrit in @populationCriteria()
if popCrit.indexOf('OBSERV') != -1
expected = ExpectedValue.prepareObserv(if popCrit == 'OBSERV' then @get('OBSERV')?[0] else @get('OBSERV')?[@observIndex(popCrit)])
actual = ExpectedValue.prepareObserv(if popCrit == 'OBSERV' then result.get('observation_values')?[0] else result.get('observation_values')?[@observIndex(popCrit)])
unit = @get('OBSERV_UNIT')
key = 'OBSERV'
else
expected = @get(popCrit)
actual = result.get(popCrit)
key = popCrit
# Here's the hash we return:
name: popCrit
key: key
expected: expected
actual: actual
match: @compareObservs(expected, actual)
unit: unit
observIndex: (observKey) ->
observKey.split('_')[1] - 1
compareObservs: (val1, val2) ->
return ExpectedValue.prepareObserv(val1) == ExpectedValue.prepareObserv(val2)
@floorToCQLPrecision: (num) ->
Number(Math.floor(num + 'e' + 8) + 'e-' + 8);
@prepareObserv: (observ) ->
if typeof observ == 'number'
return @floorToCQLPrecision(observ)
return observ
class Thorax.Collections.ExpectedValues extends Thorax.Collection
model: Thorax.Models.ExpectedValue
initialize: (models, options) ->
@parent = options?.parent
| 125343 | class Thorax.Models.ExpectedValue extends Thorax.Model
initialize: ->
# make 'OBSERV' be an empty list if CV measure and 'OBSERV' not set
if @has('MSRPOPL') && !@has('OBSERV')
@set 'OBSERV', []
# sort OBSERV when it is set to make comparison w actuals easier
if @has 'OBSERV' and Array.isArray(@get('OBSERV'))
@set 'OBSERV', @get('OBSERV').sort()
@on 'change', @changeExpectedValue, this
changeExpectedValue: (expectedValue) ->
mongooseExpectedValue = (@collection.parent.get('cqmPatient').expectedValues.filter (val) -> val.population_index is expectedValue.get('population_index') && val.measure_id is expectedValue.get('measure_id'))[0]
if !mongooseExpectedValue
@collection.parent.get('cqmPatient').expectedValues.push({population_index: expectedValue.get('population_index'), measure_id: expectedValue.get('measure_id')})
mongooseExpectedValue = (@collection.parent.get('cqmPatient').expectedValues.filter (val) -> val.population_index is expectedValue.get('population_index') && val.measure_id is expectedValue.get('measure_id'))[0]
if expectedValue.has('IPP') then mongooseExpectedValue.IPP = expectedValue.get('IPP')
if expectedValue.has('DENOM') then mongooseExpectedValue.DENOM = expectedValue.get('DENOM')
if expectedValue.has('DENEX') then mongooseExpectedValue.DENEX = expectedValue.get('DENEX')
if expectedValue.has('DENEXCEP') then mongooseExpectedValue.DENEXCEP = expectedValue.get('DENEXCEP')
if expectedValue.has('NUMER') then mongooseExpectedValue.NUMER = expectedValue.get('NUMER')
if expectedValue.has('NUMEX') then mongooseExpectedValue.NUMEX = expectedValue.get('NUMEX')
if expectedValue.has('MSRPOPL') then mongooseExpectedValue.MSRPOPL = expectedValue.get('MSRPOPL')
if expectedValue.has('MSRPOPLEX') then mongooseExpectedValue.MSRPOPLEX = expectedValue.get('MSRPOPLEX')
if expectedValue.has('OBSERV') then mongooseExpectedValue.OBSERV = expectedValue.get('OBSERV')
if expectedValue.has('OBSERV_UNIT') then mongooseExpectedValue.OBSERV_UNIT = expectedValue.get('OBSERV_UNIT')
if expectedValue.has('STRAT') then mongooseExpectedValue.STRAT = expectedValue.get('STRAT')
populationCriteria: ->
defaults = _(@pick(Thorax.Models.Measure.allPopulationCodes)).keys()
# create OBSERV_index keys for multiple OBSERV values
if @has('OBSERV') and @get('OBSERV')?.length
defaults = _(defaults).without('OBSERV')
for val, index in @get('OBSERV')
defaults.push "OBSERV_#{index+1}"
defaults
isMatch: (result) ->
# account for OBSERV if an actual value exists
unless @has 'OBSERV'
if result.get('observation_values')?.length
@set 'OBSERV', (undefined for val in result.get('observation_values'))
else
if result.get('observation_values')?.length
if @get('OBSERV').length - result.get('observation_values').length < 0
@get('OBSERV').push(undefined) for n in [(@get('OBSERV').length + 1)..result.get('observation_values').length]
for popCrit in @populationCriteria()
if popCrit.indexOf('OBSERV') != -1 then return false unless @compareObservs(@get('OBSERV')?[@observIndex(popCrit)], result.get('observation_values')?[@observIndex(popCrit)])
else return false unless @get(popCrit) == result.get(popCrit)
return true
comparison: (result) ->
for popCrit in @populationCriteria()
if popCrit.indexOf('OBSERV') != -1
expected = ExpectedValue.prepareObserv(if popCrit == 'OBSERV' then @get('OBSERV')?[0] else @get('OBSERV')?[@observIndex(popCrit)])
actual = ExpectedValue.prepareObserv(if popCrit == 'OBSERV' then result.get('observation_values')?[0] else result.get('observation_values')?[@observIndex(popCrit)])
unit = @get('OBSERV_UNIT')
key = '<KEY>'
else
expected = @get(popCrit)
actual = result.get(popCrit)
key = <KEY>
# Here's the hash we return:
name: popCrit
key: key
expected: expected
actual: actual
match: @compareObservs(expected, actual)
unit: unit
observIndex: (observKey) ->
observKey.split('_')[1] - 1
compareObservs: (val1, val2) ->
return ExpectedValue.prepareObserv(val1) == ExpectedValue.prepareObserv(val2)
@floorToCQLPrecision: (num) ->
Number(Math.floor(num + 'e' + 8) + 'e-' + 8);
@prepareObserv: (observ) ->
if typeof observ == 'number'
return @floorToCQLPrecision(observ)
return observ
class Thorax.Collections.ExpectedValues extends Thorax.Collection
model: Thorax.Models.ExpectedValue
initialize: (models, options) ->
@parent = options?.parent
| true | class Thorax.Models.ExpectedValue extends Thorax.Model
initialize: ->
# make 'OBSERV' be an empty list if CV measure and 'OBSERV' not set
if @has('MSRPOPL') && !@has('OBSERV')
@set 'OBSERV', []
# sort OBSERV when it is set to make comparison w actuals easier
if @has 'OBSERV' and Array.isArray(@get('OBSERV'))
@set 'OBSERV', @get('OBSERV').sort()
@on 'change', @changeExpectedValue, this
changeExpectedValue: (expectedValue) ->
mongooseExpectedValue = (@collection.parent.get('cqmPatient').expectedValues.filter (val) -> val.population_index is expectedValue.get('population_index') && val.measure_id is expectedValue.get('measure_id'))[0]
if !mongooseExpectedValue
@collection.parent.get('cqmPatient').expectedValues.push({population_index: expectedValue.get('population_index'), measure_id: expectedValue.get('measure_id')})
mongooseExpectedValue = (@collection.parent.get('cqmPatient').expectedValues.filter (val) -> val.population_index is expectedValue.get('population_index') && val.measure_id is expectedValue.get('measure_id'))[0]
if expectedValue.has('IPP') then mongooseExpectedValue.IPP = expectedValue.get('IPP')
if expectedValue.has('DENOM') then mongooseExpectedValue.DENOM = expectedValue.get('DENOM')
if expectedValue.has('DENEX') then mongooseExpectedValue.DENEX = expectedValue.get('DENEX')
if expectedValue.has('DENEXCEP') then mongooseExpectedValue.DENEXCEP = expectedValue.get('DENEXCEP')
if expectedValue.has('NUMER') then mongooseExpectedValue.NUMER = expectedValue.get('NUMER')
if expectedValue.has('NUMEX') then mongooseExpectedValue.NUMEX = expectedValue.get('NUMEX')
if expectedValue.has('MSRPOPL') then mongooseExpectedValue.MSRPOPL = expectedValue.get('MSRPOPL')
if expectedValue.has('MSRPOPLEX') then mongooseExpectedValue.MSRPOPLEX = expectedValue.get('MSRPOPLEX')
if expectedValue.has('OBSERV') then mongooseExpectedValue.OBSERV = expectedValue.get('OBSERV')
if expectedValue.has('OBSERV_UNIT') then mongooseExpectedValue.OBSERV_UNIT = expectedValue.get('OBSERV_UNIT')
if expectedValue.has('STRAT') then mongooseExpectedValue.STRAT = expectedValue.get('STRAT')
populationCriteria: ->
defaults = _(@pick(Thorax.Models.Measure.allPopulationCodes)).keys()
# create OBSERV_index keys for multiple OBSERV values
if @has('OBSERV') and @get('OBSERV')?.length
defaults = _(defaults).without('OBSERV')
for val, index in @get('OBSERV')
defaults.push "OBSERV_#{index+1}"
defaults
isMatch: (result) ->
# account for OBSERV if an actual value exists
unless @has 'OBSERV'
if result.get('observation_values')?.length
@set 'OBSERV', (undefined for val in result.get('observation_values'))
else
if result.get('observation_values')?.length
if @get('OBSERV').length - result.get('observation_values').length < 0
@get('OBSERV').push(undefined) for n in [(@get('OBSERV').length + 1)..result.get('observation_values').length]
for popCrit in @populationCriteria()
if popCrit.indexOf('OBSERV') != -1 then return false unless @compareObservs(@get('OBSERV')?[@observIndex(popCrit)], result.get('observation_values')?[@observIndex(popCrit)])
else return false unless @get(popCrit) == result.get(popCrit)
return true
comparison: (result) ->
for popCrit in @populationCriteria()
if popCrit.indexOf('OBSERV') != -1
expected = ExpectedValue.prepareObserv(if popCrit == 'OBSERV' then @get('OBSERV')?[0] else @get('OBSERV')?[@observIndex(popCrit)])
actual = ExpectedValue.prepareObserv(if popCrit == 'OBSERV' then result.get('observation_values')?[0] else result.get('observation_values')?[@observIndex(popCrit)])
unit = @get('OBSERV_UNIT')
key = 'PI:KEY:<KEY>END_PI'
else
expected = @get(popCrit)
actual = result.get(popCrit)
key = PI:KEY:<KEY>END_PI
# Here's the hash we return:
name: popCrit
key: key
expected: expected
actual: actual
match: @compareObservs(expected, actual)
unit: unit
observIndex: (observKey) ->
observKey.split('_')[1] - 1
compareObservs: (val1, val2) ->
return ExpectedValue.prepareObserv(val1) == ExpectedValue.prepareObserv(val2)
@floorToCQLPrecision: (num) ->
Number(Math.floor(num + 'e' + 8) + 'e-' + 8);
@prepareObserv: (observ) ->
if typeof observ == 'number'
return @floorToCQLPrecision(observ)
return observ
class Thorax.Collections.ExpectedValues extends Thorax.Collection
model: Thorax.Models.ExpectedValue
initialize: (models, options) ->
@parent = options?.parent
|
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.708639919757843,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/databrowser/search/QueuedSearch.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
###
define(
["./Queue",
"./Search",],
(Queue, Search) ->
class QueuedSearch extends Search
constructor : (server) ->
super(server)
@queue = new Queue
@queue.bind("item:pushed", @jobAdded)
@isSearching = false
exec : (statement) =>
promise = new neo4j.Promise
@queue.push {statement : statement, promise : promise}
return promise
jobAdded : () =>
if not @isSearching
@executeNextJob()
jobDone : () =>
@isSearching = false
if @queue.hasMoreItems()
@executeNextJob()
executeNextJob : () =>
job = @queue.pull()
@isSearching = true
jobCompletionCallback = (result) =>
@jobDone()
job.promise.fulfill(result)
QueuedSearch.__super__.exec.call(this, job.statement).then(jobCompletionCallback, jobCompletionCallback)
)
| 57057 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
###
define(
["./Queue",
"./Search",],
(Queue, Search) ->
class QueuedSearch extends Search
constructor : (server) ->
super(server)
@queue = new Queue
@queue.bind("item:pushed", @jobAdded)
@isSearching = false
exec : (statement) =>
promise = new neo4j.Promise
@queue.push {statement : statement, promise : promise}
return promise
jobAdded : () =>
if not @isSearching
@executeNextJob()
jobDone : () =>
@isSearching = false
if @queue.hasMoreItems()
@executeNextJob()
executeNextJob : () =>
job = @queue.pull()
@isSearching = true
jobCompletionCallback = (result) =>
@jobDone()
job.promise.fulfill(result)
QueuedSearch.__super__.exec.call(this, job.statement).then(jobCompletionCallback, jobCompletionCallback)
)
| true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
###
define(
["./Queue",
"./Search",],
(Queue, Search) ->
class QueuedSearch extends Search
constructor : (server) ->
super(server)
@queue = new Queue
@queue.bind("item:pushed", @jobAdded)
@isSearching = false
exec : (statement) =>
promise = new neo4j.Promise
@queue.push {statement : statement, promise : promise}
return promise
jobAdded : () =>
if not @isSearching
@executeNextJob()
jobDone : () =>
@isSearching = false
if @queue.hasMoreItems()
@executeNextJob()
executeNextJob : () =>
job = @queue.pull()
@isSearching = true
jobCompletionCallback = (result) =>
@jobDone()
job.promise.fulfill(result)
QueuedSearch.__super__.exec.call(this, job.statement).then(jobCompletionCallback, jobCompletionCallback)
)
|
[
{
"context": "oller\"\n @products = []\n @sortKey = 'name'\n @sortReverse = false\n @selectedId",
"end": 176,
"score": 0.6909883618354797,
"start": 172,
"tag": "KEY",
"value": "name"
}
] | app/assets/javascripts/products/ProductCtrl.coffee | jock71/nigstore | 0 |
class ProductCtrl
constructor: (@$log, @$scope, @ProductService) ->
@$log.debug "constructing ProductController"
@products = []
@sortKey = 'name'
@sortReverse = false
@selectedId = "-1"
@getAllProducts()
getAllProducts: () ->
@$log.debug "getAllProducts()"
@ProductService.listProducts()
.then(
(data) =>
@$log.debug "Promise returned #{data.length} Products"
@products = data
,
(error) =>
@$log.error "Unable to get Products: #{error}"
)
setSelectedProduct: (idSelected) ->
@$log.debug "procutSelected(#{idSelected})"
@selectedId = idSelected
@$scope.$emit('PROD_SELECTED', { message: idSelected });
getSelectedProduct: () ->
@selectedId
sort: (keyname) ->
@$log.debug "sort(#{keyname})"
@sortKey = keyname
@sortReverse = !@sortReverse
controllersModule.controller('ProductCtrl', ['$log', '$scope', 'ProductService', ProductCtrl])
| 7269 |
class ProductCtrl
constructor: (@$log, @$scope, @ProductService) ->
@$log.debug "constructing ProductController"
@products = []
@sortKey = '<KEY>'
@sortReverse = false
@selectedId = "-1"
@getAllProducts()
getAllProducts: () ->
@$log.debug "getAllProducts()"
@ProductService.listProducts()
.then(
(data) =>
@$log.debug "Promise returned #{data.length} Products"
@products = data
,
(error) =>
@$log.error "Unable to get Products: #{error}"
)
setSelectedProduct: (idSelected) ->
@$log.debug "procutSelected(#{idSelected})"
@selectedId = idSelected
@$scope.$emit('PROD_SELECTED', { message: idSelected });
getSelectedProduct: () ->
@selectedId
sort: (keyname) ->
@$log.debug "sort(#{keyname})"
@sortKey = keyname
@sortReverse = !@sortReverse
controllersModule.controller('ProductCtrl', ['$log', '$scope', 'ProductService', ProductCtrl])
| true |
class ProductCtrl
constructor: (@$log, @$scope, @ProductService) ->
@$log.debug "constructing ProductController"
@products = []
@sortKey = 'PI:KEY:<KEY>END_PI'
@sortReverse = false
@selectedId = "-1"
@getAllProducts()
getAllProducts: () ->
@$log.debug "getAllProducts()"
@ProductService.listProducts()
.then(
(data) =>
@$log.debug "Promise returned #{data.length} Products"
@products = data
,
(error) =>
@$log.error "Unable to get Products: #{error}"
)
setSelectedProduct: (idSelected) ->
@$log.debug "procutSelected(#{idSelected})"
@selectedId = idSelected
@$scope.$emit('PROD_SELECTED', { message: idSelected });
getSelectedProduct: () ->
@selectedId
sort: (keyname) ->
@$log.debug "sort(#{keyname})"
@sortKey = keyname
@sortReverse = !@sortReverse
controllersModule.controller('ProductCtrl', ['$log', '$scope', 'ProductService', ProductCtrl])
|
[
{
"context": "then throw err\n users = [\n username: 'admin'\n password: 'p@ssw0rd'\n roles: [",
"end": 290,
"score": 0.9115035533905029,
"start": 285,
"tag": "USERNAME",
"value": "admin"
},
{
"context": " = [\n username: 'admin'\n password:... | tasks/seed.coffee | cmckni3/typescript-express-seed | 1 | module.exports = (grunt) ->
grunt.registerTask 'db:seed', 'Seeds the database', ->
appdir = "#{process.cwd()}/app"
User = require "#{appdir}/models/user"
done = @async()
User.find().remove (err) ->
if err then throw err
users = [
username: 'admin'
password: 'p@ssw0rd'
roles: ['admin']
,
username: 'user'
password: 'p@ssw0rd'
roles: ['user']
]
User.create users, (err) ->
if err then throw err
done()
| 61460 | module.exports = (grunt) ->
grunt.registerTask 'db:seed', 'Seeds the database', ->
appdir = "#{process.cwd()}/app"
User = require "#{appdir}/models/user"
done = @async()
User.find().remove (err) ->
if err then throw err
users = [
username: 'admin'
password: '<PASSWORD>'
roles: ['admin']
,
username: 'user'
password: '<PASSWORD>'
roles: ['user']
]
User.create users, (err) ->
if err then throw err
done()
| true | module.exports = (grunt) ->
grunt.registerTask 'db:seed', 'Seeds the database', ->
appdir = "#{process.cwd()}/app"
User = require "#{appdir}/models/user"
done = @async()
User.find().remove (err) ->
if err then throw err
users = [
username: 'admin'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
roles: ['admin']
,
username: 'user'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
roles: ['user']
]
User.create users, (err) ->
if err then throw err
done()
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.